From 1fca1a3a1190049682795960b3e91e3f6d38dada Mon Sep 17 00:00:00 2001 From: Raushan Kumar Date: Fri, 15 Sep 2023 13:56:39 -0700 Subject: [PATCH 1/8] Adding Inference Pools, Groups and Endpoints --- .../InferenceEndpoint/createOrUpdate.json | 81 + .../Workspace/InferenceEndpoint/delete.json | 20 + .../Workspace/InferenceEndpoint/get.json | 41 + .../Workspace/InferenceEndpoint/list.json | 50 + .../Workspace/InferenceEndpoint/update.json | 49 + .../InferenceGroup/createOrUpdate.json | 105 + .../Workspace/InferenceGroup/delete.json | 19 + .../Workspace/InferenceGroup/get.json | 48 + .../Workspace/InferenceGroup/getStatus.json | 30 + .../Workspace/InferenceGroup/list.json | 57 + .../Workspace/InferenceGroup/listSkus.json | 35 + .../Workspace/InferenceGroup/update.json | 63 + .../InferencePool/createOrUpdate.json | 240 + .../Workspace/InferencePool/delete.json | 18 + .../examples/Workspace/InferencePool/get.json | 94 + .../Workspace/InferencePool/getStatus.json | 25 + .../Workspace/InferencePool/list.json | 103 + .../Workspace/InferencePool/listSkus.json | 34 + .../Workspace/InferencePool/update.json | 115 + .../preview/2023-08-01-preview/mfe.json | 7190 +++++++++++------ 20 files changed, 5872 insertions(+), 2545 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json new file mode 100644 index 000000000000..9f7fb184892b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "groupName": "string", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "authMode": "AAD" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Failed", + "authMode": "AAD", + "endpointUri": "https://www.contoso.com/example" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdBy": "string", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "lastModifiedBy": "string", + "lastModifiedByType": "Key" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Deleting", + "authMode": "AAD", + "endpointUri": "https://www.contoso.com/example" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json new file mode 100644 index 000000000000..dc2831fca147 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "groupName": "string", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + }, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json new file mode 100644 index 000000000000..3b2ac687cbe0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "groupName": "string", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Updating", + "authMode": "AAD", + "endpointUri": "https://www.contoso.com/example" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "lastModifiedBy": "string", + "lastModifiedByType": "Key" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json new file mode 100644 index 000000000000..0ce3b9124efd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "groupName": "string", + "api-version": "2023-08-01-preview", + "$skipToken": "string", + "count": 1, + "tags": "string", + "properties": "string", + "orderBy": "CreatedAtAsc" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Updating", + "authMode": "AAD", + "endpointUri": "https://www.contoso.com/example" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:33", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:33", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json new file mode 100644 index 000000000000..c5664477f57a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "groupName": "string", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "tags": {} + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "authMode": "AAD", + "endpointUri": "https://www.contoso.com/example" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:33", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:33", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + }, + "tags": {}, + "location": "string", + "kind": "string" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json new file mode 100644 index 000000000000..228209a3a4d2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Canceled", + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedBy": "string", + "lastModifiedByType": "Application" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Deleting", + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedBy": "string", + "lastModifiedByType": "ManagedIdentity" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json new file mode 100644 index 000000000000..c4c752bfe5f1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + }, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json new file mode 100644 index 000000000000..7091079b8a10 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json new file mode 100644 index 000000000000..265e246fdf65 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "requestedCapacity": 1, + "bonusExtraCapacity": 1, + "actualCapacityInfo": { + "allocated": 1, + "assignmentSuccess": 1, + "assignmentFailed": 1 + }, + "endpointCount": 1, + "eventLog": [ + { + "c8a7f11b-0b45-43e8-874a-d07dbd0dc0eb": null + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json new file mode 100644 index 000000000000..2cff14f4f14d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "api-version": "2023-08-01-preview", + "$skipToken": "string", + "count": 1, + "tags": "string", + "properties": "string", + "orderBy": "CreatedAtAsc" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Canceled", + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedBy": "string", + "lastModifiedByType": "Key" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json new file mode 100644 index 000000000000..48cb75872191 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview", + "$skipToken": "string", + "count": 1 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "resourceType": "string", + "sku": { + "name": "string", + "tier": "Standard" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "Automatic" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json new file mode 100644 index 000000000000..ab161bbc7c55 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "poolName": "string", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "tags": {}, + "sku": { + "name": "string", + "tier": "Premium", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "priority": 1, + "bonusExtraCapacity": 1, + "data": "string" + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedBy": "string", + "lastModifiedByType": "Key" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json new file mode 100644 index 000000000000..e9b3ff7e3c6d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json @@ -0,0 +1,240 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "None", + "userAssignedIdentities": { + "string": {} + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Updating", + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:49", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:49", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Premium", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "None", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:49", + "createdBy": "string", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:49", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json new file mode 100644 index 000000000000..87854c632aee --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + }, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json new file mode 100644 index 000000000000..6c1be6d5283f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Canceled", + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:30", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:30", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Premium", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json new file mode 100644 index 000000000000..201a466069e8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "requestedCapacity": 1, + "actualCapacity": 1, + "reservedCapacity": 1, + "groupCount": 1, + "eventLog": [ + { + "6c1ad1d4-ec90-4c85-a7e6-4117a0c1fb53": null + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json new file mode 100644 index 000000000000..ac64ec8698af --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2023-08-01-preview", + "$skipToken": "string", + "count": 1, + "tags": "string", + "properties": "string", + "orderBy": "UpdatedAtDesc" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Failed", + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:30", + "createdBy": "string", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:30", + "lastModifiedBy": "string", + "lastModifiedByType": "Key" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json new file mode 100644 index 000000000000..87ba3c877b81 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview", + "$skipToken": "string", + "count": 1 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "resourceType": "string", + "sku": { + "name": "string", + "tier": "Basic" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "Manual" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json new file mode 100644 index 000000000000..1a5d9ab060f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2023-08-01-preview", + "body": { + "tags": {}, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "string": {} + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "provisioningState": "Creating", + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentConfiguration": { + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "readinessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "startupProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + } + }, + "nodeSkuType": "string", + "requestConfiguration": { + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelConfiguration": { + "modelId": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999+00:29", + "createdBy": "string", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:29", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + }, + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index eae30eafed85..e35e188f41b0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -37,17 +37,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -93,11 +93,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -120,11 +117,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -169,17 +169,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -232,12 +232,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -260,6 +254,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -322,17 +322,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -385,11 +385,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -412,11 +409,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -468,17 +468,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -538,12 +538,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -566,6 +560,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -631,17 +631,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/PendingUploadResponseDto" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -679,17 +679,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -735,11 +735,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -762,11 +759,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -811,17 +811,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -874,12 +874,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -902,6 +896,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -970,17 +970,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1033,11 +1033,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -1060,11 +1057,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1116,17 +1116,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1186,12 +1186,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -1214,6 +1208,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1282,17 +1282,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1337,11 +1337,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -1364,11 +1361,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1412,19 +1412,19 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataContainerResource" } - } - }, + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, "x-ms-examples": { "Get Registry Data Container.": { "$ref": "./examples/Registry/DataContainer/get.json" @@ -1475,12 +1475,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -1503,6 +1497,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1597,17 +1597,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1659,11 +1659,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -1686,11 +1683,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1741,17 +1741,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataVersionBaseResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1811,12 +1811,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -1839,6 +1833,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1903,17 +1903,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/PendingUploadResponseDto" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -1978,17 +1978,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2034,11 +2034,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -2061,11 +2058,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2110,17 +2110,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2173,12 +2173,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -2201,6 +2195,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2296,17 +2296,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2359,11 +2359,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -2386,11 +2383,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2442,17 +2442,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2512,12 +2512,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -2540,6 +2534,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2608,17 +2608,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2664,11 +2664,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -2691,11 +2688,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2740,17 +2740,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ModelContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2803,12 +2803,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -2831,6 +2825,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -2944,17 +2944,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3007,11 +3007,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -3034,11 +3031,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3090,17 +3090,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ModelVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3160,12 +3160,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -3188,6 +3182,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3253,12 +3253,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { @@ -3280,6 +3274,12 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3345,17 +3345,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/PendingUploadResponseDto" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3400,17 +3400,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3455,12 +3455,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -3487,6 +3481,12 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3530,17 +3530,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/BatchEndpointTrackedResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3593,12 +3593,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { @@ -3625,6 +3619,12 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3678,12 +3678,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -3706,6 +3700,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3767,17 +3767,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3829,11 +3829,8 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "200": { + "description": "Success" }, "202": { "description": "Accepted", @@ -3856,11 +3853,14 @@ } } }, - "200": { - "description": "Success" - }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3911,17 +3911,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/BatchDeploymentTrackedResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -3982,12 +3982,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { @@ -4014,6 +4008,12 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4075,12 +4075,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -4103,6 +4097,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4148,17 +4148,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EndpointAuthKeys" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4196,17 +4196,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4251,17 +4251,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4301,17 +4301,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4364,12 +4364,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -4381,6 +4375,12 @@ "schema": { "$ref": "#/definitions/CodeContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4450,17 +4450,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4512,17 +4512,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4569,17 +4569,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CodeVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4639,12 +4639,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -4656,6 +4650,12 @@ "schema": { "$ref": "#/definitions/CodeVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4716,17 +4716,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/PendingUploadResponseDto" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4791,17 +4791,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4846,17 +4846,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4896,17 +4896,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -4959,12 +4959,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -4976,6 +4970,12 @@ "schema": { "$ref": "#/definitions/ComponentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5066,17 +5066,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5128,17 +5128,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5185,17 +5185,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ComponentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5255,12 +5255,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -5272,6 +5266,12 @@ "schema": { "$ref": "#/definitions/ComponentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5336,17 +5336,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5391,17 +5391,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5441,17 +5441,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5504,12 +5504,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -5521,6 +5515,12 @@ "schema": { "$ref": "#/definitions/DataContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5617,17 +5617,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5679,17 +5679,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5736,17 +5736,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DataVersionBaseResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5806,12 +5806,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -5823,6 +5817,12 @@ "schema": { "$ref": "#/definitions/DataVersionBaseResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5902,17 +5902,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DatastoreResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -5957,17 +5957,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6007,17 +6007,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DatastoreResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6077,12 +6077,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -6094,6 +6088,12 @@ "schema": { "$ref": "#/definitions/DatastoreResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6144,18 +6144,18 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "description": "Base definition for datastore secrets.", "$ref": "#/definitions/DatastoreSecrets" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6220,17 +6220,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6275,17 +6275,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6325,17 +6325,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6388,12 +6388,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -6405,6 +6399,12 @@ "schema": { "$ref": "#/definitions/EnvironmentContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6495,17 +6495,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6557,17 +6557,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6614,17 +6614,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/EnvironmentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6684,12 +6684,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -6701,6 +6695,12 @@ "schema": { "$ref": "#/definitions/EnvironmentVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6797,17 +6797,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturesetContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6916,17 +6916,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeatureResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -6987,17 +6987,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeatureResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7039,12 +7039,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -7071,6 +7065,12 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7114,17 +7114,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturesetContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7177,12 +7177,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -7205,6 +7199,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7324,17 +7324,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturesetVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7386,12 +7386,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -7418,6 +7412,12 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7468,17 +7468,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturesetVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7538,12 +7538,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -7566,8 +7560,14 @@ "type": "string" } } - } - }, + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, "x-ms-examples": { "CreateOrUpdate Workspace Featureset Version.": { "$ref": "./examples/Workspace/FeaturesetVersion/createOrUpdate.json" @@ -7630,12 +7630,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { @@ -7657,6 +7651,12 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7757,17 +7757,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturestoreEntityContainerResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7812,12 +7812,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -7844,6 +7838,12 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7887,17 +7887,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturestoreEntityContainerResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -7950,12 +7950,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -7978,6 +7972,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -8097,17 +8097,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturestoreEntityVersionResourceArmPaginatedResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -8159,12 +8159,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -8191,6 +8185,12 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -8241,17 +8241,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/FeaturestoreEntityVersionResource" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -8311,12 +8311,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { @@ -8339,6 +8333,12 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { @@ -8352,13 +8352,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools": { "get": { "tags": [ - "Job" + "InferencePool" ], - "summary": "Lists Jobs in the workspace.", - "operationId": "Jobs_List", + "summary": "List InferencePools.", + "operationId": "InferencePools_List", "produces": [ "application/json" ], @@ -8375,99 +8375,62 @@ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, + { + "in": "query", + "name": "count", + "description": "Number of inferencePools to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { "in": "query", - "name": "jobType", - "description": "Type of job to be returned.", + "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": "tag", - "description": "Jobs returned will have this tag key.", + "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": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", + "name": "orderBy", + "description": "The option to order the response.", "type": "string", - "default": "ActiveOnly", "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" ], "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] + "name": "OrderString", + "modelAsString": true } - }, - { - "in": "query", - "name": "assetName", - "description": "Asset name the job's named output is registered with", - "type": "string" - }, - { - "in": "query", - "name": "scheduled", - "description": "Indicator whether the job is scheduled job.", - "type": "boolean" - }, - { - "in": "query", - "name": "scheduleId", - "description": "The scheduled id for listing the job triggered from", - "type": "string" - }, - { - "in": "query", - "name": "properties", - "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", - "type": "string" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferencePoolTrackedResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Command Job.": { - "$ref": "./examples/Job/CommandJob/list.json" - }, - "List AutoML Job.": { - "$ref": "./examples/Job/AutoMLJob/list.json" - }, - "List Sweep Job.": { - "$ref": "./examples/Job/SweepJob/list.json" - }, - "List Pipeline Job.": { - "$ref": "./examples/Job/PipelineJob/list.json" + "List Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/list.json" } }, "x-ms-pageable": { @@ -8475,13 +8438,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}": { "delete": { "tags": [ - "Job" + "InferencePool" ], - "summary": "Deletes a Job (asynchronous).", - "operationId": "Jobs_Delete", + "summary": "Delete InferencePool (asynchronous).", + "operationId": "InferencePools_Delete", "produces": [ "application/json" ], @@ -8497,22 +8460,17 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", + "name": "name", + "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success" }, @@ -8539,11 +8497,17 @@ }, "204": { "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Delete Job.": { - "$ref": "./examples/Job/delete.json" + "Delete Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/delete.json" } }, "x-ms-long-running-operation": true, @@ -8553,10 +8517,10 @@ }, "get": { "tags": [ - "Job" + "InferencePool" ], - "summary": "Gets a Job by name/id.", - "operationId": "Jobs_Get", + "summary": "Get InferencePool.", + "operationId": "InferencePools_Get", "produces": [ "application/json" ], @@ -8572,8 +8536,8 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", + "name": "name", + "description": "InferencePool name.", "required": true, "type": "string" }, @@ -8582,40 +8546,31 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferencePoolTrackedResource" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobBaseResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Command Job.": { - "$ref": "./examples/Job/CommandJob/get.json" - }, - "Get AutoML Job.": { - "$ref": "./examples/Job/AutoMLJob/get.json" - }, - "Get Sweep Job.": { - "$ref": "./examples/Job/SweepJob/get.json" - }, - "Get Pipeline Job.": { - "$ref": "./examples/Job/PipelineJob/get.json" + "Get Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/get.json" } } }, "patch": { "tags": [ - "Job" + "InferencePool" ], - "summary": "Updates a Job.", - "operationId": "Jobs_Update", + "summary": "Update InferencePool (asynchronous).", + "operationId": "InferencePools_Update", "consumes": [ "application/json" ], @@ -8634,10 +8589,11 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", + "name": "name", + "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -8645,39 +8601,61 @@ { "in": "body", "name": "body", - "description": "Job definition to apply during the operation.", + "description": "Inference Pool entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/PartialJobBasePartialResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSkuAndIdentity" } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferencePoolTrackedResource" } }, - "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 + } + } + }, + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobBaseResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Update Job.": { - "$ref": "./examples/Job/update.json" + "Update Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/update.json" } - } + }, + "x-ms-long-running-operation": true }, "put": { "tags": [ - "Job" + "InferencePool" ], - "summary": "Creates and executes a Job.", - "operationId": "Jobs_CreateOrUpdate", + "summary": "Create or update InferencePool (asynchronous).", + "operationId": "InferencePools_CreateOrUpdate", "consumes": [ "application/json" ], @@ -8696,8 +8674,8 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", + "name": "name", + "description": "InferencePool name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -8708,125 +8686,62 @@ { "in": "body", "name": "body", - "description": "Job definition object.", + "description": "InferencePool entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/JobBaseResource" + "$ref": "#/definitions/InferencePoolTrackedResource" } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/JobBaseResource" + "$ref": "#/definitions/InferencePoolTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/JobBaseResource" + "$ref": "#/definitions/InferencePoolTrackedResource" + }, + "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 Command Job.": { - "$ref": "./examples/Job/CommandJob/createOrUpdate.json" - }, - "CreateOrUpdate AutoML Job.": { - "$ref": "./examples/Job/AutoMLJob/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 (asynchronous).", - "operationId": "Jobs_Cancel", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "path", - "name": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", - "required": true, - "type": "string" }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "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 - } - } - }, - "200": { - "description": "Success" } }, "x-ms-examples": { - "Cancel Job.": { - "$ref": "./examples/Job/cancel.json" + "CreateOrUpdate Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/createOrUpdate.json" } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "original-uri" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}/skus": { "get": { "tags": [ - "LabelingJob" + "InferencePool" ], - "summary": "Lists labeling jobs in the workspace.", - "operationId": "LabelingJobs_List", + "summary": "List Inference Pool Skus.", + "operationId": "InferencePools_ListSkus", "produces": [ "application/json" ], @@ -8841,36 +8756,43 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "name", + "description": "Inference Group name.", + "required": true, + "type": "string" }, { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", - "name": "$top", - "description": "Number of labeling jobs to return.", + "name": "count", + "description": "Number of Skus to be retrieved in a page of results.", "type": "integer", "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/SkuResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Labeling Job.": { - "$ref": "./examples/LabelingJob/list.json" + "ListSkus Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/listSkus.json" } }, "x-ms-pageable": { @@ -8878,13 +8800,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { - "delete": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}/status": { + "post": { "tags": [ - "LabelingJob" + "InferencePool" ], - "summary": "Delete a labeling job.", - "operationId": "LabelingJobs_Delete", + "summary": "Retrieve inference pool status.", + "operationId": "InferencePools_GetStatus", "produces": [ "application/json" ], @@ -8900,8 +8822,8 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", + "name": "name", + "description": "InferencePool name.", "required": true, "type": "string" }, @@ -8910,31 +8832,33 @@ } ], "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PoolStatus" + } + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" } }, "x-ms-examples": { - "Delete Labeling Job.": { - "$ref": "./examples/LabelingJob/delete.json" + "GetStatus Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/getStatus.json" } } - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups": { "get": { "tags": [ - "LabelingJob" + "InferenceGroup" ], - "summary": "Gets a labeling job by name/id.", - "operationId": "LabelingJobs_Get", + "summary": "List Inference Groups.", + "operationId": "InferenceGroups_List", "produces": [ "application/json" ], @@ -8950,130 +8874,85 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", + "name": "poolName", + "description": "Name of the InferencePool.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/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": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "in": "query", + "name": "count", + "description": "Number of InferenceGroup to be retrieved in a page of results.", + "type": "integer", + "format": "int32" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "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}$" + "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" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "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": "body", - "name": "body", - "description": "LabelingJob definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/LabelingJobResource" + "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 } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "201": { - "description": "Created", + "200": { + "description": "Success", "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" - } + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" } }, - "200": { - "description": "Create or update request is successful.", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/LabelingJobResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CreateOrUpdate Labeling Job.": { - "$ref": "./examples/LabelingJob/createOrUpdate.json" + "List Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/list.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints": { + "get": { "tags": [ - "LabelingJob" - ], - "summary": "Export labels from a labeling job (asynchronous). Using the URL in the Location header, the status of the job export operation can be tracked.", - "operationId": "LabelingJobs_ExportLabels", - "consumes": [ - "application/json" + "InferenceEndpoint" ], + "summary": "List Inference Endpoints.", + "operationId": "InferenceEndpoints_List", "produces": [ "application/json" ], @@ -9089,72 +8968,93 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", + "name": "poolName", + "description": "Name of the InferencePool.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "body", - "name": "body", - "description": "The export summary.", - "required": true, - "schema": { - "$ref": "#/definitions/ExportSummary" + "in": "query", + "name": "count", + "description": "Number of InferenceEndpoint to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$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 } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { "description": "Success", "schema": { - "$ref": "#/definitions/ExportSummary" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" } }, - "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 - } + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ExportLabels Labeling Job.": { - "$ref": "./examples/LabelingJob/exportLabels.json" + "List Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/list.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints/{name}": { + "delete": { "tags": [ - "LabelingJob" + "InferenceEndpoint" ], - "summary": "Pause a labeling job.", - "operationId": "LabelingJobs_Pause", + "summary": "Delete InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Delete", "produces": [ "application/json" ], @@ -9170,43 +9070,83 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", + "name": "poolName", + "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "name", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { + "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" + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LabelingJob" - } } }, "x-ms-examples": { - "Pause Labeling Job.": { - "$ref": "./examples/LabelingJob/pause.json" + "Delete Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/delete.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}/resume": { - "post": { + }, + "get": { "tags": [ - "LabelingJob" + "InferenceEndpoint" ], - "summary": "Resume a labeling job (asynchronous).", - "operationId": "LabelingJobs_Resume", + "summary": "Get InferenceEndpoint.", + "operationId": "InferenceEndpoints_Get", "produces": [ "application/json" ], @@ -9222,31 +9162,126 @@ }, { "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", + "name": "poolName", + "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "name", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + } + }, + "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "Get Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "InferenceEndpoint" + ], + "summary": "Update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "poolName", + "description": "InferencePool name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "name", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "description": "Strictly used in update requests." + } + } + ], + "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/LabelingJob" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "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" @@ -9259,26 +9294,30 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Resume Labeling Job.": { - "$ref": "./examples/LabelingJob/resume.json" + "Update Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/update.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": { + "x-ms-long-running-operation": true + }, + "put": { "tags": [ - "ModelContainer" + "InferenceEndpoint" + ], + "summary": "Create or update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" ], - "summary": "List model containers.", - "operationId": "ModelContainers_List", "produces": [ "application/json" ], @@ -9293,77 +9332,91 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "poolName", + "description": "InferencePool name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "in": "query", - "name": "count", - "description": "Maximum number of results to return.", - "type": "integer", - "format": "int32" + "in": "path", + "name": "name", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "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, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "InferenceEndpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Create or update request is successful.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + }, + "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" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/list.json" + "CreateOrUpdate Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/createOrUpdate.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}": { "delete": { "tags": [ - "ModelContainer" + "InferenceGroup" ], - "summary": "Delete container.", - "operationId": "ModelContainers_Delete", + "summary": "Delete InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Delete", "produces": [ "application/json" ], @@ -9377,43 +9430,77 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, + { + "in": "path", + "name": "poolName", + "description": "InferencePool name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, { "in": "path", "name": "name", - "description": "Container name. This is case-sensitive.", + "description": "InferenceGroup name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/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" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Delete Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/delete.json" + "Delete Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/delete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "get": { "tags": [ - "ModelContainer" + "InferenceGroup" ], - "summary": "Get container.", - "operationId": "ModelContainers_Get", + "summary": "Get InferenceGroup.", + "operationId": "InferenceGroups_Get", "produces": [ "application/json" ], @@ -9427,43 +9514,52 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, + { + "in": "path", + "name": "poolName", + "description": "InferencePool name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, { "in": "path", "name": "name", - "description": "Container name. This is case-sensitive.", + "description": "InferenceGroup name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ModelContainerResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/get.json" + "Get Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/get.json" } } }, - "put": { + "patch": { "tags": [ - "ModelContainer" + "InferenceGroup" ], - "summary": "Create or update container.", - "operationId": "ModelContainers_CreateOrUpdate", + "summary": "Update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Update", "consumes": [ "application/json" ], @@ -9480,13 +9576,19 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, + { + "in": "path", + "name": "poolName", + "description": "InferencePool name.", + "required": true, + "type": "string" + }, { "in": "path", "name": "name", - "description": "Container name. This is case-sensitive.", + "description": "InferenceGroup name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -9494,47 +9596,64 @@ { "in": "body", "name": "body", - "description": "Container entity to create or update.", + "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/ModelContainerResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/ModelContainerResource" + "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 + } } }, - "201": { - "description": "Created", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ModelContainerResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CreateOrUpdate Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/createOrUpdate.json" + "Update Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/update.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { - "get": { + }, + "x-ms-long-running-operation": true + }, + "put": { "tags": [ - "ModelVersion" + "InferenceGroup" + ], + "summary": "Create or update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_CreateOrUpdate", + "consumes": [ + "application/json" ], - "summary": "List model versions.", - "operationId": "ModelVersions_List", "produces": [ "application/json" ], @@ -9550,118 +9669,140 @@ }, { "in": "path", - "name": "name", - "description": "Model name. This is case-sensitive.", + "name": "poolName", + "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "name", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" + "in": "body", + "name": "body", + "description": "InferenceGroup entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + } }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + }, + "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" + } + } }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}/skus": { + "get": { + "tags": [ + "InferenceGroup" + ], + "summary": "List Inference Group Skus.", + "operationId": "InferenceGroups_ListSkus", + "produces": [ + "application/json" + ], + "parameters": [ { - "in": "query", - "name": "version", - "description": "Model version.", - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "in": "query", - "name": "description", - "description": "Model description.", - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "in": "query", - "name": "offset", - "description": "Number of initial results to skip.", - "type": "integer", - "format": "int32" + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "in": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "in": "path", + "name": "poolName", + "description": "Inference Pool name.", + "required": true, "type": "string" }, { - "in": "query", - "name": "properties", - "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", + "in": "path", + "name": "name", + "description": "Inference Group name.", + "required": true, "type": "string" }, { - "in": "query", - "name": "feed", - "description": "Name of the feed.", - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "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, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - } + "name": "count", + "description": "Number of Skus to be retrieved in a page of results.", + "type": "integer", + "format": "int32" }, { - "in": "query", - "name": "stage", - "description": "Model stage", - "type": "string" + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/SkuResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/list.json" + "ListSkus Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/listSkus.json" } }, "x-ms-pageable": { @@ -9669,13 +9810,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { - "delete": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}/status": { + "post": { "tags": [ - "ModelVersion" + "InferenceGroup" ], - "summary": "Delete version.", - "operationId": "ModelVersions_Delete", + "summary": "Retrieve inference group status.", + "operationId": "InferenceGroups_GetStatus", "produces": [ "application/json" ], @@ -9691,15 +9832,15 @@ }, { "in": "path", - "name": "name", - "description": "Container name. This is case-sensitive.", + "name": "poolName", + "description": "InferencePool name.", "required": true, "type": "string" }, { "in": "path", - "name": "version", - "description": "Version identifier. This is case-sensitive.", + "name": "name", + "description": "InferenceGroup name.", "required": true, "type": "string" }, @@ -9708,31 +9849,33 @@ } ], "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/GroupStatus" + } + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" } }, "x-ms-examples": { - "Delete Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/delete.json" + "GetStatus Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/getStatus.json" } } - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { "get": { "tags": [ - "ModelVersion" + "Job" ], - "summary": "Get version.", - "operationId": "ModelVersions_Get", + "summary": "Lists Jobs in the workspace.", + "operationId": "Jobs_List", "produces": [ "application/json" ], @@ -9746,131 +9889,116 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, - { - "in": "path", - "name": "name", - "description": "Container name. This is case-sensitive.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier. This is case-sensitive.", - "required": true, - "type": "string" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/get.json" - } - } - }, - "put": { - "tags": [ - "ModelVersion" - ], - "summary": "Create or update version.", - "operationId": "ModelVersions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "in": "query", + "name": "jobType", + "description": "Type of job to be returned.", + "type": "string" }, { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + "in": "query", + "name": "tag", + "description": "Jobs returned will have this tag key.", + "type": "string" }, { - "in": "path", - "name": "name", - "description": "Container name. This is case-sensitive.", - "required": true, + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } }, { - "in": "path", - "name": "version", - "description": "Version identifier. This is case-sensitive.", - "required": true, + "in": "query", + "name": "assetName", + "description": "Asset name the job's named output is registered with", "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "query", + "name": "scheduled", + "description": "Indicator whether the job is scheduled job.", + "type": "boolean" }, { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } + "in": "query", + "name": "scheduleId", + "description": "The scheduled id for listing the job triggered from", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", + "type": "string" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Create or update request is successful.", + "description": "Success", "schema": { - "$ref": "#/definitions/ModelVersionResource" + "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" } }, - "201": { - "description": "Created", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ModelVersionResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CreateOrUpdate Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/createOrUpdate.json" + "List Command Job.": { + "$ref": "./examples/Job/CommandJob/list.json" + }, + "List AutoML Job.": { + "$ref": "./examples/Job/AutoMLJob/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}/models/{name}/versions/{version}/package": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { + "delete": { "tags": [ - "ModelVersion" - ], - "summary": "Model Version Package operation.", - "operationId": "ModelVersions_Package", - "consumes": [ - "application/json" + "Job" ], + "summary": "Deletes a Job (asynchronous).", + "operationId": "Jobs_Delete", "produces": [ "application/json" ], @@ -9886,48 +10014,27 @@ }, { "in": "path", - "name": "name", - "description": "Container name. This is case-sensitive.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier. This is case-sensitive.", + "name": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Package operation request body.", - "required": true, - "schema": { - "$ref": "#/definitions/PackageRequest" - } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PackageResponse" - } + "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" @@ -9940,26 +10047,33 @@ "minimum": 10 } } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Package Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/package.json" + "Delete Job.": { + "$ref": "./examples/Job/delete.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": { + }, "get": { "tags": [ - "OnlineEndpoint" + "Job" ], - "summary": "List Online Endpoints.", - "operationId": "OnlineEndpoints_List", + "summary": "Gets a Job by name/id.", + "operationId": "Jobs_Get", "produces": [ "application/json" ], @@ -9974,99 +10088,54 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "name", - "description": "Name of the endpoint.", + "in": "path", + "name": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", + "required": true, "type": "string" }, { - "in": "query", - "name": "count", - "description": "Number of endpoints to be retrieved in a page of results.", - "type": "integer", - "format": "int32" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } }, - { - "in": "query", - "name": "computeType", - "description": "EndpointComputeType to be filtered by.", - "type": "string", - "enum": [ - "Managed", - "Kubernetes", - "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 - } - } - ], - "responses": { "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" - } } }, "x-ms-examples": { - "List Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/list.json" + "Get Command Job.": { + "$ref": "./examples/Job/CommandJob/get.json" + }, + "Get AutoML Job.": { + "$ref": "./examples/Job/AutoMLJob/get.json" + }, + "Get Sweep Job.": { + "$ref": "./examples/Job/SweepJob/get.json" + }, + "Get Pipeline Job.": { + "$ref": "./examples/Job/PipelineJob/get.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { - "delete": { + }, + "patch": { "tags": [ - "OnlineEndpoint" + "Job" + ], + "summary": "Updates a Job.", + "operationId": "Jobs_Update", + "consumes": [ + "application/json" ], - "summary": "Delete Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_Delete", "produces": [ "application/json" ], @@ -10082,66 +10151,53 @@ }, { "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", + "name": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Job definition to apply during the operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialJobBasePartialResource" + } } ], "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/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 Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/delete.json" + "Update Job.": { + "$ref": "./examples/Job/update.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" } }, - "get": { + "put": { "tags": [ - "OnlineEndpoint" + "Job" + ], + "summary": "Creates and executes a Job.", + "operationId": "Jobs_CreateOrUpdate", + "consumes": [ + "application/json" ], - "summary": "Get Online Endpoint.", - "operationId": "OnlineEndpoints_Get", "produces": [ "application/json" ], @@ -10157,44 +10213,68 @@ }, { "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", + "name": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Job definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/JobBaseResource" + } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Create or update request is successful.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/JobBaseResource" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" + "$ref": "#/definitions/JobBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/get.json" + "CreateOrUpdate Command Job.": { + "$ref": "./examples/Job/CommandJob/createOrUpdate.json" + }, + "CreateOrUpdate AutoML Job.": { + "$ref": "./examples/Job/AutoMLJob/createOrUpdate.json" + }, + "CreateOrUpdate Sweep Job.": { + "$ref": "./examples/Job/SweepJob/createOrUpdate.json" + }, + "CreateOrUpdate Pipeline Job.": { + "$ref": "./examples/Job/PipelineJob/createOrUpdate.json" } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel": { + "post": { "tags": [ - "OnlineEndpoint" - ], - "summary": "Update Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_Update", - "consumes": [ - "application/json" + "Job" ], + "summary": "Cancels a Job (asynchronous).", + "operationId": "Jobs_Cancel", "produces": [ "application/json" ], @@ -10210,45 +10290,22 @@ }, { "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", + "name": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Online Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialMinimalTrackedResourceWithIdentity" - } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } + "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" @@ -10261,107 +10318,32 @@ "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Update Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/update.json" + "Cancel Job.": { + "$ref": "./examples/Job/cancel.json" } }, - "x-ms-long-running-operation": true - }, - "put": { + "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": { + "get": { "tags": [ - "OnlineEndpoint" + "LabelingJob" ], - "summary": "Create or update Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "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/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "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/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "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 Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/createOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { - "get": { - "tags": [ - "OnlineDeployment" - ], - "summary": "List Inference Endpoint Deployments.", - "operationId": "OnlineDeployments_List", + "summary": "Lists labeling jobs in the workspace.", + "operationId": "LabelingJobs_List", "produces": [ "application/json" ], @@ -10375,50 +10357,37 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { "in": "query", "name": "$top", - "description": "Top of list.", + "description": "Number of labeling jobs to return.", "type": "integer", "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Online Deployments.": { - "$ref": "./examples/OnlineDeployment/list.json" + "List Labeling Job.": { + "$ref": "./examples/LabelingJob/list.json" } }, "x-ms-pageable": { @@ -10426,13 +10395,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { "delete": { "tags": [ - "OnlineDeployment" + "LabelingJob" ], - "summary": "Delete Inference Endpoint Deployment (asynchronous).", - "operationId": "OnlineDeployments_Delete", + "summary": "Delete a labeling job.", + "operationId": "LabelingJobs_Delete", "produces": [ "application/json" ], @@ -10448,15 +10417,8 @@ }, { "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", + "name": "id", + "description": "The name and identifier for the LabelingJob.", "required": true, "type": "string" }, @@ -10465,56 +10427,31 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/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 - } + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Delete Workspace Online Deployment.": { - "$ref": "./examples/Workspace/OnlineDeployment/delete.json" + "Delete Labeling Job.": { + "$ref": "./examples/LabelingJob/delete.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" } }, "get": { "tags": [ - "OnlineDeployment" + "LabelingJob" ], - "summary": "Get Inference Deployment Deployment.", - "operationId": "OnlineDeployments_Get", + "summary": "Gets a labeling job by name/id.", + "operationId": "LabelingJobs_Get", "produces": [ "application/json" ], @@ -10530,15 +10467,8 @@ }, { "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", + "name": "id", + "description": "The name and identifier for the LabelingJob.", "required": true, "type": "string" }, @@ -10547,34 +10477,31 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/LabelingJobResource" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" - }, - "Get Kubernetes Online Deployment.": { - "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/get.json" + "Get Labeling Job.": { + "$ref": "./examples/LabelingJob/get.json" } } }, - "patch": { + "put": { "tags": [ - "OnlineDeployment" + "LabelingJob" ], - "summary": "Update Online Deployment (asynchronous).", - "operationId": "OnlineDeployments_Update", + "summary": "Creates or updates a labeling job (asynchronous).", + "operationId": "LabelingJobs_CreateOrUpdate", "consumes": [ "application/json" ], @@ -10593,16 +10520,8 @@ }, { "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.", + "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}$" @@ -10613,64 +10532,62 @@ { "in": "body", "name": "body", - "description": "Online Endpoint entity to apply during operation.", + "description": "LabelingJob definition object.", "required": true, "schema": { - "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" + "$ref": "#/definitions/LabelingJobResource" } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Success", + "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" + "$ref": "#/definitions/LabelingJobResource" } }, - "202": { - "description": "Accepted", + "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" }, - "Location": { - "description": "URI to poll for asynchronous operation result.", + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Update Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" - }, - "Update Kubernetes Online Deployment.": { - "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/update.json" + "CreateOrUpdate Labeling Job.": { + "$ref": "./examples/LabelingJob/createOrUpdate.json" } }, - "x-ms-long-running-operation": true - }, - "put": { + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { + "post": { "tags": [ - "OnlineDeployment" + "LabelingJob" ], - "summary": "Create or update Inference Endpoint Deployment (asynchronous).", - "operationId": "OnlineDeployments_CreateOrUpdate", + "summary": "Export labels from a labeling job (asynchronous). Using the URL in the Location header, the status of the job export operation can be tracked.", + "operationId": "LabelingJobs_ExportLabels", "consumes": [ "application/json" ], @@ -10689,19 +10606,10 @@ }, { "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.", + "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}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -10709,68 +10617,61 @@ { "in": "body", "name": "body", - "description": "Inference Endpoint entity to apply during operation.", + "description": "The export summary.", "required": true, "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" + "$ref": "#/definitions/ExportSummary" } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Create or update request is successful.", + "description": "Success", "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" + "$ref": "#/definitions/ExportSummary" } }, - "201": { - "description": "Created", - "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" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", + "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 } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "CreateOrUpdate Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" - }, - "CreateOrUpdate Kubernetes Online Deployment.": { - "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json" + "ExportLabels Labeling Job.": { + "$ref": "./examples/LabelingJob/exportLabels.json" } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" + "final-state-via": "location" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { "post": { "tags": [ - "OnlineDeployment" - ], - "summary": "Polls an Endpoint operation.", - "operationId": "OnlineDeployments_GetLogs", - "consumes": [ - "application/json" + "LabelingJob" ], + "summary": "Pause a labeling job.", + "operationId": "LabelingJobs_Pause", "produces": [ "application/json" ], @@ -10786,59 +10687,43 @@ }, { "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The name and identifier for the endpoint.", + "name": "id", + "description": "The name and identifier for the LabelingJob.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "The request containing parameters for retrieving logs.", - "required": true, - "schema": { - "$ref": "#/definitions/DeploymentLogsRequest" - } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/LabelingJob" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/DeploymentLogs" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Online Deployment Logs.": { - "$ref": "./examples/OnlineDeployment/getLogs.json" + "Pause Labeling Job.": { + "$ref": "./examples/LabelingJob/pause.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume": { + "post": { "tags": [ - "OnlineDeployment" + "LabelingJob" ], - "summary": "List Inference Endpoint Deployment Skus.", - "operationId": "OnlineDeployments_ListSkus", + "summary": "Resume a labeling job (asynchronous).", + "operationId": "LabelingJobs_Resume", "produces": [ "application/json" ], @@ -10854,66 +10739,63 @@ }, { "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", + "name": "id", + "description": "The name and identifier for the LabelingJob.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/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" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/LabelingJob" } }, - "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 + } + } + }, + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/SkuResourceArmPaginatedResult" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Managed Online Deployment Skus.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json" - }, - "List Kubernetes Online Deployment Skus.": { - "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json" + "Resume Labeling Job.": { + "$ref": "./examples/LabelingJob/resume.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "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}/listKeys": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { + "get": { "tags": [ - "OnlineEndpoint" + "ModelContainer" ], - "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", - "operationId": "OnlineEndpoints_ListKeys", + "summary": "List model containers.", + "operationId": "ModelContainers_List", "produces": [ "application/json" ], @@ -10928,47 +10810,77 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthKeys" - } + { + "in": "query", + "name": "count", + "description": "Maximum number of results to return.", + "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, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "ListKeys Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/listKeys.json" + "List Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/list.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { + "delete": { "tags": [ - "OnlineEndpoint" - ], - "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", - "operationId": "OnlineEndpoints_RegenerateKeys", - "consumes": [ - "application/json" + "ModelContainer" ], + "summary": "Delete container.", + "operationId": "ModelContainers_Delete", "produces": [ "application/json" ], @@ -10984,69 +10896,41 @@ }, { "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", + "name": "name", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "RegenerateKeys request .", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateEndpointKeysRequest" - } } ], "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/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 Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/regenerateKeys.json" + "Delete Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/delete.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": { + }, + "get": { "tags": [ - "OnlineEndpoint" + "ModelContainer" ], - "summary": "Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.", - "operationId": "OnlineEndpoints_GetToken", + "summary": "Get container.", + "operationId": "ModelContainers_Get", "produces": [ "application/json" ], @@ -11062,8 +10946,8 @@ }, { "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", + "name": "name", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -11072,33 +10956,34 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ModelContainerResource" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/EndpointAuthToken" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "GetToken Workspace Online Endpoint.": { - "$ref": "./examples/Workspace/OnlineEndpoint/getToken.json" + "Get Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/get.json" } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules": { - "get": { + }, + "put": { "tags": [ - "Schedule" + "ModelContainer" + ], + "summary": "Create or update container.", + "operationId": "ModelContainers_CreateOrUpdate", + "consumes": [ + "application/json" ], - "summary": "List schedules in specified workspace.", - "operationId": "Schedules_List", "produces": [ "application/json" ], @@ -11113,70 +10998,60 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "name", + "description": "Container name. This is case-sensitive.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "in": "query", - "name": "listViewType", - "description": "Status filter for schedule.", - "type": "string", - "default": "EnabledOnly", - "enum": [ - "EnabledOnly", - "DisabledOnly", - "All" - ], - "x-ms-enum": { - "name": "ScheduleListViewType", - "modelAsString": true, - "values": [ - { - "value": "EnabledOnly" - }, - { - "value": "DisabledOnly" - }, - { - "value": "All" - } - ] + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelContainerResource" } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Create or update request is successful.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ModelContainerResource" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/ScheduleResourceArmPaginatedResult" + "$ref": "#/definitions/ModelContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Schedules.": { - "$ref": "./examples/Schedule/list.json" + "CreateOrUpdate Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/createOrUpdate.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}": { - "delete": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { + "get": { "tags": [ - "Schedule" + "ModelVersion" ], - "summary": "Delete schedule.", - "operationId": "Schedules_Delete", + "summary": "List model versions.", + "operationId": "ModelVersions_List", "produces": [ "application/json" ], @@ -11193,65 +11068,131 @@ { "in": "path", "name": "name", - "description": "Schedule name.", + "description": "Model name. This is case-sensitive.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } }, - "200": { - "description": "Success" + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, - "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 - } + { + "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" + }, + { + "in": "query", + "name": "feed", + "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, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] } }, - "204": { - "description": "No Content" + { + "in": "query", + "name": "stage", + "description": "Model stage", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Delete Schedule.": { - "$ref": "./examples/Schedule/delete.json" + "List Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/list.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "get": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { + "delete": { "tags": [ - "Schedule" + "ModelVersion" ], - "summary": "Get schedule.", - "operationId": "Schedules_Get", + "summary": "Delete version.", + "operationId": "ModelVersions_Delete", "produces": [ "application/json" ], @@ -11268,7 +11209,14 @@ { "in": "path", "name": "name", - "description": "Schedule name.", + "description": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -11277,34 +11225,31 @@ } ], "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ScheduleResource" - } } }, "x-ms-examples": { - "Get Schedule.": { - "$ref": "./examples/Schedule/get.json" + "Delete Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/delete.json" } } }, - "put": { + "get": { "tags": [ - "Schedule" - ], - "summary": "Create or update schedule.", - "operationId": "Schedules_CreateOrUpdate", - "consumes": [ - "application/json" + "ModelVersion" ], + "summary": "Get version.", + "operationId": "ModelVersions_Get", "produces": [ "application/json" ], @@ -11321,73 +11266,50 @@ { "in": "path", "name": "name", - "description": "Schedule name.", + "description": "Container name. This is case-sensitive.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "version", + "description": "Version identifier. This is case-sensitive.", + "required": true, + "type": "string" }, { - "in": "body", - "name": "body", - "description": "Schedule definition.", - "required": true, - "schema": { - "$ref": "#/definitions/ScheduleResource" - } + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Create or update request is successful.", + "description": "Success", "schema": { - "$ref": "#/definitions/ScheduleResource" + "$ref": "#/definitions/ModelVersionResource" } }, - "201": { - "description": "Created", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ScheduleResource" - }, - "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" - } + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "CreateOrUpdate Schedule.": { - "$ref": "./examples/Schedule/createOrUpdate.json" + "Get Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/get.json" } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints": { - "get": { + }, + "put": { "tags": [ - "ServerlessEndpoint" + "ModelVersion" + ], + "summary": "Create or update version.", + "operationId": "ModelVersions_CreateOrUpdate", + "consumes": [ + "application/json" ], - "summary": "List Serverless Endpoints.", - "operationId": "ServerlessEndpoints_List", "produces": [ "application/json" ], @@ -11401,44 +11323,71 @@ { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, + { + "in": "path", + "name": "name", + "description": "Container name. This is case-sensitive.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier. This is case-sensitive.", + "required": true, + "type": "string" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Create or update request is successful.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/ModelVersionResource" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResourceArmPaginatedResult" + "$ref": "#/definitions/ModelVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "List Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/list.json" + "CreateOrUpdate Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/createOrUpdate.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}": { - "delete": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}/package": { + "post": { "tags": [ - "ServerlessEndpoint" + "ModelVersion" + ], + "summary": "Model Version Package operation.", + "operationId": "ModelVersions_Package", + "consumes": [ + "application/json" ], - "summary": "Delete Serverless Endpoint (asynchronous).", - "operationId": "ServerlessEndpoints_Delete", "produces": [ "application/json" ], @@ -11455,33 +11404,41 @@ { "in": "path", "name": "name", - "description": "Serverless Endpoint name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, + { + "in": "path", + "name": "version", + "description": "Version identifier. This is case-sensitive.", + "required": true, + "type": "string" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Package operation request body.", + "required": true, + "schema": { + "$ref": "#/definitions/PackageRequest" + } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/PackageResponse" } }, - "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" @@ -11495,26 +11452,31 @@ } } }, - "200": { - "description": "Success" + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Delete Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/delete.json" + "Package Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/package.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": { "get": { "tags": [ - "ServerlessEndpoint" + "OnlineEndpoint" ], - "summary": "Get Serverless Endpoint.", - "operationId": "ServerlessEndpoints_Get", + "summary": "List Online Endpoints.", + "operationId": "OnlineEndpoints_List", "produces": [ "application/json" ], @@ -11529,45 +11491,99 @@ "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" }, { - "in": "path", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", "name": "name", - "description": "Serverless Endpoint name.", - "required": true, + "description": "Name of the endpoint.", "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "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", + "Kubernetes", + "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 + } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "Get Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/get.json" + "List Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/list.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { + "delete": { "tags": [ - "ServerlessEndpoint" - ], - "summary": "Update Serverless Endpoint (asynchronous).", - "operationId": "ServerlessEndpoints_Update", - "consumes": [ - "application/json" + "OnlineEndpoint" ], + "summary": "Delete Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Delete", "produces": [ "application/json" ], @@ -11583,37 +11599,18 @@ }, { "in": "path", - "name": "name", - "description": "Serverless Endpoint name.", + "name": "endpointName", + "description": "Online Endpoint name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Serverless Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialMinimalTrackedResourceWithSkuAndIdentity" - } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResource" - } + "description": "Success" }, "202": { "description": "Accepted", @@ -11635,24 +11632,33 @@ "minimum": 10 } } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "Update Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/update.json" + "Delete Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/delete.json" } }, - "x-ms-long-running-operation": true + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } }, - "put": { + "get": { "tags": [ - "ServerlessEndpoint" - ], - "summary": "Create or update Serverless Endpoint (asynchronous).", - "operationId": "ServerlessEndpoints_CreateOrUpdate", - "consumes": [ - "application/json" + "OnlineEndpoint" ], + "summary": "Get Online Endpoint.", + "operationId": "OnlineEndpoints_Get", "produces": [ "application/json" ], @@ -11668,11 +11674,63 @@ }, { "in": "path", - "name": "name", - "description": "Serverless Endpoint name.", + "name": "endpointName", + "description": "Online Endpoint name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -11680,30 +11738,109 @@ { "in": "body", "name": "body", - "description": "Serverless Endpoint entity to apply during operation.", + "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithIdentity" } } ], "responses": { + "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 + } + } + }, "default": { "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } + } + }, + "x-ms-examples": { + "Update Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/update.json" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Create or update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/types.json#/parameters/ApiVersionParameter" }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + ], + "responses": { "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResource" + "$ref": "#/definitions/OnlineEndpointTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/ServerlessEndpointTrackedResource" + "$ref": "#/definitions/OnlineEndpointTrackedResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -11716,11 +11853,17 @@ "type": "string" } } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "CreateOrUpdate Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/createOrUpdate.json" + "CreateOrUpdate Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -11729,13 +11872,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}/listKeys": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { + "get": { "tags": [ - "ServerlessEndpoint" + "OnlineDeployment" ], - "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", - "operationId": "ServerlessEndpoints_ListKeys", + "summary": "List Inference Endpoint Deployments.", + "operationId": "OnlineDeployments_List", "produces": [ "application/json" ], @@ -11751,47 +11894,62 @@ }, { "in": "path", - "name": "name", - "description": "Serverless Endpoint name.", + "name": "endpointName", + "description": "Inference endpoint name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/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" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/EndpointAuthKeys" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { - "ListKeys Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/listKeys.json" + "List Online Deployments.": { + "$ref": "./examples/OnlineDeployment/list.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}/regenerateKeys": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { "tags": [ - "ServerlessEndpoint" - ], - "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", - "operationId": "ServerlessEndpoints_RegenerateKeys", - "consumes": [ - "application/json" + "OnlineDeployment" ], + "summary": "Delete Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_Delete", "produces": [ "application/json" ], @@ -11807,41 +11965,34 @@ }, { "in": "path", - "name": "name", - "description": "Serverless Endpoint name.", + "name": "endpointName", + "description": "Inference endpoint name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" }, { - "in": "body", - "name": "body", - "description": "RegenerateKeys request .", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateEndpointKeysRequest" - } + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthKeys" - } + "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" @@ -11854,12 +12005,1378 @@ "minimum": 10 } } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { - "RegenerateKeys Workspace Serverless Endpoint.": { - "$ref": "./examples/Workspace/ServerlessEndpoint/regenerateKeys.json" - } + "Delete Workspace Online Deployment.": { + "$ref": "./examples/Workspace/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": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" + }, + "Get Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Update Online Deployment (asynchronous).", + "operationId": "OnlineDeployments_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" + } + } + ], + "responses": { + "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 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" + }, + "Update Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/update.json" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Create or update Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Inference Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "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" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" + }, + "CreateOrUpdate Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } + } + }, + "/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": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The request containing parameters for retrieving logs.", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentLogsRequest" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentLogs" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "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": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "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/v3/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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/SkuResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Managed Online Deployment Skus.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json" + }, + "List Kubernetes Online Deployment Skus.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/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": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListKeys Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/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": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "RegenerateKeys request .", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateEndpointKeysRequest" + } + } + ], + "responses": { + "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 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegenerateKeys Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/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 AML token for an Endpoint using AMLToken-based authentication.", + "operationId": "OnlineEndpoints_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthToken" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetToken Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/getToken.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules": { + "get": { + "tags": [ + "Schedule" + ], + "summary": "List schedules in specified workspace.", + "operationId": "Schedules_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "Status filter for schedule.", + "type": "string", + "default": "EnabledOnly", + "enum": [ + "EnabledOnly", + "DisabledOnly", + "All" + ], + "x-ms-enum": { + "name": "ScheduleListViewType", + "modelAsString": true, + "values": [ + { + "value": "EnabledOnly" + }, + { + "value": "DisabledOnly" + }, + { + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ScheduleResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Schedules.": { + "$ref": "./examples/Schedule/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/schedules/{name}": { + "delete": { + "tags": [ + "Schedule" + ], + "summary": "Delete schedule.", + "operationId": "Schedules_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Schedule name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Schedule.": { + "$ref": "./examples/Schedule/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Schedule" + ], + "summary": "Get schedule.", + "operationId": "Schedules_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Schedule name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ScheduleResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Schedule.": { + "$ref": "./examples/Schedule/get.json" + } + } + }, + "put": { + "tags": [ + "Schedule" + ], + "summary": "Create or update schedule.", + "operationId": "Schedules_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Schedule name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Schedule definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ScheduleResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ScheduleResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ScheduleResource" + }, + "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" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Schedule.": { + "$ref": "./examples/Schedule/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints": { + "get": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "List Serverless Endpoints.", + "operationId": "ServerlessEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}": { + "delete": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "Delete Serverless Endpoint (asynchronous).", + "operationId": "ServerlessEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "Get Serverless Endpoint.", + "operationId": "ServerlessEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "Update Serverless Endpoint (asynchronous).", + "operationId": "ServerlessEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Serverless Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSkuAndIdentity" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResource" + } + }, + "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 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/update.json" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "Create or update Serverless Endpoint (asynchronous).", + "operationId": "ServerlessEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Serverless Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ServerlessEndpointTrackedResource" + }, + "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" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}/listKeys": { + "post": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", + "operationId": "ServerlessEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListKeys Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/listKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/serverlessEndpoints/{name}/regenerateKeys": { + "post": { + "tags": [ + "ServerlessEndpoint" + ], + "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", + "operationId": "ServerlessEndpoints_RegenerateKeys", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Serverless Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "RegenerateKeys request .", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateEndpointKeysRequest" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + }, + "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 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegenerateKeys Workspace Serverless Endpoint.": { + "$ref": "./examples/Workspace/ServerlessEndpoint/regenerateKeys.json" + } }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { @@ -11912,6 +13429,30 @@ "x-ms-discriminator-value": "AccountKey", "additionalProperties": false }, + "ActualCapacityInfo": { + "type": "object", + "properties": { + "allocated": { + "format": "int32", + "description": "Gets or sets the total number of instances for the group.", + "default": 0, + "type": "integer" + }, + "assignmentFailed": { + "format": "int32", + "description": "Gets or sets the number of instances which failed to successfully complete assignment.", + "default": 0, + "type": "integer" + }, + "assignmentSuccess": { + "format": "int32", + "description": "Gets or sets the number of instances which successfully completed assignment.", + "default": 0, + "type": "integer" + } + }, + "additionalProperties": false + }, "AllFeatures": { "required": [ "filterType" @@ -12154,6 +13695,23 @@ }, "discriminator": "referenceType" }, + "AuthMode": { + "description": "Enum to determine endpoint authentication mode.", + "enum": [ + "AAD" + ], + "type": "string", + "x-ms-enum": { + "name": "AuthMode", + "modelAsString": true, + "values": [ + { + "value": "AAD" + } + ] + }, + "additionalProperties": false + }, "AutoDeleteCondition": { "enum": [ "CreatedGreaterThan", @@ -15909,7 +17467,7 @@ }, "scoringUri": { "format": "uri", - "description": "Endpoint URI.", + "description": "Endpoint URI for the inference endpoint.", "type": "string", "readOnly": true, "x-ms-mutability": [ @@ -17589,6 +19147,43 @@ "x-ms-discriminator-value": "Grid", "additionalProperties": false }, + "GroupStatus": { + "type": "object", + "properties": { + "actualCapacityInfo": { + "description": "Gets or sets the actual capacity info for the group.", + "$ref": "#/definitions/ActualCapacityInfo", + "x-nullable": true + }, + "bonusExtraCapacity": { + "format": "int32", + "description": "Gets or sets capacity used from the pool's reserved capacity.", + "default": 0, + "type": "integer" + }, + "endpointCount": { + "format": "int32", + "description": "Gets or sets the actual number of endpoints in the group.", + "default": 0, + "type": "integer" + }, + "eventLog": { + "description": "Gets or sets event log for inference group.", + "type": "array", + "items": { + "type": "object" + }, + "x-nullable": true + }, + "requestedCapacity": { + "format": "int32", + "description": "Gets or sets the request number of instances for the group.", + "default": 0, + "type": "integer" + } + }, + "additionalProperties": false + }, "HdfsDatastore": { "required": [ "nameNodeAddress" @@ -18277,360 +19872,702 @@ }, "randomSeed": { "format": "int32", - "description": "Random seed to be used when using deterministic training.", + "description": "Random seed to be used when using deterministic training.", + "type": "integer", + "x-nullable": true + }, + "stepLRGamma": { + "format": "float", + "description": "Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "stepLRStepSize": { + "format": "int32", + "description": "Value of step size when learning rate scheduler is 'step'. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "trainingBatchSize": { + "format": "int32", + "description": "Training batch size. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "validationBatchSize": { + "format": "int32", + "description": "Validation batch size. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "warmupCosineLRCycles": { + "format": "float", + "description": "Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "warmupCosineLRWarmupEpochs": { + "format": "int32", + "description": "Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "weightDecay": { + "format": "float", + "description": "Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].", + "type": "number", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ImageModelSettingsClassification": { + "description": "Settings used for training the model.\r\nFor more information on the available settings please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageModelSettings" + } + ], + "properties": { + "trainingCropSize": { + "format": "int32", + "description": "Image crop size that is input to the neural network for the training dataset. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "validationCropSize": { + "format": "int32", + "description": "Image crop size that is input to the neural network for the validation dataset. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "validationResizeSize": { + "format": "int32", + "description": "Image size to which to resize before cropping for validation dataset. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "weightedLoss": { + "format": "int32", + "description": "Weighted loss. The accepted values are 0 for no weighted loss.\r\n1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2.", + "type": "integer", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ImageModelSettingsObjectDetection": { + "description": "Settings used for training the model.\r\nFor more information on the available settings please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageModelSettings" + } + ], + "properties": { + "boxDetectionsPerImage": { + "format": "int32", + "description": "Maximum number of detections per image, for all classes. Must be a positive integer.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", "type": "integer", "x-nullable": true }, - "stepLRGamma": { + "boxScoreThreshold": { "format": "float", - "description": "Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1].", + "description": "During inference, only return proposals with a classification score greater than\r\nBoxScoreThreshold. Must be a float in the range[0, 1].", "type": "number", "x-nullable": true }, - "stepLRStepSize": { + "imageSize": { "format": "int32", - "description": "Value of step size when learning rate scheduler is 'step'. Must be a positive integer.", + "description": "Image size for train and validation. Must be a positive integer.\r\nNote: The training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", "type": "integer", "x-nullable": true }, - "trainingBatchSize": { + "logTrainingMetrics": { + "description": "Enable computing and logging training metrics.", + "default": "Enable", + "$ref": "#/definitions/LogTrainingMetrics" + }, + "logValidationLoss": { + "description": "Enable computing and logging validation loss.", + "default": "Disable", + "$ref": "#/definitions/LogValidationLoss" + }, + "maxSize": { "format": "int32", - "description": "Training batch size. Must be a positive integer.", + "description": "Maximum size of the image to be rescaled before feeding it to the backbone.\r\nMust be a positive integer. Note: training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", "type": "integer", "x-nullable": true }, - "validationBatchSize": { + "minSize": { "format": "int32", - "description": "Validation batch size. Must be a positive integer.", + "description": "Minimum size of the image to be rescaled before feeding it to the backbone.\r\nMust be a positive integer. Note: training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", "type": "integer", "x-nullable": true }, - "warmupCosineLRCycles": { + "modelSize": { + "description": "Model size. Must be 'small', 'medium', 'large', or 'xlarge'.\r\nNote: training run may get into CUDA OOM if the model size is too big.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", + "default": "None", + "$ref": "#/definitions/ModelSize" + }, + "multiScale": { + "description": "Enable multi-scale image by varying image size by +/- 50%.\r\nNote: training run may get into CUDA OOM if no sufficient GPU memory.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", + "type": "boolean", + "x-nullable": true + }, + "nmsIouThreshold": { "format": "float", - "description": "Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1].", + "description": "IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1].", "type": "number", "x-nullable": true }, - "warmupCosineLRWarmupEpochs": { - "format": "int32", - "description": "Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer.", - "type": "integer", + "tileGridSize": { + "description": "The grid size to use for tiling each image. Note: TileGridSize must not be\r\nNone to enable small object detection logic. A string containing two integers in mxn format.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", + "type": "string", + "example": "3x2", "x-nullable": true }, - "weightDecay": { + "tileOverlapRatio": { "format": "float", - "description": "Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].", + "description": "Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1).\r\nNote: This settings is not supported for the 'yolov5' algorithm.", + "type": "number", + "x-nullable": true + }, + "tilePredictionsNmsThreshold": { + "format": "float", + "description": "The IOU threshold to use to perform NMS while merging predictions from tiles and image.\r\nUsed in validation/ inference. Must be float in the range [0, 1].\r\nNote: This settings is not supported for the 'yolov5' algorithm.", "type": "number", "x-nullable": true + }, + "validationIouThreshold": { + "format": "float", + "description": "IOU threshold to use when computing validation metric. Must be float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "validationMetricType": { + "description": "Metric computation method to use for validation metrics.", + "default": "None", + "$ref": "#/definitions/ValidationMetricType" } }, "additionalProperties": false }, - "ImageModelSettingsClassification": { - "description": "Settings used for training the model.\r\nFor more information on the available settings please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "ImageObjectDetection": { + "description": "Image Object Detection. Object detection is used to identify objects in an image and locate each object with a\r\nbounding box e.g. locate all dogs and cats in an image and draw a bounding box around each.", "type": "object", "allOf": [ { - "$ref": "#/definitions/ImageModelSettings" + "$ref": "#/definitions/ImageObjectDetectionBase" + }, + { + "$ref": "#/definitions/AutoMLVertical" } ], "properties": { - "trainingCropSize": { - "format": "int32", - "description": "Image crop size that is input to the neural network for the training dataset. Must be a positive integer.", - "type": "integer", + "primaryMetric": { + "description": "Primary metric to optimize for this task.", + "default": "MeanAveragePrecision", + "$ref": "#/definitions/ObjectDetectionPrimaryMetrics" + } + }, + "x-ms-discriminator-value": "ImageObjectDetection", + "additionalProperties": false + }, + "ImageObjectDetectionBase": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageVertical" + } + ], + "properties": { + "modelSettings": { + "description": "Settings used for training the model.", + "$ref": "#/definitions/ImageModelSettingsObjectDetection", "x-nullable": true }, - "validationCropSize": { - "format": "int32", - "description": "Image crop size that is input to the neural network for the validation dataset. Must be a positive integer.", - "type": "integer", + "searchSpace": { + "description": "Search space for sampling different combinations of models and their hyperparameters.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageModelDistributionSettingsObjectDetection" + }, + "x-nullable": true, + "x-ms-identifiers": [] + } + }, + "additionalProperties": false + }, + "ImageSweepSettings": { + "description": "Model sweeping and hyperparameter sweeping related settings.", + "required": [ + "samplingAlgorithm" + ], + "type": "object", + "properties": { + "earlyTermination": { + "description": "Type of early termination policy.", + "$ref": "#/definitions/EarlyTerminationPolicy", "x-nullable": true }, - "validationResizeSize": { - "format": "int32", - "description": "Image size to which to resize before cropping for validation dataset. Must be a positive integer.", - "type": "integer", + "samplingAlgorithm": { + "description": "[Required] Type of the hyperparameter sampling algorithms.", + "$ref": "#/definitions/SamplingAlgorithmType" + } + }, + "additionalProperties": false + }, + "ImageVertical": { + "description": "Abstract class for AutoML tasks that train image (computer vision) models -\r\nsuch as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation.", + "required": [ + "limitSettings" + ], + "type": "object", + "properties": { + "limitSettings": { + "description": "[Required] Limit settings for the AutoML job.", + "$ref": "#/definitions/ImageLimitSettings" + }, + "sweepSettings": { + "description": "Model sweeping and hyperparameter sweeping related settings.", + "$ref": "#/definitions/ImageSweepSettings", "x-nullable": true }, - "weightedLoss": { - "format": "int32", - "description": "Weighted loss. The accepted values are 0 for no weighted loss.\r\n1 for weighted loss with sqrt.(class_weights). 2 for weighted loss with class_weights. Must be 0 or 1 or 2.", - "type": "integer", + "validationData": { + "description": "Validation data inputs.", + "$ref": "#/definitions/MLTableJobInput", + "x-nullable": true + }, + "validationDataSize": { + "format": "double", + "description": "The fraction of training dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.", + "type": "number", "x-nullable": true } }, "additionalProperties": false }, - "ImageModelSettingsObjectDetection": { - "description": "Settings used for training the model.\r\nFor more information on the available settings please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "ImportDataAction": { + "required": [ + "actionType", + "dataImportDefinition" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ScheduleActionBase" + } + ], + "properties": { + "dataImportDefinition": { + "description": "[Required] Defines Schedule action definition details.", + "$ref": "#/definitions/DataImport", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "x-ms-discriminator-value": "ImportData", + "additionalProperties": false + }, + "IncrementalDataRefresh": { + "description": "Whether IncrementalDataRefresh is enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "IncrementalDataRefresh", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "IndexColumn": { + "description": "Dto object representing index column", + "type": "object", + "properties": { + "columnName": { + "description": "Specifies the column name", + "type": "string", + "x-nullable": true + }, + "dataType": { + "description": "Specifies the data type", + "default": "String", + "$ref": "#/definitions/FeatureDataType" + } + }, + "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 + }, + "InferenceEndpoint": { + "description": "InferenceEndpoint configuration", + "required": [ + "authMode" + ], "type": "object", "allOf": [ { - "$ref": "#/definitions/ImageModelSettings" + "$ref": "#/definitions/PropertiesBase" } ], "properties": { - "boxDetectionsPerImage": { - "format": "int32", - "description": "Maximum number of detections per image, for all classes. Must be a positive integer.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", - "type": "integer", - "x-nullable": true - }, - "boxScoreThreshold": { - "format": "float", - "description": "During inference, only return proposals with a classification score greater than\r\nBoxScoreThreshold. Must be a float in the range[0, 1].", - "type": "number", - "x-nullable": true - }, - "imageSize": { - "format": "int32", - "description": "Image size for train and validation. Must be a positive integer.\r\nNote: The training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", - "type": "integer", - "x-nullable": true - }, - "logTrainingMetrics": { - "description": "Enable computing and logging training metrics.", - "default": "Enable", - "$ref": "#/definitions/LogTrainingMetrics" - }, - "logValidationLoss": { - "description": "Enable computing and logging validation loss.", - "default": "Disable", - "$ref": "#/definitions/LogValidationLoss" - }, - "maxSize": { - "format": "int32", - "description": "Maximum size of the image to be rescaled before feeding it to the backbone.\r\nMust be a positive integer. Note: training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", - "type": "integer", - "x-nullable": true + "authMode": { + "description": "[Required] Authentication mode for the endpoint.", + "$ref": "#/definitions/AuthMode" }, - "minSize": { - "format": "int32", - "description": "Minimum size of the image to be rescaled before feeding it to the backbone.\r\nMust be a positive integer. Note: training run may get into CUDA OOM if the size is too big.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", - "type": "integer", + "endpointUri": { + "format": "uri", + "description": "Endpoint URI for the inference endpoint.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true }, - "modelSize": { - "description": "Model size. Must be 'small', 'medium', 'large', or 'xlarge'.\r\nNote: training run may get into CUDA OOM if the model size is too big.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", - "default": "None", - "$ref": "#/definitions/ModelSize" + "provisioningState": { + "description": "Provisioning state for the endpoint.", + "$ref": "#/definitions/PoolProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "InferenceEndpointMinimalTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "properties": { + "id": { + "description": "The resource URL of the entity (not URL encoded).", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, - "multiScale": { - "description": "Enable multi-scale image by varying image size by +/- 50%.\r\nNote: training run may get into CUDA OOM if no sufficient GPU memory.\r\nNote: This settings is only supported for the 'yolov5' algorithm.", - "type": "boolean", - "x-nullable": true + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" }, - "nmsIouThreshold": { - "format": "float", - "description": "IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true + "location": { + "description": "[Required] ", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" }, - "tileGridSize": { - "description": "The grid size to use for tiling each image. Note: TileGridSize must not be\r\nNone to enable small object detection logic. A string containing two integers in mxn format.\r\nNote: This settings is not supported for the 'yolov5' algorithm.", + "name": { + "description": "The name of the resource entity.", "type": "string", - "example": "3x2", - "x-nullable": true + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, - "tileOverlapRatio": { - "format": "float", - "description": "Overlap ratio between adjacent tiles in each dimension. Must be float in the range [0, 1).\r\nNote: This settings is not supported for the 'yolov5' algorithm.", - "type": "number", - "x-nullable": true + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/InferenceEndpoint" }, - "tilePredictionsNmsThreshold": { - "format": "float", - "description": "The IOU threshold to use to perform NMS while merging predictions from tiles and image.\r\nUsed in validation/ inference. Must be float in the range [0, 1].\r\nNote: This settings is not supported for the 'yolov5' algorithm.", - "type": "number", - "x-nullable": true + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, - "validationIouThreshold": { - "format": "float", - "description": "IOU threshold to use when computing validation metric. Must be float in the range [0, 1].", - "type": "number", - "x-nullable": true + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } }, - "validationMetricType": { - "description": "Metric computation method to use for validation metrics.", - "default": "None", - "$ref": "#/definitions/ValidationMetricType" + "type": { + "description": "The resource provider and type.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "additionalProperties": false }, - "ImageObjectDetection": { - "description": "Image Object Detection. Object detection is used to identify objects in an image and locate each object with a\r\nbounding box e.g. locate all dogs and cats in an image and draw a bounding box around each.", + "InferenceEndpointMinimalTrackedResourceArmPaginatedResult": { + "description": "A paginated list of InferenceEndpoint entities.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ImageObjectDetectionBase" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], "properties": { - "primaryMetric": { - "description": "Primary metric to optimize for this task.", - "default": "MeanAveragePrecision", - "$ref": "#/definitions/ObjectDetectionPrimaryMetrics" + "nextLink": { + "description": "The link to the next page of InferenceEndpoint objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type InferenceEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + } } }, - "x-ms-discriminator-value": "ImageObjectDetection", "additionalProperties": false }, - "ImageObjectDetectionBase": { + "InferenceGroup": { + "description": "Inference group configuration", "type": "object", "allOf": [ { - "$ref": "#/definitions/ImageVertical" + "$ref": "#/definitions/PropertiesBase" } ], "properties": { - "modelSettings": { - "description": "Settings used for training the model.", - "$ref": "#/definitions/ImageModelSettingsObjectDetection", + "bonusExtraCapacity": { + "format": "int32", + "description": "Capacity to be used from the pool's reserved capacity.\r\noptional", + "default": 0, + "type": "integer" + }, + "data": { + "description": "Metadata for the inference group.", + "type": "string", "x-nullable": true }, - "searchSpace": { - "description": "Search space for sampling different combinations of models and their hyperparameters.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageModelDistributionSettingsObjectDetection" - }, - "x-nullable": true, - "x-ms-identifiers": [] + "priority": { + "format": "int32", + "description": "Priority of the group within the N:Microsoft.MachineLearning.ManagementFrontEnd.Contracts.V20230801Preview.Pools.InferencePools.", + "default": 0, + "type": "integer" + }, + "provisioningState": { + "description": "Provisioning state for the inference group.", + "$ref": "#/definitions/PoolProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "additionalProperties": false }, - "ImageSweepSettings": { - "description": "Model sweeping and hyperparameter sweeping related settings.", + "InferenceGroupMinimalTrackedResourceWithSku": { "required": [ - "samplingAlgorithm" + "location", + "properties" ], "type": "object", "properties": { - "earlyTermination": { - "description": "Type of early termination policy.", - "$ref": "#/definitions/EarlyTerminationPolicy", - "x-nullable": true + "id": { + "description": "The resource URL of the entity (not URL encoded).", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, - "samplingAlgorithm": { - "description": "[Required] Type of the hyperparameter sampling algorithms.", - "$ref": "#/definitions/SamplingAlgorithmType" + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "location": { + "description": "[Required] ", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "name": { + "description": "The name of the resource entity.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/InferenceGroup" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } + }, + "type": { + "description": "The resource provider and type.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult": { + "description": "A paginated list of InferenceGroup entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of InferenceGroup objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type InferenceGroup.", + "type": "array", + "items": { + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + } } }, "additionalProperties": false }, - "ImageVertical": { - "description": "Abstract class for AutoML tasks that train image (computer vision) models -\r\nsuch as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation.", + "InferencePool": { + "description": "Inference pool configuration", "required": [ - "limitSettings" + "nodeSkuType" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PropertiesBase" + } + ], "properties": { - "limitSettings": { - "description": "[Required] Limit settings for the AutoML job.", - "$ref": "#/definitions/ImageLimitSettings" + "codeConfiguration": { + "description": "Code configuration for the inference pool.", + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true }, - "sweepSettings": { - "description": "Model sweeping and hyperparameter sweeping related settings.", - "$ref": "#/definitions/ImageSweepSettings", + "environmentConfiguration": { + "description": "EnvironmentConfiguration for the inference pool.", + "$ref": "#/definitions/PoolEnvironmentConfiguration", "x-nullable": true }, - "validationData": { - "description": "Validation data inputs.", - "$ref": "#/definitions/MLTableJobInput", + "modelConfiguration": { + "description": "ModelConfiguration for the inference pool.", + "$ref": "#/definitions/PoolModelConfiguration", "x-nullable": true }, - "validationDataSize": { - "format": "double", - "description": "The fraction of training dataset that needs to be set aside for validation purpose.\r\nValues between (0.0 , 1.0)\r\nApplied when validation dataset is not provided.", - "type": "number", + "nodeSkuType": { + "description": "[Required] Compute instance type.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state for the pool.", + "$ref": "#/definitions/PoolProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "requestConfiguration": { + "description": "Request configuration for the inference pool.", + "$ref": "#/definitions/RequestConfiguration", "x-nullable": true } }, + "x-ms-client-name": "InferencePoolProperties", "additionalProperties": false }, - "ImportDataAction": { + "InferencePoolTrackedResource": { "required": [ - "actionType", - "dataImportDefinition" + "location", + "properties" ], "type": "object", "allOf": [ { - "$ref": "#/definitions/ScheduleActionBase" - } - ], - "properties": { - "dataImportDefinition": { - "description": "[Required] Defines Schedule action definition details.", - "$ref": "#/definitions/DataImport", - "x-ms-mutability": [ - "create", - "read", - "update" - ] + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } - }, - "x-ms-discriminator-value": "ImportData", - "additionalProperties": false - }, - "IncrementalDataRefresh": { - "description": "Whether IncrementalDataRefresh is enabled", - "enum": [ - "Enabled", - "Disabled" ], - "type": "string", - "x-ms-enum": { - "name": "IncrementalDataRefresh", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "IndexColumn": { - "description": "Dto object representing index column", - "type": "object", "properties": { - "columnName": { - "description": "Specifies the column name", - "type": "string", - "x-nullable": true + "identity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" }, - "dataType": { - "description": "Specifies the data type", - "default": "String", - "$ref": "#/definitions/FeatureDataType" + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/InferencePool" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "InferencePool", "additionalProperties": false }, - "InferenceContainerProperties": { + "InferencePoolTrackedResourceArmPaginatedResult": { + "description": "A paginated list of InferencePool entities.", "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" + "nextLink": { + "description": "The link to the next page of InferencePool objects. If null, there are no additional pages.", + "type": "string" }, - "scoringRoute": { - "description": "The port to send the scoring requests to, within the inference server container.", - "$ref": "#/definitions/Route" + "value": { + "description": "An array of objects of type InferencePool.", + "type": "array", + "items": { + "$ref": "#/definitions/InferencePoolTrackedResource" + } } }, "additionalProperties": false @@ -23271,6 +25208,129 @@ "x-ms-discriminator-value": "Pipeline", "additionalProperties": false }, + "PoolEnvironmentConfiguration": { + "description": "Environment configuration options.", + "type": "object", + "properties": { + "environmentId": { + "description": "ARM resource ID of the environment specification for the inference pool.", + "type": "string", + "x-nullable": true + }, + "environmentVariables": { + "description": "Environment variables configuration for the inference pool.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "livenessProbe": { + "description": "Liveness probe monitors the health of the container regularly.", + "$ref": "#/definitions/ProbeSettings", + "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", + "x-nullable": true + }, + "startupProbe": { + "description": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes.", + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PoolModelConfiguration": { + "description": "Model configuration options.", + "type": "object", + "properties": { + "modelId": { + "description": "The URI path to the model.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PoolProvisioningState": { + "description": "State of pool related resources provisioning.", + "enum": [ + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Updating", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "PoolProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Updating" + }, + { + "value": "Canceled" + } + ] + }, + "additionalProperties": false + }, + "PoolStatus": { + "type": "object", + "properties": { + "actualCapacity": { + "format": "int32", + "description": "Gets or sets the actual number of instances in the pool.", + "default": 0, + "type": "integer" + }, + "eventLog": { + "description": "Gets or sets event log for inference pool.", + "type": "array", + "items": { + "type": "object" + }, + "x-nullable": true + }, + "groupCount": { + "format": "int32", + "description": "Gets or sets the actual number of groups in the pool.", + "default": 0, + "type": "integer" + }, + "requestedCapacity": { + "format": "int32", + "description": "Gets or sets the requested number of instances for the pool.", + "default": 0, + "type": "integer" + }, + "reservedCapacity": { + "format": "int32", + "description": "Gets or sets the number of instances in the pool reserved by the system.", + "default": 0, + "type": "integer" + } + }, + "additionalProperties": false + }, "PredictionDriftMetricThresholdBase": { "required": [ "dataType" @@ -23435,6 +25495,27 @@ }, "additionalProperties": false }, + "PropertiesBase": { + "description": "Base definition for pool resources.", + "type": "object", + "properties": { + "description": { + "description": "Description of the endpoint deployment.", + "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 + } + }, + "additionalProperties": false + }, "ProtectionLevel": { "description": "Protection level associated with the Intellectual Property.", "enum": [ @@ -23973,6 +26054,25 @@ }, "additionalProperties": false }, + "RequestConfiguration": { + "description": "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" + }, + "requestTimeout": { + "format": "duration", + "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", + "default": "PT5S", + "type": "string" + } + }, + "additionalProperties": false + }, "RequestLogging": { "type": "object", "properties": { From afce89cf3ee90a68ca8cf9c256737be82bb0ea4e Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Mon, 18 Sep 2023 11:12:49 -0700 Subject: [PATCH 2/8] PR comments --- .../InferenceEndpoint/createOrUpdate.json | 2 +- .../Workspace/InferenceEndpoint/delete.json | 2 +- .../Workspace/InferenceEndpoint/get.json | 2 +- .../Workspace/InferenceEndpoint/update.json | 2 +- .../InferenceGroup/createOrUpdate.json | 2 +- .../Workspace/InferenceGroup/delete.json | 2 +- .../Workspace/InferenceGroup/get.json | 2 +- .../Workspace/InferenceGroup/getStatus.json | 2 +- .../Workspace/InferenceGroup/listSkus.json | 2 +- .../Workspace/InferenceGroup/update.json | 2 +- .../InferencePool/createOrUpdate.json | 2 +- .../Workspace/InferencePool/delete.json | 2 +- .../examples/Workspace/InferencePool/get.json | 2 +- .../Workspace/InferencePool/getStatus.json | 2 +- .../Workspace/InferencePool/listSkus.json | 2 +- .../Workspace/InferencePool/update.json | 2 +- .../preview/2023-08-01-preview/mfe.json | 530 +++++++++--------- 17 files changed, 281 insertions(+), 281 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json index 9f7fb184892b..f32b5c78f403 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json @@ -5,7 +5,7 @@ "workspaceName": "my-aml-workspace", "poolName": "string", "groupName": "string", - "name": "string", + "endpointName": "string", "api-version": "2023-08-01-preview", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json index dc2831fca147..5a1bc95b4833 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json @@ -5,7 +5,7 @@ "workspaceName": "my-aml-workspace", "poolName": "string", "groupName": "string", - "name": "string", + "endpointName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json index 3b2ac687cbe0..5ae33631c666 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json @@ -5,7 +5,7 @@ "workspaceName": "my-aml-workspace", "poolName": "string", "groupName": "string", - "name": "string", + "endpointName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json index c5664477f57a..3264eb0a9918 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json @@ -5,7 +5,7 @@ "workspaceName": "my-aml-workspace", "poolName": "string", "groupName": "string", - "name": "string", + "endpointName": "string", "api-version": "2023-08-01-preview", "body": { "tags": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json index 228209a3a4d2..9f4e5ede2958 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json index c4c752bfe5f1..ee9ebc7fa1bc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json index 7091079b8a10..4859261b1df4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json index 265e246fdf65..556a7fab1771 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json index 48cb75872191..35ed660bcc4b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview", "$skipToken": "string", "count": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json index ab161bbc7c55..941a3086db83 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json @@ -4,7 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "name": "string", + "groupName": "string", "api-version": "2023-08-01-preview", "body": { "tags": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json index e9b3ff7e3c6d..9acd046dd728 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json index 87854c632aee..40c21822afe0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json index 6c1be6d5283f..677d1ef27e76 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json index 201a466069e8..0129071ab779 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json index 87ba3c877b81..cbc89cf82369 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/listSkus.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview", "$skipToken": "string", "count": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json index 1a5d9ab060f0..783890c67ede 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", - "name": "string", + "inferencePoolName": "string", "api-version": "2023-08-01-preview", "body": { "tags": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index e35e188f41b0..0a89054bd8f5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -8438,7 +8438,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}": { "delete": { "tags": [ "InferencePool" @@ -8460,8 +8460,8 @@ }, { "in": "path", - "name": "name", - "description": "InferencePool name.", + "name": "inferencePoolName", + "description": "Name of InferencePool", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -8536,8 +8536,8 @@ }, { "in": "path", - "name": "name", - "description": "InferencePool name.", + "name": "inferencePoolName", + "description": "Name of InferencePool", "required": true, "type": "string" }, @@ -8589,8 +8589,8 @@ }, { "in": "path", - "name": "name", - "description": "InferencePool name.", + "name": "inferencePoolName", + "description": "Name of InferencePool", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -8674,8 +8674,8 @@ }, { "in": "path", - "name": "name", - "description": "InferencePool name.", + "name": "inferencePoolName", + "description": "Name of InferencePool", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -8735,72 +8735,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}/skus": { - "get": { - "tags": [ - "InferencePool" - ], - "summary": "List Inference Pool Skus.", - "operationId": "InferencePools_ListSkus", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Inference Group name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/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" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/SkuResourceArmPaginatedResult" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ListSkus Workspace Inference Pool.": { - "$ref": "./examples/Workspace/InferencePool/listSkus.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{name}/status": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}/fetchStatus": { "post": { "tags": [ "InferencePool" @@ -8822,8 +8757,8 @@ }, { "in": "path", - "name": "name", - "description": "InferencePool name.", + "name": "inferencePoolName", + "description": "Name of InferencePool", "required": true, "type": "string" }, @@ -8852,13 +8787,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}/skus": { "get": { "tags": [ - "InferenceGroup" + "InferencePool" ], - "summary": "List Inference Groups.", - "operationId": "InferenceGroups_List", + "summary": "List Inference Pool Skus.", + "operationId": "InferencePools_ListSkus", "produces": [ "application/json" ], @@ -8874,11 +8809,10 @@ }, { "in": "path", - "name": "poolName", - "description": "Name of the InferencePool.", + "name": "inferencePoolName", + "description": "Inference Group name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -8886,47 +8820,19 @@ { "in": "query", "name": "count", - "description": "Number of InferenceGroup to be retrieved in a page of results.", + "description": "Number of Skus to be retrieved in a page of results.", "type": "integer", "format": "int32" }, { "$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 - } } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" + "$ref": "#/definitions/SkuResourceArmPaginatedResult" } }, "default": { @@ -8937,8 +8843,8 @@ } }, "x-ms-examples": { - "List Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/list.json" + "ListSkus Workspace Inference Pool.": { + "$ref": "./examples/Workspace/InferencePool/listSkus.json" } }, "x-ms-pageable": { @@ -8946,13 +8852,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups": { "get": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "List Inference Endpoints.", - "operationId": "InferenceEndpoints_List", + "summary": "List Inference Groups.", + "operationId": "InferenceGroups_List", "produces": [ "application/json" ], @@ -8974,21 +8880,13 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", "name": "count", - "description": "Number of InferenceEndpoint to be retrieved in a page of results.", + "description": "Number of InferenceGroup to be retrieved in a page of results.", "type": "integer", "format": "int32" }, @@ -9028,7 +8926,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" } }, "default": { @@ -9039,8 +8937,8 @@ } }, "x-ms-examples": { - "List Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/list.json" + "List Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/list.json" } }, "x-ms-pageable": { @@ -9048,13 +8946,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}": { "delete": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Delete InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_Delete", + "summary": "Delete InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Delete", "produces": [ "application/json" ], @@ -9084,14 +8982,6 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "name", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9132,8 +9022,8 @@ } }, "x-ms-examples": { - "Delete Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/delete.json" + "Delete Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/delete.json" } }, "x-ms-long-running-operation": true, @@ -9143,10 +9033,10 @@ }, "get": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Get InferenceEndpoint.", - "operationId": "InferenceEndpoints_Get", + "summary": "Get InferenceGroup.", + "operationId": "InferenceGroups_Get", "produces": [ "application/json" ], @@ -9176,14 +9066,6 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "name", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9192,7 +9074,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "default": { @@ -9203,17 +9085,17 @@ } }, "x-ms-examples": { - "Get Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/get.json" + "Get Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/get.json" } } }, "patch": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Update InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_Update", + "summary": "Update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Update", "consumes": [ "application/json" ], @@ -9235,24 +9117,14 @@ "name": "poolName", "description": "InferencePool name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "in": "path", "name": "groupName", "description": "InferenceGroup name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "name", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -9263,7 +9135,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "description": "Strictly used in update requests." + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" } } ], @@ -9271,7 +9143,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "202": { @@ -9303,18 +9175,18 @@ } }, "x-ms-examples": { - "Update Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/update.json" + "Update Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/update.json" } }, "x-ms-long-running-operation": true }, "put": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Create or update InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_CreateOrUpdate", + "summary": "Create or update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_CreateOrUpdate", "consumes": [ "application/json" ], @@ -9347,24 +9219,16 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "name", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", "name": "body", - "description": "InferenceEndpoint entity to apply during operation.", + "description": "InferenceGroup entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } } ], @@ -9372,13 +9236,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" }, "headers": { "x-ms-async-operation-timeout": { @@ -9400,8 +9264,8 @@ } }, "x-ms-examples": { - "CreateOrUpdate Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/createOrUpdate.json" + "CreateOrUpdate Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -9410,13 +9274,115 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints": { + "get": { + "tags": [ + "InferenceEndpoint" + ], + "summary": "List Inference Endpoints.", + "operationId": "InferenceEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "path", + "name": "poolName", + "description": "Name of the InferencePool.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "groupName", + "description": "InferenceGroup name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "count", + "description": "Number of InferenceEndpoint to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$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 + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints/{endpointName}": { "delete": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Delete InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_Delete", + "summary": "Delete InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Delete", "produces": [ "application/json" ], @@ -9440,12 +9406,20 @@ }, { "in": "path", - "name": "name", + "name": "groupName", "description": "InferenceGroup name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, + { + "in": "path", + "name": "endpointName", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9486,8 +9460,8 @@ } }, "x-ms-examples": { - "Delete Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/delete.json" + "Delete Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/delete.json" } }, "x-ms-long-running-operation": true, @@ -9497,10 +9471,10 @@ }, "get": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Get InferenceGroup.", - "operationId": "InferenceGroups_Get", + "summary": "Get InferenceEndpoint.", + "operationId": "InferenceEndpoints_Get", "produces": [ "application/json" ], @@ -9524,12 +9498,20 @@ }, { "in": "path", - "name": "name", + "name": "groupName", "description": "InferenceGroup name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, + { + "in": "path", + "name": "endpointName", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9538,7 +9520,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "default": { @@ -9549,17 +9531,17 @@ } }, "x-ms-examples": { - "Get Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/get.json" + "Get Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/get.json" } } }, "patch": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Update InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_Update", + "summary": "Update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Update", "consumes": [ "application/json" ], @@ -9581,14 +9563,24 @@ "name": "poolName", "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "in": "path", - "name": "name", + "name": "groupName", "description": "InferenceGroup name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "endpointName", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -9599,7 +9591,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" + "description": "Strictly used in update requests." } } ], @@ -9607,7 +9599,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "202": { @@ -9639,18 +9631,18 @@ } }, "x-ms-examples": { - "Update Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/update.json" + "Update Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/update.json" } }, "x-ms-long-running-operation": true }, "put": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Create or update InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_CreateOrUpdate", + "summary": "Create or update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_CreateOrUpdate", "consumes": [ "application/json" ], @@ -9677,22 +9669,30 @@ }, { "in": "path", - "name": "name", + "name": "groupName", "description": "InferenceGroup name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, + { + "in": "path", + "name": "endpointName", + "description": "InferenceEndpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", "name": "body", - "description": "InferenceGroup entity to apply during operation.", + "description": "InferenceEndpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } } ], @@ -9700,13 +9700,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -9728,8 +9728,8 @@ } }, "x-ms-examples": { - "CreateOrUpdate Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/createOrUpdate.json" + "CreateOrUpdate Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -9738,13 +9738,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}/skus": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/fetchStatus": { + "post": { "tags": [ "InferenceGroup" ], - "summary": "List Inference Group Skus.", - "operationId": "InferenceGroups_ListSkus", + "summary": "Retrieve inference group status.", + "operationId": "InferenceGroups_GetStatus", "produces": [ "application/json" ], @@ -9761,36 +9761,26 @@ { "in": "path", "name": "poolName", - "description": "Inference Pool name.", + "description": "InferencePool name.", "required": true, "type": "string" }, { "in": "path", - "name": "name", - "description": "Inference Group name.", + "name": "groupName", + "description": "InferenceGroup name.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/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" } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/SkuResourceArmPaginatedResult" + "$ref": "#/definitions/GroupStatus" } }, "default": { @@ -9801,22 +9791,19 @@ } }, "x-ms-examples": { - "ListSkus Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/listSkus.json" + "GetStatus Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/getStatus.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{name}/status": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/skus": { + "get": { "tags": [ "InferenceGroup" ], - "summary": "Retrieve inference group status.", - "operationId": "InferenceGroups_GetStatus", + "summary": "List Inference Group Skus.", + "operationId": "InferenceGroups_ListSkus", "produces": [ "application/json" ], @@ -9833,26 +9820,36 @@ { "in": "path", "name": "poolName", - "description": "InferencePool name.", + "description": "Inference Pool name.", "required": true, "type": "string" }, { "in": "path", - "name": "name", - "description": "InferenceGroup name.", + "name": "groupName", + "description": "Inference Group name.", "required": true, "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/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" } ], "responses": { "200": { "description": "Success", "schema": { - "$ref": "#/definitions/GroupStatus" + "$ref": "#/definitions/SkuResourceArmPaginatedResult" } }, "default": { @@ -9863,9 +9860,12 @@ } }, "x-ms-examples": { - "GetStatus Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/getStatus.json" + "ListSkus Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/listSkus.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -17467,7 +17467,7 @@ }, "scoringUri": { "format": "uri", - "description": "Endpoint URI for the inference endpoint.", + "description": "Endpoint URI.", "type": "string", "readOnly": true, "x-ms-mutability": [ From 5cf2c7f389f10236f28f1d845242efbb8a9bda0f Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:49:00 -0700 Subject: [PATCH 3/8] remove EventLog and change data --- .../Workspace/InferenceGroup/createOrUpdate.json | 6 +++--- .../examples/Workspace/InferenceGroup/get.json | 2 +- .../Workspace/InferenceGroup/getStatus.json | 7 +------ .../examples/Workspace/InferenceGroup/list.json | 2 +- .../examples/Workspace/InferenceGroup/update.json | 2 +- .../Workspace/InferencePool/getStatus.json | 7 +------ .../preview/2023-08-01-preview/mfe.json | 14 +------------- 7 files changed, 9 insertions(+), 31 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json index 9f4e5ede2958..db7141ed70e6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json @@ -14,7 +14,7 @@ }, "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "tags": {}, "location": "string", @@ -43,7 +43,7 @@ "provisioningState": "Canceled", "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999+00:31", @@ -79,7 +79,7 @@ "provisioningState": "Deleting", "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999+00:31", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json index 4859261b1df4..5a26c04103d2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json @@ -22,7 +22,7 @@ "provisioningState": "Succeeded", "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999+00:31", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json index 556a7fab1771..d52114a2ed73 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/getStatus.json @@ -18,12 +18,7 @@ "assignmentSuccess": 1, "assignmentFailed": 1 }, - "endpointCount": 1, - "eventLog": [ - { - "c8a7f11b-0b45-43e8-874a-d07dbd0dc0eb": null - } - ] + "endpointCount": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json index 2cff14f4f14d..01f1d0c32914 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json @@ -28,7 +28,7 @@ "provisioningState": "Canceled", "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999+00:31", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json index 941a3086db83..abbe9aa73edc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json @@ -32,7 +32,7 @@ "provisioningState": "Succeeded", "priority": 1, "bonusExtraCapacity": 1, - "data": "string" + "metaData": "string" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999+00:31", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json index 0129071ab779..1da2e509ac53 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/getStatus.json @@ -13,12 +13,7 @@ "requestedCapacity": 1, "actualCapacity": 1, "reservedCapacity": 1, - "groupCount": 1, - "eventLog": [ - { - "6c1ad1d4-ec90-4c85-a7e6-4117a0c1fb53": null - } - ] + "groupCount": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index 0a89054bd8f5..d1400ebaafc8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -19167,12 +19167,6 @@ "default": 0, "type": "integer" }, - "eventLog": { - "description": "Gets or sets event log for inference group.", - "type": "array", - "items": { - "type": "object" - }, "x-nullable": true }, "requestedCapacity": { @@ -20364,7 +20358,7 @@ "default": 0, "type": "integer" }, - "data": { + "metaData": { "description": "Metadata for the inference group.", "type": "string", "x-nullable": true @@ -25302,12 +25296,6 @@ "default": 0, "type": "integer" }, - "eventLog": { - "description": "Gets or sets event log for inference pool.", - "type": "array", - "items": { - "type": "object" - }, "x-nullable": true }, "groupCount": { From 907011ca3bd0ab6a38b7eb5abf38d42a427471c9 Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Fri, 22 Sep 2023 08:51:26 -0700 Subject: [PATCH 4/8] remove EventLog and change data --- .../preview/2023-08-01-preview/mfe.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index d1400ebaafc8..646cd8d1e7a3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -19166,8 +19166,6 @@ "description": "Gets or sets the actual number of endpoints in the group.", "default": 0, "type": "integer" - }, - "x-nullable": true }, "requestedCapacity": { "format": "int32", @@ -20358,7 +20356,7 @@ "default": 0, "type": "integer" }, - "metaData": { + "metadata": { "description": "Metadata for the inference group.", "type": "string", "x-nullable": true @@ -25295,8 +25293,6 @@ "description": "Gets or sets the actual number of instances in the pool.", "default": 0, "type": "integer" - }, - "x-nullable": true }, "groupCount": { "format": "int32", From d1e1c8d4725004988398daca37f6d3abbf04c977 Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Fri, 22 Sep 2023 16:56:01 -0700 Subject: [PATCH 5/8] moving endpoint as sibling to group --- .../InferenceEndpoint/createOrUpdate.json | 24 +- .../Workspace/InferenceEndpoint/delete.json | 3 +- .../Workspace/InferenceEndpoint/get.json | 14 +- .../Workspace/InferenceEndpoint/list.json | 10 +- .../Workspace/InferenceEndpoint/update.json | 12 +- .../preview/2023-08-01-preview/mfe.json | 642 +++++++++--------- 6 files changed, 370 insertions(+), 335 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json index f32b5c78f403..faaba16c9c16 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json @@ -4,8 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "groupName": "string", - "endpointName": "string", + "endpointName": "testEndpointName", "api-version": "2023-08-01-preview", "body": { "properties": { @@ -13,6 +12,7 @@ "properties": { "string": "string" }, + "groupId": "string", "authMode": "AAD" }, "tags": {}, @@ -32,17 +32,18 @@ "properties": { "string": "string" }, - "provisioningState": "Failed", + "provisioningState": "Succeeded", + "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdAt": "2020-01-01T12:34:56.999+00:39", "createdBy": "string", - "createdByType": "ManagedIdentity", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:39", "lastModifiedBy": "string", - "lastModifiedByType": "Key" + "lastModifiedByType": "Application" }, "tags": {}, "location": "string", @@ -60,15 +61,16 @@ "properties": { "string": "string" }, - "provisioningState": "Deleting", + "provisioningState": "Updating", + "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdAt": "2020-01-01T12:34:56.999+00:39", "createdBy": "string", - "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:39", "lastModifiedBy": "string", "lastModifiedByType": "Application" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json index 5a1bc95b4833..bf493a92f451 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/delete.json @@ -4,8 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "groupName": "string", - "endpointName": "string", + "endpointName": "testEndpointName", "api-version": "2023-08-01-preview" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json index 5ae33631c666..e83d5c243c14 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json @@ -4,8 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "groupName": "string", - "endpointName": "string", + "endpointName": "testEndpointName", "api-version": "2023-08-01-preview" }, "responses": { @@ -20,17 +19,18 @@ "properties": { "string": "string" }, - "provisioningState": "Updating", + "provisioningState": "Creating", + "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:32", + "createdAt": "2020-01-01T12:34:56.999+00:38", "createdBy": "string", - "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:32", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:38", "lastModifiedBy": "string", - "lastModifiedByType": "Key" + "lastModifiedByType": "User" }, "tags": {}, "location": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json index 0ce3b9124efd..043c68b84b36 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json @@ -4,7 +4,6 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "groupName": "string", "api-version": "2023-08-01-preview", "$skipToken": "string", "count": 1, @@ -26,17 +25,18 @@ "properties": { "string": "string" }, - "provisioningState": "Updating", + "provisioningState": "Deleting", + "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:33", + "createdAt": "2020-01-01T12:34:56.999+00:38", "createdBy": "string", "createdByType": "Application", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:33", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:38", "lastModifiedBy": "string", - "lastModifiedByType": "Application" + "lastModifiedByType": "User" }, "tags": {}, "location": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json index 3264eb0a9918..3664cd1c4bf9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json @@ -4,8 +4,7 @@ "resourceGroupName": "test-rg", "workspaceName": "my-aml-workspace", "poolName": "string", - "groupName": "string", - "endpointName": "string", + "endpointName": "testEndpointName", "api-version": "2023-08-01-preview", "body": { "tags": {} @@ -23,15 +22,16 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "provisioningState": "Deleting", + "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:33", + "createdAt": "2020-01-01T12:34:56.999+00:37", "createdBy": "string", - "createdByType": "Application", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:33", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:37", "lastModifiedBy": "string", "lastModifiedByType": "Application" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index 646cd8d1e7a3..5b3df04248ac 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -8735,7 +8735,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}/fetchStatus": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{inferencePoolName}/getStatus": { "post": { "tags": [ "InferencePool" @@ -8852,13 +8852,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints": { "get": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "List Inference Groups.", - "operationId": "InferenceGroups_List", + "summary": "List Inference Endpoints.", + "operationId": "InferenceEndpoints_List", "produces": [ "application/json" ], @@ -8886,7 +8886,7 @@ { "in": "query", "name": "count", - "description": "Number of InferenceGroup to be retrieved in a page of results.", + "description": "Number of InferenceEndpoint to be retrieved in a page of results.", "type": "integer", "format": "int32" }, @@ -8926,7 +8926,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" } }, "default": { @@ -8937,8 +8937,8 @@ } }, "x-ms-examples": { - "List Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/list.json" + "List Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/list.json" } }, "x-ms-pageable": { @@ -8946,13 +8946,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/endpoints/{endpointName}": { "delete": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Delete InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_Delete", + "summary": "Delete InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Delete", "produces": [ "application/json" ], @@ -8976,8 +8976,8 @@ }, { "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", + "name": "endpointName", + "description": "InferenceEndpoint name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -9022,8 +9022,8 @@ } }, "x-ms-examples": { - "Delete Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/delete.json" + "Delete Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/delete.json" } }, "x-ms-long-running-operation": true, @@ -9033,10 +9033,10 @@ }, "get": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Get InferenceGroup.", - "operationId": "InferenceGroups_Get", + "summary": "Get InferenceEndpoint.", + "operationId": "InferenceEndpoints_Get", "produces": [ "application/json" ], @@ -9060,8 +9060,8 @@ }, { "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", + "name": "endpointName", + "description": "InferenceEndpoint name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -9074,7 +9074,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "default": { @@ -9085,17 +9085,17 @@ } }, "x-ms-examples": { - "Get Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/get.json" + "Get Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/get.json" } } }, "patch": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Update InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_Update", + "summary": "Update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_Update", "consumes": [ "application/json" ], @@ -9117,14 +9117,16 @@ "name": "poolName", "description": "InferencePool name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", + "name": "endpointName", + "description": "InferenceEndpoint name.", "required": true, - "type": "string" + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -9135,7 +9137,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" + "description": "Strictly used in update requests." } } ], @@ -9143,7 +9145,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "202": { @@ -9175,18 +9177,18 @@ } }, "x-ms-examples": { - "Update Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/update.json" + "Update Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/update.json" } }, "x-ms-long-running-operation": true }, "put": { "tags": [ - "InferenceGroup" + "InferenceEndpoint" ], - "summary": "Create or update InferenceGroup (asynchronous).", - "operationId": "InferenceGroups_CreateOrUpdate", + "summary": "Create or update InferenceEndpoint (asynchronous).", + "operationId": "InferenceEndpoints_CreateOrUpdate", "consumes": [ "application/json" ], @@ -9213,8 +9215,8 @@ }, { "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", + "name": "endpointName", + "description": "InferenceEndpoint name.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -9225,10 +9227,10 @@ { "in": "body", "name": "body", - "description": "InferenceGroup entity to apply during operation.", + "description": "InferenceEndpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } } ], @@ -9236,13 +9238,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -9264,8 +9266,8 @@ } }, "x-ms-examples": { - "CreateOrUpdate Workspace Inference Group.": { - "$ref": "./examples/Workspace/InferenceGroup/createOrUpdate.json" + "CreateOrUpdate Workspace Inference Endpoint.": { + "$ref": "./examples/Workspace/InferenceEndpoint/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -9274,13 +9276,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups": { "get": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "List Inference Endpoints.", - "operationId": "InferenceEndpoints_List", + "summary": "List Inference Groups.", + "operationId": "InferenceGroups_List", "produces": [ "application/json" ], @@ -9302,21 +9304,13 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "groupName", - "description": "InferenceGroup name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", "name": "count", - "description": "Number of InferenceEndpoint to be retrieved in a page of results.", + "description": "Number of InferenceGroup to be retrieved in a page of results.", "type": "integer", "format": "int32" }, @@ -9356,7 +9350,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" } }, "default": { @@ -9367,8 +9361,8 @@ } }, "x-ms-examples": { - "List Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/list.json" + "List Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/list.json" } }, "x-ms-pageable": { @@ -9376,13 +9370,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/endpoints/{endpointName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}": { "delete": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Delete InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_Delete", + "summary": "Delete InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Delete", "produces": [ "application/json" ], @@ -9412,14 +9406,6 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "endpointName", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9460,8 +9446,8 @@ } }, "x-ms-examples": { - "Delete Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/delete.json" + "Delete Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/delete.json" } }, "x-ms-long-running-operation": true, @@ -9471,10 +9457,10 @@ }, "get": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Get InferenceEndpoint.", - "operationId": "InferenceEndpoints_Get", + "summary": "Get InferenceGroup.", + "operationId": "InferenceGroups_Get", "produces": [ "application/json" ], @@ -9504,14 +9490,6 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "endpointName", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -9520,7 +9498,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "default": { @@ -9531,17 +9509,17 @@ } }, "x-ms-examples": { - "Get Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/get.json" + "Get Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/get.json" } } }, "patch": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Update InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_Update", + "summary": "Update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_Update", "consumes": [ "application/json" ], @@ -9563,24 +9541,14 @@ "name": "poolName", "description": "InferencePool name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "in": "path", "name": "groupName", "description": "InferenceGroup name.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "endpointName", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + "type": "string" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -9591,7 +9559,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "description": "Strictly used in update requests." + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" } } ], @@ -9599,7 +9567,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "202": { @@ -9631,18 +9599,18 @@ } }, "x-ms-examples": { - "Update Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/update.json" + "Update Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/update.json" } }, "x-ms-long-running-operation": true }, "put": { "tags": [ - "InferenceEndpoint" + "InferenceGroup" ], - "summary": "Create or update InferenceEndpoint (asynchronous).", - "operationId": "InferenceEndpoints_CreateOrUpdate", + "summary": "Create or update InferenceGroup (asynchronous).", + "operationId": "InferenceGroups_CreateOrUpdate", "consumes": [ "application/json" ], @@ -9675,24 +9643,16 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, - { - "in": "path", - "name": "endpointName", - "description": "InferenceEndpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", "name": "body", - "description": "InferenceEndpoint entity to apply during operation.", + "description": "InferenceGroup entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } } ], @@ -9700,13 +9660,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" }, "headers": { "x-ms-async-operation-timeout": { @@ -9728,8 +9688,8 @@ } }, "x-ms-examples": { - "CreateOrUpdate Workspace Inference Endpoint.": { - "$ref": "./examples/Workspace/InferenceEndpoint/createOrUpdate.json" + "CreateOrUpdate Workspace Inference Group.": { + "$ref": "./examples/Workspace/InferenceGroup/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -9738,7 +9698,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/fetchStatus": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/inferencePools/{poolName}/groups/{groupName}/getStatus": { "post": { "tags": [ "InferenceGroup" @@ -13957,16 +13917,6 @@ }, "additionalProperties": false }, - "AzMonMonitoringAlertNotificationSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase" - } - ], - "x-ms-discriminator-value": "AzureMonitor", - "additionalProperties": false - }, "AzureBlobDatastore": { "description": "Azure Blob datastore configuration.", "type": "object", @@ -15413,7 +15363,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -15478,7 +15428,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -15752,7 +15702,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -15834,7 +15784,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -16407,7 +16357,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -16497,6 +16447,15 @@ ], "x-nullable": true }, + "featureImportanceSettings": { + "description": "The settings for computing feature importance.", + "$ref": "#/definitions/FeatureImportanceSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "features": { "description": "The feature filter which identifies which feature to calculate drift over.", "$ref": "#/definitions/MonitoringFeatureFilterBase", @@ -16677,6 +16636,15 @@ ], "x-nullable": true }, + "featureImportanceSettings": { + "description": "The settings for computing feature importance.", + "$ref": "#/definitions/FeatureImportanceSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "features": { "description": "The features to calculate drift over.", "$ref": "#/definitions/MonitoringFeatureFilterBase", @@ -16800,7 +16768,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -16954,7 +16922,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -17241,27 +17209,6 @@ }, "additionalProperties": false }, - "EmailMonitoringAlertNotificationSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase" - } - ], - "properties": { - "emailNotificationSetting": { - "description": "Configuration for notification.", - "$ref": "#/definitions/NotificationSetting", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Email", - "additionalProperties": false - }, "EmailNotificationEnableType": { "description": "Enum to determine the email notification type.", "enum": [ @@ -17585,7 +17532,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -17738,7 +17685,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -17885,6 +17832,27 @@ } ], "properties": { + "featureDataTypeOverride": { + "description": "A dictionary that maps feature names to their respective data types.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MonitoringFeatureDataType" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "featureImportanceSettings": { + "description": "The settings for computing feature importance.", + "$ref": "#/definitions/FeatureImportanceSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "metricThreshold": { "description": "[Required] A list of metrics to calculate and their associated thresholds.", "$ref": "#/definitions/FeatureAttributionMetricThreshold", @@ -18005,6 +17973,45 @@ }, "additionalProperties": false }, + "FeatureImportanceMode": { + "description": "The mode of operation for computing feature importance.", + "enum": [ + "Disabled", + "Enabled" + ], + "type": "string", + "x-ms-enum": { + "name": "FeatureImportanceMode", + "modelAsString": true, + "values": [ + { + "value": "Disabled", + "description": "Disables computing feature importance within a signal." + }, + { + "value": "Enabled", + "description": "Enables computing feature importance within a signal." + } + ] + }, + "additionalProperties": false + }, + "FeatureImportanceSettings": { + "type": "object", + "properties": { + "mode": { + "description": "The mode of operation for computing feature importance.", + "default": "Disabled", + "$ref": "#/definitions/FeatureImportanceMode" + }, + "targetColumn": { + "description": "The name of the target column within the input data asset.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, "FeatureLags": { "description": "Flag for generating lags for the numeric features.", "enum": [ @@ -18036,7 +18043,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -18141,7 +18148,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -18309,7 +18316,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -18368,7 +18375,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -18441,7 +18448,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -18985,7 +18992,7 @@ "x-ms-identifiers": [] }, "productionData": { - "description": "Gets or sets the target data for computing metrics.", + "description": "Gets or sets the production data for computing metrics.", "type": "array", "items": { "description": "Monitoring input data base definition.", @@ -19000,7 +19007,7 @@ }, "samplingRate": { "format": "double", - "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", + "description": "[Required] The sample rate of the production data, should be greater than 0 and at most 1.", "type": "number", "x-ms-mutability": [ "create", @@ -19020,7 +19027,7 @@ "x-ms-discriminator-value": "GenerationSafetyQuality", "additionalProperties": false }, - "GenerationTokenStatisticsMetric": { + "GenerationTokenUsageMetric": { "description": "Generation token statistics metric enum.", "enum": [ "TotalTokenCount", @@ -19028,7 +19035,7 @@ ], "type": "string", "x-ms-enum": { - "name": "GenerationTokenStatisticsMetric", + "name": "GenerationTokenUsageMetric", "modelAsString": true, "values": [ { @@ -19041,7 +19048,7 @@ }, "additionalProperties": false }, - "GenerationTokenStatisticsMetricThreshold": { + "GenerationTokenUsageMetricThreshold": { "description": "Generation token statistics metric threshold definition.", "required": [ "metric" @@ -19050,7 +19057,7 @@ "properties": { "metric": { "description": "[Required] Gets or sets the feature attribution metric to calculate.", - "$ref": "#/definitions/GenerationTokenStatisticsMetric", + "$ref": "#/definitions/GenerationTokenUsageMetric", "x-ms-mutability": [ "create", "read" @@ -19068,8 +19075,8 @@ }, "additionalProperties": false }, - "GenerationTokenStatisticsSignal": { - "description": "Generation token statistics signal definition.", + "GenerationTokenUsageSignal": { + "description": "Generation token usage signal definition.", "required": [ "metricThresholds", "samplingRate" @@ -19085,7 +19092,7 @@ "description": "[Required] Gets or sets the metrics to calculate and the corresponding thresholds.", "type": "array", "items": { - "$ref": "#/definitions/GenerationTokenStatisticsMetricThreshold" + "$ref": "#/definitions/GenerationTokenUsageMetricThreshold" }, "x-ms-mutability": [ "create", @@ -19094,17 +19101,22 @@ "x-ms-identifiers": [] }, "productionData": { - "description": "Gets or sets the target data for computing metrics.", - "$ref": "#/definitions/MonitoringInputDataBase", + "description": "Gets or sets the production data for computing metrics.", + "type": "array", + "items": { + "description": "Monitoring input data base definition.", + "$ref": "#/definitions/MonitoringInputDataBase" + }, "x-ms-mutability": [ "create", "read" ], - "x-nullable": true + "x-nullable": true, + "x-ms-identifiers": [] }, "samplingRate": { "format": "double", - "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", + "description": "[Required] The sample rate of the production data, should be greater than 0 and at most 1.", "type": "number", "x-ms-mutability": [ "create", @@ -20225,7 +20237,8 @@ "InferenceEndpoint": { "description": "InferenceEndpoint configuration", "required": [ - "authMode" + "authMode", + "groupId" ], "type": "object", "allOf": [ @@ -20248,6 +20261,12 @@ ], "x-nullable": true }, + "groupId": { + "description": "[Required] Group within the same pool with which this endpoint needs to be associated with.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, "provisioningState": { "description": "Provisioning state for the endpoint.", "$ref": "#/definitions/PoolProvisioningState", @@ -20834,7 +20853,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -21786,7 +21805,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -22419,7 +22438,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -22536,7 +22555,7 @@ ] }, "productionData": { - "description": "[Required] The data produced by the production service which drift will be calculated for.", + "description": "[Required] The data produced by the production service which performance will be calculated for.", "type": "array", "items": { "description": "Monitoring input data base definition.", @@ -22549,7 +22568,7 @@ "x-ms-identifiers": [] }, "referenceData": { - "description": "[Required] The data to calculate drift against.", + "description": "[Required] The reference data used as the basis to calculate model performance.", "$ref": "#/definitions/MonitoringInputDataBase", "x-ms-mutability": [ "create", @@ -22705,7 +22724,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -22819,9 +22838,9 @@ ], "type": "object", "properties": { - "alertNotificationSetting": { + "alertNotificationSettings": { "description": "The monitor's notification settings.", - "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase", + "$ref": "#/definitions/MonitorNotificationSettings", "x-ms-mutability": [ "create", "read" @@ -22860,6 +22879,40 @@ }, "additionalProperties": false }, + "MonitorEmailNotificationSettings": { + "type": "object", + "properties": { + "emails": { + "description": "This is the email recipient list which has a limitation of 499 characters in total.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true, + "x-ms-identifiers": [] + } + }, + "additionalProperties": false + }, + "MonitorNotificationSettings": { + "type": "object", + "properties": { + "emailNotificationSettings": { + "description": "The AML notification email settings.", + "$ref": "#/definitions/MonitorEmailNotificationSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, "MonitorServerlessSparkCompute": { "description": "Monitor serverless spark compute definition.", "required": [ @@ -22906,45 +22959,6 @@ "x-ms-discriminator-value": "ServerlessSpark", "additionalProperties": false }, - "MonitoringAlertNotificationSettingsBase": { - "required": [ - "alertNotificationType" - ], - "type": "object", - "properties": { - "alertNotificationType": { - "description": "[Required] Specifies the type of signal to monitor.", - "$ref": "#/definitions/MonitoringAlertNotificationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "alertNotificationType" - }, - "MonitoringAlertNotificationType": { - "enum": [ - "AzureMonitor", - "Email" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringAlertNotificationType", - "modelAsString": true, - "values": [ - { - "value": "AzureMonitor", - "description": "Settings for Azure Monitor based alerting." - }, - { - "value": "Email", - "description": "Settings for AML email notifications." - } - ] - }, - "additionalProperties": false - }, "MonitoringDataSegment": { "type": "object", "properties": { @@ -23102,7 +23116,7 @@ "description": "Monitoring input data type enum.", "enum": [ "Static", - "Trailing", + "Rolling", "Fixed" ], "type": "string", @@ -23115,8 +23129,8 @@ "description": "An input data with a fixed window size." }, { - "value": "Trailing", - "description": "An input data which trailing relatively to the monitor's current run." + "value": "Rolling", + "description": "An input data which rolls relatively to the monitor's current run time." }, { "value": "Fixed", @@ -23148,23 +23162,23 @@ }, "additionalProperties": false }, - "MonitoringNotificationMode": { + "MonitoringNotificationType": { "enum": [ - "Disabled", - "Enabled" + "AmlNotification", + "AzureMonitor" ], "type": "string", "x-ms-enum": { - "name": "MonitoringNotificationMode", + "name": "MonitoringNotificationType", "modelAsString": true, "values": [ { - "value": "Disabled", - "description": "Disabled notifications will not produce emails/metrics leveraged for alerting." + "value": "AmlNotification", + "description": "Enables email notifications through AML notifications." }, { - "value": "Enabled", - "description": "Enabled notification will produce emails/metrics leveraged for alerting." + "value": "AzureMonitor", + "description": "Enables notifications through Azure Monitor by posting metrics to the workspace's Azure Monitor instance." } ] }, @@ -23176,14 +23190,18 @@ ], "type": "object", "properties": { - "mode": { + "notificationTypes": { "description": "The current notification mode for this signal.", - "default": "Disabled", - "$ref": "#/definitions/MonitoringNotificationMode", + "type": "array", + "items": { + "$ref": "#/definitions/MonitoringNotificationType" + }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true, + "x-ms-identifiers": [] }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", @@ -25344,7 +25362,6 @@ "PredictionDriftMonitoringSignal": { "required": [ "metricThresholds", - "modelType", "productionData", "referenceData" ], @@ -25355,6 +25372,18 @@ } ], "properties": { + "featureDataTypeOverride": { + "description": "A dictionary that maps feature names to their respective data types.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MonitoringFeatureDataType" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "metricThresholds": { "description": "[Required] A list of metrics to calculate and their associated thresholds.", "type": "array", @@ -25367,14 +25396,6 @@ ], "x-ms-identifiers": [] }, - "modelType": { - "description": "[Required] The type of the model monitored.", - "$ref": "#/definitions/MonitoringModelType", - "x-ms-mutability": [ - "create", - "read" - ] - }, "productionData": { "description": "[Required] The data which drift will be calculated for.", "$ref": "#/definitions/MonitoringInputDataBase", @@ -25484,7 +25505,7 @@ "type": "object", "properties": { "description": { - "description": "Description of the endpoint deployment.", + "description": "Description of the resource.", "type": "string", "x-nullable": true }, @@ -26160,6 +26181,50 @@ }, "additionalProperties": false }, + "RollingInputData": { + "description": "Rolling input data definition.", + "required": [ + "windowOffset", + "windowSize" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringInputDataBase" + } + ], + "properties": { + "preprocessingComponentId": { + "description": "The ARM resource ID of the component resource used to preprocess the data.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "windowOffset": { + "format": "duration", + "description": "[Required] The time offset between the end of the data window and the monitor's current run time.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "windowSize": { + "format": "duration", + "description": "[Required] The size of the trailing data window.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Rolling", + "additionalProperties": false + }, "RollingRateType": { "enum": [ "Year", @@ -26509,7 +26574,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "properties": { @@ -27047,6 +27112,19 @@ ], "x-nullable": true }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "files": { "description": "Files used in the job.", "type": "array", @@ -28392,50 +28470,6 @@ "x-ms-discriminator-value": "TopNByAttribution", "additionalProperties": false }, - "TrailingInputData": { - "description": "Trailing input data definition.", - "required": [ - "windowOffset", - "windowSize" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringInputDataBase" - } - ], - "properties": { - "preprocessingComponentId": { - "description": "The ARM resource ID of the component resource used to preprocess the data.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "windowOffset": { - "format": "duration", - "description": "[Required] The time offset between the end of the data window and the monitor's current run time.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "windowSize": { - "format": "duration", - "description": "[Required] The size of the trailing data window.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Trailing", - "additionalProperties": false - }, "TrainingMode": { "description": "Training mode dictates whether to use distributed training or not", "enum": [ From 7247eab7c098e836184b72a9cba0f410dd89f9a7 Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:27:35 -0700 Subject: [PATCH 6/8] Moving back to the tracked resources --- .../InferenceEndpoint/createOrUpdate.json | 75 +++++- .../Workspace/InferenceEndpoint/get.json | 28 ++- .../Workspace/InferenceEndpoint/list.json | 30 ++- .../Workspace/InferenceEndpoint/update.json | 28 ++- .../InferenceGroup/createOrUpdate.json | 54 +++- .../Workspace/InferenceGroup/get.json | 23 +- .../Workspace/InferenceGroup/list.json | 25 +- .../Workspace/InferenceGroup/listSkus.json | 2 +- .../Workspace/InferenceGroup/update.json | 27 +- .../InferencePool/createOrUpdate.json | 64 ++--- .../examples/Workspace/InferencePool/get.json | 22 +- .../Workspace/InferencePool/list.json | 24 +- .../Workspace/InferencePool/update.json | 22 +- .../preview/2023-08-01-preview/mfe.json | 238 +++--------------- 14 files changed, 335 insertions(+), 327 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json index faaba16c9c16..bad894638794 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json @@ -17,7 +17,20 @@ }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": {} + } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } } }, "responses": { @@ -32,22 +45,40 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "provisioningState": "Canceled", "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:39", + "createdAt": "2020-01-01T12:34:56.999+00:19", "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:39", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:19", "lastModifiedBy": "string", - "lastModifiedByType": "Application" + "lastModifiedByType": "ManagedIdentity" }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } } }, "201": { @@ -61,22 +92,40 @@ "properties": { "string": "string" }, - "provisioningState": "Updating", + "provisioningState": "Succeeded", "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:39", + "createdAt": "2020-01-01T12:34:56.999+00:19", "createdBy": "string", - "createdByType": "ManagedIdentity", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:39", + "createdByType": "Key", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:19", "lastModifiedBy": "string", - "lastModifiedByType": "Application" + "lastModifiedByType": "Key" }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "None", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "string", + "tier": "Basic", + "size": "string", + "family": "string", + "capacity": 1 + } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json index e83d5c243c14..8f213b71f453 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/get.json @@ -19,22 +19,40 @@ "properties": { "string": "string" }, - "provisioningState": "Creating", + "provisioningState": "Failed", "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:38", + "createdAt": "2020-01-01T12:34:56.999+00:20", "createdBy": "string", "createdByType": "Application", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:38", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:20", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "ManagedIdentity" }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "UserAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json index 043c68b84b36..ca78d49d400e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/list.json @@ -25,22 +25,40 @@ "properties": { "string": "string" }, - "provisioningState": "Deleting", + "provisioningState": "Canceled", "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:38", + "createdAt": "2020-01-01T12:34:56.999+00:20", "createdBy": "string", - "createdByType": "Application", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:38", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:20", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "ManagedIdentity" }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 + } } ], "nextLink": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json index 3664cd1c4bf9..1ba33f6faa93 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/update.json @@ -22,22 +22,40 @@ "properties": { "string": "string" }, - "provisioningState": "Deleting", + "provisioningState": "Canceled", "groupId": "string", "authMode": "AAD", "endpointUri": "https://www.contoso.com/example" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:37", + "createdAt": "2020-01-01T12:34:56.999+00:20", "createdBy": "string", - "createdByType": "ManagedIdentity", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:37", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:20", "lastModifiedBy": "string", "lastModifiedByType": "Application" }, "tags": {}, "location": "string", - "kind": "string" + "kind": "string", + "identity": { + "type": "None", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } } }, "202": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json index db7141ed70e6..6fe01592bd34 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/createOrUpdate.json @@ -14,14 +14,20 @@ }, "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": {} + } + }, "sku": { "name": "string", - "tier": "Basic", + "tier": "Free", "size": "string", "family": "string", "capacity": 1 @@ -40,25 +46,36 @@ "properties": { "string": "string" }, - "provisioningState": "Canceled", + "provisioningState": "Updating", "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdAt": "2020-01-01T12:34:56.999+00:15", "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:15", "lastModifiedBy": "string", - "lastModifiedByType": "Application" + "lastModifiedByType": "Key" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, "sku": { "name": "string", - "tier": "Standard", + "tier": "Basic", "size": "string", "family": "string", "capacity": 1 @@ -79,19 +96,30 @@ "provisioningState": "Deleting", "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdAt": "2020-01-01T12:34:56.999+00:15", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:15", "lastModifiedBy": "string", - "lastModifiedByType": "ManagedIdentity" + "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "None", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, "sku": { "name": "string", "tier": "Standard", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json index 5a26c04103d2..ecd7333dc1c6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/get.json @@ -19,25 +19,36 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "provisioningState": "Failed", "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdAt": "2020-01-01T12:34:56.999+00:17", "createdBy": "string", - "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "createdByType": "Application", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:17", "lastModifiedBy": "string", "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "None", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, "sku": { "name": "string", - "tier": "Basic", + "tier": "Standard", "size": "string", "family": "string", "capacity": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json index 01f1d0c32914..e3927f388f3b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/list.json @@ -9,7 +9,7 @@ "count": 1, "tags": "string", "properties": "string", - "orderBy": "CreatedAtAsc" + "orderBy": "CreatedAtDesc" }, "responses": { "200": { @@ -25,25 +25,36 @@ "properties": { "string": "string" }, - "provisioningState": "Canceled", + "provisioningState": "Failed", "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdAt": "2020-01-01T12:34:56.999+00:17", "createdBy": "string", "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:17", "lastModifiedBy": "string", - "lastModifiedByType": "Key" + "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, "sku": { "name": "string", - "tier": "Basic", + "tier": "Free", "size": "string", "family": "string", "capacity": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json index 35ed660bcc4b..cb47d727a632 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/listSkus.json @@ -18,7 +18,7 @@ "resourceType": "string", "sku": { "name": "string", - "tier": "Standard" + "tier": "Free" }, "capacity": { "minimum": 1, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json index abbe9aa73edc..dd614a7aa7d8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceGroup/update.json @@ -10,7 +10,7 @@ "tags": {}, "sku": { "name": "string", - "tier": "Premium", + "tier": "Standard", "size": "string", "family": "string", "capacity": 1 @@ -29,25 +29,36 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "provisioningState": "Failed", "priority": 1, "bonusExtraCapacity": 1, - "metaData": "string" + "metadata": "string" }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:31", + "createdAt": "2020-01-01T12:34:56.999+00:17", "createdBy": "string", - "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:31", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:17", "lastModifiedBy": "string", - "lastModifiedByType": "Key" + "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "userAssignedIdentities": { + "string": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + } + } + }, "sku": { "name": "string", - "tier": "Basic", + "tier": "Standard", "size": "string", "family": "string", "capacity": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json index 9acd046dd728..5dba022d71e6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/createOrUpdate.json @@ -54,18 +54,18 @@ "tags": {}, "location": "string", "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "string": {} + } + }, "sku": { "name": "string", "tier": "Free", "size": "string", "family": "string", "capacity": 1 - }, - "identity": { - "type": "None", - "userAssignedIdentities": { - "string": {} - } } } }, @@ -81,7 +81,7 @@ "properties": { "string": "string" }, - "provisioningState": "Updating", + "provisioningState": "Canceled", "codeConfiguration": { "codeId": "string", "scoringScript": "string" @@ -123,25 +123,18 @@ } }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:49", + "createdAt": "2020-01-01T12:34:56.999+00:21", "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:49", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:21", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "ManagedIdentity" }, "tags": {}, "location": "string", "kind": "string", - "sku": { - "name": "string", - "tier": "Premium", - "size": "string", - "family": "string", - "capacity": 1 - }, "identity": { - "type": "None", + "type": "UserAssigned", "principalId": "00000000-1111-2222-3333-444444444444", "tenantId": "00000000-1111-2222-3333-444444444444", "userAssignedIdentities": { @@ -150,6 +143,13 @@ "clientId": "00000000-1111-2222-3333-444444444444" } } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, @@ -164,7 +164,7 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "provisioningState": "Canceled", "codeConfiguration": { "codeId": "string", "scoringScript": "string" @@ -206,25 +206,18 @@ } }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:49", + "createdAt": "2020-01-01T12:34:56.999+00:21", "createdBy": "string", - "createdByType": "ManagedIdentity", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:49", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:21", "lastModifiedBy": "string", - "lastModifiedByType": "User" + "lastModifiedByType": "Key" }, "tags": {}, "location": "string", "kind": "string", - "sku": { - "name": "string", - "tier": "Standard", - "size": "string", - "family": "string", - "capacity": 1 - }, "identity": { - "type": "SystemAssigned", + "type": "UserAssigned", "principalId": "00000000-1111-2222-3333-444444444444", "tenantId": "00000000-1111-2222-3333-444444444444", "userAssignedIdentities": { @@ -233,6 +226,13 @@ "clientId": "00000000-1111-2222-3333-444444444444" } } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json index 677d1ef27e76..8587053f51e5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/get.json @@ -60,25 +60,18 @@ } }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:30", + "createdAt": "2020-01-01T12:34:56.999+00:21", "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:30", + "createdByType": "ManagedIdentity", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:21", "lastModifiedBy": "string", "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", - "sku": { - "name": "string", - "tier": "Premium", - "size": "string", - "family": "string", - "capacity": 1 - }, "identity": { - "type": "SystemAssigned", + "type": "UserAssigned", "principalId": "00000000-1111-2222-3333-444444444444", "tenantId": "00000000-1111-2222-3333-444444444444", "userAssignedIdentities": { @@ -87,6 +80,13 @@ "clientId": "00000000-1111-2222-3333-444444444444" } } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json index ac64ec8698af..5dcd2c2b0abf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/list.json @@ -8,7 +8,7 @@ "count": 1, "tags": "string", "properties": "string", - "orderBy": "UpdatedAtDesc" + "orderBy": "UpdatedAtAsc" }, "responses": { "200": { @@ -66,25 +66,18 @@ } }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:30", + "createdAt": "2020-01-01T12:34:56.999+00:22", "createdBy": "string", "createdByType": "Application", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:30", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:22", "lastModifiedBy": "string", - "lastModifiedByType": "Key" + "lastModifiedByType": "Application" }, "tags": {}, "location": "string", "kind": "string", - "sku": { - "name": "string", - "tier": "Standard", - "size": "string", - "family": "string", - "capacity": 1 - }, "identity": { - "type": "SystemAssigned,UserAssigned", + "type": "UserAssigned", "principalId": "00000000-1111-2222-3333-444444444444", "tenantId": "00000000-1111-2222-3333-444444444444", "userAssignedIdentities": { @@ -93,6 +86,13 @@ "clientId": "00000000-1111-2222-3333-444444444444" } } + }, + "sku": { + "name": "string", + "tier": "Premium", + "size": "string", + "family": "string", + "capacity": 1 } } ], diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json index 783890c67ede..39d4c9cb4021 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferencePool/update.json @@ -34,7 +34,7 @@ "properties": { "string": "string" }, - "provisioningState": "Creating", + "provisioningState": "Canceled", "codeConfiguration": { "codeId": "string", "scoringScript": "string" @@ -76,23 +76,16 @@ } }, "systemData": { - "createdAt": "2020-01-01T12:34:56.999+00:29", + "createdAt": "2020-01-01T12:34:56.999+00:22", "createdBy": "string", - "createdByType": "Key", - "lastModifiedAt": "2020-01-01T12:34:56.999+00:29", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999+00:22", "lastModifiedBy": "string", "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", - "sku": { - "name": "string", - "tier": "Basic", - "size": "string", - "family": "string", - "capacity": 1 - }, "identity": { "type": "SystemAssigned", "principalId": "00000000-1111-2222-3333-444444444444", @@ -103,6 +96,13 @@ "clientId": "00000000-1111-2222-3333-444444444444" } } + }, + "sku": { + "name": "string", + "tier": "Standard", + "size": "string", + "family": "string", + "capacity": 1 } } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index 5b3df04248ac..c227b21cebc6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -8926,7 +8926,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResourceArmPaginatedResult" + "$ref": "#/definitions/InferenceEndpointTrackedResourceArmPaginatedResult" } }, "default": { @@ -9074,7 +9074,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" } }, "default": { @@ -9145,7 +9145,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" } }, "202": { @@ -9230,7 +9230,7 @@ "description": "InferenceEndpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" } } ], @@ -9238,13 +9238,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -9350,7 +9350,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult" + "$ref": "#/definitions/InferenceGroupTrackedResourceArmPaginatedResult" } }, "default": { @@ -9498,7 +9498,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" } }, "default": { @@ -9567,7 +9567,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" } }, "202": { @@ -9652,7 +9652,7 @@ "description": "InferenceGroup entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" } } ], @@ -9660,13 +9660,13 @@ "200": { "description": "Create or update request is successful.", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" }, "headers": { "x-ms-async-operation-timeout": { @@ -17886,23 +17886,6 @@ "x-ms-discriminator-value": "FeatureAttributionDrift", "additionalProperties": false }, - "FeatureAttributionMetric": { - "enum": [ - "NormalizedDiscountedCumulativeGain" - ], - "type": "string", - "x-ms-enum": { - "name": "FeatureAttributionMetric", - "modelAsString": true, - "values": [ - { - "value": "NormalizedDiscountedCumulativeGain", - "description": "The Normalized Discounted Cumulative Gain metric." - } - ] - }, - "additionalProperties": false - }, "FeatureAttributionMetricThreshold": { "required": [ "metric" @@ -19127,27 +19110,6 @@ "x-ms-discriminator-value": "GenerationTokenStatistics", "additionalProperties": false }, - "Goal": { - "description": "Defines supported metric goals for hyperparameter tuning", - "enum": [ - "Minimize", - "Maximize" - ], - "type": "string", - "x-ms-enum": { - "name": "Goal", - "modelAsString": true, - "values": [ - { - "value": "Minimize" - }, - { - "value": "Maximize" - } - ] - }, - "additionalProperties": false - }, "GridSamplingAlgorithm": { "description": "Defines a Sampling Algorithm that exhaustively generates every value combination in the space", "type": "object", @@ -20276,73 +20238,42 @@ ] } }, + "x-ms-client-name": "InferenceEndpointProperties", "additionalProperties": false }, - "InferenceEndpointMinimalTrackedResource": { + "InferenceEndpointTrackedResource": { "required": [ "location", "properties" ], "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], "properties": { - "id": { - "description": "The resource URL of the entity (not URL encoded).", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "identity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", "type": "string" }, - "location": { - "description": "[Required] ", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "name": { - "description": "The name of the resource entity.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, "properties": { "description": "[Required] Additional attributes of the entity.", "$ref": "#/definitions/InferenceEndpoint" }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - }, - "type": { - "description": "The resource provider and type.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "InferenceEndpoint", "additionalProperties": false }, - "InferenceEndpointMinimalTrackedResourceArmPaginatedResult": { + "InferenceEndpointTrackedResourceArmPaginatedResult": { "description": "A paginated list of InferenceEndpoint entities.", "type": "object", "properties": { @@ -20354,7 +20285,7 @@ "description": "An array of objects of type InferenceEndpoint.", "type": "array", "items": { - "$ref": "#/definitions/InferenceEndpointMinimalTrackedResource" + "$ref": "#/definitions/InferenceEndpointTrackedResource" } } }, @@ -20395,41 +20326,29 @@ ] } }, + "x-ms-client-name": "InferenceGroupProperties", "additionalProperties": false }, - "InferenceGroupMinimalTrackedResourceWithSku": { + "InferenceGroupTrackedResource": { "required": [ "location", "properties" ], "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], "properties": { - "id": { - "description": "The resource URL of the entity (not URL encoded).", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "identity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", "type": "string" }, - "location": { - "description": "[Required] ", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "name": { - "description": "The name of the resource entity.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, "properties": { "description": "[Required] Additional attributes of the entity.", "$ref": "#/definitions/InferenceGroup" @@ -20437,35 +20356,12 @@ "sku": { "description": "Sku details required for ARM contract for Autoscaling.", "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - }, - "type": { - "description": "The resource provider and type.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] } }, + "x-ms-client-name": "InferenceGroup", "additionalProperties": false }, - "InferenceGroupMinimalTrackedResourceWithSkuArmPaginatedResult": { + "InferenceGroupTrackedResourceArmPaginatedResult": { "description": "A paginated list of InferenceGroup entities.", "type": "object", "properties": { @@ -20477,7 +20373,7 @@ "description": "An array of objects of type InferenceGroup.", "type": "array", "items": { - "$ref": "#/definitions/InferenceGroupMinimalTrackedResourceWithSku" + "$ref": "#/definitions/InferenceGroupTrackedResource" } } }, @@ -23865,33 +23761,6 @@ "x-ms-discriminator-value": "Numerical", "additionalProperties": false }, - "NumericalDataQualityMetric": { - "enum": [ - "NullValueRate", - "DataTypeErrorRate", - "OutOfBoundsRate" - ], - "type": "string", - "x-ms-enum": { - "name": "NumericalDataQualityMetric", - "modelAsString": true, - "values": [ - { - "value": "NullValueRate", - "description": "Calculates the rate of null values." - }, - { - "value": "DataTypeErrorRate", - "description": "Calculates the rate of data type errors." - }, - { - "value": "OutOfBoundsRate", - "description": "Calculates the rate values are out of bounds." - } - ] - }, - "additionalProperties": false - }, "NumericalDataQualityMetricThreshold": { "required": [ "metric" @@ -26645,31 +26514,6 @@ }, "additionalProperties": false }, - "SecretConfiguration": { - "description": "Secret Configuration definition.", - "type": "object", - "properties": { - "uri": { - "description": "Secret Uri.\r\nSample Uri : https://myvault.vault.azure.net/secrets/mysecretname/secretversion", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "workspaceSecretName": { - "description": "Name of secret in workspace key vault.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, "SecretsType": { "description": "Enum to determine the datastore secrets type.", "enum": [ From bef598f6b77ed9d6ac3f64bf66ca127fb459f79d Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:00:03 -0700 Subject: [PATCH 7/8] force change --- .../examples/Workspace/InferenceEndpoint/createOrUpdate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json index bad894638794..2d846bd4a8f0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/examples/Workspace/InferenceEndpoint/createOrUpdate.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", + "resourceGroupName": "test-rg1", "workspaceName": "my-aml-workspace", "poolName": "string", "endpointName": "testEndpointName", From c90c4265ef174b6e2e4fe6533aa039f52b3a0d4b Mon Sep 17 00:00:00 2001 From: Raushan Kumar <44377286+raushan2016@users.noreply.github.com> Date: Wed, 27 Sep 2023 12:08:58 -0700 Subject: [PATCH 8/8] fix the missing field --- .../preview/2023-08-01-preview/mfe.json | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json index c227b21cebc6..00ffdf244a53 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/mfe.json @@ -17886,6 +17886,23 @@ "x-ms-discriminator-value": "FeatureAttributionDrift", "additionalProperties": false }, + "FeatureAttributionMetric": { + "enum": [ + "NormalizedDiscountedCumulativeGain" + ], + "type": "string", + "x-ms-enum": { + "name": "FeatureAttributionMetric", + "modelAsString": true, + "values": [ + { + "value": "NormalizedDiscountedCumulativeGain", + "description": "The Normalized Discounted Cumulative Gain metric." + } + ] + }, + "additionalProperties": false + }, "FeatureAttributionMetricThreshold": { "required": [ "metric" @@ -19110,6 +19127,27 @@ "x-ms-discriminator-value": "GenerationTokenStatistics", "additionalProperties": false }, + "Goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "enum": [ + "Minimize", + "Maximize" + ], + "type": "string", + "x-ms-enum": { + "name": "Goal", + "modelAsString": true, + "values": [ + { + "value": "Minimize" + }, + { + "value": "Maximize" + } + ] + }, + "additionalProperties": false + }, "GridSamplingAlgorithm": { "description": "Defines a Sampling Algorithm that exhaustively generates every value combination in the space", "type": "object", @@ -23761,6 +23799,33 @@ "x-ms-discriminator-value": "Numerical", "additionalProperties": false }, + "NumericalDataQualityMetric": { + "enum": [ + "NullValueRate", + "DataTypeErrorRate", + "OutOfBoundsRate" + ], + "type": "string", + "x-ms-enum": { + "name": "NumericalDataQualityMetric", + "modelAsString": true, + "values": [ + { + "value": "NullValueRate", + "description": "Calculates the rate of null values." + }, + { + "value": "DataTypeErrorRate", + "description": "Calculates the rate of data type errors." + }, + { + "value": "OutOfBoundsRate", + "description": "Calculates the rate values are out of bounds." + } + ] + }, + "additionalProperties": false + }, "NumericalDataQualityMetricThreshold": { "required": [ "metric" @@ -26514,6 +26579,31 @@ }, "additionalProperties": false }, + "SecretConfiguration": { + "description": "Secret Configuration definition.", + "type": "object", + "properties": { + "uri": { + "description": "Secret Uri.\r\nSample Uri : https://myvault.vault.azure.net/secrets/mysecretname/secretversion", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "workspaceSecretName": { + "description": "Name of secret in workspace key vault.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, "SecretsType": { "description": "Enum to determine the datastore secrets type.", "enum": [