From 9975d3476c05bcc6bd9535ad3dfb564e6a168fa5 Mon Sep 17 00:00:00 2001 From: Jayati Tehri <72947097+jayati-tehri@users.noreply.github.com> Date: Mon, 10 Jul 2023 19:04:16 -0700 Subject: [PATCH 01/39] Update Pricesheet properties for savingsPlan (#24708) * Update consumption.json * Update PriceSheet.json * Update consumption.json * Update PriceSheet.json * Update consumption.json * Update PriceSheet.json * Update consumption.json * Update consumption.json * Update consumption.json * Update PriceSheet.json --- .../stable/2022-09-01/consumption.json | 28 +++++++++++++++++++ .../2022-09-01/examples/PriceSheet.json | 7 ++++- .../stable/2023-03-01/consumption.json | 28 +++++++++++++++++++ .../2023-03-01/examples/PriceSheet.json | 7 ++++- .../stable/2023-05-01/consumption.json | 28 +++++++++++++++++++ .../2023-05-01/examples/PriceSheet.json | 7 ++++- 6 files changed, 102 insertions(+), 3 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/consumption.json index ad4b4601e2d5..e162b97c6358 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/consumption.json @@ -1905,6 +1905,29 @@ } } }, + "SavingsPlan": { + "type": "object", + "description": "The properties of the SavingsPlan.", + "properties": { + "term": { + "description": "SavingsPlan term", + "type": "string", + "readOnly": true + }, + "marketPrice": { + "description": "SavingsPlan Market Price", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "effectivePrice": { + "description": "SavingsPlan Effective Price", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, "UsageDetail": { "type": "object", "discriminator": "kind", @@ -4612,6 +4635,11 @@ "description": "Offer Id", "type": "string", "readOnly": true + }, + "savingsPlan": { + "description": "SavingsPlan Details", + "$ref": "#/definitions/SavingsPlan", + "readOnly": true } } }, diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/examples/PriceSheet.json index 39a2df866a19..8e83bb24e478 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/examples/PriceSheet.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2022-09-01/examples/PriceSheet.json @@ -20,7 +20,12 @@ "partNumber": "XX-11110", "unitPrice": 0.00328, "currencyCode": "EUR", - "offerId": "OfferId 1" + "offerId": "OfferId 1", + "savingsPlan": { + "term": "P3Y", + "effectivePrice": 0.002, + "marketPrice": 0.00328 + } } ] } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json index 85e97f868e47..76aa46f2c1c4 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/consumption.json @@ -1911,6 +1911,29 @@ } } }, + "SavingsPlan": { + "description": "The properties of the SavingsPlan.", + "type": "object", + "properties": { + "term": { + "description": "SavingsPlan term", + "type": "string", + "readOnly": true + }, + "marketPrice": { + "description": "SavingsPlan Market Price", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "effectivePrice": { + "description": "SavingsPlan Effective Price", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, "UsageDetail": { "type": "object", "discriminator": "kind", @@ -4618,6 +4641,11 @@ "description": "Offer Id", "type": "string", "readOnly": true + }, + "savingsPlan": { + "description": "SavingsPlan Details", + "$ref": "#/definitions/SavingsPlan", + "readOnly": true } } }, diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/examples/PriceSheet.json index 6605296044fa..0bcc54480709 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/examples/PriceSheet.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-03-01/examples/PriceSheet.json @@ -20,7 +20,12 @@ "partNumber": "XX-11110", "unitPrice": 0.00328, "currencyCode": "EUR", - "offerId": "OfferId 1" + "offerId": "OfferId 1", + "savingsPlan": { + "term": "P3Y", + "effectivePrice": 0.002, + "marketPrice": 0.00328 + } } ] } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/consumption.json index 03376d88ddc5..05cdfdfac91f 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/consumption.json @@ -1914,6 +1914,29 @@ } } }, + "SavingsPlan": { + "type": "object", + "description": "The properties of the SavingsPlan.", + "properties": { + "term": { + "description": "SavingsPlan term", + "type": "string", + "readOnly": true + }, + "marketPrice": { + "description": "SavingsPlan Market Price", + "type": "number", + "format": "decimal", + "readOnly": true + }, + "effectivePrice": { + "description": "SavingsPlan Effective Price", + "type": "number", + "format": "decimal", + "readOnly": true + } + } + }, "UsageDetail": { "type": "object", "discriminator": "kind", @@ -4621,6 +4644,11 @@ "description": "Offer Id", "type": "string", "readOnly": true + }, + "savingsPlan": { + "description": "SavingsPlan Details", + "$ref": "#/definitions/SavingsPlan", + "readOnly": true } } }, diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/examples/PriceSheet.json index 73214f0baa23..bbe08a459cfb 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/examples/PriceSheet.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2023-05-01/examples/PriceSheet.json @@ -20,7 +20,12 @@ "partNumber": "XX-11110", "unitPrice": 0.00328, "currencyCode": "EUR", - "offerId": "OfferId 1" + "offerId": "OfferId 1", + "savingsPlan": { + "term": "P3Y", + "effectivePrice": 0.002, + "marketPrice": 0.00328 + } } ] } From 3794130ff888bf159dc93dd8d673415863df0cd6 Mon Sep 17 00:00:00 2001 From: PreetPRG <31791038+PreetPRG@users.noreply.github.com> Date: Tue, 11 Jul 2023 11:38:24 +0530 Subject: [PATCH 02/39] elasticsan preview refresh microsoft.elasticsan 2022-12-01-preview (#24494) * Adds base for updating Microsoft.ElasticSan from version preview/2021-11-20-preview to version 2022-12-01-preview * Updates readme * Updates API version in new specs and examples * Added PE related changes * Added Private Link resource API * Nit change to correct the path for privateLinkResource API * Updated Lint errors * prettier check * resolved comments & added publicNetworkAccess * removed publicNetworkAccess & NIT changes * Updated the list operations * resolved lintDiff * proper value for examples and removed value from PECollections * resolved comments * spell check resolved * removing volumeCreateParameter --- .../2022-12-01-preview/elasticsan.json | 2210 +++++++++++++++++ .../ElasticSans_Create_MaximumSet_Gen.json | 104 + .../ElasticSans_Create_MinimumSet_Gen.json | 97 + .../ElasticSans_Delete_MaximumSet_Gen.json | 19 + .../ElasticSans_Delete_MinimumSet_Gen.json | 19 + .../ElasticSans_Get_MaximumSet_Gen.json | 77 + .../ElasticSans_Get_MinimumSet_Gen.json | 77 + ...ns_ListByResourceGroup_MaximumSet_Gen.json | 81 + ...ns_ListByResourceGroup_MinimumSet_Gen.json | 81 + ...ans_ListBySubscription_MaximumSet_Gen.json | 80 + ...ans_ListBySubscription_MinimumSet_Gen.json | 80 + .../ElasticSans_Update_MaximumSet_Gen.json | 91 + .../ElasticSans_Update_MinimumSet_Gen.json | 83 + .../Operations_List_MaximumSet_Gen.json | 26 + .../Operations_List_MinimumSet_Gen.json | 18 + ...ointConnections_Create_MaximumSet_Gen.json | 87 + ...ointConnections_Create_MinimumSet_Gen.json | 83 + ...ointConnections_Delete_MaximumSet_Gen.json | 20 + ...ointConnections_Delete_MinimumSet_Gen.json | 20 + ...ndpointConnections_Get_MaximumSet_Gen.json | 42 + ...ndpointConnections_Get_MinimumSet_Gen.json | 42 + ...dpointConnections_List_MaximumSet_Gen.json | 46 + ...dpointConnections_List_MinimumSet_Gen.json | 46 + ...urces_ListByElasticSan_MaximumSet_Gen.json | 41 + ...urces_ListByElasticSan_MinimumSet_Gen.json | 41 + .../examples/Skus_List_MaximumSet_Gen.json | 39 + .../examples/Skus_List_MinimumSet_Gen.json | 13 + .../VolumeGroups_Create_MaximumSet_Gen.json | 88 + .../VolumeGroups_Create_MinimumSet_Gen.json | 75 + .../VolumeGroups_Delete_MaximumSet_Gen.json | 20 + .../VolumeGroups_Delete_MinimumSet_Gen.json | 20 + .../VolumeGroups_Get_MaximumSet_Gen.json | 71 + .../VolumeGroups_Get_MinimumSet_Gen.json | 71 + ...roups_ListByElasticSan_MaximumSet_Gen.json | 75 + ...roups_ListByElasticSan_MinimumSet_Gen.json | 75 + .../VolumeGroups_Update_MaximumSet_Gen.json | 90 + .../VolumeGroups_Update_MinimumSet_Gen.json | 77 + .../Volumes_Create_MaximumSet_Gen.json | 86 + .../Volumes_Create_MinimumSet_Gen.json | 82 + .../Volumes_Delete_MaximumSet_Gen.json | 21 + .../Volumes_Delete_MinimumSet_Gen.json | 21 + .../examples/Volumes_Get_MaximumSet_Gen.json | 44 + .../examples/Volumes_Get_MinimumSet_Gen.json | 44 + ...umes_ListByVolumeGroup_MaximumSet_Gen.json | 48 + ...umes_ListByVolumeGroup_MinimumSet_Gen.json | 48 + .../Volumes_Update_MaximumSet_Gen.json | 54 + .../Volumes_Update_MinimumSet_Gen.json | 50 + .../elasticsan/resource-manager/readme.md | 17 +- 48 files changed, 4836 insertions(+), 4 deletions(-) create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/elasticsan.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MaximumSet_Gen.json create mode 100644 specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MinimumSet_Gen.json diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/elasticsan.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/elasticsan.json new file mode 100644 index 000000000000..0680f4e32b69 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/elasticsan.json @@ -0,0 +1,2210 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-12-01-preview", + "title": "ElasticSanManagement" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "ElasticSans", + "description": "APIs for ElasticSan operations." + }, + { + "name": "ElasticSanOperations", + "description": "APIs for ElasticSan operations," + }, + { + "name": "VolumeGroups", + "description": "APIs for Volume Group operations." + }, + { + "name": "Volumes", + "description": "APIs for Volume operations." + } + ], + "paths": { + "/providers/Microsoft.ElasticSan/operations": { + "get": { + "tags": [ + "Elastic San Operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of ElasticSan operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/skus": { + "get": { + "tags": [ + "Elastic San Skus" + ], + "summary": "List all the available Skus in the region and information related to them", + "operationId": "Skus_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "Specify $filter='location eq ' to filter on location.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Lists the available SKUs supported by Microsoft.ElasticSan for given subscription.", + "schema": { + "$ref": "#/definitions/SkuInformationList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Skus_List_MaximumSet_Gen": { + "$ref": "./examples/Skus_List_MaximumSet_Gen.json" + }, + "Skus_List_MinimumSet_Gen": { + "$ref": "./examples/Skus_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ElasticSan/elasticSans": { + "get": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_ListBySubscription", + "description": "Gets a list of ElasticSans in a subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved Elastic San by subscription", + "schema": { + "$ref": "#/definitions/ElasticSanList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ElasticSans_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json" + }, + "ElasticSans_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans": { + "get": { + "tags": [ + "ElasticSan" + ], + "operationId": "ElasticSans_ListByResourceGroup", + "description": "Gets a list of ElasticSan in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved elasticSans by resource group", + "schema": { + "$ref": "#/definitions/ElasticSanList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ElasticSans_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json" + }, + "ElasticSans_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}": { + "put": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Create", + "description": "Create ElasticSan.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSan" + }, + "description": "Elastic San object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Create_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Create_MaximumSet_Gen.json" + }, + "ElasticSans_Create_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_Create_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Update", + "description": "Update a Elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ElasticSanUpdate" + }, + "description": "Elastic San object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- ElasticSAN properties updated successfully.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Update_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Update_MaximumSet_Gen.json" + }, + "ElasticSans_Update_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Delete", + "description": "Delete a Elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete operation completed successfully." + }, + "202": { + "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent --ElasticSAN does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ElasticSans_Delete_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Delete_MaximumSet_Gen.json" + }, + "ElasticSans_Delete_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "ElasticSans" + ], + "operationId": "ElasticSans_Get", + "description": "Get a ElasticSan.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved ElasticSan.", + "schema": { + "$ref": "#/definitions/ElasticSan" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ElasticSans_Get_MaximumSet_Gen": { + "$ref": "./examples/ElasticSans_Get_MaximumSet_Gen.json" + }, + "ElasticSans_Get_MinimumSet_Gen": { + "$ref": "./examples/ElasticSans_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumeGroups": { + "get": { + "tags": [ + "VolumeGroups" + ], + "description": "List VolumeGroups.", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Operation completed successfully; retrieved Volume Group List.", + "schema": { + "$ref": "#/definitions/VolumeGroupList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VolumeGroups_ListByElasticSan_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json" + }, + "VolumeGroups_ListByElasticSan_MinimumSet_Gen": { + "$ref": "./examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}": { + "put": { + "tags": [ + "VolumeGroups" + ], + "description": "Create a Volume Group.", + "operationId": "VolumeGroups_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroup" + }, + "description": "Volume Group object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Create_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Create_MaximumSet_Gen.json" + }, + "VolumeGroups_Create_MinimumSet_Gen": { + "$ref": "./examples/VolumeGroups_Create_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "VolumeGroups" + ], + "description": "Update an VolumeGroup.", + "operationId": "VolumeGroups_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeGroupUpdate" + }, + "description": "Volume Group object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Returned when the update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Update_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Update_MaximumSet_Gen.json" + }, + "VolumeGroups_Update_MinimumSet_Gen": { + "$ref": "./examples/VolumeGroups_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "VolumeGroups" + ], + "description": "Delete an VolumeGroup.", + "operationId": "VolumeGroups_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete operation completed successfully." + }, + "202": { + "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "NoContent -- Resource does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "VolumeGroups_Delete_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Delete_MaximumSet_Gen.json" + }, + "VolumeGroups_Delete_MinimumSet_Gen": { + "$ref": "./examples/VolumeGroups_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "VolumeGroups" + ], + "description": "Get an VolumeGroups.", + "operationId": "VolumeGroups_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved iSCSI Target.", + "schema": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VolumeGroups_Get_MaximumSet_Gen": { + "$ref": "./examples/VolumeGroups_Get_MaximumSet_Gen.json" + }, + "VolumeGroups_Get_MinimumSet_Gen": { + "$ref": "./examples/VolumeGroups_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}": { + "put": { + "tags": [ + "Volumes" + ], + "description": "Create a Volume.", + "operationId": "Volumes_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Volume" + }, + "description": "Volume object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Create_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Create_MaximumSet_Gen.json" + }, + "Volumes_Create_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Create_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "Volumes" + ], + "description": "Update an Volume.", + "operationId": "Volumes_Update", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeUpdate" + }, + "description": "Volume object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Returned when the update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Update_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Update_MaximumSet_Gen.json" + }, + "Volumes_Update_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Volumes" + ], + "description": "Delete an Volume.", + "operationId": "Volumes_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete operation completed successfully." + }, + "202": { + "description": "Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "Resource does not exist in the subscription." + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Volumes_Delete_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Delete_MaximumSet_Gen.json" + }, + "Volumes_Delete_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Delete_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "Volumes" + ], + "description": "Get an Volume.", + "operationId": "Volumes_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "#/parameters/VolumeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved Volume.", + "schema": { + "$ref": "#/definitions/Volume" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Volumes_Get_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Get_MaximumSet_Gen.json" + }, + "Volumes_Get_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes": { + "get": { + "tags": [ + "Volumes" + ], + "description": "List Volumes in a VolumeGroup.", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/VolumeGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Operation completed successfully; retrieved volumes in a volume group.", + "schema": { + "$ref": "#/definitions/VolumeList" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Volumes_ListByVolumeGroup_MaximumSet_Gen": { + "$ref": "./examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json" + }, + "Volumes_ListByVolumeGroup_MinimumSet_Gen": { + "$ref": "./examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "Private Endpoint Connection Approval object." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Resource Create or Update operation is successfully completed.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Created -- Resource Create; operation will complete asynchronously", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Create_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Create_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json" + } + } + }, + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Get_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Get_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the Elastic San", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully" + }, + "202": { + "description": "Delete request accepted; operation will complete asynchronously.", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content -- The Private Endpoint Connection does not exist." + }, + "default": { + "description": "Error from Elastic SAN resource provider.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Delete_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all Private Endpoint Connections associated with the Elastic San.", + "operationId": "PrivateEndpointConnections_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "PrivateEndpointConnections_List_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_List_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_List_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByElasticSan", + "description": "Gets the private link resources that need to be created for a elastic San.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ElasticSanNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error from the ElasticSan Resource Provider", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListByElasticSan_MaximumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json" + }, + "PrivateLinkResources_ListByElasticSan_MinimumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json" + } + } + } + } + }, + "parameters": { + "ElasticSanNameParameter": { + "name": "elasticSanName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the ElasticSan.", + "pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 24, + "x-ms-parameter-location": "method" + }, + "VolumeGroupNameParameter": { + "name": "volumeGroupName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the VolumeGroup.", + "pattern": "^[A-Za-z0-9]+((-|_)[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "VolumeNameParameter": { + "name": "volumeName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the Volume.", + "pattern": "^[a-z0-9]+(-[a-z0-9A-Z]+)*$", + "minLength": 3, + "maxLength": 63, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionNameParameter": { + "name": "privateEndpointConnectionName", + "type": "string", + "required": true, + "in": "path", + "description": "The name of the Private Endpoint connection.", + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "ElasticSanList": { + "type": "object", + "description": "List of Elastic Sans", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Elastic San objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ElasticSan" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "ElasticSan": { + "type": "object", + "description": "Response for ElasticSan request.", + "required": [ + "properties", + "location" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of ElasticSan.", + "$ref": "#/definitions/ElasticSanProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ElasticSanProperties": { + "type": "object", + "description": "Elastic San response properties.", + "required": [ + "baseSizeTiB", + "extendedCapacitySizeTiB", + "sku" + ], + "properties": { + "sku": { + "description": "resource sku", + "$ref": "#/definitions/Sku" + }, + "availabilityZones": { + "type": "array", + "description": "Logical zone for Elastic San resource; example: [\"1\"].", + "items": { + "$ref": "#/definitions/AvailabilityZone" + } + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "baseSizeTiB": { + "description": "Base size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedCapacitySizeTiB": { + "description": "Extended size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "totalVolumeSizeGiB": { + "description": "Total size of the provisioned Volumes in GiB.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "volumeGroupCount": { + "description": "Total number of volume groups in this Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalIops": { + "description": "Total Provisioned IOPS of the Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalMBps": { + "description": "Total Provisioned MBps Elastic San appliance.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "totalSizeTiB": { + "description": "Total size of the Elastic San appliance in TB.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of Private Endpoint Connections." + } + } + }, + "ElasticSanUpdate": { + "type": "object", + "description": "Response for ElasticSan update request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of ElasticSan.", + "$ref": "#/definitions/ElasticSanUpdateProperties" + }, + "tags": { + "type": "object", + "description": "Update tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ElasticSanUpdateProperties": { + "type": "object", + "description": "Elastic San update properties.", + "properties": { + "baseSizeTiB": { + "description": "Base size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "extendedCapacitySizeTiB": { + "description": "Extended size of the Elastic San appliance in TiB.", + "type": "integer", + "format": "int64", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "AvailabilityZone": { + "type": "string", + "description": "Availability zone." + }, + "SkuInformationList": { + "description": "List of SKU Information objects", + "type": "object", + "properties": { + "value": { + "description": "List of ResourceType Sku", + "type": "array", + "items": { + "$ref": "#/definitions/SkuInformation" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "SkuInformation": { + "description": "ElasticSAN SKU and its properties", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "Sku Name", + "$ref": "#/definitions/SkuName" + }, + "tier": { + "type": "string", + "description": "Sku Tier", + "$ref": "#/definitions/SkuTier" + }, + "resourceType": { + "readOnly": true, + "type": "string", + "description": "The type of the resource." + }, + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "description": "Availability of the SKU for the location/zone", + "type": "array", + "items": { + "$ref": "#/definitions/SkuLocationInfo" + }, + "x-ms-identifiers": [], + "readOnly": true + }, + "capabilities": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "x-ms-identifiers": [], + "description": "The capability information in the specified SKU." + } + } + }, + "SKUCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The name of capability." + }, + "value": { + "readOnly": true, + "type": "string", + "description": "A string value to indicate states of given capability." + } + }, + "description": "The capability information in the specified SKU.", + "type": "object" + }, + "SkuLocationInfo": { + "description": "The location info.", + "type": "object", + "properties": { + "location": { + "description": "The location.", + "type": "string", + "readOnly": true + }, + "zones": { + "description": "The zones.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "Sku": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "$ref": "#/definitions/SkuName" + }, + "tier": { + "$ref": "#/definitions/SkuTier" + } + }, + "description": "The SKU name. Required for account creation; optional for update." + }, + "SkuName": { + "type": "string", + "enum": [ + "Premium_LRS", + "Premium_ZRS" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "value": "Premium_LRS", + "description": "Premium locally redundant storage" + }, + { + "value": "Premium_ZRS", + "description": "Premium zone redundant storage" + } + ] + }, + "description": "The sku name." + }, + "SkuTier": { + "type": "string", + "enum": [ + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true, + "values": [ + { + "value": "Premium", + "description": "Premium Tier" + } + ] + }, + "description": "The sku tier." + }, + "IscsiTargetInfo": { + "type": "object", + "description": "Iscsi target information", + "readOnly": true, + "properties": { + "targetIqn": { + "type": "string", + "description": "iSCSI Target IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:server\".", + "readOnly": true + }, + "targetPortalHostname": { + "type": "string", + "description": "iSCSI Target Portal Host Name", + "readOnly": true + }, + "targetPortalPort": { + "type": "integer", + "format": "int32", + "description": "iSCSI Target Portal Port", + "readOnly": true + }, + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState" + }, + "status": { + "$ref": "#/definitions/OperationalStatus", + "description": "Operational status of the iSCSI Target." + } + } + }, + "VolumeGroup": { + "type": "object", + "description": "Response for Volume Group request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of VolumeGroup.", + "$ref": "#/definitions/VolumeGroupProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "VolumeGroupList": { + "type": "object", + "description": "List of Volume Groups", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Volume Groups objects.", + "type": "array", + "items": { + "$ref": "#/definitions/VolumeGroup" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "VolumeGroupProperties": { + "type": "object", + "description": "VolumeGroup response properties.", + "properties": { + "provisioningState": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/ProvisioningState" + }, + "protocolType": { + "description": "Type of storage target", + "$ref": "#/definitions/StorageTargetType" + }, + "encryption": { + "description": "Type of encryption", + "$ref": "#/definitions/EncryptionType" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "A collection of rules governing the accessibility from specific network locations.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of Private Endpoint Connections." + } + } + }, + "VolumeGroupUpdate": { + "type": "object", + "description": "Volume Group request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of VolumeGroup.", + "$ref": "#/definitions/VolumeGroupUpdateProperties" + } + } + }, + "VolumeGroupUpdateProperties": { + "type": "object", + "description": "VolumeGroup response properties.", + "properties": { + "protocolType": { + "description": "Type of storage target", + "$ref": "#/definitions/StorageTargetType" + }, + "encryption": { + "description": "Type of encryption", + "$ref": "#/definitions/EncryptionType" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "A collection of rules governing the accessibility from specific network locations.", + "x-ms-mutability": [ + "create", + "read" + ] + } + } + }, + "Volume": { + "type": "object", + "description": "Response for Volume request.", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of Volume.", + "$ref": "#/definitions/VolumeProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "VolumeList": { + "type": "object", + "description": "List of Volumes", + "additionalProperties": false, + "properties": { + "value": { + "description": "An array of Volume objects.", + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + } + }, + "VolumeProperties": { + "type": "object", + "required": [ + "sizeGiB" + ], + "description": "Volume response properties.", + "properties": { + "volumeId": { + "description": "Unique Id of the volume in GUID format", + "type": "string", + "readOnly": true + }, + "creationData": { + "description": "State of the operation on the resource.", + "$ref": "#/definitions/SourceCreationData" + }, + "sizeGiB": { + "description": "Volume size.", + "type": "integer", + "format": "int64" + }, + "storageTarget": { + "description": "Storage target information", + "$ref": "#/definitions/IscsiTargetInfo" + } + } + }, + "VolumeUpdate": { + "type": "object", + "description": "Response for Volume request.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties of Volume.", + "$ref": "#/definitions/VolumeUpdateProperties" + } + } + }, + "VolumeUpdateProperties": { + "type": "object", + "description": "Volume response properties.", + "properties": { + "sizeGiB": { + "description": "Volume size.", + "type": "integer", + "format": "int64" + } + } + }, + "SourceCreationData": { + "type": "object", + "description": "Data source used when creating the volume.", + "properties": { + "createSource": { + "type": "string", + "enum": [ + "None" + ], + "x-ms-enum": { + "name": "VolumeCreateOption", + "modelAsString": false + }, + "description": "This enumerates the possible sources of a volume creation." + }, + "sourceUri": { + "type": "string", + "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk. If createOption is Restore, this is the ARM-like id of the source disk restore point." + } + } + }, + "ProvisioningState": { + "type": "string", + "enum": [ + "Invalid", + "Succeeded", + "Failed", + "Canceled", + "Pending", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningStates", + "modelAsString": true + }, + "description": "Provisioning state of the iSCSI Target.", + "readOnly": true + }, + "OperationalStatus": { + "type": "string", + "enum": [ + "Invalid", + "Unknown", + "Healthy", + "Unhealthy", + "Updating", + "Running", + "Stopped", + "Stopped (deallocated)" + ], + "x-ms-enum": { + "name": "OperationalStatus", + "modelAsString": true + }, + "description": "Operational status of the resource." + }, + "StorageTargetType": { + "type": "string", + "enum": [ + "Iscsi", + "None" + ], + "x-ms-enum": { + "name": "StorageTargetType", + "modelAsString": true + }, + "description": "Storage Target type." + }, + "EncryptionType": { + "type": "string", + "description": "The type of key used to encrypt the data of the disk.", + "enum": [ + "EncryptionAtRestWithPlatformKey" + ], + "x-ms-enum": { + "name": "EncryptionType", + "modelAsString": true, + "values": [ + { + "value": "EncryptionAtRestWithPlatformKey", + "description": "Volume is encrypted at rest with Platform managed key. It is the default encryption type." + } + ] + } + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "virtualNetworkRules": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + }, + "description": "The list of virtual network rules." + } + }, + "description": "A set of rules governing the network accessibility." + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-client-name": "VirtualNetworkResourceId", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." + }, + "action": { + "type": "string", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "name": "Action", + "modelAsString": false + }, + "default": "Allow", + "description": "The action of virtual network rule." + }, + "state": { + "type": "string", + "readOnly": true, + "enum": [ + "provisioning", + "deprovisioning", + "succeeded", + "failed", + "networkSourceDeleted" + ], + "x-ms-enum": { + "name": "State", + "modelAsString": false + }, + "description": "Gets the state of virtual network rule." + } + }, + "required": [ + "id" + ], + "description": "Virtual Network rule." + }, + "PrivateEndpointConnection": { + "type": "object", + "description": " Response for PrivateEndpoint Connection object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Private Endpoint Connection Properties.", + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": " Response for PrivateEndpoint connection properties", + "properties": { + "provisioningState": { + "description": "Provisioning State of Private Endpoint connection resource", + "$ref": "#/definitions/ProvisioningState", + "readOnly": true + }, + "privateEndpoint": { + "description": "Private Endpoint resource", + "$ref": "#/definitions/PrivateEndpoint" + }, + "privateLinkServiceConnectionState": { + "description": "Private Link Service Connection State.", + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + "groupIds": { + "description": " List of resources private endpoint is mapped", + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "PrivateEndpoint": { + "type": "object", + "description": "Response for PrivateEndpoint", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint", + "readOnly": true + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "Response for Private Link Service Connection state", + "properties": { + "status": { + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus" + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Failed", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "URI to fetch the next section of the paginated response.", + "type": "string", + "readOnly": true + } + }, + "description": "List of private endpoint connections associated with SAN" + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..8a541d41a87a --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json @@ -0,0 +1,104 @@ +{ + "title": "ElasticSans_Create", + "operationId": "ElasticSans_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "baseSizeTiB": 5, + "extendedCapacitySizeTiB": 25 + }, + "tags": { + "key9316": "ihndtieqibtob" + }, + "location": "South Central US" + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27 + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Creating", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27 + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..2e2d74f5f223 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json @@ -0,0 +1,97 @@ +{ + "title": "ElasticSans_Create", + "operationId": "ElasticSans_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "sku": { + "name": "Premium_LRS" + }, + "baseSizeTiB": 5, + "extendedCapacitySizeTiB": 25 + }, + "location": "South Central US" + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27 + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Creating", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27 + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d8dbaedbfb24 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "ElasticSans_Delete", + "operationId": "ElasticSans_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..d8dbaedbfb24 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "ElasticSans_Delete", + "operationId": "ElasticSans_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b219301153ac --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "ElasticSans_Get", + "operationId": "ElasticSans_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..b219301153ac --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "ElasticSans_Get", + "operationId": "ElasticSans_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..0b31c3234e38 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "title": "ElasticSans_ListByResourceGroup", + "operationId": "ElasticSans_ListByResourceGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + ], + "nextLink": "goepspyylutlwudutmpi" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..0b31c3234e38 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "title": "ElasticSans_ListByResourceGroup", + "operationId": "ElasticSans_ListByResourceGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + ], + "nextLink": "goepspyylutlwudutmpi" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..f048dcb61172 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "ElasticSans_ListBySubscription", + "operationId": "ElasticSans_ListBySubscription", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + ], + "nextLink": "goepspyylutlwudutmpi" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..f048dcb61172 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "ElasticSans_ListBySubscription", + "operationId": "ElasticSans_ListBySubscription", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + ], + "nextLink": "goepspyylutlwudutmpi" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..e35cee40e292 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json @@ -0,0 +1,91 @@ +{ + "title": "ElasticSans_Update", + "operationId": "ElasticSans_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": { + "properties": { + "baseSizeTiB": 10, + "extendedCapacitySizeTiB": 22 + }, + "tags": { + "key4212": "cqvcnwfefljntgeio" + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..0a25b8820926 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/ElasticSans_Update_MinimumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "ElasticSans_Update", + "operationId": "ElasticSans_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "parameters": {}, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "availabilityZones": [ + "1" + ], + "provisioningState": "Succeeded", + "baseSizeTiB": 15, + "extendedCapacitySizeTiB": 6, + "totalVolumeSizeGiB": 15, + "volumeGroupCount": 24, + "totalIops": 22, + "totalMBps": 4, + "totalSizeTiB": 27, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + }, + "tags": { + "key5002": "lhag" + }, + "location": "France Central", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}", + "name": "vfoatmakv", + "type": "Microsoft.ElasticSan/ElasticSans" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..a5369bb6e747 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "qgcosclgjmglgs", + "isDataAction": true, + "display": { + "provider": "dbdmmszikohrwlvl", + "resource": "adqzzhgl", + "operation": "ofkypzumjbtezuqujudkqcf", + "description": "fmbdwtvxjilmflxdlmbysmr" + } + } + ], + "nextLink": "tfqrgvxkwqjx" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..e886002e0cb7 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "qgcosclgjmglgs" + } + ] + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..adc3acdf5dc1 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -0,0 +1,87 @@ +{ + "title": "PrivateEndpointConnections_Create", + "operationId": "PrivateEndpointConnections_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "parameters": { + "properties": { + "privateEndpoint": {}, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "sytxzqlcoapcaywthgwvwcw" + ] + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..433208cc24ae --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "PrivateEndpointConnections_Create", + "operationId": "PrivateEndpointConnections_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "parameters": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..ac49bca0a6bc --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateEndpoinConnections_Delete", + "operationId": "PrivateEndpoinConnections_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..ac49bca0a6bc --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "PrivateEndpoinConnections_Delete", + "operationId": "PrivateEndpoinConnections_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bfb3db7d956e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..bfb3db7d956e --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "privateEndpointConnectionName": "privateendpointconnectionname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..c7c4f9d4edb7 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "PrivateEndpointConnections_List", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ], + "nextLink": "mwzcxnylrsniowju" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..c7c4f9d4edb7 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "title": "PrivateEndpointConnections_List", + "operationId": "PrivateEndpointConnections_List", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ], + "nextLink": "mwzcxnylrsniowju" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b86a1b2efda --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "PrivateLinkResources_ListByElasticSan", + "operationId": "PrivateLinkResources_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "groupId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "requiredMembers": [ + "{volumeGroupName}" + ], + "requiredZoneNames": [ + "lsknuvjjtgsrocmoq" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + } + } + ], + "nextLink": "qpcenviendbpjuhyzwzshdkd" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json new file mode 100644 index 000000000000..3b86a1b2efda --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "title": "PrivateLinkResources_ListByElasticSan", + "operationId": "PrivateLinkResources_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "groupId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "requiredMembers": [ + "{volumeGroupName}" + ], + "requiredZoneNames": [ + "lsknuvjjtgsrocmoq" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + } + } + ], + "nextLink": "qpcenviendbpjuhyzwzshdkd" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..18e8a6ee91d4 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MaximumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "title": "List all the available Skus in the region and information related to them", + "operationId": "Skus_List", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2022-12-01-preview", + "$filter": "dtycml" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Premium_LRS", + "tier": "Premium", + "resourceType": "rnumsqm", + "locations": [ + "jqdpabrworxiinhlmfmtko" + ], + "locationInfo": [ + { + "location": "oxpkwgcdvlonfcwtttor", + "zones": [ + "1" + ] + } + ], + "capabilities": [ + { + "name": "fihkmeasrwpjyti", + "value": "jlojmjpjucekutlgtwhjgxwpqctdjy" + } + ] + } + ] + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..9188d9254cb1 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Skus_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "title": "List all the available Skus in the region and information related to them", + "operationId": "Skus_List", + "parameters": { + "subscriptionId": "subscriptionid", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..81f712ce37b4 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json @@ -0,0 +1,88 @@ +{ + "title": "VolumeGroups_Create", + "operationId": "VolumeGroups_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": { + "properties": { + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow" + } + ] + } + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..2f61de91e24c --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Create_MinimumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "VolumeGroups_Create", + "operationId": "VolumeGroups_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": {}, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d5334fbb71ff --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VolumeGroups_Delete", + "operationId": "VolumeGroups_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..d5334fbb71ff --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "VolumeGroups_Delete", + "operationId": "VolumeGroups_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..9dc109056fcf --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -0,0 +1,71 @@ +{ + "title": "VolumeGroups_Get", + "operationId": "VolumeGroups_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..9dc109056fcf --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json @@ -0,0 +1,71 @@ +{ + "title": "VolumeGroups_Get", + "operationId": "VolumeGroups_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json new file mode 100644 index 000000000000..b80109d0c451 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "VolumeGroups_ListByElasticSan", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + ], + "nextLink": "bgcskeodhoozkjhfkkrdhnaxuroujc" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json new file mode 100644 index 000000000000..b80109d0c451 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "title": "VolumeGroups_ListByElasticSan", + "operationId": "VolumeGroups_ListByElasticSan", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + ], + "nextLink": "bgcskeodhoozkjhfkkrdhnaxuroujc" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..8d87a5b1bc84 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "title": "VolumeGroups_Update", + "operationId": "VolumeGroups_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": { + "properties": { + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow" + } + ] + } + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..6d4cd55a03ad --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/VolumeGroups_Update_MinimumSet_Gen.json @@ -0,0 +1,77 @@ +{ + "title": "VolumeGroups_Update", + "operationId": "VolumeGroups_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "parameters": {}, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Invalid", + "protocolType": "Iscsi", + "encryption": "EncryptionAtRestWithPlatformKey", + "networkAcls": { + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}", + "action": "Allow", + "state": "provisioning" + } + ] + }, + "privateEndpointConnections": [ + { + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}" + }, + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Auto-Approved", + "actionsRequired": "None" + }, + "groupIds": [ + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}" + ] + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.ElasticSan/elasticSans/privateEndpointConnections", + "systemData": { + "createdBy": "otfifnrahdshqombvtg", + "createdByType": "User", + "createdAt": "2023-07-03T09:59:45.919Z", + "lastModifiedBy": "jnaxavnlhrboshtidtib", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-03T09:59:45.919Z" + } + } + ] + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}", + "name": "cr", + "type": "Microsoft.ElasticSan/elasticSans/volumeGroups" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..ad7ca1245ab9 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MaximumSet_Gen.json @@ -0,0 +1,86 @@ +{ + "title": "Volumes_Create", + "operationId": "Volumes_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23 + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Creating", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..86daa5986a42 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Create_MinimumSet_Gen.json @@ -0,0 +1,82 @@ +{ + "title": "Volumes_Create", + "operationId": "Volumes_Create", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "sizeGiB": 23 + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + }, + "201": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Creating", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..e2a6b804eb93 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Volumes_Delete", + "operationId": "Volumes_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..e2a6b804eb93 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Volumes_Delete", + "operationId": "Volumes_Delete", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..defb27c24b1b --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "Volumes_Get", + "operationId": "Volumes_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..defb27c24b1b --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Get_MinimumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "Volumes_Get", + "operationId": "Volumes_Get", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..e4d5447b3c25 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Volumes_ListByVolumeGroup", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + ], + "nextLink": "zrjgyuzmjvvatfujsbyrsxrudytm" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..e4d5447b3c25 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json @@ -0,0 +1,48 @@ +{ + "title": "Volumes_ListByVolumeGroup", + "operationId": "Volumes_ListByVolumeGroup", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + ], + "nextLink": "zrjgyuzmjvvatfujsbyrsxrudytm" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MaximumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..52429609d92a --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "title": "Volumes_Update", + "operationId": "Volumes_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": { + "properties": { + "sizeGiB": 11 + } + }, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MinimumSet_Gen.json b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..f1f370f93de0 --- /dev/null +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2022-12-01-preview/examples/Volumes_Update_MinimumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "title": "Volumes_Update", + "operationId": "Volumes_Update", + "parameters": { + "subscriptionId": "subscriptionid", + "resourceGroupName": "resourcegroupname", + "elasticSanName": "elasticsanname", + "volumeGroupName": "volumegroupname", + "volumeName": "volumename", + "parameters": {}, + "api-version": "2022-12-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "volumeId": "hkbhievbyopwjqawbyvqi", + "creationData": { + "createSource": "None", + "sourceUri": " ARM Id of resource" + }, + "sizeGiB": 23, + "storageTarget": { + "targetIqn": "yuuex", + "targetPortalHostname": "yktnmynpdjpmztwuwcvipp", + "targetPortalPort": 3, + "provisioningState": "Succeeded", + "status": "Invalid" + } + }, + "systemData": { + "createdBy": "zloujisrarsox", + "createdByType": "User", + "createdAt": "2023-07-04T05:52:15.371Z", + "lastModifiedBy": "lmdztjjcmdfzam", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-04T05:52:15.371Z" + }, + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}", + "name": "ipmipjggodoxjua", + "type": "Microsoft.ElasticSan/elasticSans" + } + }, + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/elasticsan/resource-manager/readme.md b/specification/elasticsan/resource-manager/readme.md index fb8f1a2c9dfc..866eeccaeb46 100644 --- a/specification/elasticsan/resource-manager/readme.md +++ b/specification/elasticsan/resource-manager/readme.md @@ -24,16 +24,25 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the storagepool. -```yaml +``` yaml openapi-type: arm -tag: package-2021-11-20-preview +tag: package-preview-2022-12 ``` + +### Tag: package-preview-2022-12 + +These settings apply only when `--tag=package-preview-2022-12` is specified on the command line. + +```yaml $(tag) == 'package-preview-2022-12' +input-file: + - Microsoft.ElasticSan/preview/2022-12-01-preview/elasticsan.json +``` ### Tag: package-2021-11-20-preview These settings apply only when `--tag=package-2021-11-20-preview` is specified on the command line. -```yaml $(tag) == 'package-2021-11-20-preview' +``` yaml $(tag) == 'package-2021-11-20-preview' input-file: - Microsoft.ElasticSan/preview/2021-11-20-preview/elasticsan.json ``` @@ -47,7 +56,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net-track2 - repo: azure-sdk-for-python-track2 From c53808ba54beef57059371708f1fa6949a11a280 Mon Sep 17 00:00:00 2001 From: InbalZim <48387592+InbalZim@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:58:34 +0300 Subject: [PATCH 03/39] [Hub Generated] Publish private branch 'InbalZim-storagemover-Microsoft.StorageMover-RPSaaSMaster-2023-07-01-preview' (#24390) * add or modify files * Updated `credentials` models according to PR #24318 + reverted unwanted changes to `readme.md` * Removed URI format from SMB credentials to support it receiving empty string in order to clean-up their value * Removed extra hierarchy of `AzureStorageFileShareEndpointBaseProperties` --- .../examples/Agents_CreateOrUpdate.json | 38 + .../examples/Agents_Delete.json | 19 + .../examples/Agents_Get.json | 39 + .../examples/Agents_List.json | 98 + .../examples/Agents_Update.json | 36 + ...ateOrUpdate_AzureStorageBlobContainer.json | 35 + ...eateOrUpdate_AzureStorageSmbFileShare.json | 35 + .../Endpoints_CreateOrUpdate_NfsMount.json | 36 + .../Endpoints_CreateOrUpdate_SmbMount.json | 45 + .../examples/Endpoints_Delete.json | 19 + ...dpoints_Get_AzureStorageBlobContainer.json | 27 + ...ndpoints_Get_AzureStorageSmbFileShare.json | 27 + .../examples/Endpoints_Get_NfsMount.json | 28 + .../examples/Endpoints_Get_SmbMount.json | 32 + .../examples/Endpoints_List.json | 56 + ...ints_Update_AzureStorageBlobContainer.json | 33 + ...oints_Update_AzureStorageSmbFileShare.json | 33 + .../examples/Endpoints_Update_NfsMount.json | 34 + .../examples/Endpoints_Update_SmbMount.json | 43 + .../JobDefinitions_CreateOrUpdate.json | 45 + .../examples/JobDefinitions_Delete.json | 20 + .../examples/JobDefinitions_Get.json | 34 + .../examples/JobDefinitions_List.json | 86 + .../examples/JobDefinitions_StartJob.json | 17 + .../examples/JobDefinitions_StopJob.json | 17 + .../examples/JobDefinitions_Update.json | 40 + .../examples/JobRuns_Get.json | 48 + .../examples/JobRuns_List.json | 118 + .../examples/Operations_List.json | 44 + .../examples/Projects_CreateOrUpdate.json | 26 + .../examples/Projects_Delete.json | 19 + .../examples/Projects_Get.json | 21 + .../examples/Projects_List.json | 41 + .../examples/Projects_Update.json | 26 + .../StorageMovers_CreateOrUpdate.json | 43 + .../examples/StorageMovers_Delete.json | 18 + .../examples/StorageMovers_Get.json | 33 + .../examples/StorageMovers_List.json | 79 + .../StorageMovers_ListBySubscription.json | 78 + .../examples/StorageMovers_Update.json | 38 + .../2023-07-01-preview/storagemover.json | 2762 +++++++++++++++++ .../storagemover/resource-manager/readme.md | 13 +- 42 files changed, 4377 insertions(+), 2 deletions(-) create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_CreateOrUpdate.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Delete.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Get.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Update.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_NfsMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_SmbMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Delete.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageBlobContainer.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageSmbFileShare.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_NfsMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_SmbMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageBlobContainer.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageSmbFileShare.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_NfsMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_SmbMount.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_CreateOrUpdate.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Delete.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Get.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StartJob.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StopJob.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Update.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_Get.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Operations_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_CreateOrUpdate.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Delete.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Get.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Update.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_CreateOrUpdate.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Delete.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Get.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_List.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_ListBySubscription.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Update.json create mode 100644 specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/storagemover.json diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_CreateOrUpdate.json new file mode 100644 index 000000000000..fe93886dae2a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_CreateOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "agent": { + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "description": "Example Agent Description", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents", + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "description": "Example Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Registering", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "lastStatusUpdate": null, + "localIPAddress": null, + "memoryInMB": null, + "numberOfCores": null, + "uptimeInSeconds": null, + "errorDetails": null + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Delete.json new file mode 100644 index 000000000000..62865e611500 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Get.json new file mode 100644 index 000000000000..917e243a26d2 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Get.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "description": "Example Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 522, + "errorDetails": null + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_List.json new file mode 100644 index 000000000000..f1912ca2f813 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_List.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName1", + "name": "examples-agentName1", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName1", + "description": "Example Agent 1 Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 522, + "errorDetails": null + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName2", + "name": "examples-agentName2", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName2", + "description": "Example Agent 2 Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "147a1f84-7bbf-4e99-9a6a-a1735a91dfd5", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 522, + "errorDetails": null + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName3", + "name": "examples-agentName3", + "type": "Microsoft.StorageMover/storageMovers/agents", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName3", + "description": "Example Agent 3 Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "648a7958-f99e-4268-b20e-94c96558dc0d", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 522, + "errorDetails": { + "code": "SampleErrorCode", + "message": "Detailed sample error message." + } + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Update.json new file mode 100644 index 000000000000..f8d527dfb83e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Agents_Update.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "agentName": "examples-agentName", + "agent": { + "properties": { + "description": "Updated Agent Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-agentName", + "name": "examples-agentName", + "type": "Microsoft.StorageMover/storageMovers/agents", + "properties": { + "arcResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.HybridCompute/machines/examples-hybridComputeName", + "description": "Updated Agent Description", + "agentVersion": "1.0.0", + "agentStatus": "Online", + "arcVmUuid": "3bb2c024-eba9-4d18-9e7a-1d772fcc5fe9", + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "localIPAddress": "192.168.0.0", + "memoryInMB": 100024, + "numberOfCores": 32, + "uptimeInSeconds": 522, + "errorDetails": null + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..4c2d34370222 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json @@ -0,0 +1,35 @@ +{ + "title": "Endpoints_CreateOrUpdate_AzureStorageBlobContainer", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..079b218f5cd7 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json @@ -0,0 +1,35 @@ +{ + "title": "Endpoints_CreateOrUpdate_AzureStorageSmbFileShare", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_NfsMount.json new file mode 100644 index 000000000000..2f74a442ac88 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_NfsMount.json @@ -0,0 +1,36 @@ +{ + "title": "Endpoints_CreateOrUpdate_NfsMount", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "description": "Example NFS Mount Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Example NFS Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_SmbMount.json new file mode 100644 index 000000000000..3ba99281905a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_CreateOrUpdate_SmbMount.json @@ -0,0 +1,45 @@ +{ + "title": "Endpoints_CreateOrUpdate_SmbMount", + "operationId": "Endpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Delete.json new file mode 100644 index 000000000000..a01552961a0b --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..6a7cdce48a10 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageBlobContainer.json @@ -0,0 +1,27 @@ +{ + "title": "Endpoints_Get_AzureStorageBlobContainer", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Example Storage Blob Container Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..5d358eb4461e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_AzureStorageSmbFileShare.json @@ -0,0 +1,27 @@ +{ + "title": "Endpoints_Get_AzureStorageSmbFileShare", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Example Storage File Share Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_NfsMount.json new file mode 100644 index 000000000000..4e093f760edb --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_NfsMount.json @@ -0,0 +1,28 @@ +{ + "title": "Endpoints_Get_NfsMount", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Example NFS Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_SmbMount.json new file mode 100644 index 000000000000..2a269e7f8c49 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Get_SmbMount.json @@ -0,0 +1,32 @@ +{ + "title": "Endpoints_Get_SmbMount", + "operationId": "Endpoints_Get", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" + }, + "description": "Example SMB Mount Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_List.json new file mode 100644 index 000000000000..c3b63af94cc9 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_List.json @@ -0,0 +1,56 @@ +{ + "title": "Endpoints_List", + "operationId": "Endpoints_List", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName1", + "name": "examples-endpointName1", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer1", + "description": "Example Storage Container Endpoint 1 Description", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName2", + "name": "examples-endpointName2", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "nfsVersion": "NFSv4", + "description": "Example Storage Container Endpoint 2 Description", + "export": "/", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName3", + "name": "examples-endpointName3", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer3", + "description": "Example Storage Container Endpoint 3 Description", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageBlobContainer.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageBlobContainer.json new file mode 100644 index 000000000000..30ec1db14421 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageBlobContainer.json @@ -0,0 +1,33 @@ +{ + "title": "Endpoints_Update_AzureStorageBlobContainer", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageBlobContainer", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageBlobContainer", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "blobContainerName": "examples-blobcontainer", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageSmbFileShare.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageSmbFileShare.json new file mode 100644 index 000000000000..ec300292d1fc --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageSmbFileShare.json @@ -0,0 +1,33 @@ +{ + "title": "Endpoints_Update_AzureStorageSmbFileShare", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "AzureStorageSmbFileShare", + "storageAccountResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa", + "fileShareName": "examples-fileshare", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_NfsMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_NfsMount.json new file mode 100644 index 000000000000..0148f0b539f2 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_NfsMount.json @@ -0,0 +1,34 @@ +{ + "title": "Endpoints_Update_NfsMount", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "NfsMount", + "description": "Updated Endpoint Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "NfsMount", + "host": "0.0.0.0", + "export": "examples-exportName", + "nfsVersion": "NFSauto", + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_SmbMount.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_SmbMount.json new file mode 100644 index 000000000000..cc6baaab8066 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_SmbMount.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoints_Update_SmbMount", + "operationId": "Endpoints_Update", + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "endpointName": "examples-endpointName", + "endpoint": { + "properties": { + "endpointType": "SmbMount", + "description": "Updated Endpoint Description", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-endpointName", + "name": "examples-endpointName", + "type": "Microsoft.StorageMover/storageMovers/endpoints", + "properties": { + "endpointType": "SmbMount", + "host": "0.0.0.0", + "shareName": "examples-shareName", + "credentials": { + "type": "AzureKeyVaultSmb", + "usernameUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username", + "passwordUri": "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password" + }, + "description": "Updated Endpoint Description", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_CreateOrUpdate.json new file mode 100644 index 000000000000..e64e4022c9ef --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_CreateOrUpdate.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobDefinition": { + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetSubpath": "/", + "agentName": "migration-agent" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/projectName/jobDefinitionName", + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Delete.json new file mode 100644 index 000000000000..aee99f322c7a --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Get.json new file mode 100644 index 000000000000..9282bbc25db7 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Get.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_List.json new file mode 100644 index 000000000000..c1997c180567 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_List.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName1", + "name": "examples-jobDefinitionName1", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition 1 Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName1", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName1", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName1", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName1", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName2", + "name": "examples-jobDefinitionName2", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Job Definition 2 Description", + "copyMode": "Additive", + "sourceName": "examples-sourceEndpointName2", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName2", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName2", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName2", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName3", + "name": "examples-jobDefinitionName3", + "type": "Microsoft.StorageMover/storageMovers/jobDefinitions", + "properties": { + "description": "Example Job Definition 3 Description", + "copyMode": "Mirror", + "sourceName": "examples-sourceEndpointName3", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-sourceEndpointName3", + "sourceSubpath": "/", + "targetName": "examples-targetEndpointName3", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/examples-targetEndpointName3", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/jobDefinitions?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StartJob.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StartJob.json new file mode 100644 index 000000000000..1917dae50efa --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StartJob.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "jobRunResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StopJob.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StopJob.json new file mode 100644 index 000000000000..1917dae50efa --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StopJob.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName" + }, + "responses": { + "200": { + "body": { + "jobRunResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Update.json new file mode 100644 index 000000000000..e897dd563cec --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Update.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobDefinition": { + "properties": { + "description": "Updated Job Definition Description", + "agentName": "updatedAgentName" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName", + "name": "examples-jobDefinitionName", + "type": "Microsoft.StorageMover/storageMovers/projectName/jobDefinitionName", + "properties": { + "description": "Updated Job Definition Description", + "copyMode": "Additive", + "sourceName": "updatedSource", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/updatedSource", + "sourceSubpath": "/", + "targetName": "updatedTarget", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/updatedTarget", + "targetSubpath": "/", + "latestJobRunName": null, + "latestJobRunResourceId": null, + "latestJobRunStatus": null, + "agentName": "updatedAgentName", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_Get.json new file mode 100644 index 000000000000..6b2a5572ef8d --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_Get.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "jobRunName": "examples-jobRunName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName/jobDefinitions/examples-jobDefinitionName/jobRuns/examples-jobRunName", + "name": "examples-jobRunName", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Running", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_List.json new file mode 100644 index 000000000000..37ee2990c3a2 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_List.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "jobDefinitionName": "examples-jobDefinitionName", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName1", + "name": "examples-jobRunName1", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Running", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName2", + "name": "examples-jobRunName2", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Failed", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projectName/examples-projectName/jobDefinitions/examples-jobDefinitionName1/jobRuns/examples-jobRunName3", + "name": "examples-jobRunName3", + "type": "Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns", + "properties": { + "status": "Failed", + "scanStatus": "Scanning", + "agentName": "migration-agent", + "agentResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/migration-agent", + "executionStartTime": "2023-07-01T02:11:01.1075056Z", + "executionEndTime": null, + "lastStatusUpdate": "2023-07-01T02:21:01.1075056Z", + "sourceName": "sourceEndpoint", + "sourceResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/sourceEndpoint", + "sourceProperties": {}, + "targetName": "targetEndpoint", + "targetResourceId": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/endpoints/targetEndpoint", + "targetProperties": {}, + "jobDefinitionProperties": {}, + "itemsScanned": 351, + "itemsExcluded": 50, + "itemsUnsupported": 27, + "itemsNoTransferNeeded": 150, + "itemsFailed": 3, + "itemsTransferred": 100, + "bytesScanned": 49951162777600, + "bytesExcluded": 995116277760, + "bytesUnsupported": 495116277760, + "bytesNoTransferNeeded": 2995116277760, + "bytesFailed": 5116277760, + "bytesTransferred": 1995116277760 + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/projects/jobDefinitions/jobRuns?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Operations_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..16a8713ee8b5 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Operations_List.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.StorageMover/storageMovers/read", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Get or List StorageMover resource(s).", + "description": "Gets or Lists existing StorageMover resource(s)." + } + }, + { + "name": "Microsoft.StorageMover/storageMovers/write", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Create or Update StorageMover resource.", + "description": "Creates or Updates StorageMover resource." + } + }, + { + "name": "Microsoft.StorageMover/storageMovers/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft StorageMover", + "resource": "StorageMovers", + "operation": "Delete StorageMover resource.", + "description": "Deletes StorageMover resource." + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/operations?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_CreateOrUpdate.json new file mode 100644 index 000000000000..56d0271b735e --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_CreateOrUpdate.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "project": { + "properties": { + "description": "Example Project Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Delete.json new file mode 100644 index 000000000000..6e1d0a05f5f1 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Get.json new file mode 100644 index 000000000000..644ec0c21ffc --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_List.json new file mode 100644 index 000000000000..05643487b7bd --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_List.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName1", + "name": "examples-projectName1", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName2", + "name": "examples-projectName2", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/projects/examples-projectName2", + "name": "examples-projectName3", + "type": "Microsoft.StorageMover/storageMovers/projects", + "properties": { + "description": "Example Project 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers/projects?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Update.json new file mode 100644 index 000000000000..e3a830236c9c --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Update.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "projectName": "examples-projectName", + "project": { + "properties": { + "description": "Example Project Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName/agents/examples-projectName", + "name": "examples-projectName", + "type": "Microsoft.StorageMover/storageMovers/projectName", + "properties": { + "description": "Example Project Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_CreateOrUpdate.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_CreateOrUpdate.json new file mode 100644 index 000000000000..c50d7814c9f1 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_CreateOrUpdate.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "storageMover": { + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Delete.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Delete.json new file mode 100644 index 000000000000..25408b0dbbbe --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/providers/Microsoft.StorageMover/operationResults/delete0", + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.StorageMover/operationStatuses/delete0" + } + }, + "204": {} + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Get.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Get.json new file mode 100644 index 000000000000..81d35ef8dfbf --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_List.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_List.json new file mode 100644 index 000000000000..bc5163dc58cf --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_List.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName1", + "name": "examples-storageMoverResourceName1", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName2", + "name": "examples-storageMoverResourceName2", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName3", + "name": "examples-storageMoverResourceName3", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_ListBySubscription.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_ListBySubscription.json new file mode 100644 index 000000000000..09f47736af2d --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_ListBySubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName1", + "name": "examples-storageMoverResourceName1", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 1 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg2/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName2", + "name": "examples-storageMoverResourceName2", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 2 Description" + } + }, + { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverResourceName3", + "name": "examples-storageMoverResourceName3", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Example Storage Mover 3 Description" + } + } + ], + "nextLink": "https://management.azure.com/providers/Microsoft.StorageMover/storageMovers?$skiptoken={token}" + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Update.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Update.json new file mode 100644 index 000000000000..e00ad8185016 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "subscriptionId": "60bcfc77-6589-4da2-b7fd-f9ec9322cf95", + "resourceGroupName": "examples-rg", + "storageMoverName": "examples-storageMoverName", + "storageMover": { + "properties": { + "description": "Updated Storage Mover Description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.StorageMover/storageMovers/examples-storageMoverName", + "name": "examples-storageMoverName", + "type": "Microsoft.StorageMover/storageMovers", + "location": "eastus2", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "systemData": { + "createdBy": "string", + "createdByType": "User", + "createdAt": "2023-07-01T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-07-01T02:01:01.1075056Z" + }, + "properties": { + "description": "Updated Storage Mover Description" + } + } + } + } +} diff --git a/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/storagemover.json b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/storagemover.json new file mode 100644 index 000000000000..6a5329c15119 --- /dev/null +++ b/specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/storagemover.json @@ -0,0 +1,2762 @@ +{ + "swagger": "2.0", + "info": { + "version": "2023-07-01-preview", + "title": "StorageMoverClient", + "description": "The Azure Storage Mover REST API." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.StorageMover/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Lists all the supported operations for the Azure Storage Mover REST API.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "List of supported operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_ListBySubscription", + "description": "Lists all Storage Movers in a subscription.", + "x-ms-examples": { + "StorageMovers_List": { + "$ref": "./examples/StorageMovers_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Storage Movers.", + "schema": { + "$ref": "#/definitions/StorageMoverList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_List", + "description": "Lists all Storage Movers in a resource group.", + "x-ms-examples": { + "StorageMovers_List": { + "$ref": "./examples/StorageMovers_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Storage Movers.", + "schema": { + "$ref": "#/definitions/StorageMoverList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}": { + "get": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Get", + "description": "Gets a Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_Get": { + "$ref": "./examples/StorageMovers_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_CreateOrUpdate", + "description": "Creates or updates a top-level Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_CreateOrUpdate": { + "$ref": "./examples/StorageMovers_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageMover", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMover" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Update", + "description": "Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "StorageMovers_Update": { + "$ref": "./examples/StorageMovers_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageMover", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMoverUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Storage Mover resource.", + "schema": { + "$ref": "#/definitions/StorageMover" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "StorageMovers" + ], + "operationId": "StorageMovers_Delete", + "description": "Deletes a Storage Mover resource.", + "x-ms-examples": { + "StorageMovers_Delete": { + "$ref": "./examples/StorageMovers_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Storage Mover." + }, + "202": { + "description": "Accepted. Storage Mover delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Storage Mover does not exist in the subscription." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents": { + "get": { + "tags": [ + "Agents" + ], + "operationId": "Agents_List", + "description": "Lists all Agents in a Storage Mover.", + "x-ms-examples": { + "Agents_List": { + "$ref": "./examples/Agents_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Agents.", + "schema": { + "$ref": "#/definitions/AgentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}": { + "get": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Get", + "description": "Gets an Agent resource.", + "x-ms-examples": { + "Agents_Get": { + "$ref": "./examples/Agents_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Agents" + ], + "operationId": "Agents_CreateOrUpdate", + "description": "Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.", + "x-ms-examples": { + "Agents_CreateOrUpdate": { + "$ref": "./examples/Agents_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agent", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Agent" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Update", + "description": "Creates or updates an Agent resource.", + "x-ms-examples": { + "Agents_Update": { + "$ref": "./examples/Agents_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "agent", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AgentUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Agent resource.", + "schema": { + "$ref": "#/definitions/Agent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Agents" + ], + "operationId": "Agents_Delete", + "description": "Deletes an Agent resource.", + "x-ms-examples": { + "Agents_Delete": { + "$ref": "./examples/Agents_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/AgentNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Agent." + }, + "202": { + "description": "Accepted. Agent delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Agent does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints": { + "get": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_List", + "description": "Lists all Endpoints in a Storage Mover.", + "x-ms-examples": { + "Endpoints_List": { + "$ref": "./examples/Endpoints_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Endpoints.", + "schema": { + "$ref": "#/definitions/EndpointList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}": { + "get": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Get", + "description": "Gets an Endpoint resource.", + "x-ms-examples": { + "Endpoints_Get_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_Get_AzureStorageBlobContainer.json" + }, + "Endpoints_Get_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_Get_AzureStorageSmbFileShare.json" + }, + "Endpoints_Get_NfsMount": { + "$ref": "./examples/Endpoints_Get_NfsMount.json" + }, + "Endpoints_Get_SmbMount": { + "$ref": "./examples/Endpoints_Get_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_CreateOrUpdate", + "description": "Creates or updates an Endpoint resource, which represents a data transfer source or destination.", + "x-ms-examples": { + "Endpoints_CreateOrUpdate_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json" + }, + "Endpoints_CreateOrUpdate_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json" + }, + "Endpoints_CreateOrUpdate_NfsMount": { + "$ref": "./examples/Endpoints_CreateOrUpdate_NfsMount.json" + }, + "Endpoints_CreateOrUpdate_SmbMount": { + "$ref": "./examples/Endpoints_CreateOrUpdate_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "endpoint", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Update", + "description": "Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "Endpoints_Update_AzureStorageBlobContainer": { + "$ref": "./examples/Endpoints_Update_AzureStorageBlobContainer.json" + }, + "Endpoints_Update_AzureStorageSmbFileShare": { + "$ref": "./examples/Endpoints_Update_AzureStorageSmbFileShare.json" + }, + "Endpoints_Update_NfsMount": { + "$ref": "./examples/Endpoints_Update_NfsMount.json" + }, + "Endpoints_Update_SmbMount": { + "$ref": "./examples/Endpoints_Update_SmbMount.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "endpoint", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointBaseUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Endpoint resource.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Delete", + "description": "Deletes an Endpoint resource.", + "x-ms-examples": { + "Endpoints_Delete": { + "$ref": "./examples/Endpoints_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/EndpointNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Endpoint." + }, + "202": { + "description": "Accepted. Endpoint delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Endpoint does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects": { + "get": { + "tags": [ + "Projects" + ], + "operationId": "Projects_List", + "description": "Lists all Projects in a Storage Mover.", + "x-ms-examples": { + "Projects_List": { + "$ref": "./examples/Projects_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Projects.", + "schema": { + "$ref": "#/definitions/ProjectList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}": { + "get": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Get", + "description": "Gets a Project resource.", + "x-ms-examples": { + "Projects_Get": { + "$ref": "./examples/Projects_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Projects" + ], + "operationId": "Projects_CreateOrUpdate", + "description": "Creates or updates a Project resource, which is a logical grouping of related jobs.", + "x-ms-examples": { + "Projects_CreateOrUpdate": { + "$ref": "./examples/Projects_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "project", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Project" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Update", + "description": "Updates properties for a Project resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "Projects_Update": { + "$ref": "./examples/Projects_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "project", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ProjectUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Project resource.", + "schema": { + "$ref": "#/definitions/Project" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Projects" + ], + "operationId": "Projects_Delete", + "description": "Deletes a Project resource.", + "x-ms-examples": { + "Projects_Delete": { + "$ref": "./examples/Projects_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Project." + }, + "202": { + "description": "Accepted. Project delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Project does not exist for this Storage Mover." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions": { + "get": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_List", + "description": "Lists all Job Definitions in a Project.", + "x-ms-examples": { + "JobDefinitions_List": { + "$ref": "./examples/JobDefinitions_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Job Definitions.", + "schema": { + "$ref": "#/definitions/JobDefinitionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}": { + "get": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Get", + "description": "Gets a Job Definition resource.", + "x-ms-examples": { + "JobDefinitions_Get": { + "$ref": "./examples/JobDefinitions_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_CreateOrUpdate", + "description": "Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.", + "x-ms-examples": { + "JobDefinitions_CreateOrUpdate": { + "$ref": "./examples/JobDefinitions_CreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "jobDefinition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobDefinition" + } + } + ], + "responses": { + "200": { + "description": "Successfully PUT Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Update", + "description": "Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.", + "x-ms-examples": { + "JobDefinitions_Update": { + "$ref": "./examples/JobDefinitions_Update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "jobDefinition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/JobDefinitionUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The Job Definition resource.", + "schema": { + "$ref": "#/definitions/JobDefinition" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_Delete", + "description": "Deletes a Job Definition resource.", + "x-ms-examples": { + "Projects_Delete": { + "$ref": "./examples/JobDefinitions_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted Job Definition." + }, + "202": { + "description": "Accepted. Job Definition delete operation is ongoing." + }, + "204": { + "description": "NoContent -- Job Definition does not exist for this Project." + }, + "default": { + "description": "Error response describing why delete operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob": { + "post": { + "consumes": [ + "application/json", + "application/x-www-form-urlencoded" + ], + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_StartJob", + "description": "Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.", + "x-ms-examples": { + "JobDefinitions_StartJob": { + "$ref": "./examples/JobDefinitions_StartJob.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully requested job to start.", + "schema": { + "$ref": "#/definitions/JobRunResourceId" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob": { + "post": { + "consumes": [ + "application/json", + "application/x-www-form-urlencoded" + ], + "tags": [ + "JobDefinitions" + ], + "operationId": "JobDefinitions_StopJob", + "description": "Requests the Agent of any active instance of this Job Definition to stop.", + "x-ms-examples": { + "JobDefinitions_StopJob": { + "$ref": "./examples/JobDefinitions_StopJob.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully requested running job to stop, if any.", + "schema": { + "$ref": "#/definitions/JobRunResourceId" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns": { + "get": { + "tags": [ + "JobRuns" + ], + "operationId": "JobRuns_List", + "description": "Lists all Job Runs in a Job Definition.", + "x-ms-examples": { + "JobRuns_List": { + "$ref": "./examples/JobRuns_List.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of Job Runs.", + "schema": { + "$ref": "#/definitions/JobRunList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}": { + "get": { + "tags": [ + "JobRuns" + ], + "operationId": "JobRuns_Get", + "description": "Gets a Job Run resource.", + "x-ms-examples": { + "JobRuns_Get": { + "$ref": "./examples/JobRuns_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageMoverNameParameter" + }, + { + "$ref": "#/parameters/ProjectNameParameter" + }, + { + "$ref": "#/parameters/JobDefinitionNameParameter" + }, + { + "$ref": "#/parameters/JobRunNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Job Run resource.", + "schema": { + "$ref": "#/definitions/JobRun" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "AgentProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Agent." + }, + "agentVersion": { + "type": "string", + "description": "The Agent version.", + "readOnly": true + }, + "arcResourceId": { + "type": "string", + "description": "The fully qualified resource ID of the Hybrid Compute resource for the Agent.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "arcVmUuid": { + "type": "string", + "description": "The VM UUID of the Hybrid Compute resource for the Agent.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "agentStatus": { + "description": "The Agent status.", + "enum": [ + "Registering", + "Offline", + "Online", + "Executing", + "RequiresAttention", + "Unregistering" + ], + "type": "string", + "x-ms-enum": { + "name": "AgentStatus", + "modelAsString": true + }, + "readOnly": true + }, + "lastStatusUpdate": { + "type": "string", + "format": "date-time", + "description": "The last updated time of the Agent status.", + "readOnly": true + }, + "localIPAddress": { + "type": "string", + "description": "Local IP address reported by the Agent.", + "readOnly": true + }, + "memoryInMB": { + "type": "integer", + "format": "int64", + "description": "Available memory reported by the Agent, in MB.", + "readOnly": true + }, + "numberOfCores": { + "type": "integer", + "format": "int64", + "description": "Available compute cores reported by the Agent.", + "readOnly": true + }, + "uptimeInSeconds": { + "type": "integer", + "format": "int64", + "description": "Uptime of the Agent in seconds.", + "readOnly": true + }, + "errorDetails": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code reported by Agent" + }, + "message": { + "type": "string", + "description": "Expanded description of reported error code" + } + }, + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "arcResourceId", + "arcVmUuid" + ] + }, + "Agent": { + "description": "The Agent resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AgentProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "AgentUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Agent." + } + } + }, + "AgentUpdateParameters": { + "description": "The Agent resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AgentUpdateProperties" + } + } + }, + "AgentList": { + "description": "List of Agents.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Agent" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "StorageMoverProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Storage Mover." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "StorageMover": { + "description": "The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageMoverProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "StorageMoverUpdateProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Storage Mover." + } + } + }, + "StorageMoverUpdateParameters": { + "description": "The Storage Mover resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageMoverUpdateProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + } + }, + "StorageMoverList": { + "description": "List of Storage Movers.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageMover" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "EndpointBaseProperties": { + "description": "The resource specific properties for the Storage Mover resource.", + "type": "object", + "discriminator": "endpointType", + "properties": { + "endpointType": { + "description": "The Endpoint resource type.", + "$ref": "#/definitions/EndpointType", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "description": { + "type": "string", + "description": "A description for the Endpoint." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "endpointType" + ] + }, + "Endpoint": { + "description": "The Endpoint resource, which contains information about file sources and targets.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointBaseProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "EndpointBaseUpdateProperties": { + "description": "The Endpoint resource, which contains information about file sources and targets.", + "type": "object", + "discriminator": "endpointType", + "properties": { + "endpointType": { + "description": "The Endpoint resource type.", + "$ref": "#/definitions/EndpointType", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "description": { + "type": "string", + "description": "A description for the Endpoint." + } + }, + "required": [ + "endpointType" + ] + }, + "EndpointBaseUpdateParameters": { + "description": "The Endpoint resource.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + } + }, + "EndpointList": { + "description": "List of Endpoints.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Endpoint" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "AzureStorageBlobContainerEndpointProperties": { + "type": "object", + "description": "The properties of Azure Storage blob container endpoint.", + "x-ms-discriminator-value": "AzureStorageBlobContainer", + "properties": { + "storageAccountResourceId": { + "description": "The Azure Resource ID of the storage account that is the target destination.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "blobContainerName": { + "description": "The name of the Storage blob container that is the target destination.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "storageAccountResourceId", + "blobContainerName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "AzureStorageBlobContainerEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "AzureStorageBlobContainer", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "NfsMountEndpointProperties": { + "type": "object", + "description": "The properties of NFS share endpoint.", + "x-ms-discriminator-value": "NfsMount", + "properties": { + "host": { + "description": "The host name or IP address of the server exporting the file system.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "nfsVersion": { + "description": "The NFS protocol version.", + "enum": [ + "NFSauto", + "NFSv3", + "NFSv4" + ], + "type": "string", + "x-ms-enum": { + "name": "NfsVersion", + "modelAsString": true + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "export": { + "description": "The directory being exported from the server.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "host", + "export" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "NfsMountEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "NfsMount", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "AzureStorageSmbFileShareEndpointProperties": { + "type": "object", + "description": "The properties of Azure Storage SMB file share endpoint.", + "x-ms-discriminator-value": "AzureStorageSmbFileShare", + "properties": { + "storageAccountResourceId": { + "description": "The Azure Resource ID of the storage account.", + "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + }, + "x-ms-mutability": [ + "read", + "create" + ] + }, + "fileShareName": { + "description": "The name of the Azure Storage file share.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "storageAccountResourceId", + "fileShareName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "AzureStorageSmbFileShareEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "AzureStorageSmbFileShare", + "description": "The properties of Azure Storage SMB file share endpoint to update.", + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "SmbMountEndpointProperties": { + "type": "object", + "description": "The properties of SMB share endpoint.", + "x-ms-discriminator-value": "SmbMount", + "properties": { + "host": { + "description": "The host name or IP address of the server exporting the file system.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "shareName": { + "description": "The name of the SMB share being exported from the server.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "credentials": { + "description": "The Azure Key Vault secret URIs which store the required credentials to access the SMB share.", + "$ref": "#/definitions/AzureKeyVaultSmbCredentials" + } + }, + "required": [ + "host", + "shareName" + ], + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseProperties" + } + ] + }, + "SmbMountEndpointUpdateProperties": { + "type": "object", + "x-ms-discriminator-value": "SmbMount", + "description": "The properties of SMB share endpoint to update.", + "properties": { + "credentials": { + "description": "The Azure Key Vault secret URIs which store the required credentials to access the SMB share.", + "$ref": "#/definitions/AzureKeyVaultSmbCredentials" + } + }, + "allOf": [ + { + "$ref": "#/definitions/EndpointBaseUpdateProperties" + } + ] + }, + "EndpointType": { + "description": "The Endpoint resource type.", + "enum": [ + "AzureStorageBlobContainer", + "NfsMount", + "AzureStorageSmbFileShare", + "SmbMount" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true + } + }, + "CredentialType": { + "description": "The Credentials type.", + "enum": [ + "AzureKeyVaultSmb" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialType", + "modelAsString": true + } + }, + "Credentials": { + "description": "The Credentials.", + "type": "object", + "discriminator": "type", + "properties": { + "type": { + "description": "The Credentials type.", + "$ref": "#/definitions/CredentialType", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "type" + ] + }, + "AzureKeyVaultSmbCredentials": { + "description": "The Azure Key Vault secret URIs which store the credentials.", + "type": "object", + "x-ms-discriminator-value": "AzureKeyVaultSmb", + "properties": { + "usernameUri": { + "description": "The Azure Key Vault secret URI which stores the username. Use empty string to clean-up existing value.", + "type": "string" + }, + "passwordUri": { + "description": "The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value.", + "type": "string" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Credentials" + } + ] + }, + "JobDefinitionProperties": { + "description": "Job definition properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Job Definition." + }, + "copyMode": { + "type": "string", + "description": "Strategy to use for copy.", + "x-ms-enum": { + "name": "CopyMode", + "modelAsString": true + }, + "enum": [ + "Additive", + "Mirror" + ] + }, + "sourceName": { + "type": "string", + "description": "The name of the source Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified resource ID of the source Endpoint.", + "readOnly": true + }, + "sourceSubpath": { + "type": "string", + "description": "The subpath to use when reading from the source Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetName": { + "type": "string", + "description": "The name of the target Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "targetResourceId": { + "type": "string", + "description": "Fully qualified resource ID of the target Endpoint.", + "readOnly": true + }, + "targetSubpath": { + "type": "string", + "description": "The subpath to use when writing to the target Endpoint.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "latestJobRunName": { + "type": "string", + "description": "The name of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "latestJobRunResourceId": { + "type": "string", + "description": "The fully qualified resource ID of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "latestJobRunStatus": { + "enum": [ + "Queued", + "Started", + "Running", + "CancelRequested", + "Canceling", + "Canceled", + "Failed", + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunStatus", + "modelAsString": true + }, + "description": "The current status of the Job Run in a non-terminal state, if exists.", + "readOnly": true + }, + "agentName": { + "type": "string", + "description": "Name of the Agent to assign for new Job Runs of this Job Definition." + }, + "agentResourceId": { + "type": "string", + "description": "Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + }, + "required": [ + "copyMode", + "sourceName", + "targetName" + ] + }, + "JobDefinition": { + "description": "The Job Definition resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobDefinitionProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "JobDefinitionUpdateProperties": { + "description": "Job definition properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Job Definition." + }, + "copyMode": { + "type": "string", + "description": "Strategy to use for copy.", + "x-ms-enum": { + "name": "CopyMode", + "modelAsString": true + }, + "enum": [ + "Additive", + "Mirror" + ] + }, + "agentName": { + "type": "string", + "description": "Name of the Agent to assign for new Job Runs of this Job Definition." + } + } + }, + "JobDefinitionUpdateParameters": { + "description": "The Job Definition resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobDefinitionUpdateProperties" + } + } + }, + "JobDefinitionList": { + "description": "List of Job Definitions.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobDefinition" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "JobRunError": { + "type": "object", + "description": "Error type", + "properties": { + "code": { + "type": "string", + "description": "Error code of the given entry." + }, + "message": { + "type": "string", + "description": "Error message of the given entry." + }, + "target": { + "type": "string", + "description": "Target of the given error entry." + } + } + }, + "JobRunProperties": { + "description": "Job run properties.", + "type": "object", + "properties": { + "status": { + "readOnly": true, + "enum": [ + "Queued", + "Started", + "Running", + "CancelRequested", + "Canceling", + "Canceled", + "Failed", + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunStatus", + "modelAsString": true + }, + "description": "The state of the job execution." + }, + "scanStatus": { + "readOnly": true, + "enum": [ + "NotStarted", + "Scanning", + "Completed" + ], + "type": "string", + "x-ms-enum": { + "name": "JobRunScanStatus", + "modelAsString": true + }, + "description": "The status of Agent's scanning of source." + }, + "agentName": { + "readOnly": true, + "type": "string", + "description": "Name of the Agent assigned to this run." + }, + "agentResourceId": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource id of the Agent assigned to this run." + }, + "executionStartTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Start time of the run. Null if no Agent reported that the job has started." + }, + "executionEndTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "End time of the run. Null if Agent has not reported that the job has ended." + }, + "lastStatusUpdate": { + "type": "string", + "format": "date-time", + "description": "The last updated time of the Job Run.", + "readOnly": true + }, + "itemsScanned": { + "type": "integer", + "format": "int64", + "description": "Number of items scanned so far in source.", + "readOnly": true + }, + "itemsExcluded": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are excluded by user configuration.", + "readOnly": true + }, + "itemsUnsupported": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are unsupported on target.", + "readOnly": true + }, + "itemsNoTransferNeeded": { + "type": "integer", + "format": "int64", + "description": "Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).", + "readOnly": true + }, + "itemsFailed": { + "type": "integer", + "format": "int64", + "description": "Number of items that were attempted to transfer and failed.", + "readOnly": true + }, + "itemsTransferred": { + "type": "integer", + "format": "int64", + "description": "Number of items successfully transferred to target.", + "readOnly": true + }, + "bytesScanned": { + "type": "integer", + "format": "int64", + "description": "Bytes of data scanned so far in source.", + "readOnly": true + }, + "bytesExcluded": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are excluded by user configuration.", + "readOnly": true + }, + "bytesUnsupported": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are unsupported on target.", + "readOnly": true + }, + "bytesNoTransferNeeded": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).", + "readOnly": true + }, + "bytesFailed": { + "type": "integer", + "format": "int64", + "description": "Bytes of data that were attempted to transfer and failed.", + "readOnly": true + }, + "bytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Bytes of data successfully transferred to target.", + "readOnly": true + }, + "sourceName": { + "type": "string", + "description": "Name of source Endpoint resource. This resource may no longer exist.", + "readOnly": true + }, + "sourceResourceId": { + "type": "string", + "description": "Fully qualified resource id of source Endpoint. This id may no longer exist.", + "readOnly": true + }, + "sourceProperties": { + "type": "object", + "description": "Copy of source Endpoint resource's properties at time of Job Run creation.", + "readOnly": true + }, + "targetName": { + "type": "string", + "description": "Name of target Endpoint resource. This resource may no longer exist.", + "readOnly": true + }, + "targetResourceId": { + "type": "string", + "description": "Fully qualified resource id of of Endpoint. This id may no longer exist.", + "readOnly": true + }, + "targetProperties": { + "type": "object", + "description": "Copy of Endpoint resource's properties at time of Job Run creation.", + "readOnly": true + }, + "jobDefinitionProperties": { + "type": "object", + "description": "Copy of parent Job Definition's properties at time of Job Run creation.", + "readOnly": true + }, + "error": { + "readOnly": true, + "$ref": "#/definitions/JobRunError", + "description": "Error details." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "JobRun": { + "description": "The Job Run resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/JobRunProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "JobRunResourceId": { + "description": "Response that identifies a Job Run.", + "type": "object", + "properties": { + "jobRunResourceId": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource id of the Job Run." + } + } + }, + "JobRunList": { + "description": "List of Job Runs.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/JobRun" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + }, + "ProjectProperties": { + "description": "Project properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Project." + }, + "provisioningState": { + "description": "The provisioning state of this resource.", + "enum": [ + "Succeeded" + ], + "type": "string", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + } + } + }, + "Project": { + "description": "The Project resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProjectProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "ProjectUpdateProperties": { + "description": "Project properties.", + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "A description for the Project." + } + } + }, + "ProjectUpdateParameters": { + "description": "The Project resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProjectUpdateProperties" + } + } + }, + "ProjectList": { + "description": "List of Project resources.", + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Project" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", + "readOnly": true + } + } + } + }, + "parameters": { + "AgentNameParameter": { + "name": "agentName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Agent resource.", + "x-ms-parameter-location": "method" + }, + "StorageMoverNameParameter": { + "name": "storageMoverName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Storage Mover resource.", + "x-ms-parameter-location": "method" + }, + "EndpointNameParameter": { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Endpoint resource.", + "x-ms-parameter-location": "method" + }, + "JobDefinitionNameParameter": { + "name": "jobDefinitionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Job Definition resource.", + "x-ms-parameter-location": "method" + }, + "JobRunNameParameter": { + "name": "jobRunName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Job Run resource.", + "x-ms-parameter-location": "method" + }, + "ProjectNameParameter": { + "name": "projectName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Project resource.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/storagemover/resource-manager/readme.md b/specification/storagemover/resource-manager/readme.md index 6323ad669509..92a8cda26488 100644 --- a/specification/storagemover/resource-manager/readme.md +++ b/specification/storagemover/resource-manager/readme.md @@ -27,18 +27,27 @@ These are the global settings for the storagemover. ``` yaml openapi-type: arm openapi-subtype: providerHub -tag: package-2023-03 +tag: package-preview-2023-07 ``` +### Tag: package-preview-2023-07 + +These settings apply only when `--tag=package-preview-2023-07` is specified on the command line. + +``` yaml $(tag) == 'package-preview-2023-07' +input-file: + - Microsoft.StorageMover/preview/2023-07-01-preview/storagemover.json +``` ### Tag: package-2023-03 These settings apply only when `--tag=package-2023-03` is specified on the command line. -```yaml $(tag) == 'package-2023-03' +``` yaml $(tag) == 'package-2023-03' input-file: - Microsoft.StorageMover/stable/2023-03-01/storagemover.json ``` + ### Tag: package-2022-07-01-preview These settings apply only when `--tag=package-2022-07-01-preview` is specified on the command line. From b92fdfc0c2986b6bf554560f04b0084ff8df66c7 Mon Sep 17 00:00:00 2001 From: VIPRAY JAIN <118152689+vipray-ms@users.noreply.github.com> Date: Tue, 11 Jul 2023 12:52:16 +0530 Subject: [PATCH 04/39] improve NR Examples (#24636) * improve NR Examples * addressing AutoRun Errors * Fixing Prettier Issue * Adding NextLink in Max Examples * Formatting Azure Resource Id * Updating Format of azure subscriptionIds --- .../examples/Accounts_List_MaximumSet_Gen.json | 2 +- .../examples/Accounts_List_MinimumSet_Gen.json | 2 +- .../Monitors_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MinimumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MaximumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MinimumSet_Gen.json | 8 ++++++-- .../Monitors_GetMetricStatus_MaximumSet_Gen.json | 6 +++--- .../Monitors_GetMetricStatus_MinimumSet_Gen.json | 9 +++++++-- .../examples/Monitors_Get_MaximumSet_Gen.json | 2 +- .../Monitors_ListAppServices_MaximumSet_Gen.json | 6 +++--- .../Monitors_ListAppServices_MinimumSet_Gen.json | 10 ++++++---- .../Monitors_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../Monitors_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MinimumSet_Gen.json | 7 +++---- ...Monitors_ListMonitoredResources_MaximumSet_Gen.json | 2 +- ...Monitors_ListMonitoredResources_MinimumSet_Gen.json | 7 +++---- .../Monitors_SwitchBilling_MaximumSet_Gen.json | 4 ++-- .../Monitors_SwitchBilling_MinimumSet_Gen.json | 2 +- .../examples/Monitors_Update_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MinimumSet_Gen.json | 2 +- .../examples/Organizations_List_MaximumSet_Gen.json | 2 +- .../examples/Organizations_List_MinimumSet_Gen.json | 8 ++------ .../examples/Plans_List_MaximumSet_Gen.json | 2 +- .../examples/Plans_List_MinimumSet_Gen.json | 8 ++++++-- .../TagRules_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../TagRules_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Get_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Get_MinimumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MaximumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Update_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Update_MinimumSet_Gen.json | 2 +- .../examples/Accounts_List_MaximumSet_Gen.json | 2 +- .../examples/Accounts_List_MinimumSet_Gen.json | 2 +- .../Monitors_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MinimumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MaximumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MinimumSet_Gen.json | 8 ++++++-- .../Monitors_GetMetricStatus_MaximumSet_Gen.json | 6 +++--- .../Monitors_GetMetricStatus_MinimumSet_Gen.json | 9 +++++++-- .../examples/Monitors_Get_MaximumSet_Gen.json | 2 +- .../Monitors_ListAppServices_MaximumSet_Gen.json | 6 +++--- .../Monitors_ListAppServices_MinimumSet_Gen.json | 10 ++++++---- .../Monitors_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../Monitors_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MinimumSet_Gen.json | 7 +++---- ...Monitors_ListMonitoredResources_MaximumSet_Gen.json | 2 +- ...Monitors_ListMonitoredResources_MinimumSet_Gen.json | 7 +++---- .../Monitors_SwitchBilling_MaximumSet_Gen.json | 4 ++-- .../Monitors_SwitchBilling_MinimumSet_Gen.json | 2 +- .../examples/Monitors_Update_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MinimumSet_Gen.json | 2 +- .../examples/Organizations_List_MaximumSet_Gen.json | 2 +- .../examples/Organizations_List_MinimumSet_Gen.json | 8 ++------ .../examples/Plans_List_MaximumSet_Gen.json | 2 +- .../examples/Plans_List_MinimumSet_Gen.json | 8 ++++++-- .../TagRules_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../TagRules_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Get_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Get_MinimumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MaximumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Update_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Update_MinimumSet_Gen.json | 2 +- .../examples/Accounts_List_MaximumSet_Gen.json | 2 +- .../examples/Accounts_List_MinimumSet_Gen.json | 2 +- .../Monitors_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MaximumSet_Gen.json | 2 +- .../examples/Monitors_Delete_MinimumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MaximumSet_Gen.json | 2 +- .../Monitors_GetMetricRules_MinimumSet_Gen.json | 8 ++++++-- .../Monitors_GetMetricStatus_MaximumSet_Gen.json | 6 +++--- .../Monitors_GetMetricStatus_MinimumSet_Gen.json | 9 +++++++-- .../examples/Monitors_Get_MaximumSet_Gen.json | 2 +- .../Monitors_ListAppServices_MaximumSet_Gen.json | 6 +++--- .../Monitors_ListAppServices_MinimumSet_Gen.json | 10 ++++++---- .../Monitors_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../Monitors_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MaximumSet_Gen.json | 2 +- .../examples/Monitors_ListHosts_MinimumSet_Gen.json | 7 +++---- ...Monitors_ListMonitoredResources_MaximumSet_Gen.json | 2 +- ...Monitors_ListMonitoredResources_MinimumSet_Gen.json | 7 +++---- .../Monitors_SwitchBilling_MaximumSet_Gen.json | 4 ++-- .../Monitors_SwitchBilling_MinimumSet_Gen.json | 2 +- .../examples/Monitors_Update_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MaximumSet_Gen.json | 2 +- .../Monitors_VmHostPayload_MinimumSet_Gen.json | 2 +- .../examples/Organizations_List_MaximumSet_Gen.json | 2 +- .../examples/Organizations_List_MinimumSet_Gen.json | 8 ++------ .../2022-07-01/examples/Plans_List_MaximumSet_Gen.json | 2 +- .../2022-07-01/examples/Plans_List_MinimumSet_Gen.json | 8 ++++++-- .../TagRules_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../TagRules_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Delete_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Get_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Get_MinimumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MaximumSet_Gen.json | 2 +- ...s_ListByNewRelicMonitorResource_MinimumSet_Gen.json | 2 +- .../examples/TagRules_Update_MaximumSet_Gen.json | 2 +- .../examples/TagRules_Update_MinimumSet_Gen.json | 2 +- 111 files changed, 204 insertions(+), 177 deletions(-) diff --git a/specification/newrelic/NewRelic.Management/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Accounts_List_MaximumSet_Gen.json index 8ade08763dbf..4a2433e12609 100644 --- a/specification/newrelic/NewRelic.Management/examples/Accounts_List_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Accounts_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Accounts_List_MinimumSet_Gen.json index 43f0f8695216..f7e237017bd9 100644 --- a/specification/newrelic/NewRelic.Management/examples/Accounts_List_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Accounts_List_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index 8935c22fad60..e49241329e0a 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "resource": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MaximumSet_Gen.json index 14b578a48ec1..844180915106 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MinimumSet_Gen.json index 2bd7a9e86be7..ed150f60437e 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MaximumSet_Gen.json index 457c15583e86..1ac93fd575bf 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MinimumSet_Gen.json index 2d73e241ed52..731cde656d52 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { @@ -12,7 +12,11 @@ }, "responses": { "200": { - "body": {} + "body": { + "sendMetrics": "Disabled", + "filteringTags": [], + "userEmail": null + } } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json index 18b985411b87..3b4fcdb45653 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -17,7 +17,7 @@ "200": { "body": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ] } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json index 75f5018cbb36..8505847b12ba 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -3,16 +3,21 @@ "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { - "body": {} + "body": { + "azureResourceIds": [] + } } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_Get_MaximumSet_Gen.json index 94906d38753c..197e8d04d4a1 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_Get_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MaximumSet_Gen.json index 073224a6b514..67a6ea17b9ec 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_ListAppServices_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "pvzrksrmzowobuhxpwiotnpcvjbu" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -18,7 +18,7 @@ "body": { "value": [ { - "azureResourceId": "kjvbkwuqmouugrrz", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "agentVersion": "owxkssnbp", "agentStatus": "vclwfecbppsfaygdccfu" } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MinimumSet_Gen.json index fbb993f1a5d1..606d1792ce04 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -3,19 +3,21 @@ "title": "Monitors_ListAppServices_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json index ccffc4f0a4f0..4c6a891b3a76 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic" }, "responses": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListBySubscription_MaximumSet_Gen.json index 5b8faa549b4a..c03b1c416021 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListBySubscription_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListBySubscription_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MaximumSet_Gen.json index ec6fefd0e4f0..820cb2ae9bb5 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MinimumSet_Gen.json index 889c3df7559c..e170c607db4b 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { @@ -16,9 +16,8 @@ "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json index 45a35f187447..636e66cfc49b 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json index d0efed12483e..f145a401f995 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -3,16 +3,15 @@ "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MaximumSet_Gen.json index 9d73a790743e..96b311607fe5 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_SwitchBilling_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", - "azureResourceId": "enfghpfw", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "organizationId": "k", "planData": { "usageType": "PAYG", diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MinimumSet_Gen.json index faea5e3503f8..06bddcb3149d 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_SwitchBilling_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_Update_MaximumSet_Gen.json index 58e7492e0746..6e22dc73bca6 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_Update_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "properties": { diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MaximumSet_Gen.json index 09acb2b09e82..7c53ae5e36d7 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MinimumSet_Gen.json index 8bfc4d47aaa5..5df94de4f3cd 100644 --- a/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Organizations_List_MaximumSet_Gen.json index 237bd0a9b373..7d51c73537a1 100644 --- a/specification/newrelic/NewRelic.Management/examples/Organizations_List_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Organizations_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Organizations_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Organizations_List_MinimumSet_Gen.json index 86f1e3a6e07d..c5f56aebbda9 100644 --- a/specification/newrelic/NewRelic.Management/examples/Organizations_List_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Organizations_List_MinimumSet_Gen.json @@ -3,18 +3,14 @@ "title": "Organizations_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, "responses": { "200": { "body": { - "value": [ - { - "id": "ycdsgeiitvxcd" - } - ] + "value": [] } } } diff --git a/specification/newrelic/NewRelic.Management/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Plans_List_MaximumSet_Gen.json index a0c7f196b6a9..d98c6f874c9a 100644 --- a/specification/newrelic/NewRelic.Management/examples/Plans_List_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Plans_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Plans_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "accountId": "pwuxgvrmkk", "organizationId": "hilawwjz" }, diff --git a/specification/newrelic/NewRelic.Management/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/Plans_List_MinimumSet_Gen.json index 9854b0772731..7881d45caeb8 100644 --- a/specification/newrelic/NewRelic.Management/examples/Plans_List_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/Plans_List_MinimumSet_Gen.json @@ -3,14 +3,18 @@ "title": "Plans_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "organizationId": "hilawwjz" }, "responses": { "200": { "body": { "value": [ { - "id": "ycdsgeiitvxcd" + "id": "qmtrcoxuctyphc", + "properties": { + "orgCreationSource": "NEWRELIC" + } } ] } diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json index 54b8fa7475e4..5aca2dfc466d 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json index 13f97856c33f..a3b33401e6d6 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MaximumSet_Gen.json index e2e293eeda76..d2c5b3338bea 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MinimumSet_Gen.json index 973b43148a9f..ece4c4d2d6f7 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MaximumSet_Gen.json index 899ab8ca56cb..4c3da6213c04 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MinimumSet_Gen.json index 32afa96ac241..7e94172a562e 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Get_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json index acbf4317fbf7..e32af021e1b3 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json index db4b787c7dbd..f4b3973f91c9 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MaximumSet_Gen.json index 2b800d0d4001..e309fccc33fb 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MaximumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MinimumSet_Gen.json index 2509e70c6744..4ce64658f2b0 100644 --- a/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MinimumSet_Gen.json +++ b/specification/newrelic/NewRelic.Management/examples/TagRules_Update_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MaximumSet_Gen.json index 8ade08763dbf..4a2433e12609 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MinimumSet_Gen.json index 43f0f8695216..f7e237017bd9 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Accounts_List_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index 8935c22fad60..e49241329e0a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "resource": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json index 15944e1187ce..cfda7e34e777 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json index 36fb8f2f94c8..3ac7b9901730 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json index 457c15583e86..1ac93fd575bf 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json index 2d73e241ed52..731cde656d52 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { @@ -12,7 +12,11 @@ }, "responses": { "200": { - "body": {} + "body": { + "sendMetrics": "Disabled", + "filteringTags": [], + "userEmail": null + } } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json index 18b985411b87..3b4fcdb45653 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -17,7 +17,7 @@ "200": { "body": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ] } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json index 75f5018cbb36..8505847b12ba 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -3,16 +3,21 @@ "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { - "body": {} + "body": { + "azureResourceIds": [] + } } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Get_MaximumSet_Gen.json index 94906d38753c..197e8d04d4a1 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json index f29dde7a6e08..f253c26cc3be 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_ListAppServices_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "pvzrksrmzowobuhxpwiotnpcvjbu" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -18,7 +18,7 @@ "body": { "value": [ { - "azureResourceId": "kjvbkwuqmouugrrz", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "agentVersion": "owxkssnbp", "agentStatus": "vclwfecbppsfaygdccfu" } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json index fbb993f1a5d1..606d1792ce04 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -3,19 +3,21 @@ "title": "Monitors_ListAppServices_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json index ccffc4f0a4f0..4c6a891b3a76 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic" }, "responses": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json index 5b8faa549b4a..c03b1c416021 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListBySubscription_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json index ec6fefd0e4f0..820cb2ae9bb5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json index 889c3df7559c..e170c607db4b 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { @@ -16,9 +16,8 @@ "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json index 45a35f187447..636e66cfc49b 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json index d0efed12483e..f145a401f995 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -3,16 +3,15 @@ "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json index 9d73a790743e..96b311607fe5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_SwitchBilling_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", - "azureResourceId": "enfghpfw", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "organizationId": "k", "planData": { "usageType": "PAYG", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json index faea5e3503f8..06bddcb3149d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_SwitchBilling_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Update_MaximumSet_Gen.json index 58e7492e0746..6e22dc73bca6 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "properties": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json index 09acb2b09e82..7c53ae5e36d7 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json index 8bfc4d47aaa5..5df94de4f3cd 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MaximumSet_Gen.json index 237bd0a9b373..7d51c73537a1 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Organizations_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MinimumSet_Gen.json index 86f1e3a6e07d..c5f56aebbda9 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Organizations_List_MinimumSet_Gen.json @@ -3,18 +3,14 @@ "title": "Organizations_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, "responses": { "200": { "body": { - "value": [ - { - "id": "ycdsgeiitvxcd" - } - ] + "value": [] } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MaximumSet_Gen.json index a0c7f196b6a9..d98c6f874c9a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Plans_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "accountId": "pwuxgvrmkk", "organizationId": "hilawwjz" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MinimumSet_Gen.json index 9854b0772731..7881d45caeb8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/Plans_List_MinimumSet_Gen.json @@ -3,14 +3,18 @@ "title": "Plans_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "nqmcgifgaqlf" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "organizationId": "hilawwjz" }, "responses": { "200": { "body": { "value": [ { - "id": "ycdsgeiitvxcd" + "id": "qmtrcoxuctyphc", + "properties": { + "orgCreationSource": "NEWRELIC" + } } ] } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json index 54b8fa7475e4..5aca2dfc466d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json index 13f97856c33f..a3b33401e6d6 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json index e2e293eeda76..d2c5b3338bea 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json index 973b43148a9f..ece4c4d2d6f7 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MaximumSet_Gen.json index 899ab8ca56cb..4c3da6213c04 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MinimumSet_Gen.json index 32afa96ac241..7e94172a562e 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Get_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json index acbf4317fbf7..e32af021e1b3 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json index db4b787c7dbd..f4b3973f91c9 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MaximumSet_Gen.json index 2b800d0d4001..e309fccc33fb 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MinimumSet_Gen.json index 2509e70c6744..4ce64658f2b0 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/preview/2022-07-01-preview/examples/TagRules_Update_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01-preview", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json index 5456b731a6a7..930d5545af45 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json index 14019914a163..a0ee996a78d6 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Accounts_List_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Accounts_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json index 9a497037a7d9..0ce986574081 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "resource": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json index 83f021a06ba7..a250cb881ee5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json index cdd22bad4ad9..369c73e4ab22 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json index 6e0686f3c7c9..c7e8b2d2c5f7 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json index fbf39255faed..1dbb13343f8c 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_GetMetricRules_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { @@ -12,7 +12,11 @@ }, "responses": { "200": { - "body": {} + "body": { + "sendMetrics": "Disabled", + "filteringTags": [], + "userEmail": null + } } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json index 6406a9f9d1fe..0da7d58f8a79 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_GetMetricStatus_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -17,7 +17,7 @@ "200": { "body": { "azureResourceIds": [ - "enfghpfw" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ] } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json index a836b416ef62..316f94708c41 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -3,16 +3,21 @@ "title": "Monitors_GetMetricStatus_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { - "body": {} + "body": { + "azureResourceIds": [] + } } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json index 21201967003a..e741c7768a29 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json index 0feb2c9638ba..9e6d89285d2d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_ListAppServices_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "azureResourceIds": [ - "pvzrksrmzowobuhxpwiotnpcvjbu" + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } @@ -18,7 +18,7 @@ "body": { "value": [ { - "azureResourceId": "kjvbkwuqmouugrrz", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "agentVersion": "owxkssnbp", "agentStatus": "vclwfecbppsfaygdccfu" } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json index 71391193a70d..1e0e3540101d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -3,19 +3,21 @@ "title": "Monitors_ListAppServices_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { + "azureResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz" + ], "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm" } }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json index 84ea49176268..031e51840a52 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListByResourceGroup_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic" }, "responses": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json index dc52afe6a51e..0dec65430f1a 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListBySubscription_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json index d28a6c9b5cd1..ab73aff90e83 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json index ff4308ce1d79..6ec6ad37ceec 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListHosts_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "request": { @@ -16,9 +16,8 @@ "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json index 6d9c1bc6bf67..75cbfad32688 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_ListMonitoredResources_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json index 83936b0949e5..98e9317dccab 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -3,16 +3,15 @@ "title": "Monitors_ListMonitoredResources_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, "responses": { "200": { "body": { - "value": [ - {} - ] + "value": [], + "nextLink": null } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json index 1b85702b56de..668e9fda12c5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -3,12 +3,12 @@ "title": "Monitors_SwitchBilling_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", - "azureResourceId": "enfghpfw", + "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz", "organizationId": "k", "planData": { "usageType": "PAYG", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json index e87aedc2bede..cca1f3fb9154 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_SwitchBilling_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz", "request": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json index 09f603775cdc..dab29bf96156 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgNewRelic", "monitorName": "cdlymktqw", "properties": { diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json index 29639e46598f..6a47ac00b6e5 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json index 8e8ec4ab8cef..460ddce1fc59 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Monitors_VmHostPayload_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json index 82c28f30d8c0..5e581c70ce81 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Organizations_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json index 6603b91cf7b8..8bd8565d15dd 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Organizations_List_MinimumSet_Gen.json @@ -3,18 +3,14 @@ "title": "Organizations_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "userEmail": "ruxvg@xqkmdhrnoo.hlmbpm", "location": "egh" }, "responses": { "200": { "body": { - "value": [ - { - "id": "ycdsgeiitvxcd" - } - ] + "value": [] } } } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json index 5bfafc5faa63..0ab6824cb175 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "Plans_List_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "hfmjmpyqgezxkp", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "accountId": "pwuxgvrmkk", "organizationId": "hilawwjz" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json index a50f42bd4cb5..5f92e66583f3 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/Plans_List_MinimumSet_Gen.json @@ -3,14 +3,18 @@ "title": "Plans_List_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "nqmcgifgaqlf" + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "organizationId": "hilawwjz" }, "responses": { "200": { "body": { "value": [ { - "id": "ycdsgeiitvxcd" + "id": "qmtrcoxuctyphc", + "properties": { + "orgCreationSource": "NEWRELIC" + } } ] } diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json index 51506555d40b..c11974ef81db 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json index cead6071efb2..8a206bf05f30 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_CreateOrUpdate_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json index de3e48956577..5fc7156b79cb 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json index efe94413cf48..4c0c96380d43 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Delete_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Delete_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json index d9ce13413146..3b7ab92f2d12 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json index ecc6c114dcdf..d72730369ef8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Get_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb" diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json index 61145e009934..4a5f589bd0f8 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json index f0c5ec5f0abc..55067e0a590d 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron" }, diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json index 3a9d1fdd5fd3..048e5a501271 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MaximumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MaximumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", diff --git a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json index 80a01dda2953..decbc5a9aa32 100644 --- a/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json +++ b/specification/newrelic/resource-manager/NewRelic.Observability/stable/2022-07-01/examples/TagRules_Update_MinimumSet_Gen.json @@ -3,7 +3,7 @@ "title": "TagRules_Update_MinimumSet_Gen", "parameters": { "api-version": "2022-07-01", - "subscriptionId": "ddqonpqwjr", + "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "rgopenapi", "monitorName": "ipxmlcbonyxtolzejcjshkmlron", "ruleSetName": "bxcantgzggsepbhqmedjqyrqeezmfb", From b5cc3096fff46e18cffd9b506823b30a21114b71 Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Tue, 11 Jul 2023 15:45:00 +0800 Subject: [PATCH 05/39] update code owner (#24754) --- CODEOWNERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CODEOWNERS b/CODEOWNERS index f4d3a701ccfc..d72c327f1aba 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -263,5 +263,5 @@ /specification/**/resource-manager/**/readme.typescript.md @qiaozha /specification/**/resource-manager/**/readme.az.md @jsntcy @qiaozha /specification/**/resource-manager/**/readme.cli.md @jsntcy @qiaozha -/specification/**/resource-manager/**/readme.go.md @ArcturusZhang -/specification/**/resource-manager/**/readme.python.md @msyyc @Wzb123456789 +/specification/**/resource-manager/**/readme.go.md @tadelesh +/specification/**/resource-manager/**/readme.python.md @msyyc From f6bf6555a71cb3167dcff04cc7964bda9ae36a88 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 11 Jul 2023 16:47:35 +0800 Subject: [PATCH 06/39] Update readme.python.md (#24758) --- specification/elasticsan/resource-manager/readme.python.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/elasticsan/resource-manager/readme.python.md b/specification/elasticsan/resource-manager/readme.python.md index 65618da54512..e79873f42beb 100644 --- a/specification/elasticsan/resource-manager/readme.python.md +++ b/specification/elasticsan/resource-manager/readme.python.md @@ -4,6 +4,7 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. ``` yaml $(python) +title: ElasticSanMgmtClient azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-elasticsan From db852c3c595d58ed3e13d3031290198ed19876b3 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Tue, 11 Jul 2023 11:17:56 -0700 Subject: [PATCH 07/39] [TypeSpecValidation] Refactor package.json (#24756) - Improves upon #24745 - Creates eng/tools/package.json for all EngSys tools - Moves "postinstall" to eng/tools/TypeSpecValidation/package.json - Technically incorrect if the package were ever to be published to a registry - In practice, the best way I have found so far to use source-based tools in a TypeScript repo --- eng/pipelines/typespec-ci.yml | 4 --- eng/tools/TypeSpecValidation/package.json | 6 ++++- eng/tools/TypeSpecValidation/tsconfig.json | 5 +++- eng/tools/package.json | 7 ++++++ package-lock.json | 29 +++++++++++++++------- package.json | 5 +--- 6 files changed, 37 insertions(+), 19 deletions(-) create mode 100644 eng/tools/package.json diff --git a/eng/pipelines/typespec-ci.yml b/eng/pipelines/typespec-ci.yml index 27aebf70c9b4..91574df6ec45 100644 --- a/eng/pipelines/typespec-ci.yml +++ b/eng/pipelines/typespec-ci.yml @@ -40,10 +40,6 @@ jobs: displayName: npm ls -a condition: succeededOrFailed() - - script: npm run build - displayName: npm run build - condition: succeededOrFailed() - - template: templates/steps/typespec-ci.yml parameters: Folder: specification/contosowidgetmanager/Contoso.WidgetManager diff --git a/eng/tools/TypeSpecValidation/package.json b/eng/tools/TypeSpecValidation/package.json index 970c2e834420..db9f95fbd43c 100644 --- a/eng/tools/TypeSpecValidation/package.json +++ b/eng/tools/TypeSpecValidation/package.json @@ -13,6 +13,10 @@ }, "devDependencies": { "@types/debug": "^4.1.8", - "@types/node": "^18.16.18" + "@types/node": "^18.16.18", + "typescript": "~5.0.4" + }, + "scripts": { + "postinstall": "tsc" } } diff --git a/eng/tools/TypeSpecValidation/tsconfig.json b/eng/tools/TypeSpecValidation/tsconfig.json index e22799e0549a..6966315fab5d 100644 --- a/eng/tools/TypeSpecValidation/tsconfig.json +++ b/eng/tools/TypeSpecValidation/tsconfig.json @@ -3,6 +3,9 @@ "compilerOptions": { "target": "ES6", "module": "Node16", - "outDir": "./dist" + "outDir": "./dist", + + // override "importHelpers:true" in root tsconfig.json + "importHelpers": false } } diff --git a/eng/tools/package.json b/eng/tools/package.json new file mode 100644 index 000000000000..28c6f7e96e7d --- /dev/null +++ b/eng/tools/package.json @@ -0,0 +1,7 @@ +{ + "name": "azure-rest-api-specs-eng-tools", + "devDependencies": { + "@azure-tools/typespec-validation": "file:TypeSpecValidation" + }, + "private": true +} diff --git a/package-lock.json b/package-lock.json index 02ca27ba7c69..0b2654b4a752 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,6 @@ "@azure-tools/typespec-azure-resource-manager": "0.31.0", "@azure-tools/typespec-client-generator-core": "0.31.0", "@azure-tools/typespec-providerhub": "0.31.0", - "@azure-tools/typespec-validation": "file:eng/tools/TypeSpecValidation", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", "@typespec/compiler": "0.45.2", @@ -25,14 +24,27 @@ "@typespec/openapi": "0.45.0", "@typespec/rest": "0.45.0", "@typespec/versioning": "0.45.0", + "azure-rest-api-specs-eng-tools": "file:eng/tools", "prettier": "^2.8.8", "typescript": "~5.0.4" } }, + "eng/tools": { + "dev": true, + "devDependencies": { + "@azure-tools/typespec-validation": "file:TypeSpecValidation" + } + }, + "eng/tools/node_modules/@types/node": { + "version": "18.16.18", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", + "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", + "dev": true + }, "eng/tools/TypeSpecValidation": { - "name": "@azure-tools/typespec-validation", "version": "0.0.1", "dev": true, + "hasInstallScript": true, "dependencies": { "debug": "^4.3.4", "simple-git": "^3.16.0" @@ -42,15 +54,10 @@ }, "devDependencies": { "@types/debug": "^4.1.8", - "@types/node": "^18.16.18" + "@types/node": "^18.16.18", + "typescript": "~5.0.4" } }, - "eng/tools/TypeSpecValidation/node_modules/@types/node": { - "version": "18.16.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", - "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", - "dev": true - }, "node_modules/@azure-tools/cadl-apiview": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@azure-tools/cadl-apiview/-/cadl-apiview-0.3.5.tgz", @@ -1275,6 +1282,10 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, + "node_modules/azure-rest-api-specs-eng-tools": { + "resolved": "eng/tools", + "link": true + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", diff --git a/package.json b/package.json index aa91a25e21fc..3d075b225a99 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "@azure-tools/typespec-azure-resource-manager": "0.31.0", "@azure-tools/typespec-client-generator-core": "0.31.0", "@azure-tools/typespec-providerhub": "0.31.0", - "@azure-tools/typespec-validation": "file:eng/tools/TypeSpecValidation", "@typespec/compiler": "0.45.2", "@typespec/http": "0.45.0", "@typespec/openapi": "0.45.0", @@ -20,11 +19,9 @@ "@typespec/versioning": "0.45.0", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", + "azure-rest-api-specs-eng-tools": "file:eng/tools", "prettier": "^2.8.8", "typescript": "~5.0.4" }, - "scripts": { - "build": "npx --no tsc -- -p eng/tools/TypeSpecValidation" - }, "private": true } From eabc87b2e8e5ab5d5365cb2db064d7fd25a65f1a Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Tue, 11 Jul 2023 14:36:10 -0700 Subject: [PATCH 08/39] workflow-bot comments: update breaking changes alternative C to point to alternative B (#24770) --- .github/comment.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/comment.yml b/.github/comment.yml index ae1085c5231b..69a048770786 100644 --- a/.github/comment.yml +++ b/.github/comment.yml @@ -20,7 +20,9 @@ **ACTION ITEM ALTERNATIVE C**: Report false positive.
If you think there are no breaking changes, i.e. the validation should pass yet it fails, - then please explain why in a PR comment and @ the PR assignee. + then proceed as explained in **ACTION ITEM ALTERNATIVE B**.
+ This applies even if the breaking change tool fails with internal runtime error. + In such case a manual breaking change review is necessary. - rule: type: label @@ -47,7 +49,9 @@ **ACTION ITEM ALTERNATIVE C**: Report false positive.
If you think there are no changes in existing API version, i.e. there should be no `NewApiVersionRequired` label, - then please explain why in a PR comment and @ the PR assignee. + then proceed as explained in **ACTION ITEM ALTERNATIVE B**.
+ This applies even if the breaking change tool fails with internal runtime error. + In such case a manual breaking change review is necessary.

For additional guidance, please see https://aka.ms/NewApiVersionRequired From 29159d148372f5f61cb04b76fc87252b13c62515 Mon Sep 17 00:00:00 2001 From: williamzhao87 Date: Wed, 12 Jul 2023 13:17:03 -0400 Subject: [PATCH 09/39] [Communication] Job Router Public Preview v2022-07-18 (#23804) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated JR swagger with maxNumberOfJobs * job scheduling swagger changes * Enforce DistributionMode.kind to be read-only * retry with removing Required tag from abstract property for DistributionMode * WorkerState stopped showing up in generated swagger * Add reofferTimeUtc to decline offer API * Prettier * Prettier * rename WorkerState to RouterWorkerState * more fixes in polymorphic types * Rename decline offer request * prettier fix * add example for scheduled job * cpsell fix * fix response schema validation error * address review feedback item round 1 * SDK review changes * More API changes * Update distribution mode required properties * Renamings * job matching mode added * prettier fixes * fix examples refs * update ref examples * update swagger spec * fix enum mismatch * change operator to labelOperator in classification policy get and update ops example * Update specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json Co-authored-by: Liangying.Wei * hide redundant communicationerror and communicationerrorresponse during codegen * revert commit * fix typo * test whether removing kind from request works * revert removing kind from request * make kind read-only * run prettier * try adding properties to empty classes --------- Co-authored-by: Rajarshi Sarkar 🦄 Co-authored-by: Rajarshi Sarkar <73562869+sarkar-rajarshi@users.noreply.github.com> Co-authored-by: Liangying.Wei --- custom-words.txt | 3 + .../communicationservicejobrouter.json | 1668 +++++++++-------- ...onPolicies_CreateClassificationPolicy.json | 33 +- ...ationPolicies_GetClassificationPolicy.json | 4 +- ...onPolicies_UpdateClassificationPolicy.json | 33 +- ...tionPolicies_CreateDistributionPolicy.json | 17 +- ...ibutionPolicies_GetDistributionPolicy.json | 2 +- ..._ListDistributionPoliciesWithPageSize.json | 4 +- ...tionPolicies_UpdateDistributionPolicy.json | 17 +- ...ceptionPolicies_CreateExceptionPolicy.json | 23 + ...ceptionPolicies_UpdateExceptionPolicy.json | 23 + .../examples/Jobs_CloseJob.json | 3 +- .../examples/Jobs_CompleteJob.json | 3 +- .../examples/Jobs_CreateJob.json | 53 +- .../examples/Jobs_CreateScheduledJob.json | 99 + .../examples/Jobs_GetJob.json | 14 +- .../examples/Jobs_GetJobsWithPageSize.json | 28 +- .../examples/Jobs_UnassignJob.json | 5 +- .../examples/Jobs_UpdateJob.json | 45 +- .../examples/Offers_DeclineJobOffer.json | 5 +- .../examples/Queues_CreateQueue.json | 13 +- .../Queues_ListQueuesWithPageSize.json | 4 +- .../examples/Queues_UpdateQueue.json | 9 + .../examples/Workers_CreateWorker.json | 38 +- .../Workers_DeregisterActiveWorker.json | 32 +- .../Workers_DeregisterInactiveWorker.json | 32 +- .../Workers_GetAvailableWorkersByChannel.json | 18 +- .../Workers_GetWorkersWithPageSize.json | 16 +- .../examples/Workers_RegisterWorker.json | 32 +- .../examples/Workers_UpdateWorker.json | 38 +- .../data-plane/JobRouter/readme.md | 6 - 31 files changed, 1487 insertions(+), 833 deletions(-) create mode 100644 specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateScheduledJob.json diff --git a/custom-words.txt b/custom-words.txt index 81bc780730fa..71df8332f534 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -532,6 +532,7 @@ continuationtoken continuousdataexports continuouswebjobs contoso +Contoso's contosodataset contosomedia contributer @@ -2175,6 +2176,7 @@ removeaclentries removedefaultacl removenodes removex +reoffer reparent replicationdetails replicationstatus @@ -2775,6 +2777,7 @@ unarchive unassign unassignment unassigns +unassigning unattend unbilled unclaim diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json index 52dc6d82e376..d99cf4f070b0 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json @@ -41,17 +41,23 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/ClassificationPolicy" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/ClassificationPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -85,17 +91,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ClassificationPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -126,14 +132,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -159,25 +165,24 @@ "name": "maxpagesize", "description": "Maximum page size", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ClassificationPolicyCollection" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -226,17 +231,23 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/DistributionPolicy" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/DistributionPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -270,17 +281,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DistributionPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -311,14 +322,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -344,25 +355,24 @@ "name": "maxpagesize", "description": "Maximum page size", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DistributionPolicyCollection" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -411,17 +421,23 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/ExceptionPolicy" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/ExceptionPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -455,17 +471,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ExceptionPolicy" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -496,14 +512,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -529,25 +545,24 @@ "name": "maxpagesize", "description": "Number of objects to return per page", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ExceptionPolicyCollection" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -596,17 +611,23 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterJob" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/RouterJob" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -615,6 +636,9 @@ }, "Update a job": { "$ref": "./examples/Jobs_UpdateJob.json" + }, + "Creates a scheduled job": { + "$ref": "./examples/Jobs_CreateScheduledJob.json" } } }, @@ -640,17 +664,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/RouterJob" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -672,7 +696,7 @@ { "in": "path", "name": "id", - "description": "Id of the job.", + "description": "Id of the job", "required": true, "type": "string" }, @@ -681,14 +705,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -706,9 +730,7 @@ "summary": "Reclassify a job.", "operationId": "JobRouter_ReclassifyJobAction", "consumes": [ - "application/json", - "text/json", - "application/*+json" + "application/json" ], "produces": [ "application/json" @@ -734,17 +756,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/ReclassifyJobResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -789,17 +811,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CancelJobResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -845,17 +867,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/CompleteJobResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -901,12 +923,6 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { @@ -918,6 +934,12 @@ "schema": { "$ref": "#/definitions/CloseJobResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -941,7 +963,7 @@ { "in": "query", "name": "status", - "description": "(Optional) If specified, filter jobs by status.", + "description": "If specified, filter jobs by status.", "type": "string", "default": "all", "enum": [ @@ -953,54 +975,72 @@ "closed", "cancelled", "classificationFailed", + "created", + "pendingSchedule", + "scheduled", + "scheduleFailed", + "waitingForActivation", "active" ], "x-ms-enum": { - "name": "JobStateSelector", - "modelAsString": false + "name": "RouterJobStatusSelector", + "modelAsString": true } }, { "in": "query", "name": "queueId", - "description": "(Optional) If specified, filter jobs by queue.", + "description": "If specified, filter jobs by queue.", "type": "string" }, { "in": "query", "name": "channelId", - "description": "(Optional) If specified, filter jobs by channel.", + "description": "If specified, filter jobs by channel.", "type": "string" }, { "in": "query", "name": "classificationPolicyId", - "description": "(Optional) If specified, filter jobs by classificationPolicy.", + "description": "If specified, filter jobs by classificationPolicy.", "type": "string" }, + { + "in": "query", + "name": "scheduledBefore", + "description": "If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore]", + "type": "string", + "format": "date-time" + }, + { + "in": "query", + "name": "scheduledAfter", + "description": "If specified, filter on jobs that was scheduled at or after given value. Range: [scheduledAfter, +Inf).", + "type": "string", + "format": "date-time" + }, { "in": "query", "name": "maxpagesize", "description": "Number of objects to return per page", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterJobCollection" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobCollection" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1038,16 +1078,16 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterJobPositionDetails" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobPositionDetails" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1065,6 +1105,9 @@ ], "summary": "Un-assign a job.", "operationId": "JobRouter_UnassignJobAction", + "consumes": [ + "application/json" + ], "produces": [ "application/json" ], @@ -1085,19 +1128,27 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "unassignJobRequest", + "description": "Request body for unassign route", + "schema": { + "$ref": "#/definitions/UnassignJobRequest" + } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/UnassignJobResult" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/UnassignJobResult" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1138,17 +1189,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/AcceptJobOfferResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -1165,6 +1216,9 @@ ], "summary": "Declines an offer to work on a job.", "operationId": "JobRouter_DeclineJobAction", + "consumes": [ + "application/json" + ], "produces": [ "application/json" ], @@ -1185,20 +1239,28 @@ }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "declineJobOfferRequest", + "description": "Request model for declining offer", + "schema": { + "$ref": "#/definitions/DeclineJobOfferRequest" + } } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/DeclineJobOfferResult" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -1238,21 +1300,27 @@ "description": "Model of queue properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", "required": true, "schema": { - "$ref": "#/definitions/JobQueue" + "$ref": "#/definitions/RouterQueue" } } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterQueue" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/RouterQueue" + } + }, + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobQueue" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1287,16 +1355,16 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterQueue" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/JobQueue" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1328,14 +1396,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -1361,24 +1429,23 @@ "name": "maxpagesize", "description": "Number of objects to return per page", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterQueueCollection" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/QueueCollection" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1416,16 +1483,16 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterQueueStatistics" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/QueueStatistics" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1463,7 +1530,7 @@ { "in": "body", "name": "patch", - "description": "Model of worker properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", + "description": "Model of worker properties to be created or patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", "required": true, "schema": { "$ref": "#/definitions/RouterWorker" @@ -1471,17 +1538,23 @@ } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterWorker" } }, - "200": { - "description": "Success", + "201": { + "description": "Created", "schema": { "$ref": "#/definitions/RouterWorker" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -1524,17 +1597,17 @@ } ], "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" - } - }, "200": { "description": "Success", "schema": { "$ref": "#/definitions/RouterWorker" } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/CommunicationErrorResponse" + } } }, "x-ms-examples": { @@ -1565,14 +1638,14 @@ } ], "responses": { + "204": { + "description": "Success" + }, "default": { "description": "Error", "schema": { "$ref": "#/definitions/CommunicationErrorResponse" } - }, - "204": { - "description": "Success" } }, "x-ms-examples": { @@ -1595,8 +1668,8 @@ "parameters": [ { "in": "query", - "name": "status", - "description": "(Optional) If specified, select workers by worker status.", + "name": "state", + "description": "If specified, select workers by worker state.", "type": "string", "default": "all", "enum": [ @@ -1606,26 +1679,26 @@ "all" ], "x-ms-enum": { - "name": "WorkerStateSelector", - "modelAsString": false + "name": "RouterWorkerStateSelector", + "modelAsString": true } }, { "in": "query", "name": "channelId", - "description": "(Optional) If specified, select workers who have a channel configuration with this channel", + "description": "If specified, select workers who have a channel configuration with this channel", "type": "string" }, { "in": "query", "name": "queueId", - "description": "(Optional) If specified, select workers who are assigned to this queue", + "description": "If specified, select workers who are assigned to this queue", "type": "string" }, { "in": "query", "name": "hasCapacity", - "description": "(Optional) If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel\r\n if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.", + "description": "If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel\r\n if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.", "type": "boolean" }, { @@ -1633,24 +1706,23 @@ "name": "maxpagesize", "description": "Number of objects to return per page", "type": "integer", - "format": "int32", - "default": 20 + "format": "int32" }, { "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "default": { - "description": "Error", + "200": { + "description": "Success", "schema": { - "$ref": "#/definitions/CommunicationErrorResponse" + "$ref": "#/definitions/RouterWorkerCollection" } }, - "200": { - "description": "Success", + "default": { + "description": "Error", "schema": { - "$ref": "#/definitions/WorkerCollection" + "$ref": "#/definitions/CommunicationErrorResponse" } } }, @@ -1681,14 +1753,17 @@ "properties": { "assignmentId": { "description": "The assignment Id that assigns a worker that has accepted an offer to a job.", + "minLength": 1, "type": "string" }, "jobId": { "description": "The Id of the job assigned.", + "minLength": 1, "type": "string" }, "workerId": { "description": "The Id of the worker that has been assigned this job.", + "minLength": 1, "type": "string" } } @@ -1724,8 +1799,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "note": { "description": "(Optional) A note that will be appended to the jobs' Notes collection with th current timestamp.", @@ -1747,7 +1821,7 @@ "type": "object", "properties": { "note": { - "description": "(Optional) A note that will be appended to the jobs' Notes collection with th current timestamp.", + "description": "(Optional) A note that will be appended to the jobs' Notes collection with the current timestamp.", "maxLength": 2000, "minLength": 0, "type": "string" @@ -1776,6 +1850,11 @@ "format": "int32", "description": "The amount of capacity that an instance of a job of this channel will consume of the total worker capacity.", "type": "integer" + }, + "maxNumberOfJobs": { + "format": "int32", + "description": "The maximum number of jobs that can be supported concurrently for this channel.", + "type": "integer" } } }, @@ -1800,7 +1879,7 @@ "description": "The queue selectors to resolve a queue for a given job.", "type": "array", "items": { - "description": "An attachment of label selectors to resolve a queue to a job from a classification policy" + "description": "An attachment of queue selectors to resolve a queue to a job from a classification policy" } }, "prioritizationRule": { @@ -1810,7 +1889,7 @@ "description": "The worker label selectors to attach to a given job.", "type": "array", "items": { - "description": "An attachment which attaches WorkerSelectors to workers" + "description": "An attachment which attaches worker selectors to a job" } } } @@ -1866,13 +1945,13 @@ "minLength": 0, "type": "string" }, - "closeTime": { + "closeAt": { "format": "date-time", - "description": "If not provided, worker capacity is released immediately along with a JobClosedEvent notification.\r\nIf provided, worker capacity is released along with a JobClosedEvent notification at a future time.", + "description": "If not provided, worker capacity is released immediately along with a JobClosedEvent notification.\r\nIf provided, worker capacity is released along with a JobClosedEvent notification at a future time in UTC.", "type": "string" }, "note": { - "description": "(Optional) A note that will be appended to the jobs' Notes collection with th current timestamp.", + "description": "(Optional) A note that will be appended to the jobs' Notes collection with the current timestamp.", "maxLength": 2000, "minLength": 0, "type": "string" @@ -1885,54 +1964,10 @@ "properties": {} }, "CommunicationError": { - "description": "The Communication Services error.", - "type": "object", - "required": [ - "code", - "message" - ], - "properties": { - "code": { - "type": "string", - "description": "The error code." - }, - "message": { - "type": "string", - "description": "The error message." - }, - "target": { - "type": "string", - "readOnly": true, - "description": "The error target." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CommunicationError" - }, - "readOnly": true, - "description": "Further details about specific errors that led to this error." - }, - "innererror": { - "x-ms-client-name": "innerError", - "readOnly": true, - "$ref": "#/definitions/CommunicationError", - "description": "The inner error if any." - } - } + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationError" }, "CommunicationErrorResponse": { - "description": "The Communication Services error.", - "type": "object", - "required": [ - "error" - ], - "properties": { - "error": { - "description": "The Communication Services error.", - "$ref": "#/definitions/CommunicationError" - } - } + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse" }, "CompleteJobRequest": { "description": "Request payload for completing jobs", @@ -1948,7 +1983,7 @@ "type": "string" }, "note": { - "description": "(Optional) A note that will be appended to the jobs' Notes collection with th current timestamp.", + "description": "(Optional) A note that will be appended to the jobs' Notes collection with the current timestamp.", "maxLength": 2000, "minLength": 0, "type": "string" @@ -1961,10 +1996,10 @@ "properties": {} }, "ConditionalQueueSelectorAttachment": { - "description": "Describes a set of label selectors that will be attached if the given condition resolves to true", + "description": "Describes a set of queue selectors that will be attached if the given condition resolves to true", "required": [ "condition", - "labelSelectors" + "queueSelectors" ], "type": "object", "allOf": [ @@ -1974,27 +2009,26 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "condition": { "$ref": "#/definitions/RouterRule" }, - "labelSelectors": { - "description": "The label selectors to attach", + "queueSelectors": { + "description": "The queue selectors to attach", "type": "array", "items": { - "$ref": "#/definitions/QueueSelector" + "$ref": "#/definitions/RouterQueueSelector" } } }, "x-ms-discriminator-value": "conditional" }, "ConditionalWorkerSelectorAttachment": { - "description": "Describes a set of label selectors that will be attached if the given condition resolves to true", + "description": "Describes a set of worker selectors that will be attached if the given condition resolves to true", "required": [ "condition", - "labelSelectors" + "workerSelectors" ], "type": "object", "allOf": [ @@ -2004,28 +2038,38 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "condition": { "$ref": "#/definitions/RouterRule" }, - "labelSelectors": { - "description": "The label selectors to attach", + "workerSelectors": { + "description": "The worker selectors to attach", "type": "array", "items": { - "$ref": "#/definitions/WorkerSelector" + "$ref": "#/definitions/RouterWorkerSelector" } } }, "x-ms-discriminator-value": "conditional" }, + "DeclineJobOfferRequest": { + "description": "Request payload for declining offers", + "type": "object", + "properties": { + "retryOfferAt": { + "format": "date-time", + "description": "If the RetryOfferAt is not provided, then this job will not be offered again to the worker who declined this job unless\r\nthe worker is de-registered and re-registered. If a RetryOfferAt time is provided, then the job will be re-matched to\r\neligible workers at the retry time in UTC. The worker that declined the job will also be eligible for the job at that time.", + "type": "string" + } + } + }, "DeclineJobOfferResult": { "description": "Response payload from declining a job", "type": "object", "properties": {} }, - "DirectMapRule": { + "DirectMapRouterRule": { "description": "A rule that return the same labels as the input labels.", "type": "object", "allOf": [ @@ -2043,9 +2087,7 @@ "DistributionMode": { "description": "Abstract base class for defining a distribution mode", "required": [ - "kind", - "maxConcurrentOffers", - "minConcurrentOffers" + "kind" ], "type": "object", "properties": { @@ -2083,9 +2125,9 @@ "description": "The human readable name of the policy.", "type": "string" }, - "offerTtlSeconds": { + "offerExpiresAfterSeconds": { "format": "double", - "description": "The expiry time of any offers created under this policy will be governed by the offer time to live.", + "description": "The number of seconds after which any offers created under this policy will be expired.", "type": "number" }, "mode": { @@ -2202,7 +2244,7 @@ "type": "object", "properties": { "trigger": { - "$ref": "#/definitions/JobExceptionTrigger" + "$ref": "#/definitions/ExceptionTrigger" }, "actions": { "description": "A dictionary collection of actions to perform once the exception is triggered. Key is the Id of each exception action.", @@ -2213,11 +2255,24 @@ } } }, - "ExpressionRule": { + "ExceptionTrigger": { + "description": "The trigger for this exception rule", + "required": [ + "kind" + ], + "type": "object", + "properties": { + "kind": { + "description": "The type discriminator describing a sub-type of ExceptionTrigger", + "type": "string" + } + }, + "discriminator": "kind" + }, + "ExpressionRouterRule": { "description": "A rule providing inline expression rules.", "required": [ - "expression", - "language" + "expression" ], "type": "object", "allOf": [ @@ -2236,8 +2291,8 @@ ], "type": "string", "x-ms-enum": { - "name": "ExpressionLanguage", - "modelAsString": false + "name": "ExpressionRouterRuleLanguage", + "modelAsString": true } }, "expression": { @@ -2249,7 +2304,7 @@ }, "x-ms-discriminator-value": "expression-rule" }, - "FunctionRule": { + "FunctionRouterRule": { "description": "A rule providing a binding to an HTTP Triggered Azure Function.", "required": [ "functionUri" @@ -2270,12 +2325,12 @@ "type": "string" }, "credential": { - "$ref": "#/definitions/FunctionRuleCredential" + "$ref": "#/definitions/FunctionRouterRuleCredential" } }, "x-ms-discriminator-value": "azure-function-rule" }, - "FunctionRuleCredential": { + "FunctionRouterRuleCredential": { "description": "Credentials used to access Azure function rule", "type": "object", "properties": { @@ -2299,210 +2354,59 @@ } } }, - "JobAssignment": { - "description": "Assignment details of a job to a worker", - "required": [ - "assignTime", - "id" - ], + "JobMatchingMode": { + "description": "", "type": "object", "properties": { - "id": { - "description": "The Id of the job assignment.", - "type": "string" - }, - "workerId": { - "description": "The Id of the Worker assigned to the job.", - "type": "string" + "modeType": { + "enum": [ + "queueAndMatchMode", + "scheduleAndSuspendMode", + "suspendMode" + ], + "type": "string", + "x-ms-enum": { + "name": "JobMatchModeType", + "modelAsString": true + } }, - "assignTime": { - "format": "date-time", - "description": "The assignment time of the job.", - "type": "string" + "queueAndMatchMode": { + "$ref": "#/definitions/QueueAndMatchMode" }, - "completeTime": { - "format": "date-time", - "description": "The time the job was marked as completed after being assigned.", - "type": "string" + "scheduleAndSuspendMode": { + "$ref": "#/definitions/ScheduleAndSuspendMode" }, - "closeTime": { - "format": "date-time", - "description": "The time the job was marked as closed after being completed.", - "type": "string" + "suspendMode": { + "$ref": "#/definitions/SuspendMode" } } }, - "JobCollection": { - "description": "A paged collection of jobs.", - "required": [ - "value" - ], + "LongestIdleMode": { + "description": "Jobs are directed to the worker who has been idle longest.", "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouterJobItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true + "allOf": [ + { + "$ref": "#/definitions/DistributionMode" } - } - }, - "JobExceptionTrigger": { - "description": "The trigger for this exception rule", - "required": [ - "kind" ], - "type": "object", "properties": { "kind": { - "description": "The type discriminator describing a sub-type of ExceptionTrigger", "type": "string" } }, - "discriminator": "kind" + "x-ms-discriminator-value": "longest-idle" }, - "JobOffer": { - "description": "An offer of a job to a worker", - "required": [ - "capacityCost", - "id", - "jobId" - ], + "ManualReclassifyExceptionAction": { + "description": "An action that manually reclassifies a job by providing the queue, priority and worker selectors.", "type": "object", - "properties": { - "id": { - "description": "The Id of the offer.", - "type": "string" - }, - "jobId": { - "description": "The Id of the job.", - "type": "string" - }, - "capacityCost": { - "format": "int32", - "description": "The capacity cost consumed by the job offer.", - "type": "integer" - }, - "offerTimeUtc": { - "format": "date-time", - "description": "The time the offer was created.", - "type": "string" - }, - "expiryTimeUtc": { - "format": "date-time", - "description": "The time that the offer will expire.", - "type": "string" - } - } - }, - "JobPositionDetails": { - "description": "Dto for JobPositionDetails.", - "required": [ - "estimatedWaitTimeMinutes", - "jobId", - "position", - "queueId", - "queueLength" - ], - "type": "object", - "properties": { - "jobId": { - "description": "Id of the job these details are about.", - "type": "string" - }, - "position": { - "format": "int32", - "description": "Position of the job in question within that queue.", - "type": "integer" - }, - "queueId": { - "description": "Id of the queue this job is enqueued in.", - "type": "string" - }, - "queueLength": { - "format": "int32", - "description": "Length of the queue: total number of enqueued jobs.", - "type": "integer" - }, - "estimatedWaitTimeMinutes": { - "format": "double", - "description": "Estimated wait time of the job rounded up to the nearest minute", - "type": "number" - } - } - }, - "JobQueue": { - "description": "A queue that can contain jobs to be routed.", - "type": "object", - "properties": { - "id": { - "description": "The Id of this queue", - "type": "string", - "readOnly": true - }, - "name": { - "description": "The name of this queue.", - "type": "string" - }, - "distributionPolicyId": { - "description": "The ID of the distribution policy that will determine how a job is distributed to workers.", - "type": "string" - }, - "labels": { - "description": "A set of key/value pairs that are identifying attributes used by the rules engines to make decisions.", - "type": "object", - "additionalProperties": {} - }, - "exceptionPolicyId": { - "description": "(Optional) The ID of the exception policy that determines various job escalation rules.", - "type": "string" - } - } - }, - "JobQueueItem": { - "description": "Paged instance of JobQueue", - "type": "object", - "properties": { - "jobQueue": { - "$ref": "#/definitions/JobQueue" - }, - "etag": { - "description": "(Optional) The Concurrency Token.", - "type": "string" - } - } - }, - "LongestIdleMode": { - "description": "Jobs are directed to the worker who has been idle longest.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionMode" - } - ], + "allOf": [ + { + "$ref": "#/definitions/ExceptionAction" + } + ], "properties": { "kind": { "type": "string" - } - }, - "x-ms-discriminator-value": "longest-idle" - }, - "ManualReclassifyExceptionAction": { - "description": "An action that manually reclassifies a job by providing the queue, priority and worker selectors.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExceptionAction" - } - ], - "properties": { - "kind": { - "type": "string", - "readOnly": true }, "queueId": { "description": "Updated QueueId.", @@ -2519,14 +2423,32 @@ "description": "Updated WorkerSelectors.", "type": "array", "items": { - "$ref": "#/definitions/WorkerSelector" + "$ref": "#/definitions/RouterWorkerSelector" } } }, "x-ms-discriminator-value": "manual-reclassify" }, + "Oauth2ClientCredential": { + "description": "OAuth2.0 Credentials used to Contoso's Authorization server.\r\nReference: https://www.oauth.com/oauth2-servers/access-tokens/client-credentials/", + "type": "object", + "properties": { + "clientId": { + "description": "ClientId for Contoso Authorization server.", + "maxLength": 500, + "minLength": 0, + "type": "string" + }, + "clientSecret": { + "description": "Client secret for Contoso Authorization server.", + "maxLength": 500, + "minLength": 0, + "type": "string" + } + } + }, "PassThroughQueueSelectorAttachment": { - "description": "Attaches a label selector where the value is pass through from the job label with the same key", + "description": "Attaches a queue selector where the value is passed through from the job label with the same key", "required": [ "key", "labelOperator" @@ -2539,8 +2461,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "key": { "description": "The label key to query against", @@ -2561,14 +2482,14 @@ "type": "string", "x-ms-enum": { "name": "LabelOperator", - "modelAsString": false + "modelAsString": true } } }, "x-ms-discriminator-value": "pass-through" }, "PassThroughWorkerSelectorAttachment": { - "description": "Attaches a label selector where the value is pass through from the job label with the same key", + "description": "Attaches a worker selector where the value is passed through from the job label with the same key", "required": [ "key", "labelOperator" @@ -2581,8 +2502,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "key": { "description": "The label key to query against", @@ -2603,10 +2523,10 @@ "type": "string", "x-ms-enum": { "name": "LabelOperator", - "modelAsString": false + "modelAsString": true } }, - "ttlSeconds": { + "expiresAfterSeconds": { "format": "double", "description": "Describes how long the attached label selector is valid in seconds.", "type": "number" @@ -2614,29 +2534,9 @@ }, "x-ms-discriminator-value": "pass-through" }, - "QueueAssignment": { - "description": "An assignment of a worker to a queue", - "type": "object", - "properties": {} - }, - "QueueCollection": { - "description": "A paged collection of queues.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/JobQueueItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true - } - } + "QueueAndMatchMode": { + "description": "", + "type": "object" }, "QueueLengthExceptionTrigger": { "description": "Trigger for an exception action on exceeding queue length", @@ -2646,7 +2546,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/JobExceptionTrigger" + "$ref": "#/definitions/ExceptionTrigger" } ], "properties": { @@ -2661,92 +2561,24 @@ }, "x-ms-discriminator-value": "queue-length" }, - "QueueSelector": { - "description": "Describes a condition that must be met against a set of labels for queue selection", - "required": [ - "key", - "labelOperator" - ], - "type": "object", - "properties": { - "key": { - "description": "The label key to query against", - "maxLength": 500, - "minLength": 0, - "type": "string" - }, - "labelOperator": { - "description": "Describes how the value of the label is compared to the value defined on the label selector", - "enum": [ - "equal", - "notEqual", - "lessThan", - "lessThanEqual", - "greaterThan", - "greaterThanEqual" - ], - "type": "string", - "x-ms-enum": { - "name": "LabelOperator", - "modelAsString": false - } - }, - "value": { - "description": "The value to compare against the actual label value with the given operator", - "type": "object" - } - } - }, "QueueSelectorAttachment": { - "description": "An attachment of label selectors to resolve a queue to a job from a classification policy", + "description": "An attachment of queue selectors to resolve a queue to a job from a classification policy", "required": [ "kind" ], "type": "object", "properties": { "kind": { - "description": "The type discriminator describing the type of label selector attachment", + "description": "The type discriminator describing the type of queue selector attachment", "type": "string" } }, "discriminator": "kind" }, - "QueueStatistics": { - "description": "Statistics for the queue", - "required": [ - "length", - "queueId" - ], - "type": "object", - "properties": { - "queueId": { - "description": "Id of the queue these details are about.", - "type": "string" - }, - "length": { - "format": "int32", - "description": "Length of the queue: total number of enqueued jobs.", - "type": "integer" - }, - "estimatedWaitTimeMinutes": { - "description": "The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority", - "type": "object", - "additionalProperties": { - "format": "double", - "type": "number" - } - }, - "longestJobWaitTimeMinutes": { - "format": "double", - "description": "The wait time of the job that has been enqueued in this queue for the longest.", - "type": "number" - } - } - }, "QueueWeightedAllocation": { - "description": "Contains the weight percentage and label selectors to be applied if selected for weighted distributions.", + "description": "Contains the weight percentage and queue selectors to be applied if selected for weighted distributions.", "required": [ - "labelSelectors", + "queueSelectors", "weight" ], "type": "object", @@ -2756,11 +2588,11 @@ "description": "The percentage of this weight, expressed as a fraction of 1.", "type": "number" }, - "labelSelectors": { - "description": "A collection of label selectors that will be applied if this allocation is selected.", + "queueSelectors": { + "description": "A collection of queue selectors that will be applied if this allocation is selected.", "type": "array", "items": { - "$ref": "#/definitions/QueueSelector" + "$ref": "#/definitions/RouterQueueSelector" } } } @@ -2775,8 +2607,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "classificationPolicyId": { "description": "(optional) The new classification policy that will determine queue, priority and worker selectors.", @@ -2794,8 +2625,7 @@ }, "ReclassifyJobRequest": { "description": "Request payload for reclassifying jobs", - "type": "object", - "properties": {} + "type": "object" }, "ReclassifyJobResult": { "description": "Response payload from reclassifying a job", @@ -2830,8 +2660,8 @@ "description": "Reference to an external parent context, eg. call ID.", "type": "string" }, - "jobStatus": { - "description": "The state of the Job.", + "status": { + "description": "The status of the Job.", "enum": [ "pendingClassification", "queued", @@ -2840,18 +2670,22 @@ "closed", "cancelled", "classificationFailed", - "created" + "created", + "pendingSchedule", + "scheduled", + "scheduleFailed", + "waitingForActivation" ], "type": "string", "readOnly": true, "x-ms-enum": { "name": "RouterJobStatus", - "modelAsString": false + "modelAsString": true } }, - "enqueueTimeUtc": { + "enqueuedAt": { "format": "date-time", - "description": "The time a job was queued.", + "description": "The time a job was queued in UTC.", "type": "string", "readOnly": true }, @@ -2880,14 +2714,14 @@ "description": "A collection of manually specified label selectors, which a worker must satisfy in order to process this job.", "type": "array", "items": { - "$ref": "#/definitions/WorkerSelector" + "$ref": "#/definitions/RouterWorkerSelector" } }, "attachedWorkerSelectors": { "description": "A collection of label selectors attached by a classification policy, which a worker must satisfy in order to process this job.", "type": "array", "items": { - "$ref": "#/definitions/WorkerSelector" + "$ref": "#/definitions/RouterWorkerSelector" }, "readOnly": true }, @@ -2900,7 +2734,7 @@ "description": "A collection of the assignments of the job.\r\nKey is AssignmentId.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/JobAssignment" + "$ref": "#/definitions/RouterJobAssignment" }, "readOnly": true }, @@ -2915,24 +2749,293 @@ "additionalProperties": { "type": "string" } + }, + "scheduledAt": { + "format": "date-time", + "description": "If set, job will be scheduled to be enqueued at a given time", + "type": "string", + "readOnly": true + }, + "matchingMode": { + "$ref": "#/definitions/JobMatchingMode" } } }, - "RouterJobItem": { - "description": "Paged instance of RouterJob", + "RouterJobAssignment": { + "description": "Assignment details of a job to a worker", + "required": [ + "assignedAt", + "assignmentId" + ], "type": "object", "properties": { - "routerJob": { - "$ref": "#/definitions/RouterJob" + "assignmentId": { + "description": "The Id of the job assignment.", + "minLength": 1, + "type": "string" }, - "etag": { - "description": "(Optional) The Concurrency Token.", + "workerId": { + "description": "The Id of the Worker assigned to the job.", + "type": "string" + }, + "assignedAt": { + "format": "date-time", + "description": "The assignment time of the job in UTC.", + "type": "string" + }, + "completedAt": { + "format": "date-time", + "description": "The time the job was marked as completed after being assigned in UTC.", + "type": "string" + }, + "closedAt": { + "format": "date-time", + "description": "The time the job was marked as closed after being completed in UTC.", "type": "string" } } }, - "RouterRule": { - "description": "A rule of one of the following types:\r\n \r\nStaticRule: A rule providing static rules that always return the same result, regardless of input.\r\nDirectMapRule: A rule that return the same labels as the input labels.\r\nExpressionRule: A rule providing inline expression rules.\r\nAzureFunctionRule: A rule providing a binding to an HTTP Triggered Azure Function.", + "RouterJobCollection": { + "description": "A paged collection of jobs.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouterJobItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true + } + } + }, + "RouterJobItem": { + "description": "Paged instance of RouterJob", + "type": "object", + "properties": { + "job": { + "$ref": "#/definitions/RouterJob" + }, + "etag": { + "description": "(Optional) The Concurrency Token.", + "type": "string" + } + } + }, + "RouterJobOffer": { + "description": "An offer of a job to a worker", + "required": [ + "capacityCost", + "jobId", + "offerId" + ], + "type": "object", + "properties": { + "offerId": { + "description": "The Id of the offer.", + "minLength": 1, + "type": "string" + }, + "jobId": { + "description": "The Id of the job.", + "minLength": 1, + "type": "string" + }, + "capacityCost": { + "format": "int32", + "description": "The capacity cost consumed by the job offer.", + "type": "integer" + }, + "offeredAt": { + "format": "date-time", + "description": "The time the offer was created in UTC.", + "type": "string" + }, + "expiresAt": { + "format": "date-time", + "description": "The time that the offer will expire in UTC.", + "type": "string" + } + } + }, + "RouterJobPositionDetails": { + "description": "Position and estimated wait time for a job.", + "required": [ + "estimatedWaitTimeMinutes", + "jobId", + "position", + "queueId", + "queueLength" + ], + "type": "object", + "properties": { + "jobId": { + "description": "Id of the job these details are about.", + "minLength": 1, + "type": "string" + }, + "position": { + "format": "int32", + "description": "Position of the job in question within that queue.", + "type": "integer" + }, + "queueId": { + "description": "Id of the queue this job is enqueued in.", + "minLength": 1, + "type": "string" + }, + "queueLength": { + "format": "int32", + "description": "Length of the queue: total number of enqueued jobs.", + "type": "integer" + }, + "estimatedWaitTimeMinutes": { + "format": "double", + "description": "Estimated wait time of the job rounded up to the nearest minute", + "type": "number" + } + } + }, + "RouterQueue": { + "description": "A queue that can contain jobs to be routed.", + "type": "object", + "properties": { + "id": { + "description": "The Id of this queue", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of this queue.", + "type": "string" + }, + "distributionPolicyId": { + "description": "The ID of the distribution policy that will determine how a job is distributed to workers.", + "type": "string" + }, + "labels": { + "description": "A set of key/value pairs that are identifying attributes used by the rules engines to make decisions.", + "type": "object", + "additionalProperties": {} + }, + "exceptionPolicyId": { + "description": "(Optional) The ID of the exception policy that determines various job escalation rules.", + "type": "string" + } + } + }, + "RouterQueueAssignment": { + "description": "An assignment of a worker to a queue", + "type": "object" + }, + "RouterQueueCollection": { + "description": "A paged collection of queues.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouterQueueItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true + } + } + }, + "RouterQueueItem": { + "description": "Paged instance of RouterQueue", + "type": "object", + "properties": { + "queue": { + "$ref": "#/definitions/RouterQueue" + }, + "etag": { + "description": "(Optional) The Concurrency Token.", + "type": "string" + } + } + }, + "RouterQueueSelector": { + "description": "Describes a condition that must be met against a set of labels for queue selection", + "required": [ + "key", + "labelOperator" + ], + "type": "object", + "properties": { + "key": { + "description": "The label key to query against", + "maxLength": 500, + "minLength": 0, + "type": "string" + }, + "labelOperator": { + "description": "Describes how the value of the label is compared to the value defined on the label selector", + "enum": [ + "equal", + "notEqual", + "lessThan", + "lessThanEqual", + "greaterThan", + "greaterThanEqual" + ], + "type": "string", + "x-ms-enum": { + "name": "LabelOperator", + "modelAsString": true + } + }, + "value": { + "description": "The value to compare against the actual label value with the given operator", + "type": "object" + } + } + }, + "RouterQueueStatistics": { + "description": "Statistics for the queue", + "required": [ + "length", + "queueId" + ], + "type": "object", + "properties": { + "queueId": { + "description": "Id of the queue these details are about.", + "minLength": 1, + "type": "string" + }, + "length": { + "format": "int32", + "description": "Length of the queue: total number of enqueued jobs.", + "type": "integer" + }, + "estimatedWaitTimeMinutes": { + "description": "The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority", + "type": "object", + "additionalProperties": { + "format": "double", + "type": "number" + } + }, + "longestJobWaitTimeMinutes": { + "format": "double", + "description": "The wait time of the job that has been enqueued in this queue for the longest.", + "type": "number" + } + } + }, + "RouterRule": { + "description": "A rule of one of the following types:\r\n \r\nStaticRule: A rule providing static rules that always return the same result, regardless of input.\r\nDirectMapRule: A rule that return the same labels as the input labels.\r\nExpressionRule: A rule providing inline expression rules.\r\nAzureFunctionRule: A rule providing a binding to an HTTP Triggered Azure Function.\r\nWebhookRule: A rule providing a binding to a webserver following OAuth2.0 authentication protocol.", "required": [ "kind" ], @@ -2961,13 +3064,17 @@ "inactive" ], "type": "string", - "readOnly": true + "readOnly": true, + "x-ms-enum": { + "name": "RouterWorkerState", + "modelAsString": true + } }, "queueAssignments": { "description": "The queue(s) that this worker can receive work from.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/QueueAssignment" + "$ref": "#/definitions/RouterQueueAssignment" } }, "totalCapacity": { @@ -2996,7 +3103,7 @@ "description": "A list of active offers issued to this worker.", "type": "array", "items": { - "$ref": "#/definitions/JobOffer" + "$ref": "#/definitions/RouterJobOffer" }, "readOnly": true }, @@ -3004,7 +3111,7 @@ "description": "A list of assigned jobs attached to this worker.", "type": "array", "items": { - "$ref": "#/definitions/WorkerAssignment" + "$ref": "#/definitions/RouterWorkerAssignment" }, "readOnly": true }, @@ -3020,11 +3127,62 @@ } } }, + "RouterWorkerAssignment": { + "description": "The assignment for a worker to a job", + "required": [ + "assignedAt", + "assignmentId", + "capacityCost", + "jobId" + ], + "type": "object", + "properties": { + "assignmentId": { + "description": "The Id of the assignment.", + "minLength": 1, + "type": "string" + }, + "jobId": { + "description": "The Id of the Job assigned.", + "minLength": 1, + "type": "string" + }, + "capacityCost": { + "format": "int32", + "description": "The amount of capacity this assignment has consumed on the worker.", + "type": "integer" + }, + "assignedAt": { + "format": "date-time", + "description": "The assignment time of the job in UTC.", + "type": "string" + } + } + }, + "RouterWorkerCollection": { + "description": "A paged collection of workers.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RouterWorkerItem" + } + }, + "nextLink": { + "type": "string", + "readOnly": true + } + } + }, "RouterWorkerItem": { "description": "Paged instance of RouterWorker", "type": "object", "properties": { - "routerWorker": { + "worker": { "$ref": "#/definitions/RouterWorker" }, "etag": { @@ -3033,8 +3191,72 @@ } } }, + "RouterWorkerSelector": { + "description": "Describes a condition that must be met against a set of labels for worker selection", + "required": [ + "key", + "labelOperator" + ], + "type": "object", + "properties": { + "key": { + "description": "The label key to query against", + "maxLength": 500, + "minLength": 0, + "type": "string" + }, + "labelOperator": { + "description": "Describes how the value of the label is compared to the value defined on the label selector", + "enum": [ + "equal", + "notEqual", + "lessThan", + "lessThanEqual", + "greaterThan", + "greaterThanEqual" + ], + "type": "string", + "x-ms-enum": { + "name": "LabelOperator", + "modelAsString": true + } + }, + "value": { + "description": "The value to compare against the actual label value with the given operator", + "type": "object" + }, + "expiresAfterSeconds": { + "format": "double", + "description": "Describes how long this label selector is valid in seconds.", + "type": "number" + }, + "expedite": { + "description": "Pushes the job to the front of the queue as long as this selector is active.", + "type": "boolean" + }, + "status": { + "description": "The status of the worker selector.", + "enum": [ + "active", + "expired" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "RouterWorkerSelectorStatus", + "modelAsString": true + } + }, + "expiresAt": { + "format": "date-time", + "description": "The time at which this worker selector expires in UTC", + "type": "string", + "readOnly": true + } + } + }, "RuleEngineQueueSelectorAttachment": { - "description": "Attaches labels to a worker when a RouterRule is resolved", + "description": "Attaches queue selectors to a job when the RouterRule is resolved", "required": [ "rule" ], @@ -3046,8 +3268,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "rule": { "$ref": "#/definitions/RouterRule" @@ -3056,7 +3277,7 @@ "x-ms-discriminator-value": "rule-engine" }, "RuleEngineWorkerSelectorAttachment": { - "description": "Attaches labels to a worker when a RouterRule is resolved", + "description": "Attaches worker selectors to a job when a RouterRule is resolved", "required": [ "rule" ], @@ -3068,8 +3289,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "rule": { "$ref": "#/definitions/RouterRule" @@ -3077,13 +3297,22 @@ }, "x-ms-discriminator-value": "rule-engine" }, + "ScheduleAndSuspendMode": { + "type": "object", + "properties": { + "scheduleAt": { + "format": "date-time", + "type": "string" + } + } + }, "ScoringRuleOptions": { "description": "Encapsulates all options that can be passed as parameters for scoring rule with BestWorkerMode", "type": "object", "properties": { "batchSize": { "format": "int32", - "description": "(Optional) Set batch size when AllowScoringBatchOfWorkers is set to true", + "description": "(Optional) Set batch size when AllowScoringBatchOfWorkers is set to true. Defaults to 20 if not configured.", "type": "integer" }, "scoringParameters": { @@ -3098,7 +3327,7 @@ "type": "string", "x-ms-enum": { "name": "ScoringRuleParameterSelector", - "modelAsString": false + "modelAsString": true } } }, @@ -3113,9 +3342,9 @@ } }, "StaticQueueSelectorAttachment": { - "description": "Describes a label selector that will always be attached", + "description": "Describes a queue selector that will be attached to the job", "required": [ - "labelSelector" + "queueSelector" ], "type": "object", "allOf": [ @@ -3125,16 +3354,15 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, - "labelSelector": { - "$ref": "#/definitions/QueueSelector" + "queueSelector": { + "$ref": "#/definitions/RouterQueueSelector" } }, "x-ms-discriminator-value": "static" }, - "StaticRule": { + "StaticRouterRule": { "description": "A rule providing static rules that always return the same result, regardless of input.", "type": "object", "allOf": [ @@ -3156,9 +3384,9 @@ "x-ms-discriminator-value": "static-rule" }, "StaticWorkerSelectorAttachment": { - "description": "Describes a label selector that will always be attached", + "description": "Describes a worker selector that will be attached to the job", "required": [ - "labelSelector" + "workerSelector" ], "type": "object", "allOf": [ @@ -3168,15 +3396,27 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, - "labelSelector": { - "$ref": "#/definitions/WorkerSelector" + "workerSelector": { + "$ref": "#/definitions/RouterWorkerSelector" } }, "x-ms-discriminator-value": "static" }, + "SuspendMode": { + "type": "object" + }, + "UnassignJobRequest": { + "description": "Request payload for unassigning a job.", + "type": "object", + "properties": { + "suspendMatching": { + "description": "If WaitForActivation is true, then the job is not queued for re-matching with a worker.", + "type": "boolean" + } + } + }, "UnassignJobResult": { "description": "Response payload after a job has been successfully unassigned.", "required": [ @@ -3187,6 +3427,7 @@ "properties": { "jobId": { "description": "The Id of the job unassigned.", + "minLength": 1, "type": "string" }, "unassignmentCount": { @@ -3204,7 +3445,7 @@ "type": "object", "allOf": [ { - "$ref": "#/definitions/JobExceptionTrigger" + "$ref": "#/definitions/ExceptionTrigger" } ], "properties": { @@ -3219,8 +3460,36 @@ }, "x-ms-discriminator-value": "wait-time" }, + "WebhookRouterRule": { + "description": "A rule providing a binding to an external web server.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/RouterRule" + } + ], + "properties": { + "kind": { + "type": "string" + }, + "authorizationServerUri": { + "format": "uri", + "description": "Uri for Authorization Server.", + "type": "string" + }, + "clientCredential": { + "$ref": "#/definitions/Oauth2ClientCredential" + }, + "webhookUri": { + "format": "uri", + "description": "Uri for Contoso's Web Server.", + "type": "string" + } + }, + "x-ms-discriminator-value": "webhook-rule" + }, "WeightedAllocationQueueSelectorAttachment": { - "description": "Describes multiple sets of label selectors, of which one will be selected and attached according to a weighting", + "description": "Describes multiple sets of queue selectors, of which one will be selected and attached according to a weighting", "required": [ "allocations" ], @@ -3232,8 +3501,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "allocations": { "description": "A collection of percentage based weighted allocations.", @@ -3246,7 +3514,7 @@ "x-ms-discriminator-value": "weighted-allocation-queue-selector" }, "WeightedAllocationWorkerSelectorAttachment": { - "description": "Describes multiple sets of label selectors, of which one will be selected and attached according to a weighting", + "description": "Describes multiple sets of worker selectors, of which one will be selected and attached according to a weighting", "required": [ "allocations" ], @@ -3258,8 +3526,7 @@ ], "properties": { "kind": { - "type": "string", - "readOnly": true + "type": "string" }, "allocations": { "description": "A collection of percentage based weighted allocations.", @@ -3271,138 +3538,25 @@ }, "x-ms-discriminator-value": "weighted-allocation-worker-selector" }, - "WorkerAssignment": { - "description": "The assignment for a worker to a job", - "required": [ - "assignTime", - "capacityCost", - "id", - "jobId" - ], - "type": "object", - "properties": { - "id": { - "description": "The Id of the assignment.", - "type": "string" - }, - "jobId": { - "description": "The Id of the Job assigned.", - "type": "string" - }, - "capacityCost": { - "format": "int32", - "description": "The amount of capacity this assignment has consumed on the worker.", - "type": "integer" - }, - "assignTime": { - "format": "date-time", - "description": "The assignment time of the job.", - "type": "string" - } - } - }, - "WorkerCollection": { - "description": "A paged collection of workers.", - "required": [ - "value" - ], - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RouterWorkerItem" - } - }, - "nextLink": { - "type": "string", - "readOnly": true - } - } - }, - "WorkerSelector": { - "description": "Describes a condition that must be met against a set of labels for worker selection", - "required": [ - "key", - "labelOperator" - ], - "type": "object", - "properties": { - "key": { - "description": "The label key to query against", - "maxLength": 500, - "minLength": 0, - "type": "string" - }, - "labelOperator": { - "description": "Describes how the value of the label is compared to the value defined on the label selector", - "enum": [ - "equal", - "notEqual", - "lessThan", - "lessThanEqual", - "greaterThan", - "greaterThanEqual" - ], - "type": "string", - "x-ms-enum": { - "name": "LabelOperator", - "modelAsString": false - } - }, - "value": { - "description": "The value to compare against the actual label value with the given operator", - "type": "object" - }, - "ttlSeconds": { - "format": "double", - "description": "Describes how long this label selector is valid in seconds.", - "type": "number" - }, - "expedite": { - "description": "Pushes the job to the front of the queue as long as this selector is active.", - "type": "boolean" - }, - "state": { - "description": "The state of the worker selector.", - "enum": [ - "active", - "expired" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "WorkerSelectorState", - "modelAsString": false - } - }, - "expireTime": { - "format": "date-time", - "description": "The time at which this worker selector expires in UTC", - "type": "string", - "readOnly": true - } - } - }, "WorkerSelectorAttachment": { - "description": "An attachment which attaches WorkerSelectors to workers", + "description": "An attachment which attaches worker selectors to a job", "required": [ "kind" ], "type": "object", "properties": { "kind": { - "description": "The type discriminator describing the type of label selector attachment", + "description": "The type discriminator describing the type of worker selector attachment", "type": "string" } }, "discriminator": "kind" }, "WorkerWeightedAllocation": { - "description": "Contains the weight percentage and label selectors to be applied if selected for weighted distributions.", + "description": "Contains the weight percentage and worker selectors to be applied if selected for weighted distributions.", "required": [ - "labelSelectors", - "weight" + "weight", + "workerSelectors" ], "type": "object", "properties": { @@ -3411,11 +3565,11 @@ "description": "The percentage of this weight, expressed as a fraction of 1.", "type": "number" }, - "labelSelectors": { - "description": "A collection of label selectors that will be applied if this allocation is selected.", + "workerSelectors": { + "description": "A collection of worker selectors that will be applied if this allocation is selected.", "type": "array", "items": { - "$ref": "#/definitions/WorkerSelector" + "$ref": "#/definitions/RouterWorkerSelector" } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_CreateClassificationPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_CreateClassificationPolicy.json index 8ff5b248bcac..43c4382c23d6 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_CreateClassificationPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_CreateClassificationPolicy.json @@ -14,7 +14,7 @@ "language": "PowerFx", "expression": "1 = 1" }, - "labelSelectors": [ + "queueSelectors": [ { "key": "foo", "labelOperator": "equal", @@ -43,7 +43,36 @@ "language": "PowerFx", "expression": "1 = 1" }, - "labelSelectors": [ + "queueSelectors": [ + { + "key": "foo", + "labelOperator": "equal", + "value": "bar" + } + ] + } + ], + "prioritizationRule": { + "kind": "static-rule", + "value": "2" + }, + "workerSelectors": [] + } + }, + "201": { + "body": { + "id": "90eb00c4-234e-4df7-a231-ef7895518384", + "name": "Main", + "fallbackQueueId": "MainQueue", + "queueSelectors": [ + { + "kind": "conditional", + "condition": { + "kind": "expression-rule", + "language": "PowerFx", + "expression": "1 = 1" + }, + "queueSelectors": [ { "key": "foo", "labelOperator": "equal", diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_GetClassificationPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_GetClassificationPolicy.json index 856b2693e158..0129b480c958 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_GetClassificationPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_GetClassificationPolicy.json @@ -18,7 +18,7 @@ "language": "PowerFx", "expression": "1 = 1" }, - "labelSelectors": [ + "queueSelectors": [ { "key": "foo", "labelOperator": "equal", @@ -35,7 +35,7 @@ { "kind": "pass-through", "key": "language", - "operator": "equal" + "labelOperator": "equal" } ] } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_UpdateClassificationPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_UpdateClassificationPolicy.json index 11248d69cb78..db256e6c1a95 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_UpdateClassificationPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ClassificationPolicies_UpdateClassificationPolicy.json @@ -21,10 +21,39 @@ "language": "PowerFx", "expression": "1 = 1" }, - "labelSelectors": [ + "queueSelectors": [ { "key": "foo", - "operator": "equal", + "labelOperator": "equal", + "value": "bar" + } + ] + } + ], + "prioritizationRule": { + "kind": "static-rule", + "value": "2" + }, + "workerSelectors": [] + } + }, + "201": { + "body": { + "id": "90eb00c4-234e-4df7-a231-ef7895518384", + "name": "MainUpdate", + "fallbackQueueId": "MainQueue", + "queueSelectors": [ + { + "kind": "conditional", + "condition": { + "kind": "expression-rule", + "language": "PowerFx", + "expression": "1 = 1" + }, + "queueSelectors": [ + { + "key": "foo", + "labelOperator": "equal", "value": "bar" } ] diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_CreateDistributionPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_CreateDistributionPolicy.json index 423edaf76c58..e64543f59711 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_CreateDistributionPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_CreateDistributionPolicy.json @@ -10,7 +10,7 @@ "maxConcurrentOffers": 5, "bypassSelectors": false }, - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, "name": "Main" } }, @@ -19,7 +19,20 @@ "body": { "id": "d9033d56-659c-437a-b5b7-4f3b14301dd4", "name": "Main", - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, + "mode": { + "kind": "longest-idle", + "minConcurrentOffers": 1, + "maxConcurrentOffers": 5, + "bypassSelectors": false + } + } + }, + "201": { + "body": { + "id": "d9033d56-659c-437a-b5b7-4f3b14301dd4", + "name": "Main", + "offerExpiresAfterSeconds": 300, "mode": { "kind": "longest-idle", "minConcurrentOffers": 1, diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_GetDistributionPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_GetDistributionPolicy.json index a626db14e183..458ff4f53e99 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_GetDistributionPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_GetDistributionPolicy.json @@ -9,7 +9,7 @@ "body": { "id": "MainDistributionPolicy", "name": "Main", - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, "mode": { "kind": "longest-idle", "minConcurrentOffers": 1, diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_ListDistributionPoliciesWithPageSize.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_ListDistributionPoliciesWithPageSize.json index 92f63e7c748f..5cbbe1e72b9e 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_ListDistributionPoliciesWithPageSize.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_ListDistributionPoliciesWithPageSize.json @@ -12,7 +12,7 @@ "distributionPolicy": { "id": "SecondaryDistributionPolicy", "name": "Secondary", - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, "mode": { "kind": "round-robin", "minConcurrentOffers": 1, @@ -26,7 +26,7 @@ "distributionPolicy": { "id": "MainDistributionPolicy", "name": "Main", - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, "mode": { "kind": "longest-idle", "minConcurrentOffers": 1, diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_UpdateDistributionPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_UpdateDistributionPolicy.json index 423edaf76c58..e64543f59711 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_UpdateDistributionPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/DistributionPolicies_UpdateDistributionPolicy.json @@ -10,7 +10,7 @@ "maxConcurrentOffers": 5, "bypassSelectors": false }, - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, "name": "Main" } }, @@ -19,7 +19,20 @@ "body": { "id": "d9033d56-659c-437a-b5b7-4f3b14301dd4", "name": "Main", - "offerTtlSeconds": 300, + "offerExpiresAfterSeconds": 300, + "mode": { + "kind": "longest-idle", + "minConcurrentOffers": 1, + "maxConcurrentOffers": 5, + "bypassSelectors": false + } + } + }, + "201": { + "body": { + "id": "d9033d56-659c-437a-b5b7-4f3b14301dd4", + "name": "Main", + "offerExpiresAfterSeconds": 300, "mode": { "kind": "longest-idle", "minConcurrentOffers": 1, diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_CreateExceptionPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_CreateExceptionPolicy.json index bd1324978c74..f932e59c4a6e 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_CreateExceptionPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_CreateExceptionPolicy.json @@ -47,6 +47,29 @@ } } } + }, + "201": { + "body": { + "id": "cf1cda69-6f41-45ac-b252-213293f1b1cb", + "name": "Main", + "exceptionRules": { + "MaxWaitTimeExceeded": { + "trigger": { + "kind": "wait-time", + "thresholdSeconds": 20 + }, + "actions": { + "MoveJobToEscalatedQueue": { + "kind": "reclassify", + "classificationPolicyId": "Main", + "labelsToUpsert": { + "escalated": true + } + } + } + } + } + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_UpdateExceptionPolicy.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_UpdateExceptionPolicy.json index dd5e5f365943..860e98a4bd25 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_UpdateExceptionPolicy.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/ExceptionPolicies_UpdateExceptionPolicy.json @@ -47,6 +47,29 @@ } } } + }, + "201": { + "body": { + "id": "cf1cda69-6f41-45ac-b252-213293f1b1cb", + "name": "Main test", + "exceptionRules": { + "MaxWaitTimeExceeded": { + "trigger": { + "kind": "wait-time", + "thresholdSeconds": 20 + }, + "actions": { + "MoveJobToEscalatedQueue": { + "kind": "reclassify", + "classificationPolicyId": "Main", + "labelsToUpsert": { + "escalated": true + } + } + } + } + } + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CloseJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CloseJob.json index 116e379e6d5a..3ef1667ada2a 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CloseJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CloseJob.json @@ -5,7 +5,8 @@ "id": "8780b28c-7079-4de1-9143-4d369289e958", "closeJobRequest": { "assignmentId": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "dispositionCode": "JobCompleted." + "dispositionCode": "JobCompleted.", + "note": "Closing job" } }, "responses": { diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CompleteJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CompleteJob.json index 2317cc2084e5..5e4cb3ce3c1b 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CompleteJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CompleteJob.json @@ -4,7 +4,8 @@ "api-version": "2022-07-18-preview", "id": "8780b28c-7079-4de1-9143-4d369289e958", "completeJobRequest": { - "assignmentId": "1d5896f3-8b54-40be-82d3-910323f5e2af" + "assignmentId": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "note": "Completing job" } }, "responses": { diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateJob.json index c23e72f4faf8..ceab14d181b5 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateJob.json @@ -15,7 +15,13 @@ "value": true } ], - "labels": {} + "labels": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } } }, "responses": { @@ -23,8 +29,39 @@ "body": { "id": "JobId", "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "jobStatus": "queued", - "enqueueTimeUtc": "2021-09-30T23:59:04.5311999+00:00", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", + "channelId": "CustomChatChannel", + "classificationPolicyId": null, + "queueId": "MainQueue", + "priority": 5, + "dispositionCode": null, + "requestedWorkerSelectors": [ + { + "key": "Sales", + "labelOperator": "equal", + "value": true, + "expiresAfterSeconds": null + } + ], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } + } + }, + "201": { + "body": { + "id": "JobId", + "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", "channelId": "CustomChatChannel", "classificationPolicyId": null, "queueId": "MainQueue", @@ -35,13 +72,19 @@ "key": "Sales", "labelOperator": "equal", "value": true, - "ttlSeconds": null + "expiresAfterSeconds": null } ], "attachedWorkerSelectors": [], "labels": {}, "assignments": {}, - "notes": {} + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateScheduledJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateScheduledJob.json new file mode 100644 index 000000000000..f194ed2bf6b1 --- /dev/null +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_CreateScheduledJob.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "endpoint": "https://contoso.westus.communications.azure.com", + "api-version": "2022-07-18-preview", + "id": "JobId", + "patch": { + "channelId": "CustomChatChannel", + "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "queueId": "MainQueue", + "priority": 5, + "requestedWorkerSelectors": [ + { + "key": "Sales", + "labelOperator": "equal", + "value": true + } + ], + "labels": {}, + "matchingMode": { + "modeType": "scheduleAndSuspendMode", + "queueAndMatchMode": null, + "scheduleAndSuspendMode": { + "scheduleAt": "2023-05-26T23:22:12.0774222+00:00" + }, + "suspendMode": null + } + } + }, + "responses": { + "200": { + "body": { + "id": "JobId", + "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", + "channelId": "CustomChatChannel", + "classificationPolicyId": null, + "queueId": "MainQueue", + "priority": 5, + "dispositionCode": null, + "requestedWorkerSelectors": [ + { + "key": "Sales", + "labelOperator": "equal", + "value": true, + "expiresAfterSeconds": null + } + ], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "notes": {}, + "matchingMode": { + "modeType": "scheduleAndSuspendMode", + "queueAndMatchMode": null, + "scheduleAndSuspendMode": { + "scheduleAt": "2023-05-26T23:22:12.0774222+00:00" + }, + "suspendMode": null + }, + "scheduledAt": null + } + }, + "201": { + "body": { + "id": "JobId", + "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", + "channelId": "CustomChatChannel", + "classificationPolicyId": null, + "queueId": "MainQueue", + "priority": 5, + "dispositionCode": null, + "requestedWorkerSelectors": [ + { + "key": "Sales", + "labelOperator": "equal", + "value": true, + "expiresAfterSeconds": null + } + ], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "notes": {}, + "matchingMode": { + "modeType": "scheduleAndSuspendMode", + "queueAndMatchMode": null, + "scheduleAndSuspendMode": { + "scheduleAt": "2023-05-26T23:22:12.0774222+00:00" + }, + "suspendMode": null + }, + "scheduledAt": null + } + } + } +} diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJob.json index 59ea8f552e52..4281ace192f4 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJob.json @@ -9,8 +9,8 @@ "body": { "id": "8780b28c-7079-4de1-9143-4d369289e958", "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "jobStatus": "queued", - "enqueueTimeUtc": "2021-09-30T23:59:04.5311999+00:00", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", "channelId": "CustomVoiceChannel", "classificationPolicyId": null, "queueId": "MainQueue", @@ -21,13 +21,19 @@ "key": "Sales", "labelOperator": "equal", "value": true, - "ttlSeconds": null + "expiresAfterSeconds": null } ], "attachedWorkerSelectors": [], "labels": {}, "assignments": {}, - "notes": {} + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJobsWithPageSize.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJobsWithPageSize.json index c50b00b3580e..21603b03288e 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJobsWithPageSize.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_GetJobsWithPageSize.json @@ -12,11 +12,11 @@ "body": { "value": [ { - "routerJob": { + "job": { "id": "383541b3-5637-4af6-8aac-3391da8a578a", "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "jobStatus": "queued", - "enqueueTimeUtc": "2021-09-30T23:56:21.883322+00:00", + "status": "queued", + "enqueuedAt": "2021-09-30T23:56:21.883322+00:00", "channelId": "CustomChatChannel", "classificationPolicyId": null, "queueId": "MainQueue", @@ -24,16 +24,22 @@ "dispositionCode": null, "labels": {}, "assignments": {}, - "notes": {} + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } }, "etag": "etag" }, { - "routerJob": { + "job": { "id": "c571dd84-1ca7-4606-a77a-f38d9e4ae513", "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "jobStatus": "queued", - "enqueueTimeUtc": "2021-09-30T23:57:54.041179+00:00", + "status": "queued", + "enqueuedAt": "2021-09-30T23:57:54.041179+00:00", "channelId": "CustomChatChannel2", "classificationPolicyId": null, "queueId": "MainQueue", @@ -41,7 +47,13 @@ "dispositionCode": null, "labels": {}, "assignments": {}, - "notes": {} + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } }, "etag": "etag" } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UnassignJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UnassignJob.json index 4ea1116b082b..3c4f782d560b 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UnassignJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UnassignJob.json @@ -3,7 +3,10 @@ "endpoint": "https://contoso.westus.communications.azure.com", "api-version": "2022-07-18-preview", "id": "8780b28c-7079-4de1-9143-4d369289e958", - "assignmentId": "1d5896f3-8b54-40be-82d3-910323f5e2af" + "assignmentId": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "unassignJobRequest": { + "suspendMatching": false + } }, "responses": { "200": { diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UpdateJob.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UpdateJob.json index d9acf28bab39..8190f25baaad 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UpdateJob.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Jobs_UpdateJob.json @@ -12,8 +12,8 @@ "body": { "id": "383541b3-5637-4af6-8aac-3391da8a578a", "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", - "jobStatus": "queued", - "enqueueTimeUtc": "2021-09-30T23:59:04.5311999+00:00", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", "channelId": "CustomVoiceChannel", "classificationPolicyId": null, "queueId": "MainQueue", @@ -24,13 +24,50 @@ "key": "Sales", "labelOperator": "equal", "value": true, - "ttlSeconds": null + "expiresAfterSeconds": null } ], "attachedWorkerSelectors": [], "labels": {}, "assignments": {}, - "notes": {} + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } + } + }, + "201": { + "body": { + "id": "383541b3-5637-4af6-8aac-3391da8a578a", + "channelReference": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "status": "queued", + "enqueuedAt": "2021-09-30T23:59:04.5311999+00:00", + "channelId": "CustomVoiceChannel", + "classificationPolicyId": null, + "queueId": "MainQueue", + "priority": 5, + "dispositionCode": null, + "requestedWorkerSelectors": [ + { + "key": "Sales", + "labelOperator": "equal", + "value": true, + "expiresAfterSeconds": null + } + ], + "attachedWorkerSelectors": [], + "labels": {}, + "assignments": {}, + "notes": {}, + "matchingMode": { + "modeType": "queueAndMatchMode", + "queueAndMatchMode": {}, + "scheduleAndSuspendMode": null, + "suspendMode": null + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Offers_DeclineJobOffer.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Offers_DeclineJobOffer.json index b95b2306fdd3..a0fffb9fa735 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Offers_DeclineJobOffer.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Offers_DeclineJobOffer.json @@ -3,7 +3,10 @@ "endpoint": "https://contoso.westus.communications.azure.com", "api-version": "2022-07-18-preview", "workerId": "DefaultWorker", - "offerId": "1d5896f3-8b54-40be-82d3-910323f5e2af" + "offerId": "1d5896f3-8b54-40be-82d3-910323f5e2af", + "declineJobOfferRequest": { + "retryOfferAt": "2023-05-26T00:00:00.0000000Z" + } }, "responses": { "200": { diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_CreateQueue.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_CreateQueue.json index 516ddc8ee317..9d62d76d3c22 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_CreateQueue.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_CreateQueue.json @@ -8,9 +8,7 @@ "name": "Main", "labels": {}, "exceptionPolicyId": "MainExceptionPolicy" - }, - "repeatabilityRequestId": "5aac88f9-d24a-4c53-9d90-86a801667cbe", - "repeatabilityFirstSent": "Tue, 23 Nov 2021 08:49:37 GMT" + } }, "responses": { "200": { @@ -21,6 +19,15 @@ "labels": {}, "exceptionPolicyId": "MainExceptionPolicy" } + }, + "201": { + "body": { + "id": "246d5a06-c04a-4b6b-8a34-02bbd9fdad68", + "name": "Main", + "distributionPolicyId": "MainDistributionPolicy", + "labels": {}, + "exceptionPolicyId": "MainExceptionPolicy" + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_ListQueuesWithPageSize.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_ListQueuesWithPageSize.json index 83c42f9feac1..931f665e05d2 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_ListQueuesWithPageSize.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_ListQueuesWithPageSize.json @@ -9,7 +9,7 @@ "body": { "value": [ { - "jobQueue": { + "queue": { "id": "MainQueue", "name": "Main", "distributionPolicyId": "MainDistributionPolicy", @@ -19,7 +19,7 @@ "etag": "etag" }, { - "jobQueue": { + "queue": { "id": "SecondaryQueue", "name": "Secondary", "distributionPolicyId": "SecondaryDistributionPolicy", diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_UpdateQueue.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_UpdateQueue.json index b2546df698d0..29f8024b1908 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_UpdateQueue.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Queues_UpdateQueue.json @@ -17,6 +17,15 @@ "labels": {}, "exceptionPolicyId": "MainExceptionPolicy" } + }, + "201": { + "body": { + "id": "MainQueue", + "name": "Main", + "distributionPolicyId": "MainDistributionPolicy", + "labels": {}, + "exceptionPolicyId": "MainExceptionPolicy" + } } } } diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_CreateWorker.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_CreateWorker.json index 6cee0f131a8d..214f7a895dd0 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_CreateWorker.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_CreateWorker.json @@ -13,10 +13,12 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "availableForOffers": false @@ -35,10 +37,38 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 + } + }, + "offers": [], + "assignedJobs": [], + "loadRatio": 0, + "availableForOffers": false + } + }, + "201": { + "body": { + "id": "WorkerId", + "state": "inactive", + "queueAssignments": { + "MainQueue": {} + }, + "totalCapacity": 10, + "labels": {}, + "tags": {}, + "channelConfigurations": { + "CustomChatChannel": { + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 + }, + "CustomVoiceChannel": { + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterActiveWorker.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterActiveWorker.json index d4c7d38068f6..548b2074f72a 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterActiveWorker.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterActiveWorker.json @@ -21,10 +21,38 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 + } + }, + "offers": [], + "assignedJobs": [], + "loadRatio": 0, + "availableForOffers": false + } + }, + "201": { + "body": { + "id": "WorkerId", + "state": "draining", + "queueAssignments": { + "MainQueue": {} + }, + "totalCapacity": 10, + "labels": {}, + "tags": {}, + "channelConfigurations": { + "CustomChatChannel": { + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 + }, + "CustomVoiceChannel": { + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterInactiveWorker.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterInactiveWorker.json index 4dc70bac9356..08ae919f625a 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterInactiveWorker.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_DeregisterInactiveWorker.json @@ -21,10 +21,38 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 + } + }, + "offers": [], + "assignedJobs": [], + "loadRatio": 0, + "availableForOffers": false + } + }, + "201": { + "body": { + "id": "WorkerId", + "state": "inactive", + "queueAssignments": { + "MainQueue": {} + }, + "totalCapacity": 10, + "labels": {}, + "tags": {}, + "channelConfigurations": { + "CustomChatChannel": { + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 + }, + "CustomVoiceChannel": { + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetAvailableWorkersByChannel.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetAvailableWorkersByChannel.json index d3ae0d142b7c..49872a55c30d 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetAvailableWorkersByChannel.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetAvailableWorkersByChannel.json @@ -2,7 +2,7 @@ "parameters": { "endpoint": "https://contoso.westus.communications.azure.com", "api-version": "2022-07-18-preview", - "status": "active", + "state": "active", "channelId": "CustomChatChannel", "hasCapacity": true }, @@ -11,7 +11,7 @@ "body": { "value": [ { - "routerWorker": { + "worker": { "id": "DefaultWorker", "state": "active", "queueAssignments": { @@ -23,10 +23,12 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 100 + "capacityCostPerJob": 100, + "maxNumberOfJobs": 1 } }, "offers": [], @@ -37,7 +39,7 @@ "etag": "etag" }, { - "routerWorker": { + "worker": { "id": "SecondWorker", "state": "active", "queueAssignments": { @@ -49,10 +51,12 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 100 + "capacityCostPerJob": 100, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetWorkersWithPageSize.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetWorkersWithPageSize.json index 3748c4bb48d9..fa43399597a4 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetWorkersWithPageSize.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_GetWorkersWithPageSize.json @@ -9,7 +9,7 @@ "body": { "value": [ { - "routerWorker": { + "worker": { "id": "DefaultWorker", "state": "active", "queueAssignments": { @@ -21,10 +21,12 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 100 + "capacityCostPerJob": 100, + "maxNumberOfJobs": 1 } }, "offers": [], @@ -35,7 +37,7 @@ "etag": "etag" }, { - "routerWorker": { + "worker": { "id": "SecondWorker", "state": "active", "queueAssignments": { @@ -47,10 +49,12 @@ "tags": {}, "channelConfigurations": { "CustomEmailChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 4 }, "CustomSMSChannel": { - "capacityCostPerJob": 100 + "capacityCostPerJob": 100, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_RegisterWorker.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_RegisterWorker.json index bcd1f5a365b3..04040fd1df99 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_RegisterWorker.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_RegisterWorker.json @@ -21,10 +21,38 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 + } + }, + "offers": [], + "assignedJobs": [], + "loadRatio": 0, + "availableForOffers": true + } + }, + "201": { + "body": { + "id": "WorkerId", + "state": "active", + "queueAssignments": { + "MainQueue": {} + }, + "totalCapacity": 10, + "labels": {}, + "tags": {}, + "channelConfigurations": { + "CustomChatChannel": { + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 + }, + "CustomVoiceChannel": { + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_UpdateWorker.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_UpdateWorker.json index 6cee0f131a8d..214f7a895dd0 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_UpdateWorker.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/examples/Workers_UpdateWorker.json @@ -13,10 +13,12 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "availableForOffers": false @@ -35,10 +37,38 @@ "tags": {}, "channelConfigurations": { "CustomChatChannel": { - "capacityCostPerJob": 11 + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 }, "CustomVoiceChannel": { - "capacityCostPerJob": 10 + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 + } + }, + "offers": [], + "assignedJobs": [], + "loadRatio": 0, + "availableForOffers": false + } + }, + "201": { + "body": { + "id": "WorkerId", + "state": "inactive", + "queueAssignments": { + "MainQueue": {} + }, + "totalCapacity": 10, + "labels": {}, + "tags": {}, + "channelConfigurations": { + "CustomChatChannel": { + "capacityCostPerJob": 11, + "maxNumberOfJobs": 4 + }, + "CustomVoiceChannel": { + "capacityCostPerJob": 10, + "maxNumberOfJobs": 1 } }, "offers": [], diff --git a/specification/communication/data-plane/JobRouter/readme.md b/specification/communication/data-plane/JobRouter/readme.md index 63e7979b2c1b..9fb06a381347 100644 --- a/specification/communication/data-plane/JobRouter/readme.md +++ b/specification/communication/data-plane/JobRouter/readme.md @@ -55,12 +55,6 @@ directive: transform: > $.type = "object"; $.additionalProperties["$ref"] = "#/definitions/ExceptionAction"; - -# Rename CommunicationError to JobRouterError - - from: swagger-document - where: '$.definitions.CommunicationError' - transform: > - $["x-ms-client-name"] = "JobRouterError"; ``` From 82639d7ed6adbb64704f2f9db779eabee9d8fec3 Mon Sep 17 00:00:00 2001 From: Shawn Fang <45607042+mssfang@users.noreply.github.com> Date: Wed, 12 Jul 2023 10:42:36 -0700 Subject: [PATCH 10/39] [OpenAI] Rename properties for Java (#24596) * renames * more renames * testing on the deploymentOrModelName * revert for no breaking changes --- specification/cognitiveservices/OpenAI.Inference/main.tsp | 3 ++- .../OpenAI.Inference/models/chat.completions.tsp | 1 + .../OpenAI.Inference/models/completions.create.tsp | 3 +++ .../OpenAI.Inference/models/embeddings.create.tsp | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/specification/cognitiveservices/OpenAI.Inference/main.tsp b/specification/cognitiveservices/OpenAI.Inference/main.tsp index 90b8cecb0bda..170ef8da71c6 100644 --- a/specification/cognitiveservices/OpenAI.Inference/main.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/main.tsp @@ -55,7 +55,8 @@ enum ServiceApiVersions { @TypeSpec.Rest.resource("deployments") model Deployment { @visibility("read") - @doc("deployment id of the deployed model") + @doc("Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.") + @projectedName("java", "deploymentOrModelName") @key deploymentId: string; } diff --git a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp index 4968671b3349..f207f6175538 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp @@ -217,6 +217,7 @@ model ChatCompletions { """) @projectedName("json", "created") @projectedName("csharp", "InternalCreatedSecondsAfterUnixEpoch") + @projectedName("java", "createdAt") created: int32; @doc(""" diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp index c3f695e16ecf..94fcfe9762bd 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp @@ -214,15 +214,18 @@ model CompletionsLogProbabilityModel { @doc("A collection of log probability values for the tokens in this completions data.") @projectedName("json", "token_logprobs") @projectedName("csharp", "TokenLogProbabilities") + @projectedName("java", "tokenLogProbabilities") tokenLogprobs: NullableFloat[]; @doc("A mapping of tokens to maximum log probability values in this completions data.") @projectedName("json", "top_logprobs") @projectedName("csharp", "TopLogProbabilities") + @projectedName("java", "topLogProbabilities") topLogprobs: Record[]; @doc("The text offsets associated with tokens in this completions data.") @projectedName("json", "text_offset") @projectedName("csharp", "TextOffsets") + @projectedName("java", "textOffsets") textOffset: int32[]; } diff --git a/specification/cognitiveservices/OpenAI.Inference/models/embeddings.create.tsp b/specification/cognitiveservices/OpenAI.Inference/models/embeddings.create.tsp index 506615ae7491..94806ec160c1 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/embeddings.create.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/embeddings.create.tsp @@ -60,6 +60,7 @@ model EmbeddingItem { embedding: float32[]; @doc("Index of the prompt to which the EmbeddingItem corresponds.") + @projectedName("java", "promptIndex") index: int32; } From 018905ddfbba9e08961964784a5de7093815b42e Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Wed, 12 Jul 2023 11:02:50 -0700 Subject: [PATCH 11/39] [TypeSpec] Upgrade to 0.46.0 (#24776) --- package-lock.json | 213 ++--- package.json | 20 +- .../AnomalyDetector/multivariate/models.tsp | 1 + .../AnomalyDetector/multivariate/routes.tsp | 16 +- .../AnomalyDetector/univariate/routes.tsp | 2 +- .../model.common.response.tsp | 1 + .../model.oncophenotype.tsp | 1 + .../model.trialmatcher.tsp | 2 + .../models/chat.completions.tsp | 1 - .../models/completions.create.tsp | 1 - .../OpenAI.Inference/routes.tsp | 2 +- .../AnomalyDetector/stable/v1.1/openapi.json | 441 ++++----- .../preview/2023-06-01-preview/generated.json | 246 ++--- .../preview/2023-07-01-preview/generated.json | 262 ++--- .../stable/2022-12-01/generated.json | 166 ++-- .../stable/2023-05-15/generated.json | 211 ++-- .../2023-04-30-preview/contentsafety.json | 270 +++--- .../preview/2023-03-01-preview/openapi.json | 369 ++++--- .../Microsoft.ManagedCcf/proposals.tsp | 1 + .../Microsoft.ManagedCcf/service_state.tsp | 2 +- .../Microsoft.ManagedCcf/transactions.tsp | 2 + .../preview/2023-06-01-preview/mccfgov.json | 577 ++++++----- .../Fleet.Management/fleet.tsp | 1 + .../Fleet.Management/fleetmember.tsp | 1 + .../Fleet.Management/helpers.tsp | 8 +- .../Fleet.Management/updaterun.tsp | 1 + .../preview/2022-09-02-preview/fleets.json | 266 +++--- .../preview/2023-03-15-preview/fleets.json | 541 +++++------ .../ContainerStorage.Management/main.tsp | 18 +- .../2023-03-01-preview/containerstorage.json | 688 +++++++------ .../Contoso.WidgetManager/main.tsp | 14 +- .../preview/2022-11-01-preview/widgets.json | 190 ++-- .../preview/2023-06-01-preview/EventGrid.json | 170 ++-- .../2023-05-01-preview/TrafficController.json | 268 +++--- .../sphere/Sphere.Management/catalog.tsp | 10 +- .../sphere/Sphere.Management/certificate.tsp | 4 +- .../sphere/Sphere.Management/common.tsp | 2 +- .../sphere/Sphere.Management/device.tsp | 2 +- .../sphere/Sphere.Management/deviceGroup.tsp | 4 +- .../sphere/Sphere.Management/product.tsp | 4 +- .../2022-09-01-preview/azuresphere.json | 904 +++++++++--------- .../Azure.AI.TextTranslation/routes.tsp | 4 +- .../stable/v3.0/openapi.json | 478 +++++---- 43 files changed, 3087 insertions(+), 3298 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0b2654b4a752..9643beae92ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,18 +12,18 @@ "@azure-tools/cadl-azure-resource-manager": "0.26.0", "@azure-tools/cadl-providerhub": "0.26.0", "@azure-tools/typespec-apiview": "0.4.4", - "@azure-tools/typespec-autorest": "0.31.0", - "@azure-tools/typespec-azure-core": "0.31.0", - "@azure-tools/typespec-azure-resource-manager": "0.31.0", - "@azure-tools/typespec-client-generator-core": "0.31.0", - "@azure-tools/typespec-providerhub": "0.31.0", + "@azure-tools/typespec-autorest": "0.32.0", + "@azure-tools/typespec-azure-core": "0.32.0", + "@azure-tools/typespec-azure-resource-manager": "0.32.0", + "@azure-tools/typespec-client-generator-core": "0.32.0", + "@azure-tools/typespec-providerhub": "0.32.0", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", - "@typespec/compiler": "0.45.2", - "@typespec/http": "0.45.0", - "@typespec/openapi": "0.45.0", - "@typespec/rest": "0.45.0", - "@typespec/versioning": "0.45.0", + "@typespec/compiler": "0.46.0", + "@typespec/http": "0.46.0", + "@typespec/openapi": "0.46.0", + "@typespec/rest": "0.46.0", + "@typespec/versioning": "0.46.0", "azure-rest-api-specs-eng-tools": "file:eng/tools", "prettier": "^2.8.8", "typescript": "~5.0.4" @@ -36,9 +36,9 @@ } }, "eng/tools/node_modules/@types/node": { - "version": "18.16.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.18.tgz", - "integrity": "sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==", + "version": "18.16.19", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.19.tgz", + "integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==", "dev": true }, "eng/tools/TypeSpecValidation": { @@ -173,95 +173,95 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.31.0.tgz", - "integrity": "sha512-l/C4HyGr0ByC7FnlsoorXDIp46pbDxVPbq59XNX9sKJJ8p2297BJv7FdPlLi0BXGjEmzy93Ag4hoH9H/u54AhQ==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.32.0.tgz", + "integrity": "sha512-EjF1tZdoMwUgcMRA6u3ZqabnmpvXsfnkEVvC8v7iL8v80EeGpn6ZjHzeH7jp8p/is4i54DAA9b8OFmxMEOed7A==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.31.0", - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/openapi": "~0.45.0", - "@typespec/rest": "~0.45.0", - "@typespec/versioning": "~0.45.0" + "@azure-tools/typespec-azure-core": "~0.32.0", + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/openapi": "~0.46.0", + "@typespec/rest": "~0.46.0", + "@typespec/versioning": "~0.46.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.31.0.tgz", - "integrity": "sha512-sfJyRKGzQeBAm0Tw/CWFnWnHnxZDVbkXXLHeLb76VbRwkAu1P65eENRXXQTkUX5+PxnQH7qU/3MD5WT42AFsyA==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.32.0.tgz", + "integrity": "sha512-KnatCnncPVXQqUMHv5TYHrrcELtCCAbBIp3oMemqU8BLECs8KefOlLvxTqnkd9nSWdbcQTuJPnafmaH8A7gtrg==", "dev": true, "dependencies": { - "@typespec/lint": "~0.45.0" + "@typespec/lint": "~0.46.0" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/rest": "~0.45.0" + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/rest": "~0.46.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.31.0.tgz", - "integrity": "sha512-3z+mFZZxzuw5Y1Ma+AmlYtr+UvBCCOYesD9K7NPHiAfWpPQsgMJM3TbGpjUk5GD6ID1RzBjQfDJ52ittpMNrmQ==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.32.0.tgz", + "integrity": "sha512-yeDhg5qC73bqlWxyNDqD0bhvsdNPKyczx3FY6hYT4xGP1fynZbk3OXEduJuDIi65f4H1e762TBZDvGPv1/y7uw==", "dev": true, "dependencies": { - "@typespec/lint": "~0.45.0" + "@typespec/lint": "~0.46.0" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.31.0", - "@azure-tools/typespec-azure-core": "~0.31.0", - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/openapi": "~0.45.0", - "@typespec/rest": "~0.45.0", - "@typespec/versioning": "~0.45.0" + "@azure-tools/typespec-autorest": "~0.32.0", + "@azure-tools/typespec-azure-core": "~0.32.0", + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/openapi": "~0.46.0", + "@typespec/rest": "~0.46.0", + "@typespec/versioning": "~0.46.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.31.0.tgz", - "integrity": "sha512-+4HQ1WOgxGjwdUHahuQCvBccKVwLDFXpiYd1Gem0xCjC96YXdAMMoHK4LKXZV5v+ktd/9vgqU84R4/APJNWBAw==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.32.0.tgz", + "integrity": "sha512-jukmmipTgyhnVe+Bzo8b8qQNZOTyZGxHZLsBryMEJJSJQwGPIz4eZ5O/GNSRmmBSau9+Fg/TE9rB/4lelE/c0w==", "dev": true, "dependencies": { - "@typespec/lint": "~0.45.0" + "@typespec/lint": "~0.46.0" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/rest": "~0.45.0", - "@typespec/versioning": "~0.45.0" + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/rest": "~0.46.0", + "@typespec/versioning": "~0.46.0" } }, "node_modules/@azure-tools/typespec-providerhub": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.31.0.tgz", - "integrity": "sha512-96tx3wKl9hHk1mS8HgFY1Bs9yO95dMJilGrdORi/UNdv5GZLlYu7OOqH5HAcGVmxjcvBvKOCvCqmrhCz46boYQ==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.32.0.tgz", + "integrity": "sha512-x6wrTxe8GdaY5RCiPLgLcKXNeIwbH7CNg+6M3DQ9DHWVEigr0tdSHUkyozLeqmaMbxUYUScinRzxoy/LR9Cklw==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.31.0", - "@azure-tools/typespec-azure-core": "~0.31.0", - "@azure-tools/typespec-azure-resource-manager": "~0.31.0", - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/openapi": "~0.45.0", - "@typespec/rest": "~0.45.0", - "@typespec/versioning": "~0.45.0" + "@azure-tools/typespec-autorest": "~0.32.0", + "@azure-tools/typespec-azure-core": "~0.32.0", + "@azure-tools/typespec-azure-resource-manager": "~0.32.0", + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/openapi": "~0.46.0", + "@typespec/rest": "~0.46.0", + "@typespec/versioning": "~0.46.0" } }, "node_modules/@azure-tools/typespec-validation": { @@ -855,9 +855,9 @@ "dev": true }, "node_modules/@ts-common/virtual-fs/node_modules/node-fetch": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", - "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==", "dev": true, "dependencies": { "whatwg-url": "^5.0.0" @@ -933,22 +933,22 @@ "dev": true }, "node_modules/@typespec/compiler": { - "version": "0.45.2", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.45.2.tgz", - "integrity": "sha512-Te2mj24Sh0MinXPzPLINXRrjMuvuu2AsrBWrDWYjTgodt6MMRj5HiovxByFcYIjWUL3U4sHdKPXcOnAunDsd+Q==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.46.0.tgz", + "integrity": "sha512-CTt6WzGCUwXJ1w8Tto6/C3MtSa220Fo9pE2c4s+X620TxHV1kUb6ifOIkLonBbUHM++qSjXjG19kASoHXAQ08g==", "dev": true, "dependencies": { - "@babel/code-frame": "~7.21.4", + "@babel/code-frame": "~7.22.5", "ajv": "~8.12.0", "change-case": "~4.1.2", "globby": "~13.1.1", "js-yaml": "~4.1.0", - "mkdirp": "~2.1.6", "mustache": "~4.2.0", "node-watch": "~0.7.1", "picocolors": "~1.0.0", "prettier": "~2.8.7", "prompts": "~2.4.1", + "semver": "^7.3.8", "vscode-languageserver": "~8.1.0", "vscode-languageserver-textdocument": "~1.0.1", "yargs": "~17.7.1" @@ -962,12 +962,12 @@ } }, "node_modules/@typespec/compiler/node_modules/@babel/code-frame": { - "version": "7.21.4", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz", - "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", + "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", "dev": true, "dependencies": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1054,21 +1054,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@typespec/compiler/node_modules/mkdirp": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-2.1.6.tgz", - "integrity": "sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==", - "dev": true, - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@typespec/compiler/node_modules/vscode-jsonrpc": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz", @@ -1160,65 +1145,65 @@ } }, "node_modules/@typespec/http": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.45.0.tgz", - "integrity": "sha512-D9B+CzDqoIvlerQL5R7k367R5pwvX5Ic/6YE3bkMzfq9G40TRz5ExpOf+ASmgRbKrWjm/0ppdE4IlRMCI6qFmA==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.46.0.tgz", + "integrity": "sha512-MGZxRvgqsbTlHUFd7ueWwoIXMf0ZPjWtg7K4GjfS0XR4EAmag3zz4Y85QK6vSNFj7q7SxvLMKCezlCoo8KB1SA==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0" + "@typespec/compiler": "~0.46.0" } }, "node_modules/@typespec/lint": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@typespec/lint/-/lint-0.45.0.tgz", - "integrity": "sha512-dACuEDQD1CFLftiKIcbWrARMb7lKEXMKE+GzsSa39Xogxv4FH6wc932tPwcMXXTdpfDO2dWUoquEcvXHxUAYKQ==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/lint/-/lint-0.46.0.tgz", + "integrity": "sha512-aIW4rnBFhjMbfdLdPw0u5sx2Gn4uOWhqp4ttLv27hy8/itsDBEPzDd9ID+gy6AlsRqfJRwnK3xRiknLr+No6wA==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0" + "@typespec/compiler": "~0.46.0" } }, "node_modules/@typespec/openapi": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.45.0.tgz", - "integrity": "sha512-6W6DMCiXb2iLH4TLgI/u8FFS5v/oBu0DZF2BER6Pzx6v5mURmYGjXiwrQ+DrkOXtqb0YLZMuDU1s9CXQe6P87Q==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.46.0.tgz", + "integrity": "sha512-br54z+FpLU7T08Q89KBnhrGM7U+LfI0KnTbqpb0c8M0NZ+nbJvKGAVAHO/NcCA6J8L3TTEkUC1GaWhiwrUF8RQ==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0", - "@typespec/http": "~0.45.0", - "@typespec/rest": "~0.45.0" + "@typespec/compiler": "~0.46.0", + "@typespec/http": "~0.46.0", + "@typespec/rest": "~0.46.0" } }, "node_modules/@typespec/rest": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.45.0.tgz", - "integrity": "sha512-u9vFmXvoKdkffh0I2LDDPAKNpILuaxu/aaMRdLEw1Zfmes2mWDruReMjPU8piRB+hE5eDDxU4INPtudy2D61tA==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.46.0.tgz", + "integrity": "sha512-WmSCI/J1QRy9W6Cq9595jqjyzCTYpOAWzzVDNMdyWH66BRVp3ckBdaXRynq1HfkUBaRd9qQCZGv1rA6qqhVTCA==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0" + "@typespec/compiler": "~0.46.0" } }, "node_modules/@typespec/versioning": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.45.0.tgz", - "integrity": "sha512-Hocyi9AAuPu9az7Aw4GiWk5CUhq9CQBx8KEDVqIEBI1AvZACPNqJU02TClSyMSKWZY6V/2Gb8lxvPyNvyiF8Hw==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.46.0.tgz", + "integrity": "sha512-f0/pxvV+CZAfFZjQYS/tVm3qY9BigijCtja1vPeHBqe92TxQW10+He82LLOv6udAdRzuy+Zd+B8kzLVXa3ShUQ==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.45.0" + "@typespec/compiler": "~0.46.0" } }, "node_modules/ajv": { @@ -1567,9 +1552,9 @@ "dev": true }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", + "integrity": "sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", @@ -2358,9 +2343,9 @@ } }, "node_modules/semver": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", - "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" diff --git a/package.json b/package.json index 3d075b225a99..04c8ab07c302 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,16 @@ "@azure-tools/cadl-azure-resource-manager": "0.26.0", "@azure-tools/cadl-providerhub": "0.26.0", "@azure-tools/typespec-apiview": "0.4.4", - "@azure-tools/typespec-autorest": "0.31.0", - "@azure-tools/typespec-azure-core": "0.31.0", - "@azure-tools/typespec-azure-resource-manager": "0.31.0", - "@azure-tools/typespec-client-generator-core": "0.31.0", - "@azure-tools/typespec-providerhub": "0.31.0", - "@typespec/compiler": "0.45.2", - "@typespec/http": "0.45.0", - "@typespec/openapi": "0.45.0", - "@typespec/rest": "0.45.0", - "@typespec/versioning": "0.45.0", + "@azure-tools/typespec-autorest": "0.32.0", + "@azure-tools/typespec-azure-core": "0.32.0", + "@azure-tools/typespec-azure-resource-manager": "0.32.0", + "@azure-tools/typespec-client-generator-core": "0.32.0", + "@azure-tools/typespec-providerhub": "0.32.0", + "@typespec/compiler": "0.46.0", + "@typespec/http": "0.46.0", + "@typespec/openapi": "0.46.0", + "@typespec/rest": "0.46.0", + "@typespec/versioning": "0.46.0", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", "azure-rest-api-specs-eng-tools": "file:eng/tools", diff --git a/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp b/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp index bc44d4a8848d..cf46311a6b6c 100644 --- a/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp +++ b/specification/cognitiveservices/AnomalyDetector/multivariate/models.tsp @@ -404,5 +404,6 @@ model ResponseError { @header("x-ms-error-code") @doc("Error code.") msErrorCode?: string; + ...ErrorResponse; } diff --git a/specification/cognitiveservices/AnomalyDetector/multivariate/routes.tsp b/specification/cognitiveservices/AnomalyDetector/multivariate/routes.tsp index d74eff349b26..ec75d7e48398 100644 --- a/specification/cognitiveservices/AnomalyDetector/multivariate/routes.tsp +++ b/specification/cognitiveservices/AnomalyDetector/multivariate/routes.tsp @@ -14,7 +14,7 @@ namespace AnomalyDetector.Multivariate; @post @doc("Operation template for multivariate anomaly detection service action.") op MultivariateServiceAction( - ...TParams + ...TParams, ): TResponse | ResponseError; // Operations @@ -35,7 +35,7 @@ op getMultivariateBatchDetectionResult( @format("uuid") @doc("ID of a batch detection result.") @path - resultId: string + resultId: string, ): MultivariateDetectionResult | ResponseError; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Azure core RpcOperation does not support custom error response" @@ -68,6 +68,7 @@ op trainMultivariateModel is MultivariateServiceAction< @doc("Location and ID of the model.") @header location: string; + @body result: AnomalyDetectionModel; } >; @@ -84,7 +85,7 @@ op trainMultivariateModel is MultivariateServiceAction< @doc("List models of a resource.") op listMultivariateModels( ...SkipQueryParameter, - ...TopQueryParameter + ...TopQueryParameter, ): ModelList | ResponseError; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" @@ -98,7 +99,7 @@ op listMultivariateModels( op deleteMultivariateModel( @doc("Model identifier.") @path - modelId: string + modelId: string, ): { @doc("Delete model successfully.") @statusCode @@ -119,7 +120,7 @@ and variables used in the model. op getMultivariateModel( @doc("Model identifier.") @path - modelId: string + modelId: string, ): AnomalyDetectionModel | ResponseError; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Does not fit any standard operation pattern" @@ -144,7 +145,7 @@ op detectMultivariateBatchAnomaly( @doc("Request of multivariate anomaly detection.") @body - options: MultivariateBatchDetectionOptions + options: MultivariateBatchDetectionOptions, ): { @statusCode statusCode: 202; @@ -155,6 +156,7 @@ op detectMultivariateBatchAnomaly( @doc("Location of the detection result.") @header("Operation-Location") operationLocation: string; + @body result: MultivariateDetectionResult; } | ResponseError; @@ -177,5 +179,5 @@ op detectMultivariateLastAnomaly( @doc("Request of the last detection.") @body - options: MultivariateLastDetectionOptions + options: MultivariateLastDetectionOptions, ): MultivariateLastDetectionResult | ResponseError; diff --git a/specification/cognitiveservices/AnomalyDetector/univariate/routes.tsp b/specification/cognitiveservices/AnomalyDetector/univariate/routes.tsp index a0b3c79da65f..fad570c9f1c4 100644 --- a/specification/cognitiveservices/AnomalyDetector/univariate/routes.tsp +++ b/specification/cognitiveservices/AnomalyDetector/univariate/routes.tsp @@ -12,7 +12,7 @@ namespace AnomalyDetector.Univariate; @post @doc("Operation template for univariate anomaly detection service action.") op UnivariateServiceAction( - ...TParams + ...TParams, ): TResponse | AnomalyDetectorError; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "Azure core RpcOperation does not support custom error response" diff --git a/specification/cognitiveservices/HealthInsights/healthinsights.common/model.common.response.tsp b/specification/cognitiveservices/HealthInsights/healthinsights.common/model.common.response.tsp index 6d6839e661f7..bb3d0dcde428 100644 --- a/specification/cognitiveservices/HealthInsights/healthinsights.common/model.common.response.tsp +++ b/specification/cognitiveservices/HealthInsights/healthinsights.common/model.common.response.tsp @@ -85,6 +85,7 @@ system. model TrialMatcherInferenceEvidence { @doc("A piece of evidence from the eligibility criteria text of a clinical trial.") eligibilityCriteriaEvidence?: string; + ...InferenceEvidence; } diff --git a/specification/cognitiveservices/HealthInsights/healthinsights.oncophenotype/model.oncophenotype.tsp b/specification/cognitiveservices/HealthInsights/healthinsights.oncophenotype/model.oncophenotype.tsp index adf92080ef4c..35607ffdc641 100644 --- a/specification/cognitiveservices/HealthInsights/healthinsights.oncophenotype/model.oncophenotype.tsp +++ b/specification/cognitiveservices/HealthInsights/healthinsights.oncophenotype/model.oncophenotype.tsp @@ -46,6 +46,7 @@ model OncoPhenotypePatientResult { model OncoPhenotypeInference { @doc("The type of the Onco Phenotype inference") type: OncoPhenotypeInferenceType; + ...Inference; @doc("The evidence corresponding to the inference value.") diff --git a/specification/cognitiveservices/HealthInsights/healthinsights.trialmatcher/model.trialmatcher.tsp b/specification/cognitiveservices/HealthInsights/healthinsights.trialmatcher/model.trialmatcher.tsp index 00827dd71ff5..c42a7fbfa3bf 100644 --- a/specification/cognitiveservices/HealthInsights/healthinsights.trialmatcher/model.trialmatcher.tsp +++ b/specification/cognitiveservices/HealthInsights/healthinsights.trialmatcher/model.trialmatcher.tsp @@ -87,6 +87,7 @@ The bio-medical category related to the coded concept, e.g. Diagnosis, Symptom, model TrialMatcherInference { @doc("The type of the Trial Matcher inference.") type: TrialMatcherInferenceType; + ...Inference; @doc("The evidence corresponding to the inference value.") @@ -328,6 +329,7 @@ model ContactDetails { model ClinicalTrialResearchFacility { @doc("The facility's name.") name: string; + ...GeographicLocation; } diff --git a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp index f207f6175538..5b30c9d0dc3e 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp @@ -190,7 +190,6 @@ model ChatChoice { index: int32; #suppress "@azure-tools/typespec-azure-core/no-nullable" "The operation already returns nulls" - #suppress "@azure-tools/typespec-autorest/union-unsupported" "https://github.com/Azure/typespec-azure/issues/3180" @doc("The reason that this chat completions choice completed its generated.") @projectedName("json", "finish_reason") finishReason: CompletionsFinishReason | null; diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp index 94fcfe9762bd..7e70622d3dc0 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp @@ -195,7 +195,6 @@ model Choice { logprobs: CompletionsLogProbabilityModel | null; #suppress "@azure-tools/typespec-azure-core/no-nullable" "The operation already returns nulls" - #suppress "@azure-tools/typespec-autorest/union-unsupported" "https://github.com/Azure/typespec-azure/issues/3180" @doc("Reason for finishing") @projectedName("json", "finish_reason") finishReason: CompletionsFinishReason | null; diff --git a/specification/cognitiveservices/OpenAI.Inference/routes.tsp b/specification/cognitiveservices/OpenAI.Inference/routes.tsp index 989654ca7e84..6e9479864283 100644 --- a/specification/cognitiveservices/OpenAI.Inference/routes.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/routes.tsp @@ -54,7 +54,7 @@ op getChatCompletions is ResourceAction< // Note: pending resolution of cross-language code emission behavior for long-running operations, image generation // reuses its final operation response model as its status polling model. - +#suppress "@azure-tools/typespec-azure-core/rpc-operation-request-body" "MUST fix in next update" #suppress "@azure-tools/typespec-azure-core/no-rpc-path-params" "Allowed because this is a non-standard status polling operation." @doc("Returns the status of the images operation") @added(ServiceApiVersions.v2023_06_01_Preview) diff --git a/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json b/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json index d7cfee0c8582..74a0e78f73c0 100644 --- a/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json +++ b/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json @@ -61,8 +61,8 @@ "AnomalyDetectorApiKeyAuth": { "type": "apiKey", "description": "The secret key for your Azure Cognitive Services subscription.", - "in": "header", - "name": "Ocp-Apim-Subscription-Key" + "name": "Ocp-Apim-Subscription-Key", + "in": "header" } }, "tags": [], @@ -76,8 +76,8 @@ { "name": "resultId", "in": "path", - "required": true, "description": "ID of a batch detection result.", + "required": true, "type": "string", "format": "uuid" } @@ -91,14 +91,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, @@ -110,168 +110,168 @@ } }, "/multivariate/models": { - "post": { - "operationId": "Multivariate_TrainMultivariateModel", - "summary": "Train a Multivariate Anomaly Detection Model", - "description": "Create and train a multivariate anomaly detection model. The request must\ninclude a source parameter to indicate an Azure Blob\nStorage URI that's accessible to the service. There are two types of data input. The Blob Storage URI can point to an Azure Blob\nStorage folder that contains multiple CSV files, where each CSV file has\ntwo columns, time stamp and variable. Or the Blob Storage URI can point to a single blob that contains a CSV file that has all the variables and a\ntime stamp column.\nThe model object will be created and returned in the response, but the\ntraining process happens asynchronously. To check the training status, call\nGetMultivariateModel with the modelId value and check the status field in the\nmodelInfo object.", + "get": { + "operationId": "Multivariate_ListMultivariateModels", + "summary": "List Multivariate Models", + "description": "List models of a resource.", "parameters": [ { - "name": "modelInfo", - "in": "body", - "required": true, - "description": "Model information.", - "schema": { - "$ref": "#/definitions/Multivariate.ModelInfo" - } + "$ref": "#/parameters/Azure.Core.SkipQueryParameter" + }, + { + "$ref": "#/parameters/Azure.Core.TopQueryParameter" } ], "responses": { - "201": { - "description": "The request has succeeded and a new resource has been created as a result.", - "headers": { - "location": { - "description": "Location and ID of the model.", - "type": "string" - } - }, + "200": { + "description": "The request has succeeded.", "schema": { - "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" + "$ref": "#/definitions/Multivariate.ModelList" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, "x-ms-examples": { - "Create and train multivariate model": { - "$ref": "./examples/TrainModel.json" + "List multivariate models": { + "$ref": "./examples/ListModel.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } }, - "get": { - "operationId": "Multivariate_ListMultivariateModels", - "summary": "List Multivariate Models", - "description": "List models of a resource.", + "post": { + "operationId": "Multivariate_TrainMultivariateModel", + "summary": "Train a Multivariate Anomaly Detection Model", + "description": "Create and train a multivariate anomaly detection model. The request must\ninclude a source parameter to indicate an Azure Blob\nStorage URI that's accessible to the service. There are two types of data input. The Blob Storage URI can point to an Azure Blob\nStorage folder that contains multiple CSV files, where each CSV file has\ntwo columns, time stamp and variable. Or the Blob Storage URI can point to a single blob that contains a CSV file that has all the variables and a\ntime stamp column.\nThe model object will be created and returned in the response, but the\ntraining process happens asynchronously. To check the training status, call\nGetMultivariateModel with the modelId value and check the status field in the\nmodelInfo object.", "parameters": [ { - "$ref": "#/parameters/Azure.Core.SkipQueryParameter" - }, - { - "$ref": "#/parameters/Azure.Core.TopQueryParameter" + "name": "modelInfo", + "in": "body", + "description": "Model information.", + "required": true, + "schema": { + "$ref": "#/definitions/Multivariate.ModelInfo" + } } ], "responses": { - "200": { - "description": "The request has succeeded.", + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", "schema": { - "$ref": "#/definitions/Multivariate.ModelList" + "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" + }, + "headers": { + "location": { + "type": "string", + "description": "Location and ID of the model." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "List multivariate models": { - "$ref": "./examples/ListModel.json" + "Create and train multivariate model": { + "$ref": "./examples/TrainModel.json" } } } }, "/multivariate/models/{modelId}": { - "delete": { - "operationId": "Multivariate_DeleteMultivariateModel", - "summary": "Delete Multivariate Model", - "description": "Delete an existing multivariate model according to the modelId value.", + "get": { + "operationId": "Multivariate_GetMultivariateModel", + "summary": "Get Multivariate Model", + "description": "Get detailed information about the multivariate model, including the training status\nand variables used in the model.", "parameters": [ { "name": "modelId", "in": "path", - "required": true, "description": "Model identifier.", + "required": true, "type": "string" } ], "responses": { - "204": { - "description": "There is no content to send for this request, but the headers may be useful. " + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" + } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, "x-ms-examples": { - "Delete multivariate model": { - "$ref": "./examples/DeleteModel.json" + "Get a multivariate model": { + "$ref": "./examples/GetModel.json" } } }, - "get": { - "operationId": "Multivariate_GetMultivariateModel", - "summary": "Get Multivariate Model", - "description": "Get detailed information about the multivariate model, including the training status\nand variables used in the model.", + "delete": { + "operationId": "Multivariate_DeleteMultivariateModel", + "summary": "Delete Multivariate Model", + "description": "Delete an existing multivariate model according to the modelId value.", "parameters": [ { "name": "modelId", "in": "path", - "required": true, "description": "Model identifier.", + "required": true, "type": "string" } ], "responses": { - "200": { - "description": "The request has succeeded.", - "schema": { - "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" - } + "204": { + "description": "There is no content to send for this request, but the headers may be useful. " }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, "x-ms-examples": { - "Get a multivariate model": { - "$ref": "./examples/GetModel.json" + "Delete multivariate model": { + "$ref": "./examples/DeleteModel.json" } } } @@ -285,15 +285,15 @@ { "name": "modelId", "in": "path", - "required": true, "description": "Model identifier.", + "required": true, "type": "string" }, { "name": "options", "in": "body", - "required": true, "description": "Request of multivariate anomaly detection.", + "required": true, "schema": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionOptions" } @@ -302,30 +302,30 @@ "responses": { "202": { "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/Multivariate.MultivariateDetectionResult" + }, "headers": { "Operation-Id": { - "description": "ID of the detection result.", - "type": "string" + "type": "string", + "description": "ID of the detection result." }, "Operation-Location": { - "description": "Location of the detection result.", - "type": "string" + "type": "string", + "description": "Location of the detection result." } - }, - "schema": { - "$ref": "#/definitions/Multivariate.MultivariateDetectionResult" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, @@ -345,15 +345,15 @@ { "name": "modelId", "in": "path", - "required": true, "description": "Model identifier.", + "required": true, "type": "string" }, { "name": "options", "in": "body", - "required": true, "description": "Request of the last detection.", + "required": true, "schema": { "$ref": "#/definitions/Multivariate.MultivariateLastDetectionOptions" } @@ -368,14 +368,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Multivariate.ResponseError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Multivariate.ResponseError" } } }, @@ -395,8 +395,8 @@ { "name": "options", "in": "body", - "required": true, "description": "Method of univariate anomaly detection.", + "required": true, "schema": { "$ref": "#/definitions/Univariate.UnivariateChangePointDetectionOptions" } @@ -411,14 +411,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Univariate.AnomalyDetectorError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Univariate.AnomalyDetectorError" } } }, @@ -438,8 +438,8 @@ { "name": "options", "in": "body", - "required": true, "description": "Method of univariate anomaly detection.", + "required": true, "schema": { "$ref": "#/definitions/Univariate.UnivariateDetectionOptions" } @@ -454,14 +454,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Univariate.AnomalyDetectorError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Univariate.AnomalyDetectorError" } } }, @@ -481,8 +481,8 @@ { "name": "options", "in": "body", - "required": true, "description": "Method of univariate anomaly detection.", + "required": true, "schema": { "$ref": "#/definitions/Univariate.UnivariateDetectionOptions" } @@ -497,14 +497,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Univariate.AnomalyDetectorError" + }, "headers": { "x-ms-error-code": { "description": "Error code.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Univariate.AnomalyDetectorError" } } }, @@ -530,6 +530,7 @@ }, "Multivariate.AlignPolicy": { "type": "object", + "description": "Manner of aligning multiple variables.", "properties": { "alignMode": { "$ref": "#/definitions/Multivariate.AlignMode", @@ -544,16 +545,16 @@ "format": "float", "description": "Field that's required when fillNAMethod is Fixed." } - }, - "description": "Manner of aligning multiple variables." + } }, "Multivariate.AnomalyDetectionModel": { "type": "object", + "description": "Response of getting a model.", "properties": { "modelId": { "type": "string", - "description": "Model identifier.", - "format": "uuid" + "format": "uuid", + "description": "Model identifier." }, "createdTime": { "type": "string", @@ -570,7 +571,6 @@ "description": "Training result of a model, including its status, errors, and diagnostics\ninformation." } }, - "description": "Response of getting a model.", "required": [ "modelId", "createdTime", @@ -579,6 +579,7 @@ }, "Multivariate.AnomalyInterpretation": { "type": "object", + "description": "Interpretation of the anomalous time stamp.", "properties": { "variable": { "type": "string", @@ -593,11 +594,11 @@ "$ref": "#/definitions/Multivariate.CorrelationChanges", "description": "Correlation changes among the anomalous variables." } - }, - "description": "Interpretation of the anomalous time stamp." + } }, "Multivariate.AnomalyState": { "type": "object", + "description": "Anomaly status and information.", "properties": { "timestamp": { "type": "string", @@ -610,21 +611,20 @@ }, "errors": { "type": "array", + "description": "Error message for the current time stamp.", "items": { "$ref": "#/definitions/Multivariate.ErrorResponse" }, - "x-ms-identifiers": [], - "description": "Error message for the current time stamp.", - "x-typespec-name": "Multivariate.ErrorResponse[]" + "x-ms-identifiers": [] } }, - "description": "Anomaly status and information.", "required": [ "timestamp" ] }, "Multivariate.AnomalyValue": { "type": "object", + "description": "Detailed information of the anomalous time stamp.", "properties": { "isAnomaly": { "type": "boolean", @@ -646,15 +646,13 @@ }, "interpretation": { "type": "array", + "description": "Interpretation of this anomalous time stamp.", "items": { "$ref": "#/definitions/Multivariate.AnomalyInterpretation" }, - "x-ms-identifiers": [], - "description": "Interpretation of this anomalous time stamp.", - "x-typespec-name": "Multivariate.AnomalyInterpretation[]" + "x-ms-identifiers": [] } }, - "description": "Detailed information of the anomalous time stamp.", "required": [ "isAnomaly", "severity", @@ -663,17 +661,16 @@ }, "Multivariate.CorrelationChanges": { "type": "object", + "description": "Correlation changes among the anomalous variables.", "properties": { "changedVariables": { "type": "array", + "description": "Correlated variables that have correlation changes under an anomaly.", "items": { "type": "string" - }, - "description": "Correlated variables that have correlation changes under an anomaly.", - "x-typespec-name": "string[]" + } } - }, - "description": "Correlation changes among the anomalous variables." + } }, "Multivariate.DataSchema": { "type": "string", @@ -701,6 +698,7 @@ }, "Multivariate.DiagnosticsInfo": { "type": "object", + "description": "Diagnostics information to help inspect the states of a model or variable.", "properties": { "modelState": { "$ref": "#/definitions/Multivariate.ModelState", @@ -708,18 +706,17 @@ }, "variableStates": { "type": "array", + "description": "Variable status.", "items": { "$ref": "#/definitions/Multivariate.VariableState" }, - "x-ms-identifiers": [], - "description": "Variable status.", - "x-typespec-name": "Multivariate.VariableState[]" + "x-ms-identifiers": [] } - }, - "description": "Diagnostics information to help inspect the states of a model or variable." + } }, "Multivariate.ErrorResponse": { "type": "object", + "description": "Error information that the API returned.", "properties": { "code": { "type": "string", @@ -730,7 +727,6 @@ "description": "Message that explains the error that the service reported." } }, - "description": "Error information that the API returned.", "required": [ "code", "message" @@ -753,6 +749,7 @@ }, "Multivariate.ModelInfo": { "type": "object", + "description": "Training result of a model, including its status, errors, and diagnostics\ninformation.", "properties": { "dataSource": { "type": "string", @@ -794,13 +791,12 @@ }, "errors": { "type": "array", + "description": "Error messages after failure to create a model.", "items": { "$ref": "#/definitions/Multivariate.ErrorResponse" }, - "x-ms-identifiers": [], - "description": "Error messages after failure to create a model.", - "x-typespec-name": "Multivariate.ErrorResponse[]", - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "diagnosticsInfo": { "$ref": "#/definitions/Multivariate.DiagnosticsInfo", @@ -808,7 +804,6 @@ "readOnly": true } }, - "description": "Training result of a model, including its status, errors, and diagnostics\ninformation.", "required": [ "dataSource", "startTime", @@ -817,15 +812,15 @@ }, "Multivariate.ModelList": { "type": "object", + "description": "Response of listing models.", "properties": { "models": { "type": "array", + "description": "List of models.", "items": { "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" }, - "x-ms-identifiers": [], - "description": "List of models.", - "x-typespec-name": "Multivariate.AnomalyDetectionModel[]" + "x-ms-identifiers": [] }, "currentCount": { "type": "integer", @@ -842,7 +837,6 @@ "description": "Link to fetch more models." } }, - "description": "Response of listing models.", "required": [ "models", "currentCount", @@ -851,45 +845,41 @@ }, "Multivariate.ModelState": { "type": "object", + "description": "Model status.", "properties": { "epochIds": { "type": "array", + "description": "Number of passes of the entire training dataset that the\nalgorithm has completed.", "items": { "type": "integer", "format": "int32" - }, - "description": "Number of passes of the entire training dataset that the\nalgorithm has completed.", - "x-typespec-name": "int32[]" + } }, "trainLosses": { "type": "array", + "description": "List of metrics used to assess how the model fits the training data for each\nepoch.", "items": { "type": "number", "format": "float" - }, - "description": "List of metrics used to assess how the model fits the training data for each\nepoch.", - "x-typespec-name": "float32[]" + } }, "validationLosses": { "type": "array", + "description": "List of metrics used to assess how the model fits the validation set for each\nepoch.", "items": { "type": "number", "format": "float" - }, - "description": "List of metrics used to assess how the model fits the validation set for each\nepoch.", - "x-typespec-name": "float32[]" + } }, "latenciesInSeconds": { "type": "array", + "description": "Latency for each epoch.", "items": { "type": "number", "format": "float" - }, - "description": "Latency for each epoch.", - "x-typespec-name": "float32[]" + } } - }, - "description": "Model status." + } }, "Multivariate.ModelStatus": { "type": "string", @@ -928,6 +918,7 @@ }, "Multivariate.MultivariateBatchDetectionOptions": { "type": "object", + "description": "Detection request for batch inference. This is an asynchronous inference that\nwill need another API to get detection results.", "properties": { "dataSource": { "type": "string", @@ -951,7 +942,6 @@ "description": "End date/time of data for detection, which should\nbe in ISO 8601 format." } }, - "description": "Detection request for batch inference. This is an asynchronous inference that\nwill need another API to get detection results.", "required": [ "dataSource", "startTime", @@ -960,6 +950,7 @@ }, "Multivariate.MultivariateBatchDetectionResultSummary": { "type": "object", + "description": "Multivariate anomaly detection status.", "properties": { "status": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionStatus", @@ -967,28 +958,25 @@ }, "errors": { "type": "array", + "description": "Error message when detection fails.", "items": { "$ref": "#/definitions/Multivariate.ErrorResponse" }, - "x-ms-identifiers": [], - "description": "Error message when detection fails.", - "x-typespec-name": "Multivariate.ErrorResponse[]" + "x-ms-identifiers": [] }, "variableStates": { "type": "array", + "description": "Variable status.", "items": { "$ref": "#/definitions/Multivariate.VariableState" }, - "x-ms-identifiers": [], - "description": "Variable status.", - "x-typespec-name": "Multivariate.VariableState[]" + "x-ms-identifiers": [] }, "setupInfo": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionOptions", "description": "Detection request for batch inference. This is an asynchronous inference that\nwill need another API to get detection results." } }, - "description": "Multivariate anomaly detection status.", "required": [ "status", "setupInfo" @@ -1027,11 +1015,12 @@ }, "Multivariate.MultivariateDetectionResult": { "type": "object", + "description": "Detection results for the resultId value.", "properties": { "resultId": { "type": "string", - "description": "Result identifier that's used to fetch the results of an inference call.", - "format": "uuid" + "format": "uuid", + "description": "Result identifier that's used to fetch the results of an inference call." }, "summary": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionResultSummary", @@ -1039,15 +1028,13 @@ }, "results": { "type": "array", + "description": "Detection result for each time stamp.", "items": { "$ref": "#/definitions/Multivariate.AnomalyState" }, - "x-ms-identifiers": [], - "description": "Detection result for each time stamp.", - "x-typespec-name": "Multivariate.AnomalyState[]" + "x-ms-identifiers": [] } }, - "description": "Detection results for the resultId value.", "required": [ "resultId", "summary", @@ -1056,15 +1043,15 @@ }, "Multivariate.MultivariateLastDetectionOptions": { "type": "object", + "description": "Request of the last detection.", "properties": { "variables": { "type": "array", + "description": "Contains the inference data, including the name, time stamps (ISO 8601), and\nvalues of variables.", "items": { "$ref": "#/definitions/Multivariate.VariableValues" }, - "x-ms-identifiers": [], - "description": "Contains the inference data, including the name, time stamps (ISO 8601), and\nvalues of variables.", - "x-typespec-name": "Multivariate.VariableValues[]" + "x-ms-identifiers": [] }, "topContributorCount": { "type": "integer", @@ -1073,37 +1060,35 @@ "default": 10 } }, - "description": "Request of the last detection.", "required": [ "variables" ] }, "Multivariate.MultivariateLastDetectionResult": { "type": "object", + "description": "Results of the last detection.", "properties": { "variableStates": { "type": "array", + "description": "Variable status.", "items": { "$ref": "#/definitions/Multivariate.VariableState" }, - "x-ms-identifiers": [], - "description": "Variable status.", - "x-typespec-name": "Multivariate.VariableState[]" + "x-ms-identifiers": [] }, "results": { "type": "array", + "description": "Anomaly status and information.", "items": { "$ref": "#/definitions/Multivariate.AnomalyState" }, - "x-ms-identifiers": [], - "description": "Anomaly status and information.", - "x-typespec-name": "Multivariate.AnomalyState[]" + "x-ms-identifiers": [] } - }, - "description": "Results of the last detection." + } }, "Multivariate.ResponseError": { "type": "object", + "description": "Error response.", "properties": { "code": { "type": "string", @@ -1114,7 +1099,6 @@ "description": "Message that explains the error that the service reported." } }, - "description": "Error response.", "required": [ "code", "message" @@ -1122,6 +1106,7 @@ }, "Multivariate.VariableState": { "type": "object", + "description": "Variable status.", "properties": { "variable": { "type": "string", @@ -1149,11 +1134,11 @@ "format": "date-time", "description": "Last valid time stamp with a value of input data." } - }, - "description": "Variable status." + } }, "Multivariate.VariableValues": { "type": "object", + "description": "Variable values.", "properties": { "variable": { "type": "string", @@ -1161,23 +1146,20 @@ }, "timestamps": { "type": "array", + "description": "Time stamps of the last detection request.", "items": { "type": "string" - }, - "description": "Time stamps of the last detection request.", - "x-typespec-name": "string[]" + } }, "values": { "type": "array", + "description": "Values of variables.", "items": { "type": "number", "format": "float" - }, - "description": "Values of variables.", - "x-typespec-name": "float32[]" + } } }, - "description": "Variable values.", "required": [ "variable", "timestamps", @@ -1186,6 +1168,7 @@ }, "Univariate.AnomalyDetectorError": { "type": "object", + "description": "Error information that the API returned.", "properties": { "code": { "$ref": "#/definitions/Univariate.AnomalyDetectorErrorCodes", @@ -1196,7 +1179,6 @@ "description": "Message that explains the error that the service reported." } }, - "description": "Error information that the API returned.", "required": [ "code", "message" @@ -1321,6 +1303,7 @@ }, "Univariate.TimeSeriesPoint": { "type": "object", + "description": "Definition of input time series points.", "properties": { "timestamp": { "type": "string", @@ -1333,22 +1316,21 @@ "description": "Measurement of that point." } }, - "description": "Definition of input time series points.", "required": [ "value" ] }, "Univariate.UnivariateChangePointDetectionOptions": { "type": "object", + "description": "Request of change point detection.", "properties": { "series": { "type": "array", + "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the change point detection result.", "items": { "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, - "x-ms-identifiers": [], - "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the change point detection result.", - "x-typespec-name": "Univariate.TimeSeriesPoint[]" + "x-ms-identifiers": [] }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1375,7 +1357,6 @@ "description": "Argument that indicates an advanced model parameter between 0.0 and 1.0. The lower the\nvalue is, the larger the trend error is, which means less change point will\nbe accepted." } }, - "description": "Request of change point detection.", "required": [ "series", "granularity" @@ -1383,6 +1364,7 @@ }, "Univariate.UnivariateChangePointDetectionResult": { "type": "object", + "description": "Response of change point detection.", "properties": { "period": { "type": "integer", @@ -1392,35 +1374,32 @@ }, "isChangePoint": { "type": "array", + "description": "Change point properties for each input point. True means\nan anomaly (either negative or positive) has been detected. The index of the\narray is consistent with the input series.", "items": { "type": "boolean" - }, - "description": "Change point properties for each input point. True means\nan anomaly (either negative or positive) has been detected. The index of the\narray is consistent with the input series.", - "x-typespec-name": "boolean[]" + } }, "confidenceScores": { "type": "array", + "description": "Change point confidence of each point.", "items": { "type": "number", "format": "float" - }, - "description": "Change point confidence of each point.", - "x-typespec-name": "float32[]" + } } - }, - "description": "Response of change point detection." + } }, "Univariate.UnivariateDetectionOptions": { "type": "object", + "description": "Request of the entire or last anomaly detection.", "properties": { "series": { "type": "array", + "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there's a duplicated time stamp, the API won't work. In such\na case, an error message is returned.", "items": { "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, - "x-ms-identifiers": [], - "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there's a duplicated time stamp, the API won't work. In such\na case, an error message is returned.", - "x-typespec-name": "Univariate.TimeSeriesPoint[]" + "x-ms-identifiers": [] }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1456,13 +1435,13 @@ "description": "Specifies the value to fill. It's used when granularity is not \"none\"\nand imputeMode is \"fixed\"." } }, - "description": "Request of the entire or last anomaly detection.", "required": [ "series" ] }, "Univariate.UnivariateEntireDetectionResult": { "type": "object", + "description": "Response of the entire anomaly detection.", "properties": { "period": { "type": "integer", @@ -1471,66 +1450,58 @@ }, "expectedValues": { "type": "array", + "description": "Expected value for each input point. The index of the\narray is consistent with the input series.", "items": { "type": "number", "format": "float" - }, - "description": "Expected value for each input point. The index of the\narray is consistent with the input series.", - "x-typespec-name": "float32[]" + } }, "upperMargins": { "type": "array", + "description": "Upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which is equal to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in the response can be filtered by\nupperBoundary and lowerBoundary. Adjusting the marginScale value can help filter less\nsignificant anomalies on the client side. The index of the array is\nconsistent with the input series.", "items": { "type": "number", "format": "float" - }, - "description": "Upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which is equal to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in the response can be filtered by\nupperBoundary and lowerBoundary. Adjusting the marginScale value can help filter less\nsignificant anomalies on the client side. The index of the array is\nconsistent with the input series.", - "x-typespec-name": "float32[]" + } }, "lowerMargins": { "type": "array", + "description": "Lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which is equal to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones on the client side. The index of the array is consistent with the input\nseries.", "items": { "type": "number", "format": "float" - }, - "description": "Lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which is equal to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones on the client side. The index of the array is consistent with the input\nseries.", - "x-typespec-name": "float32[]" + } }, "isAnomaly": { "type": "array", + "description": "Anomaly properties for each input point. True means an\nanomaly (either negative or positive) has been detected. The index of the array\nis consistent with the input series.", "items": { "type": "boolean" - }, - "description": "Anomaly properties for each input point. True means an\nanomaly (either negative or positive) has been detected. The index of the array\nis consistent with the input series.", - "x-typespec-name": "boolean[]" + } }, "isNegativeAnomaly": { "type": "array", + "description": "Anomaly status in a negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series.", "items": { "type": "boolean" - }, - "description": "Anomaly status in a negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series.", - "x-typespec-name": "boolean[]" + } }, "isPositiveAnomaly": { "type": "array", + "description": "Anomaly status in a positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series.", "items": { "type": "boolean" - }, - "description": "Anomaly status in a positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series.", - "x-typespec-name": "boolean[]" + } }, "severity": { "type": "array", + "description": "Severity score for each input point. The larger the value is, the more\nsevere the anomaly is. For normal points, the severity is always 0.", "items": { "type": "number", "format": "float" - }, - "description": "Severity score for each input point. The larger the value is, the more\nsevere the anomaly is. For normal points, the severity is always 0.", - "x-typespec-name": "float32[]" + } } }, - "description": "Response of the entire anomaly detection.", "required": [ "period", "expectedValues", @@ -1543,6 +1514,7 @@ }, "Univariate.UnivariateLastDetectionResult": { "type": "object", + "description": "Response of the last anomaly detection.", "properties": { "period": { "type": "integer", @@ -1587,7 +1559,6 @@ "description": "Severity score for the last input point. The larger the value is, the more\nsevere the anomaly is. For normal points, the severity is always 0." } }, - "description": "Response of the last anomaly detection.", "required": [ "period", "suggestedWindow", @@ -1604,18 +1575,18 @@ "Azure.Core.SkipQueryParameter": { "name": "skip", "in": "query", - "required": false, "description": "The number of result items to skip.", - "default": 0, + "required": false, "type": "integer", "format": "int32", + "default": 0, "x-ms-parameter-location": "method" }, "Azure.Core.TopQueryParameter": { "name": "top", "in": "query", - "required": false, "description": "The number of result items to return.", + "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method" diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index 2f4e00b9c8bd..c7b03c87b36f 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -45,8 +45,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "api-key" + "name": "api-key", + "in": "header" }, "OAuth2Auth": { "type": "oauth2", @@ -70,17 +70,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/ChatCompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -92,14 +92,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -121,17 +121,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/CompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -143,14 +143,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -172,17 +172,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/EmbeddingsOptions" - }, - "required": true + } } ], "responses": { @@ -194,14 +194,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -223,36 +223,36 @@ { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/ImageGenerationOptions" - }, - "required": true + } } ], "responses": { "202": { "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BatchImageGenerationOperationResponse" + }, "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." } - }, - "schema": { - "$ref": "#/definitions/BatchImageGenerationOperationResponse" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -274,8 +274,8 @@ { "name": "operationId", "in": "path", - "required": true, "description": ".", + "required": true, "type": "string" } ], @@ -288,14 +288,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -310,6 +310,7 @@ "definitions": { "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -325,19 +326,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -345,19 +344,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -367,8 +367,7 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "AzureOpenAIOperationState": { "type": "string", @@ -414,6 +413,7 @@ }, "BatchImageGenerationOperationResponse": { "type": "object", + "description": "A polling status update or final response payload for an image operation.", "properties": { "id": { "type": "string", @@ -442,7 +442,6 @@ "description": "The error if the operation failed." } }, - "description": "A polling status update or final response payload for an image operation.", "required": [ "id", "created", @@ -451,6 +450,7 @@ }, "ChatChoice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "message": { "$ref": "#/definitions/ChatMessage", @@ -462,8 +462,9 @@ "description": "The ordered index associated with this chat completions choice." }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "The reason that this chat completions choice completed its generated.", + "x-nullable": true, "x-ms-client-name": "finishReason" }, "delta": { @@ -471,7 +472,6 @@ "description": "The delta message content for a streaming response." } }, - "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "index", "finish_reason" @@ -479,6 +479,7 @@ }, "ChatCompletions": { "type": "object", + "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -491,19 +492,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/ChatChoice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "ChatChoice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -513,15 +512,15 @@ }, "ChatCompletionsOptions": { "type": "object", + "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "messages": { "type": "array", + "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", "items": { "$ref": "#/definitions/ChatMessage" }, - "x-ms-identifiers": [], - "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", - "x-typespec-name": "ChatMessage[]" + "x-ms-identifiers": [] }, "max_tokens": { "type": "integer", @@ -542,12 +541,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -561,11 +559,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -588,13 +585,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "messages" ] }, "ChatMessage": { "type": "object", + "description": "A single, role-attributed message within a chat completion interaction.", "properties": { "role": { "$ref": "#/definitions/ChatRole", @@ -605,7 +602,6 @@ "description": "The text associated with this message payload." } }, - "description": "A single, role-attributed message within a chat completion interaction.", "required": [ "role" ] @@ -642,6 +638,7 @@ }, "Choice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "text": { "type": "string", @@ -654,22 +651,21 @@ }, "logprobs": { "type": "object", + "description": "The log probabilities model for tokens associated with this completions choice.", + "x-nullable": true, "allOf": [ { "$ref": "#/definitions/CompletionsLogProbabilityModel" } - ], - "x-nullable": true, - "x-typespec-name": "CompletionsLogProbabilityModel | null", - "description": "The log probabilities model for tokens associated with this completions choice." + ] }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "Reason for finishing", + "x-nullable": true, "x-ms-client-name": "finishReason" } }, - "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "text", "index", @@ -679,6 +675,7 @@ }, "Completions": { "type": "object", + "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -691,19 +688,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/Choice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "Choice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -711,52 +706,76 @@ "usage" ] }, + "CompletionsFinishReason": { + "type": "string", + "description": "Representation of the manner in which a completions response concluded.", + "enum": [ + "stop", + "length", + "content_filter" + ], + "x-ms-enum": { + "name": "CompletionsFinishReason", + "modelAsString": true, + "values": [ + { + "name": "stopped", + "value": "stop", + "description": "Completions ended normally and reached its end of token generation." + }, + { + "name": "tokenLimitReached", + "value": "length", + "description": "Completions exhausted available token limits before generation could complete." + }, + { + "name": "contentFiltered", + "value": "content_filter", + "description": "Completions generated a response that was identified as potentially sensitive per content\nmoderation policies." + } + ] + } + }, "CompletionsLogProbabilityModel": { "type": "object", + "description": "Representation of a log probabilities model for a completions generation.", "properties": { "tokens": { "type": "array", + "description": "The textual forms of tokens evaluated in this probability model.", "items": { "type": "string" - }, - "description": "The textual forms of tokens evaluated in this probability model.", - "x-typespec-name": "string[]" + } }, "token_logprobs": { "type": "array", + "description": "A collection of log probability values for the tokens in this completions data.", "items": { "type": "number", "format": "float", - "x-nullable": true, - "x-typespec-name": "float32 | null" + "x-nullable": true }, - "description": "A collection of log probability values for the tokens in this completions data.", - "x-typespec-name": "float32 | null[]", "x-ms-client-name": "tokenLogprobs" }, "top_logprobs": { "type": "array", + "description": "A mapping of tokens to maximum log probability values in this completions data.", "items": { - "type": "object", - "x-typespec-name": "Record" + "type": "object" }, - "x-ms-identifiers": [], - "description": "A mapping of tokens to maximum log probability values in this completions data.", - "x-typespec-name": "Record[]", - "x-ms-client-name": "topLogprobs" + "x-ms-client-name": "topLogprobs", + "x-ms-identifiers": [] }, "text_offset": { "type": "array", + "description": "The text offsets associated with tokens in this completions data.", "items": { "type": "integer", "format": "int32" }, - "description": "The text offsets associated with tokens in this completions data.", - "x-typespec-name": "int32[]", "x-ms-client-name": "textOffset" } }, - "description": "Representation of a log probabilities model for a completions generation.", "required": [ "tokens", "token_logprobs", @@ -766,14 +785,14 @@ }, "CompletionsOptions": { "type": "object", + "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "prompt": { "type": "array", + "description": "The prompts to generate completions from.", "items": { "type": "string" - }, - "description": "The prompts to generate completions from.", - "x-typespec-name": "string[]" + } }, "max_tokens": { "type": "integer", @@ -794,12 +813,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -822,11 +840,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -855,13 +872,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "prompt" ] }, "CompletionsUsage": { "type": "object", + "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "properties": { "completion_tokens": { "type": "integer", @@ -882,7 +899,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "required": [ "completion_tokens", "prompt_tokens", @@ -891,15 +907,15 @@ }, "EmbeddingItem": { "type": "object", + "description": "Representation of a single embeddings relatedness comparison.", "properties": { "embedding": { "type": "array", + "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", "items": { "type": "number", "format": "float" - }, - "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", - "x-typespec-name": "float32[]" + } }, "index": { "type": "integer", @@ -907,7 +923,6 @@ "description": "Index of the prompt to which the EmbeddingItem corresponds." } }, - "description": "Representation of a single embeddings relatedness comparison.", "required": [ "embedding", "index" @@ -915,22 +930,21 @@ }, "Embeddings": { "type": "object", + "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "data": { "type": "array", + "description": "Embedding values for the prompts submitted in the request.", "items": { "$ref": "#/definitions/EmbeddingItem" }, - "x-ms-identifiers": [], - "description": "Embedding values for the prompts submitted in the request.", - "x-typespec-name": "EmbeddingItem[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/EmbeddingsUsage", "description": "Usage counts for tokens input using the embeddings API." } }, - "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "data", "usage" @@ -938,6 +952,7 @@ }, "EmbeddingsOptions": { "type": "object", + "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "user": { "type": "string", @@ -949,20 +964,19 @@ }, "input": { "type": "array", + "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", "items": { "type": "string" - }, - "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", - "x-typespec-name": "string[]" + } } }, - "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "input" ] }, "EmbeddingsUsage": { "type": "object", + "description": "Measurement of the amount of tokens used in this request and response.", "properties": { "prompt_tokens": { "type": "integer", @@ -977,7 +991,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Measurement of the amount of tokens used in this request and response.", "required": [ "prompt_tokens", "total_tokens" @@ -985,6 +998,7 @@ }, "ImageGenerationOptions": { "type": "object", + "description": "Represents the request data used to generate images.", "properties": { "prompt": { "type": "string", @@ -1011,7 +1025,6 @@ "description": "A unique identifier representing your end-user, which can help to monitor and detect abuse." } }, - "description": "Represents the request data used to generate images.", "required": [ "prompt" ] @@ -1042,6 +1055,7 @@ }, "ImageGenerations": { "type": "object", + "description": "The result of the operation if the operation succeeded.", "properties": { "created": { "type": "integer", @@ -1049,11 +1063,9 @@ "description": "A timestamp when this job or item was created (in unix epochs)." }, "data": { - "x-typespec-name": "ImageLocation[] | ImagePayload[]", "description": "The images generated by the operator." } }, - "description": "The result of the operation if the operation succeeded.", "required": [ "created", "data" @@ -1094,12 +1106,12 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index 14d29e509a8c..febf9b4db8ed 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -45,8 +45,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "api-key" + "name": "api-key", + "in": "header" }, "OAuth2Auth": { "type": "oauth2", @@ -70,17 +70,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/ChatCompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -92,14 +92,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -121,17 +121,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/CompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -143,14 +143,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -172,17 +172,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/EmbeddingsOptions" - }, - "required": true + } } ], "responses": { @@ -194,14 +194,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -223,36 +223,36 @@ { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/ImageGenerationOptions" - }, - "required": true + } } ], "responses": { "202": { "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BatchImageGenerationOperationResponse" + }, "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." } - }, - "schema": { - "$ref": "#/definitions/BatchImageGenerationOperationResponse" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -274,8 +274,8 @@ { "name": "operationId", "in": "path", - "required": true, "description": ".", + "required": true, "type": "string" } ], @@ -288,14 +288,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -310,6 +310,7 @@ "definitions": { "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -325,19 +326,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -345,19 +344,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -367,8 +367,7 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "AzureOpenAIOperationState": { "type": "string", @@ -414,6 +413,7 @@ }, "BatchImageGenerationOperationResponse": { "type": "object", + "description": "A polling status update or final response payload for an image operation.", "properties": { "id": { "type": "string", @@ -442,7 +442,6 @@ "description": "The error if the operation failed." } }, - "description": "A polling status update or final response payload for an image operation.", "required": [ "id", "created", @@ -451,6 +450,7 @@ }, "ChatChoice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "message": { "$ref": "#/definitions/ChatMessage", @@ -462,8 +462,9 @@ "description": "The ordered index associated with this chat completions choice." }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "The reason that this chat completions choice completed its generated.", + "x-nullable": true, "x-ms-client-name": "finishReason" }, "delta": { @@ -471,7 +472,6 @@ "description": "The delta message content for a streaming response." } }, - "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "index", "finish_reason" @@ -479,6 +479,7 @@ }, "ChatCompletions": { "type": "object", + "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -491,19 +492,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/ChatChoice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "ChatChoice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -513,27 +512,25 @@ }, "ChatCompletionsOptions": { "type": "object", + "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "messages": { "type": "array", + "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", "items": { "$ref": "#/definitions/ChatMessage" }, - "x-ms-identifiers": [], - "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", - "x-typespec-name": "ChatMessage[]" + "x-ms-identifiers": [] }, "functions": { "type": "array", + "description": "A list of functions the model may generate JSON inputs for.", "items": { "$ref": "#/definitions/FunctionDefinition" }, - "x-ms-identifiers": [], - "description": "A list of functions the model may generate JSON inputs for.", - "x-typespec-name": "FunctionDefinition[]" + "x-ms-identifiers": [] }, "function_call": { - "x-typespec-name": "FunctionCallPreset | FunctionName", "description": "Controls how the model responds to function calls. \"none\" means the model does not call a function,\nand responds to the end-user. \"auto\" means the model can pick between an end-user or calling a function.\n Specifying a particular function via `{\"name\": \"my_function\"}` forces the model to call that function.\n \"none\" is the default when no functions are present. \"auto\" is the default if functions are present.", "x-ms-client-name": "functionCall" }, @@ -556,12 +553,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -575,11 +571,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -602,13 +597,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "messages" ] }, "ChatMessage": { "type": "object", + "description": "A single, role-attributed message within a chat completion interaction.", "properties": { "role": { "$ref": "#/definitions/ChatRole", @@ -628,7 +623,6 @@ "x-ms-client-name": "functionCall" } }, - "description": "A single, role-attributed message within a chat completion interaction.", "required": [ "role" ] @@ -671,6 +665,7 @@ }, "Choice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "text": { "type": "string", @@ -683,22 +678,21 @@ }, "logprobs": { "type": "object", + "description": "The log probabilities model for tokens associated with this completions choice.", + "x-nullable": true, "allOf": [ { "$ref": "#/definitions/CompletionsLogProbabilityModel" } - ], - "x-nullable": true, - "x-typespec-name": "CompletionsLogProbabilityModel | null", - "description": "The log probabilities model for tokens associated with this completions choice." + ] }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "Reason for finishing", + "x-nullable": true, "x-ms-client-name": "finishReason" } }, - "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "text", "index", @@ -708,6 +702,7 @@ }, "Completions": { "type": "object", + "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -720,19 +715,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/Choice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "Choice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -740,52 +733,82 @@ "usage" ] }, + "CompletionsFinishReason": { + "type": "string", + "description": "Representation of the manner in which a completions response concluded.", + "enum": [ + "stop", + "length", + "content_filter", + "function_call" + ], + "x-ms-enum": { + "name": "CompletionsFinishReason", + "modelAsString": true, + "values": [ + { + "name": "stopped", + "value": "stop", + "description": "Completions ended normally and reached its end of token generation." + }, + { + "name": "tokenLimitReached", + "value": "length", + "description": "Completions exhausted available token limits before generation could complete." + }, + { + "name": "contentFiltered", + "value": "content_filter", + "description": "Completions generated a response that was identified as potentially sensitive per content\nmoderation policies." + }, + { + "name": "functionCall", + "value": "function_call", + "description": "Completion ended normally, with the model requesting a function to be called." + } + ] + } + }, "CompletionsLogProbabilityModel": { "type": "object", + "description": "Representation of a log probabilities model for a completions generation.", "properties": { "tokens": { "type": "array", + "description": "The textual forms of tokens evaluated in this probability model.", "items": { "type": "string" - }, - "description": "The textual forms of tokens evaluated in this probability model.", - "x-typespec-name": "string[]" + } }, "token_logprobs": { "type": "array", + "description": "A collection of log probability values for the tokens in this completions data.", "items": { "type": "number", "format": "float", - "x-nullable": true, - "x-typespec-name": "float32 | null" + "x-nullable": true }, - "description": "A collection of log probability values for the tokens in this completions data.", - "x-typespec-name": "float32 | null[]", "x-ms-client-name": "tokenLogprobs" }, "top_logprobs": { "type": "array", + "description": "A mapping of tokens to maximum log probability values in this completions data.", "items": { - "type": "object", - "x-typespec-name": "Record" + "type": "object" }, - "x-ms-identifiers": [], - "description": "A mapping of tokens to maximum log probability values in this completions data.", - "x-typespec-name": "Record[]", - "x-ms-client-name": "topLogprobs" + "x-ms-client-name": "topLogprobs", + "x-ms-identifiers": [] }, "text_offset": { "type": "array", + "description": "The text offsets associated with tokens in this completions data.", "items": { "type": "integer", "format": "int32" }, - "description": "The text offsets associated with tokens in this completions data.", - "x-typespec-name": "int32[]", "x-ms-client-name": "textOffset" } }, - "description": "Representation of a log probabilities model for a completions generation.", "required": [ "tokens", "token_logprobs", @@ -795,14 +818,14 @@ }, "CompletionsOptions": { "type": "object", + "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "prompt": { "type": "array", + "description": "The prompts to generate completions from.", "items": { "type": "string" - }, - "description": "The prompts to generate completions from.", - "x-typespec-name": "string[]" + } }, "max_tokens": { "type": "integer", @@ -823,12 +846,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -851,11 +873,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -884,13 +905,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "prompt" ] }, "CompletionsUsage": { "type": "object", + "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "properties": { "completion_tokens": { "type": "integer", @@ -911,7 +932,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "required": [ "completion_tokens", "prompt_tokens", @@ -920,15 +940,15 @@ }, "EmbeddingItem": { "type": "object", + "description": "Representation of a single embeddings relatedness comparison.", "properties": { "embedding": { "type": "array", + "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", "items": { "type": "number", "format": "float" - }, - "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", - "x-typespec-name": "float32[]" + } }, "index": { "type": "integer", @@ -936,7 +956,6 @@ "description": "Index of the prompt to which the EmbeddingItem corresponds." } }, - "description": "Representation of a single embeddings relatedness comparison.", "required": [ "embedding", "index" @@ -944,22 +963,21 @@ }, "Embeddings": { "type": "object", + "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "data": { "type": "array", + "description": "Embedding values for the prompts submitted in the request.", "items": { "$ref": "#/definitions/EmbeddingItem" }, - "x-ms-identifiers": [], - "description": "Embedding values for the prompts submitted in the request.", - "x-typespec-name": "EmbeddingItem[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/EmbeddingsUsage", "description": "Usage counts for tokens input using the embeddings API." } }, - "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "data", "usage" @@ -967,6 +985,7 @@ }, "EmbeddingsOptions": { "type": "object", + "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "user": { "type": "string", @@ -978,20 +997,19 @@ }, "input": { "type": "array", + "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", "items": { "type": "string" - }, - "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", - "x-typespec-name": "string[]" + } } }, - "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "input" ] }, "EmbeddingsUsage": { "type": "object", + "description": "Measurement of the amount of tokens used in this request and response.", "properties": { "prompt_tokens": { "type": "integer", @@ -1006,7 +1024,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Measurement of the amount of tokens used in this request and response.", "required": [ "prompt_tokens", "total_tokens" @@ -1014,6 +1031,7 @@ }, "FunctionCall": { "type": "object", + "description": "The name and arguments of a function that should be called, as generated by the model.", "properties": { "name": { "type": "string", @@ -1024,7 +1042,6 @@ "description": "The arguments to call the function with, as generated by the model in JSON format.\nNote that the model does not always generate valid JSON, and may hallucinate parameters\nnot defined by your function schema. Validate the arguments in your code before calling\nyour function." } }, - "description": "The name and arguments of a function that should be called, as generated by the model.", "required": [ "name", "arguments" @@ -1032,6 +1049,7 @@ }, "FunctionDefinition": { "type": "object", + "description": "The definition of a caller-specified function that chat completions may invoke in response to matching user input.", "properties": { "name": { "type": "string", @@ -1045,13 +1063,13 @@ "description": "The parameters the functions accepts, described as a JSON Schema object." } }, - "description": "The definition of a caller-specified function that chat completions may invoke in response to matching user input.", "required": [ "name" ] }, "ImageGenerationOptions": { "type": "object", + "description": "Represents the request data used to generate images.", "properties": { "prompt": { "type": "string", @@ -1078,7 +1096,6 @@ "description": "A unique identifier representing your end-user, which can help to monitor and detect abuse." } }, - "description": "Represents the request data used to generate images.", "required": [ "prompt" ] @@ -1109,6 +1126,7 @@ }, "ImageGenerations": { "type": "object", + "description": "The result of the operation if the operation succeeded.", "properties": { "created": { "type": "integer", @@ -1116,11 +1134,9 @@ "description": "A timestamp when this job or item was created (in unix epochs)." }, "data": { - "x-typespec-name": "ImageLocation[] | ImagePayload[]", "description": "The images generated by the operator." } }, - "description": "The result of the operation if the operation succeeded.", "required": [ "created", "data" @@ -1161,12 +1177,12 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json index 5ce1d80666c5..db764439804e 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json @@ -45,8 +45,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "api-key" + "name": "api-key", + "in": "header" }, "OAuth2Auth": { "type": "oauth2", @@ -70,17 +70,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/CompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -92,14 +92,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -121,17 +121,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/EmbeddingsOptions" - }, - "required": true + } } ], "responses": { @@ -143,14 +143,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -165,6 +165,7 @@ "definitions": { "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -180,19 +181,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -200,19 +199,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -222,11 +222,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "Choice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "text": { "type": "string", @@ -239,22 +239,21 @@ }, "logprobs": { "type": "object", + "description": "The log probabilities model for tokens associated with this completions choice.", + "x-nullable": true, "allOf": [ { "$ref": "#/definitions/CompletionsLogProbabilityModel" } - ], - "x-nullable": true, - "x-typespec-name": "CompletionsLogProbabilityModel | null", - "description": "The log probabilities model for tokens associated with this completions choice." + ] }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "Reason for finishing", + "x-nullable": true, "x-ms-client-name": "finishReason" } }, - "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "text", "index", @@ -264,6 +263,7 @@ }, "Completions": { "type": "object", + "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -276,19 +276,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/Choice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "Choice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -296,52 +294,76 @@ "usage" ] }, + "CompletionsFinishReason": { + "type": "string", + "description": "Representation of the manner in which a completions response concluded.", + "enum": [ + "stop", + "length", + "content_filter" + ], + "x-ms-enum": { + "name": "CompletionsFinishReason", + "modelAsString": true, + "values": [ + { + "name": "stopped", + "value": "stop", + "description": "Completions ended normally and reached its end of token generation." + }, + { + "name": "tokenLimitReached", + "value": "length", + "description": "Completions exhausted available token limits before generation could complete." + }, + { + "name": "contentFiltered", + "value": "content_filter", + "description": "Completions generated a response that was identified as potentially sensitive per content\nmoderation policies." + } + ] + } + }, "CompletionsLogProbabilityModel": { "type": "object", + "description": "Representation of a log probabilities model for a completions generation.", "properties": { "tokens": { "type": "array", + "description": "The textual forms of tokens evaluated in this probability model.", "items": { "type": "string" - }, - "description": "The textual forms of tokens evaluated in this probability model.", - "x-typespec-name": "string[]" + } }, "token_logprobs": { "type": "array", + "description": "A collection of log probability values for the tokens in this completions data.", "items": { "type": "number", "format": "float", - "x-nullable": true, - "x-typespec-name": "float32 | null" + "x-nullable": true }, - "description": "A collection of log probability values for the tokens in this completions data.", - "x-typespec-name": "float32 | null[]", "x-ms-client-name": "tokenLogprobs" }, "top_logprobs": { "type": "array", + "description": "A mapping of tokens to maximum log probability values in this completions data.", "items": { - "type": "object", - "x-typespec-name": "Record" + "type": "object" }, - "x-ms-identifiers": [], - "description": "A mapping of tokens to maximum log probability values in this completions data.", - "x-typespec-name": "Record[]", - "x-ms-client-name": "topLogprobs" + "x-ms-client-name": "topLogprobs", + "x-ms-identifiers": [] }, "text_offset": { "type": "array", + "description": "The text offsets associated with tokens in this completions data.", "items": { "type": "integer", "format": "int32" }, - "description": "The text offsets associated with tokens in this completions data.", - "x-typespec-name": "int32[]", "x-ms-client-name": "textOffset" } }, - "description": "Representation of a log probabilities model for a completions generation.", "required": [ "tokens", "token_logprobs", @@ -351,14 +373,14 @@ }, "CompletionsOptions": { "type": "object", + "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "prompt": { "type": "array", + "description": "The prompts to generate completions from.", "items": { "type": "string" - }, - "description": "The prompts to generate completions from.", - "x-typespec-name": "string[]" + } }, "max_tokens": { "type": "integer", @@ -379,12 +401,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -407,11 +428,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -440,13 +460,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "prompt" ] }, "CompletionsUsage": { "type": "object", + "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "properties": { "completion_tokens": { "type": "integer", @@ -467,7 +487,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "required": [ "completion_tokens", "prompt_tokens", @@ -476,15 +495,15 @@ }, "EmbeddingItem": { "type": "object", + "description": "Representation of a single embeddings relatedness comparison.", "properties": { "embedding": { "type": "array", + "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", "items": { "type": "number", "format": "float" - }, - "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", - "x-typespec-name": "float32[]" + } }, "index": { "type": "integer", @@ -492,7 +511,6 @@ "description": "Index of the prompt to which the EmbeddingItem corresponds." } }, - "description": "Representation of a single embeddings relatedness comparison.", "required": [ "embedding", "index" @@ -500,22 +518,21 @@ }, "Embeddings": { "type": "object", + "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "data": { "type": "array", + "description": "Embedding values for the prompts submitted in the request.", "items": { "$ref": "#/definitions/EmbeddingItem" }, - "x-ms-identifiers": [], - "description": "Embedding values for the prompts submitted in the request.", - "x-typespec-name": "EmbeddingItem[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/EmbeddingsUsage", "description": "Usage counts for tokens input using the embeddings API." } }, - "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "data", "usage" @@ -523,6 +540,7 @@ }, "EmbeddingsOptions": { "type": "object", + "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "user": { "type": "string", @@ -534,20 +552,19 @@ }, "input": { "type": "array", + "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", "items": { "type": "string" - }, - "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", - "x-typespec-name": "string[]" + } } }, - "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "input" ] }, "EmbeddingsUsage": { "type": "object", + "description": "Measurement of the amount of tokens used in this request and response.", "properties": { "prompt_tokens": { "type": "integer", @@ -562,7 +579,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Measurement of the amount of tokens used in this request and response.", "required": [ "prompt_tokens", "total_tokens" @@ -573,12 +589,12 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json index 3ab19f89af3d..a675bae98292 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json @@ -45,8 +45,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "api-key" + "name": "api-key", + "in": "header" }, "OAuth2Auth": { "type": "oauth2", @@ -70,17 +70,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/ChatCompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -92,14 +92,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -121,17 +121,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/CompletionsOptions" - }, - "required": true + } } ], "responses": { @@ -143,14 +143,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -172,17 +172,17 @@ { "name": "deploymentId", "in": "path", - "required": true, "description": "deployment id of the deployed model", + "required": true, "type": "string" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/EmbeddingsOptions" - }, - "required": true + } } ], "responses": { @@ -194,14 +194,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -216,6 +216,7 @@ "definitions": { "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -231,19 +232,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -251,19 +250,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -273,11 +273,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "ChatChoice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "message": { "$ref": "#/definitions/ChatMessage", @@ -289,8 +289,9 @@ "description": "The ordered index associated with this chat completions choice." }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "The reason that this chat completions choice completed its generated.", + "x-nullable": true, "x-ms-client-name": "finishReason" }, "delta": { @@ -298,7 +299,6 @@ "description": "The delta message content for a streaming response." } }, - "description": "The representation of a single prompt completion as part of an overall chat completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "index", "finish_reason" @@ -306,6 +306,7 @@ }, "ChatCompletions": { "type": "object", + "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -318,19 +319,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/ChatChoice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "ChatChoice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -340,15 +339,15 @@ }, "ChatCompletionsOptions": { "type": "object", + "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "messages": { "type": "array", + "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", "items": { "$ref": "#/definitions/ChatMessage" }, - "x-ms-identifiers": [], - "description": "The collection of context messages associated with this chat completions request.\nTypical usage begins with a chat message for the System role that provides instructions for\nthe behavior of the assistant, followed by alternating messages between the User and\nAssistant roles.", - "x-typespec-name": "ChatMessage[]" + "x-ms-identifiers": [] }, "max_tokens": { "type": "integer", @@ -369,12 +368,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -388,11 +386,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -415,13 +412,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a chat completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "messages" ] }, "ChatMessage": { "type": "object", + "description": "A single, role-attributed message within a chat completion interaction.", "properties": { "role": { "$ref": "#/definitions/ChatRole", @@ -432,7 +429,6 @@ "description": "The text associated with this message payload." } }, - "description": "A single, role-attributed message within a chat completion interaction.", "required": [ "role" ] @@ -469,6 +465,7 @@ }, "Choice": { "type": "object", + "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "properties": { "text": { "type": "string", @@ -481,22 +478,21 @@ }, "logprobs": { "type": "object", + "description": "The log probabilities model for tokens associated with this completions choice.", + "x-nullable": true, "allOf": [ { "$ref": "#/definitions/CompletionsLogProbabilityModel" } - ], - "x-nullable": true, - "x-typespec-name": "CompletionsLogProbabilityModel | null", - "description": "The log probabilities model for tokens associated with this completions choice." + ] }, "finish_reason": { - "x-typespec-name": "CompletionsFinishReason | null", + "$ref": "#/definitions/CompletionsFinishReason", "description": "Reason for finishing", + "x-nullable": true, "x-ms-client-name": "finishReason" } }, - "description": "The representation of a single prompt completion as part of an overall completions request.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "required": [ "text", "index", @@ -506,6 +502,7 @@ }, "Completions": { "type": "object", + "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "id": { "type": "string", @@ -518,19 +515,17 @@ }, "choices": { "type": "array", + "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", "items": { "$ref": "#/definitions/Choice" }, - "x-ms-identifiers": [], - "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", - "x-typespec-name": "Choice[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." } }, - "description": "Representation of the response data from a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "id", "created", @@ -538,52 +533,76 @@ "usage" ] }, + "CompletionsFinishReason": { + "type": "string", + "description": "Representation of the manner in which a completions response concluded.", + "enum": [ + "stop", + "length", + "content_filter" + ], + "x-ms-enum": { + "name": "CompletionsFinishReason", + "modelAsString": true, + "values": [ + { + "name": "stopped", + "value": "stop", + "description": "Completions ended normally and reached its end of token generation." + }, + { + "name": "tokenLimitReached", + "value": "length", + "description": "Completions exhausted available token limits before generation could complete." + }, + { + "name": "contentFiltered", + "value": "content_filter", + "description": "Completions generated a response that was identified as potentially sensitive per content\nmoderation policies." + } + ] + } + }, "CompletionsLogProbabilityModel": { "type": "object", + "description": "Representation of a log probabilities model for a completions generation.", "properties": { "tokens": { "type": "array", + "description": "The textual forms of tokens evaluated in this probability model.", "items": { "type": "string" - }, - "description": "The textual forms of tokens evaluated in this probability model.", - "x-typespec-name": "string[]" + } }, "token_logprobs": { "type": "array", + "description": "A collection of log probability values for the tokens in this completions data.", "items": { "type": "number", "format": "float", - "x-nullable": true, - "x-typespec-name": "float32 | null" + "x-nullable": true }, - "description": "A collection of log probability values for the tokens in this completions data.", - "x-typespec-name": "float32 | null[]", "x-ms-client-name": "tokenLogprobs" }, "top_logprobs": { "type": "array", + "description": "A mapping of tokens to maximum log probability values in this completions data.", "items": { - "type": "object", - "x-typespec-name": "Record" + "type": "object" }, - "x-ms-identifiers": [], - "description": "A mapping of tokens to maximum log probability values in this completions data.", - "x-typespec-name": "Record[]", - "x-ms-client-name": "topLogprobs" + "x-ms-client-name": "topLogprobs", + "x-ms-identifiers": [] }, "text_offset": { "type": "array", + "description": "The text offsets associated with tokens in this completions data.", "items": { "type": "integer", "format": "int32" }, - "description": "The text offsets associated with tokens in this completions data.", - "x-typespec-name": "int32[]", "x-ms-client-name": "textOffset" } }, - "description": "Representation of a log probabilities model for a completions generation.", "required": [ "tokens", "token_logprobs", @@ -593,14 +612,14 @@ }, "CompletionsOptions": { "type": "object", + "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "properties": { "prompt": { "type": "array", + "description": "The prompts to generate completions from.", "items": { "type": "string" - }, - "description": "The prompts to generate completions from.", - "x-typespec-name": "string[]" + } }, "max_tokens": { "type": "integer", @@ -621,12 +640,11 @@ }, "logit_bias": { "type": "object", + "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", "additionalProperties": { - "type": "integer", - "format": "int32" + "format": "int32", + "type": "integer" }, - "description": "A map between GPT token IDs and bias scores that influences the probability of specific tokens\nappearing in a completions response. Token IDs are computed via external tokenizer tools, while\nbias scores reside in the range of -100 to 100 with minimum and maximum values corresponding to\na full ban or exclusive selection of a token, respectively. The exact behavior of a given bias\nscore varies by model.", - "x-typespec-name": "Record", "x-ms-client-name": "logitBias" }, "user": { @@ -649,11 +667,10 @@ }, "stop": { "type": "array", + "description": "A collection of textual sequences that will end completions generation.", "items": { "type": "string" - }, - "description": "A collection of textual sequences that will end completions generation.", - "x-typespec-name": "string[]" + } }, "presence_penalty": { "type": "number", @@ -682,13 +699,13 @@ "description": "The model name to provide as part of this completions request.\nNot applicable to Azure OpenAI, where deployment information should be included in the Azure\nresource URI that's connected to." } }, - "description": "The configuration information for a completions request.\nCompletions support a wide variety of tasks and generate text that continues from or \"completes\"\nprovided prompt data.", "required": [ "prompt" ] }, "CompletionsUsage": { "type": "object", + "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "properties": { "completion_tokens": { "type": "integer", @@ -709,7 +726,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Representation of the token counts processed for a completions request.\nCounts consider all tokens across prompts, choices, choice alternates, best_of generations, and\nother consumers.", "required": [ "completion_tokens", "prompt_tokens", @@ -718,15 +734,15 @@ }, "EmbeddingItem": { "type": "object", + "description": "Representation of a single embeddings relatedness comparison.", "properties": { "embedding": { "type": "array", + "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", "items": { "type": "number", "format": "float" - }, - "description": "List of embeddings value for the input prompt. These represent a measurement of the\nvector-based relatedness of the provided input.", - "x-typespec-name": "float32[]" + } }, "index": { "type": "integer", @@ -734,7 +750,6 @@ "description": "Index of the prompt to which the EmbeddingItem corresponds." } }, - "description": "Representation of a single embeddings relatedness comparison.", "required": [ "embedding", "index" @@ -742,22 +757,21 @@ }, "Embeddings": { "type": "object", + "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "data": { "type": "array", + "description": "Embedding values for the prompts submitted in the request.", "items": { "$ref": "#/definitions/EmbeddingItem" }, - "x-ms-identifiers": [], - "description": "Embedding values for the prompts submitted in the request.", - "x-typespec-name": "EmbeddingItem[]" + "x-ms-identifiers": [] }, "usage": { "$ref": "#/definitions/EmbeddingsUsage", "description": "Usage counts for tokens input using the embeddings API." } }, - "description": "Representation of the response data from an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "data", "usage" @@ -765,6 +779,7 @@ }, "EmbeddingsOptions": { "type": "object", + "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "properties": { "user": { "type": "string", @@ -776,20 +791,19 @@ }, "input": { "type": "array", + "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", "items": { "type": "string" - }, - "description": "Input texts to get embeddings for, encoded as a an array of strings.\nEach input must not exceed 2048 tokens in length.\n\nUnless you are embedding code, we suggest replacing newlines (\\n) in your input with a single space,\nas we have observed inferior results when newlines are present.", - "x-typespec-name": "string[]" + } } }, - "description": "The configuration information for an embeddings request.\nEmbeddings measure the relatedness of text strings and are commonly used for search, clustering,\nrecommendations, and other similar scenarios.", "required": [ "input" ] }, "EmbeddingsUsage": { "type": "object", + "description": "Measurement of the amount of tokens used in this request and response.", "properties": { "prompt_tokens": { "type": "integer", @@ -804,7 +818,6 @@ "x-ms-client-name": "totalTokens" } }, - "description": "Measurement of the amount of tokens used in this request and response.", "required": [ "prompt_tokens", "total_tokens" @@ -815,12 +828,12 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json b/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json index ab2a5ad3e99d..7da0f7f59584 100644 --- a/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json +++ b/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json @@ -40,8 +40,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "Ocp-Apim-Subscription-Key" + "name": "Ocp-Apim-Subscription-Key", + "in": "header" } }, "tags": [], @@ -58,8 +58,8 @@ { "name": "body", "in": "body", - "required": true, "description": "The analysis request of the image.", + "required": true, "schema": { "$ref": "#/definitions/AnalyzeImageOptions" } @@ -74,14 +74,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -107,50 +107,47 @@ "description": "The request has succeeded.", "schema": { "type": "object", + "description": "Paged collection of TextBlocklist items", "properties": { "value": { "type": "array", + "description": "The TextBlocklist items on this page", "items": { "$ref": "#/definitions/TextBlocklist" }, - "x-ms-identifiers": [], - "description": "The TextBlocklist items on this page", - "x-typespec-name": "TextBlocklist[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of TextBlocklist items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get All Text Blocklists": { "$ref": "./examples/ListTextBlocklists.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -166,11 +163,11 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" } ], "responses": { @@ -182,14 +179,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -203,6 +200,9 @@ "operationId": "TextBlocklists_CreateOrUpdateTextBlocklist", "summary": "Create Or Update Text Blocklist", "description": "Updates a text blocklist, if blocklistName does not exist, create a new blocklist.", + "consumes": [ + "application/merge-patch+json" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -210,17 +210,17 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" }, { "name": "resource", "in": "body", - "required": true, "description": "The resource instance.", + "required": true, "schema": { "$ref": "#/definitions/TextBlocklistUpdate" } @@ -241,20 +241,17 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/merge-patch+json" - ], "x-ms-examples": { "Create Or Update Text Blocklist": { "$ref": "./examples/CreateOrUpdateTextBlocklist.json" @@ -272,11 +269,11 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" } ], "responses": { @@ -285,14 +282,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -315,19 +312,19 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/AddBlockItemsOptions" - }, - "required": true + } } ], "responses": { @@ -339,14 +336,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -369,19 +366,19 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" }, { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/RemoveBlockItemsOptions" - }, - "required": true + } } ], "responses": { @@ -390,14 +387,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -420,11 +417,11 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" }, { "$ref": "#/parameters/Azure.Core.TopQueryParameter" @@ -441,50 +438,47 @@ "description": "The request has succeeded.", "schema": { "type": "object", + "description": "Paged collection of TextBlockItem items", "properties": { "value": { "type": "array", + "description": "The TextBlockItem items on this page", "items": { "$ref": "#/definitions/TextBlockItem" }, - "x-ms-identifiers": [], - "description": "The TextBlockItem items on this page", - "x-typespec-name": "TextBlockItem[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of TextBlockItem items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get All BlockItems By blocklistName": { "$ref": "./examples/ListTextBlocklistItems.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -500,17 +494,17 @@ { "name": "blocklistName", "in": "path", - "required": true, "description": "Text blocklist name.", + "required": true, "type": "string", - "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64 + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$" }, { "name": "blockItemId", "in": "path", - "required": true, "description": "Block Item Id. It will be uuid.", + "required": true, "type": "string", "maxLength": 64 } @@ -524,14 +518,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -554,8 +548,8 @@ { "name": "body", "in": "body", - "required": true, "description": "The request of text analysis.", + "required": true, "schema": { "$ref": "#/definitions/AnalyzeTextOptions" } @@ -570,14 +564,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -592,39 +586,38 @@ "definitions": { "AddBlockItemsOptions": { "type": "object", + "description": "The request of adding blockItems to text blocklist.", "properties": { "blockItems": { "type": "array", + "description": "Array of blockItemInfo to add.", "items": { "$ref": "#/definitions/TextBlockItemInfo" }, - "x-ms-identifiers": [], - "description": "Array of blockItemInfo to add.", - "x-typespec-name": "TextBlockItemInfo[]" + "x-ms-identifiers": [] } }, - "description": "The request of adding blockItems to text blocklist.", "required": [ "blockItems" ] }, "AddBlockItemsResult": { "type": "object", + "description": "The response of adding blockItems to text blocklist.", "properties": { "value": { "type": "array", + "description": "Array of blockItems added.", "items": { "$ref": "#/definitions/TextBlockItem" }, - "x-ms-identifiers": [], - "description": "Array of blockItems added.", - "x-typespec-name": "TextBlockItem[]" + "x-ms-identifiers": [] } - }, - "description": "The response of adding blockItems to text blocklist." + } }, "AnalyzeImageOptions": { "type": "object", + "description": "The analysis request of the image.", "properties": { "image": { "$ref": "#/definitions/ImageData", @@ -632,20 +625,19 @@ }, "categories": { "type": "array", + "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", "items": { "$ref": "#/definitions/ImageCategory" - }, - "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", - "x-typespec-name": "ImageCategory[]" + } } }, - "description": "The analysis request of the image.", "required": [ "image" ] }, "AnalyzeImageResult": { "type": "object", + "description": "The analysis response of the image.", "properties": { "hateResult": { "$ref": "#/definitions/ImageAnalyzeSeverityResult", @@ -663,11 +655,11 @@ "$ref": "#/definitions/ImageAnalyzeSeverityResult", "description": "Analysis result for Violence category." } - }, - "description": "The analysis response of the image." + } }, "AnalyzeTextOptions": { "type": "object", + "description": "The analysis request of the text.", "properties": { "text": { "type": "string", @@ -676,41 +668,38 @@ }, "categories": { "type": "array", + "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", "items": { "$ref": "#/definitions/TextCategory" - }, - "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", - "x-typespec-name": "TextCategory[]" + } }, "blocklistNames": { "type": "array", + "description": "The names of blocklists.", "items": { "type": "string" - }, - "description": "The names of blocklists.", - "x-typespec-name": "string[]" + } }, "breakByBlocklists": { "type": "boolean", "description": "When set to true, further analyses of harmful content will not be performed in cases where blocklists are hit. When set to false, all analyses of harmful content will be performed, whether or not blocklists are hit." } }, - "description": "The analysis request of the text.", "required": [ "text" ] }, "AnalyzeTextResult": { "type": "object", + "description": "The analysis response of the text", "properties": { "blocklistsMatchResults": { "type": "array", + "description": "The details of blocklist match.", "items": { "$ref": "#/definitions/TextBlocklistMatchResult" }, - "x-ms-identifiers": [], - "description": "The details of blocklist match.", - "x-typespec-name": "TextBlocklistMatchResult[]" + "x-ms-identifiers": [] }, "hateResult": { "$ref": "#/definitions/TextAnalyzeSeverityResult", @@ -728,11 +717,11 @@ "$ref": "#/definitions/TextAnalyzeSeverityResult", "description": "Analysis result for Violence category." } - }, - "description": "The analysis response of the text" + } }, "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -748,19 +737,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -768,19 +755,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -790,11 +778,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "ImageAnalyzeSeverityResult": { "type": "object", + "description": "Image analysis result.", "properties": { "category": { "$ref": "#/definitions/ImageCategory", @@ -806,7 +794,6 @@ "description": "The higher the severity of input content, the larger this value, currently its value could be: 0,2,4,6." } }, - "description": "Image analysis result.", "required": [ "category", "severity" @@ -828,6 +815,7 @@ }, "ImageData": { "type": "object", + "description": "The content or blob url of image, could be base64 encoding bytes or blob url. If both are given, the request will be refused. The maximum size of image is 2048 pixels * 2048 pixels, no larger than 4MB at the same time. The minimum size of image is 50 pixels * 50 pixels.", "properties": { "content": { "type": "string", @@ -839,28 +827,27 @@ "format": "uri", "description": "The blob url of image." } - }, - "description": "The content or blob url of image, could be base64 encoding bytes or blob url. If both are given, the request will be refused. The maximum size of image is 2048 pixels * 2048 pixels, no larger than 4MB at the same time. The minimum size of image is 50 pixels * 50 pixels." + } }, "RemoveBlockItemsOptions": { "type": "object", + "description": "The request of removing blockItems from text blocklist.", "properties": { "blockItemIds": { "type": "array", + "description": "Array of blockItemIds to remove.", "items": { "type": "string" - }, - "description": "Array of blockItemIds to remove.", - "x-typespec-name": "string[]" + } } }, - "description": "The request of removing blockItems from text blocklist.", "required": [ "blockItemIds" ] }, "TextAnalyzeSeverityResult": { "type": "object", + "description": "Text analysis result.", "properties": { "category": { "$ref": "#/definitions/TextCategory", @@ -872,7 +859,6 @@ "description": "The higher the severity of input content, the larger this value is. The values could be: 0,2,4,6." } }, - "description": "Text analysis result.", "required": [ "category", "severity" @@ -880,6 +866,7 @@ }, "TextBlockItem": { "type": "object", + "description": "Item in TextBlocklist.", "properties": { "blockItemId": { "type": "string", @@ -901,7 +888,6 @@ "maxLength": 128 } }, - "description": "Item in TextBlocklist.", "required": [ "blockItemId", "text" @@ -909,6 +895,7 @@ }, "TextBlockItemInfo": { "type": "object", + "description": "Block item info in text blocklist.", "properties": { "description": { "type": "string", @@ -921,19 +908,19 @@ "maxLength": 128 } }, - "description": "Block item info in text blocklist.", "required": [ "text" ] }, "TextBlocklist": { "type": "object", + "description": "Text Blocklist.", "properties": { "blocklistName": { "type": "string", "description": "Text blocklist name.", - "pattern": "^[0-9A-Za-z._~-]+$", "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$", "x-ms-mutability": [ "read", "create" @@ -945,13 +932,13 @@ "maxLength": 1024 } }, - "description": "Text Blocklist.", "required": [ "blocklistName" ] }, "TextBlocklistMatchResult": { "type": "object", + "description": "The result of blocklist match.", "properties": { "blocklistName": { "type": "string", @@ -979,7 +966,6 @@ "description": "The length of matched text in original input." } }, - "description": "The result of blocklist match.", "required": [ "blocklistName", "blockItemId", @@ -990,14 +976,14 @@ }, "TextBlocklistUpdate": { "type": "object", + "description": "Text Blocklist.", "properties": { "description": { "type": "string", "description": "Text blocklist description.", "maxLength": 1024 } - }, - "description": "Text Blocklist." + } }, "TextCategory": { "type": "string", @@ -1034,18 +1020,18 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" }, "Azure.Core.MaxPageSizeQueryParameter": { "name": "maxpagesize", "in": "query", - "required": false, "description": "The maximum number of result items per page.", + "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method" @@ -1053,18 +1039,18 @@ "Azure.Core.SkipQueryParameter": { "name": "skip", "in": "query", - "required": false, "description": "The number of result items to skip.", - "default": 0, + "required": false, "type": "integer", "format": "int32", + "default": 0, "x-ms-parameter-location": "method" }, "Azure.Core.TopQueryParameter": { "name": "top", "in": "query", - "required": false, "description": "The number of result items to return.", + "required": false, "type": "integer", "format": "int32", "x-ms-parameter-location": "method" diff --git a/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json b/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json index b3c226255a51..95b328914fd6 100644 --- a/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json +++ b/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json @@ -42,8 +42,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "Ocp-Apim-Subscription-Key" + "name": "Ocp-Apim-Subscription-Key", + "in": "header" } }, "tags": [ @@ -57,10 +57,10 @@ "paths": { "/oncophenotype/jobs": { "post": { + "operationId": "OncoPhenotype_CreateJob", "tags": [ "OncoPhenotype" ], - "operationId": "OncoPhenotype_CreateJob", "summary": "Create Onco Phenotype job", "description": "Creates an Onco Phenotype job with the given request body.", "parameters": [ @@ -76,10 +76,10 @@ { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/OncoPhenotypeData" - }, - "required": true + } } ], "responses": { @@ -93,18 +93,18 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." }, "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Repeatability-Result": { - "description": "Indicates whether the repeatable request was accepted or rejected.", "type": "string", + "description": "Indicates whether the repeatable request was accepted or rejected.", "enum": [ "accepted", "rejected" @@ -114,14 +114,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -134,10 +134,10 @@ }, "/oncophenotype/jobs/{jobId}": { "get": { + "operationId": "OncoPhenotype_GetJob", "tags": [ "OncoPhenotype" ], - "operationId": "OncoPhenotype_GetJob", "summary": "Get Onco Phenotype job details", "description": "Gets the status and details of the Onco Phenotype job.", "parameters": [ @@ -147,8 +147,8 @@ { "name": "jobId", "in": "path", - "required": true, "description": "A processing job identifier.", + "required": true, "type": "string", "format": "uuid" } @@ -162,14 +162,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -182,10 +182,10 @@ }, "/trialmatcher/jobs": { "post": { + "operationId": "TrialMatcher_CreateJob", "tags": [ "TrialMatcher" ], - "operationId": "TrialMatcher_CreateJob", "summary": "Create Trial Matcher job", "description": "Creates a Trial Matcher job with the given request body.", "parameters": [ @@ -201,10 +201,10 @@ { "name": "body", "in": "body", + "required": true, "schema": { "$ref": "#/definitions/TrialMatcherData" - }, - "required": true + } } ], "responses": { @@ -218,18 +218,18 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." }, "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Repeatability-Result": { - "description": "Indicates whether the repeatable request was accepted or rejected.", "type": "string", + "description": "Indicates whether the repeatable request was accepted or rejected.", "enum": [ "accepted", "rejected" @@ -239,14 +239,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -259,10 +259,10 @@ }, "/trialmatcher/jobs/{jobId}": { "get": { + "operationId": "TrialMatcher_GetJob", "tags": [ "TrialMatcher" ], - "operationId": "TrialMatcher_GetJob", "summary": "Get Trial Matcher job details", "description": "Gets the status and details of the Trial Matcher job.", "parameters": [ @@ -272,8 +272,8 @@ { "name": "jobId", "in": "path", - "required": true, "description": "A processing job identifier.", + "required": true, "type": "string", "format": "uuid" } @@ -287,14 +287,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -309,6 +309,7 @@ "definitions": { "AcceptedAge": { "type": "object", + "description": "A person's age, given as a number (value) and a unit (e.g. years, months)", "properties": { "unit": { "$ref": "#/definitions/AgeUnit", @@ -320,7 +321,6 @@ "description": "The number of years/months/days that represents the person's age." } }, - "description": "A person's age, given as a number (value) and a unit (e.g. years, months)", "required": [ "unit", "value" @@ -328,6 +328,7 @@ }, "AcceptedAgeRange": { "type": "object", + "description": "A definition of the range of ages accepted by a clinical trial. Contains a minimum age and/or a maximum age.", "properties": { "minimumAge": { "$ref": "#/definitions/AcceptedAge", @@ -337,8 +338,7 @@ "$ref": "#/definitions/AcceptedAge", "description": "A person's age, given as a number (value) and a unit (e.g. years, months)" } - }, - "description": "A definition of the range of ages accepted by a clinical trial. Contains a minimum age and/or a maximum age." + } }, "AgeUnit": { "type": "string", @@ -385,6 +385,7 @@ }, "AreaGeometry": { "type": "object", + "description": "`GeoJSON` geometry, representing the area circle's center.", "properties": { "type": { "$ref": "#/definitions/GeoJsonGeometryType", @@ -392,17 +393,15 @@ }, "coordinates": { "type": "array", + "description": "Coordinates of the area circle's center, represented according to the `GeoJSON` standard.\nThis is an array of 2 decimal numbers, longitude and latitude (precisely in this order).", + "minItems": 2, + "maxItems": 2, "items": { "type": "number", "format": "float" - }, - "description": "Coordinates of the area circle's center, represented according to the `GeoJSON` standard.\nThis is an array of 2 decimal numbers, longitude and latitude (precisely in this order).", - "x-typespec-name": "float32[]", - "minItems": 2, - "maxItems": 2 + } } }, - "description": "`GeoJSON` geometry, representing the area circle's center.", "required": [ "type", "coordinates" @@ -410,6 +409,7 @@ }, "AreaProperties": { "type": "object", + "description": "`GeoJSON` object properties.", "properties": { "subType": { "$ref": "#/definitions/GeoJsonPropertiesSubType", @@ -421,7 +421,6 @@ "description": "The radius of the area's circle, in meters." } }, - "description": "`GeoJSON` object properties.", "required": [ "subType", "radius" @@ -429,6 +428,7 @@ }, "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -444,19 +444,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -464,19 +462,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -486,11 +485,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "ClinicalCodedElement": { "type": "object", + "description": "A piece of clinical information, expressed as a code in a clinical coding system.", "properties": { "system": { "type": "string", @@ -509,7 +508,6 @@ "description": "A value associated with the code within the given clinical coding system." } }, - "description": "A piece of clinical information, expressed as a code in a clinical coding system.", "required": [ "system", "code" @@ -569,6 +567,7 @@ }, "ClinicalNoteEvidence": { "type": "object", + "description": "A piece of evidence from a clinical note (text document).", "properties": { "id": { "type": "string", @@ -591,7 +590,6 @@ "minimum": 1 } }, - "description": "A piece of evidence from a clinical note (text document).", "required": [ "id", "offset", @@ -627,6 +625,7 @@ }, "ClinicalTrialDemographics": { "type": "object", + "description": "Demographic criteria for a clinical trial.", "properties": { "acceptedSex": { "$ref": "#/definitions/ClinicalTrialAcceptedSex", @@ -636,11 +635,11 @@ "$ref": "#/definitions/AcceptedAgeRange", "description": "A definition of the range of ages accepted by a clinical trial. Contains a minimum age and/or a maximum age." } - }, - "description": "Demographic criteria for a clinical trial." + } }, "ClinicalTrialDetails": { "type": "object", + "description": "A description of a clinical trial.", "properties": { "id": { "type": "string", @@ -660,7 +659,6 @@ "description": "Trial data which is of interest to the potential participant." } }, - "description": "A description of a clinical trial.", "required": [ "id", "metadata" @@ -668,14 +666,14 @@ }, "ClinicalTrialMetadata": { "type": "object", + "description": "Trial data which is of interest to the potential participant.", "properties": { "phases": { "type": "array", + "description": "Phases which are relevant for the clinical trial.\nEach clinical trial can be in a certain phase or in multiple phases.", "items": { "$ref": "#/definitions/ClinicalTrialPhase" - }, - "description": "Phases which are relevant for the clinical trial.\nEach clinical trial can be in a certain phase or in multiple phases.", - "x-typespec-name": "ClinicalTrialPhase[]" + } }, "studyType": { "$ref": "#/definitions/ClinicalTrialStudyType", @@ -687,41 +685,36 @@ }, "conditions": { "type": "array", + "description": "Medical conditions and their synonyms which are relevant for the clinical trial, given as strings.", + "minItems": 1, "items": { "type": "string" - }, - "description": "Medical conditions and their synonyms which are relevant for the clinical trial, given as strings.", - "x-typespec-name": "string[]", - "minItems": 1 + } }, "sponsors": { "type": "array", + "description": "Sponsors/collaborators involved with the trial.", "items": { "type": "string" - }, - "description": "Sponsors/collaborators involved with the trial.", - "x-typespec-name": "string[]" + } }, "contacts": { "type": "array", + "description": "Contact details of the trial administrators, for patients that want to participate in the trial.", "items": { "$ref": "#/definitions/ContactDetails" }, - "x-ms-identifiers": [], - "description": "Contact details of the trial administrators, for patients that want to participate in the trial.", - "x-typespec-name": "ContactDetails[]" + "x-ms-identifiers": [] }, "facilities": { "type": "array", + "description": "Research facilities where the clinical trial is conducted.", "items": { "$ref": "#/definitions/ClinicalTrialResearchFacility" }, - "x-ms-identifiers": [], - "description": "Research facilities where the clinical trial is conducted.", - "x-typespec-name": "ClinicalTrialResearchFacility[]" + "x-ms-identifiers": [] } }, - "description": "Trial data which is of interest to the potential participant.", "required": [ "conditions" ] @@ -864,102 +857,92 @@ }, "ClinicalTrialRegistryFilter": { "type": "object", + "description": "A filter defining a subset of clinical trials from a given clinical trial registry (e.g. clinicaltrials.gov).", "properties": { "conditions": { "type": "array", + "description": "Trials with any of the given medical conditions will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the medical conditions.", "items": { "type": "string" - }, - "description": "Trials with any of the given medical conditions will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the medical conditions.", - "x-typespec-name": "string[]" + } }, "studyTypes": { "type": "array", + "description": "Trials with any of the given study types will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the study types.", "items": { "$ref": "#/definitions/ClinicalTrialStudyType" - }, - "description": "Trials with any of the given study types will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the study types.", - "x-typespec-name": "ClinicalTrialStudyType[]" + } }, "recruitmentStatuses": { "type": "array", + "description": "Trials with any of the given recruitment statuses will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the recruitment statuses.", "items": { "$ref": "#/definitions/ClinicalTrialRecruitmentStatus" - }, - "description": "Trials with any of the given recruitment statuses will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the recruitment statuses.", - "x-typespec-name": "ClinicalTrialRecruitmentStatus[]" + } }, "sponsors": { "type": "array", + "description": "Trials with any of the given sponsors will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sponsors.", "items": { "type": "string" - }, - "description": "Trials with any of the given sponsors will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sponsors.", - "x-typespec-name": "string[]" + } }, "phases": { "type": "array", + "description": "Trials with any of the given phases will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the phases.", "items": { "$ref": "#/definitions/ClinicalTrialPhase" - }, - "description": "Trials with any of the given phases will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the phases.", - "x-typespec-name": "ClinicalTrialPhase[]" + } }, "purposes": { "type": "array", + "description": "Trials with any of the given purposes will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the purposes.", "items": { "$ref": "#/definitions/ClinicalTrialPurpose" - }, - "description": "Trials with any of the given purposes will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the purposes.", - "x-typespec-name": "ClinicalTrialPurpose[]" + } }, "ids": { "type": "array", + "description": "Trials with any of the given identifiers will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial identifiers.", "items": { "type": "string" - }, - "description": "Trials with any of the given identifiers will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial identifiers.", - "x-typespec-name": "string[]" + } }, "sources": { "type": "array", + "description": "Trials with any of the given sources will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sources.", "items": { "$ref": "#/definitions/ClinicalTrialSource" - }, - "description": "Trials with any of the given sources will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sources.", - "x-typespec-name": "ClinicalTrialSource[]" + } }, "facilityNames": { "type": "array", + "description": "Trials with any of the given facility names will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility names.", "items": { "type": "string" - }, - "description": "Trials with any of the given facility names will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility names.", - "x-typespec-name": "string[]" + } }, "facilityLocations": { "type": "array", + "description": "Trials with any of the given facility locations will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility locations.", "items": { "$ref": "#/definitions/GeographicLocation" }, - "x-ms-identifiers": [], - "description": "Trials with any of the given facility locations will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility locations.", - "x-typespec-name": "GeographicLocation[]" + "x-ms-identifiers": [] }, "facilityAreas": { "type": "array", + "description": "Trials with any of the given facility area boundaries will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility area boundaries.", "items": { "$ref": "#/definitions/GeographicArea" }, - "x-ms-identifiers": [], - "description": "Trials with any of the given facility area boundaries will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility area boundaries.", - "x-typespec-name": "GeographicArea[]" + "x-ms-identifiers": [] } - }, - "description": "A filter defining a subset of clinical trials from a given clinical trial registry (e.g. clinicaltrials.gov)." + } }, "ClinicalTrialResearchFacility": { "type": "object", + "description": "Details of a research facility where a clinical trial is conducted.", "properties": { "name": { "type": "string", @@ -978,7 +961,6 @@ "description": "Country/region name." } }, - "description": "Details of a research facility where a clinical trial is conducted.", "required": [ "name", "countryOrRegion" @@ -1040,31 +1022,30 @@ }, "ClinicalTrials": { "type": "object", + "description": "The clinical trials that the patient(s) should be matched to. \nThe trial selection can be given as a list of custom clinical trials and/or a list of filters to known clinical trial registries.\nIn case both are given, the resulting trial set is a union of the two sets.", "properties": { "customTrials": { "type": "array", + "description": "A list of clinical trials.", + "minItems": 1, "items": { "$ref": "#/definitions/ClinicalTrialDetails" - }, - "description": "A list of clinical trials.", - "x-typespec-name": "ClinicalTrialDetails[]", - "minItems": 1 + } }, "registryFilters": { "type": "array", + "description": "A list of filters, each one creating a selection of trials from a given\nclinical trial registry.", + "minItems": 1, "items": { "$ref": "#/definitions/ClinicalTrialRegistryFilter" }, - "x-ms-identifiers": [], - "description": "A list of filters, each one creating a selection of trials from a given\nclinical trial registry.", - "x-typespec-name": "ClinicalTrialRegistryFilter[]", - "minItems": 1 + "x-ms-identifiers": [] } - }, - "description": "The clinical trials that the patient(s) should be matched to. \nThe trial selection can be given as a list of custom clinical trials and/or a list of filters to known clinical trial registries.\nIn case both are given, the resulting trial set is a union of the two sets." + } }, "ContactDetails": { "type": "object", + "description": "A person's contact details.", "properties": { "name": { "type": "string", @@ -1078,11 +1059,11 @@ "type": "string", "description": "A person's phone number." } - }, - "description": "A person's contact details." + } }, "DocumentContent": { "type": "object", + "description": "The content of the patient document.", "properties": { "sourceType": { "$ref": "#/definitions/DocumentContentSourceType", @@ -1093,7 +1074,6 @@ "description": "The content of the document, given either inline (as a string) or as a reference (URI)." } }, - "description": "The content of the patient document.", "required": [ "sourceType", "value" @@ -1155,6 +1135,7 @@ }, "ExtendedClinicalCodedElement": { "type": "object", + "description": "A piece of clinical information, expressed as a code in a clinical coding system, extended by semantic information.", "properties": { "system": { "type": "string", @@ -1181,7 +1162,6 @@ "description": "The bio-medical category related to the coded concept, e.g. Diagnosis, Symptom, Medication, Examination." } }, - "description": "A piece of clinical information, expressed as a code in a clinical coding system, extended by semantic information.", "required": [ "system", "code" @@ -1240,6 +1220,7 @@ }, "GeographicArea": { "type": "object", + "description": "A geographic area, expressed as a `Circle` geometry represented using a `GeoJSON Feature` (see [GeoJSON spec](https://tools.ietf.org/html/rfc7946)).", "properties": { "type": { "$ref": "#/definitions/GeoJsonType", @@ -1254,7 +1235,6 @@ "description": "`GeoJSON` object properties." } }, - "description": "A geographic area, expressed as a `Circle` geometry represented using a `GeoJSON Feature` (see [GeoJSON spec](https://tools.ietf.org/html/rfc7946)).", "required": [ "type", "geometry", @@ -1263,6 +1243,7 @@ }, "GeographicLocation": { "type": "object", + "description": "A location given as a combination of city, state and country/region. It could specify a city, a state or a country/region.\nIn case a city is specified, either state +country/region or country/region (for countries/regions where there are no states) should be added.\nIn case a state is specified (without a city), country/region should be added.", "properties": { "city": { "type": "string", @@ -1277,13 +1258,13 @@ "description": "Country/region name." } }, - "description": "A location given as a combination of city, state and country/region. It could specify a city, a state or a country/region.\nIn case a city is specified, either state +country/region or country/region (for countries/regions where there are no states) should be added.\nIn case a state is specified (without a city), country/region should be added.", "required": [ "countryOrRegion" ] }, "Inference": { "type": "object", + "description": "An inference made by the model regarding a patient.", "properties": { "value": { "type": "string", @@ -1301,13 +1282,13 @@ "maximum": 1 } }, - "description": "An inference made by the model regarding a patient.", "required": [ "value" ] }, "InferenceEvidence": { "type": "object", + "description": "A piece of evidence corresponding to an inference.", "properties": { "patientDataEvidence": { "$ref": "#/definitions/ClinicalNoteEvidence", @@ -1324,8 +1305,7 @@ "minimum": 0, "maximum": 1 } - }, - "description": "A piece of evidence corresponding to an inference." + } }, "JobStatus": { "type": "string", @@ -1370,35 +1350,35 @@ }, "NeededClinicalInfo": { "type": "array", + "description": "Clinical information which is needed to provide better trial matching results for the patient.", "items": { "$ref": "#/definitions/ExtendedClinicalCodedElement" }, - "x-ms-identifiers": [], - "description": "Clinical information which is needed to provide better trial matching results for the patient." + "x-ms-identifiers": [] }, "OncoPhenotypeData": { "type": "object", + "description": "The body of the Onco Phenotype request.", "properties": { "patients": { "type": "array", + "description": "The list of patients, including their clinical information and data.", "items": { "$ref": "#/definitions/PatientRecord" - }, - "description": "The list of patients, including their clinical information and data.", - "x-typespec-name": "PatientRecord[]" + } }, "configuration": { "$ref": "#/definitions/OncoPhenotypeModelConfiguration", "description": "Configuration affecting the Onco Phenotype model's inference." } }, - "description": "The body of the Onco Phenotype request.", "required": [ "patients" ] }, "OncoPhenotypeInference": { "type": "object", + "description": "An inference made by the Onco Phenotype model regarding a patient.", "properties": { "type": { "$ref": "#/definitions/OncoPhenotypeInferenceType", @@ -1421,19 +1401,17 @@ }, "evidence": { "type": "array", + "description": "The evidence corresponding to the inference value.", "items": { "$ref": "#/definitions/InferenceEvidence" }, - "x-ms-identifiers": [], - "description": "The evidence corresponding to the inference value.", - "x-typespec-name": "InferenceEvidence[]" + "x-ms-identifiers": [] }, "caseId": { "type": "string", "description": "An identifier for a clinical case, if there are multiple clinical cases regarding the same patient." } }, - "description": "An inference made by the Onco Phenotype model regarding a patient.", "required": [ "type", "value" @@ -1493,6 +1471,7 @@ }, "OncoPhenotypeModelConfiguration": { "type": "object", + "description": "Configuration affecting the Onco Phenotype model's inference.", "properties": { "verbose": { "type": "boolean", @@ -1506,22 +1485,21 @@ }, "inferenceTypes": { "type": "array", + "description": "A list of inference types to be inferred for the current request.\nThis could be used if only part of the Onco Phenotype inferences are required.\nIf this list is omitted or empty, the model will return all the inference types.", "items": { "$ref": "#/definitions/OncoPhenotypeInferenceType" - }, - "description": "A list of inference types to be inferred for the current request.\nThis could be used if only part of the Onco Phenotype inferences are required.\nIf this list is omitted or empty, the model will return all the inference types.", - "x-typespec-name": "OncoPhenotypeInferenceType[]" + } }, "checkForCancerCase": { "type": "boolean", "description": "An indication whether to perform a preliminary step on the patient's documents to determine whether they relate to a Cancer case.", "default": false } - }, - "description": "Configuration affecting the Onco Phenotype model's inference." + } }, "OncoPhenotypePatientResult": { "type": "object", + "description": "The results of the model's work for a single patient.", "properties": { "id": { "type": "string", @@ -1529,15 +1507,13 @@ }, "inferences": { "type": "array", + "description": "The model's inferences for the given patient.", "items": { "$ref": "#/definitions/OncoPhenotypeInference" }, - "x-ms-identifiers": [], - "description": "The model's inferences for the given patient.", - "x-typespec-name": "OncoPhenotypeInference[]" + "x-ms-identifiers": [] } }, - "description": "The results of the model's work for a single patient.", "required": [ "id", "inferences" @@ -1545,11 +1521,12 @@ }, "OncoPhenotypeResult": { "type": "object", + "description": "The response for the Onco Phenotype request.", "properties": { "jobId": { "type": "string", - "description": "A processing job identifier.", "format": "uuid", + "description": "A processing job identifier.", "readOnly": true }, "createdDateTime": { @@ -1577,13 +1554,12 @@ }, "errors": { "type": "array", + "description": "An array of errors, if any errors occurred during the processing job.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of errors, if any errors occurred during the processing job.", - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "results": { "$ref": "#/definitions/OncoPhenotypeResults", @@ -1591,7 +1567,6 @@ "readOnly": true } }, - "description": "The response for the Onco Phenotype request.", "required": [ "jobId", "createdDateTime", @@ -1602,21 +1577,20 @@ }, "OncoPhenotypeResults": { "type": "object", + "description": "The inference results for the Onco Phenotype request.", "properties": { "patients": { "type": "array", + "description": "Results for the patients given in the request.", "items": { "$ref": "#/definitions/OncoPhenotypePatientResult" - }, - "description": "Results for the patients given in the request.", - "x-typespec-name": "OncoPhenotypePatientResult[]" + } }, "modelVersion": { "$ref": "#/definitions/ModelVersion", "description": "The version of the model used for inference, expressed as the model date." } }, - "description": "The inference results for the Onco Phenotype request.", "required": [ "patients", "modelVersion" @@ -1624,6 +1598,7 @@ }, "PatientDocument": { "type": "object", + "description": "A clinical document related to a patient. Document here is in the wide sense - not just a text document (note).", "properties": { "type": { "$ref": "#/definitions/DocumentType", @@ -1652,7 +1627,6 @@ "description": "The content of the patient document." } }, - "description": "A clinical document related to a patient. Document here is in the wide sense - not just a text document (note).", "required": [ "type", "id", @@ -1661,6 +1635,7 @@ }, "PatientInfo": { "type": "object", + "description": "Patient structured information, including demographics and known structured clinical information.", "properties": { "sex": { "$ref": "#/definitions/PatientInfoSex", @@ -1673,15 +1648,13 @@ }, "clinicalInfo": { "type": "array", + "description": "Known clinical information for the patient, structured.", "items": { "$ref": "#/definitions/ClinicalCodedElement" }, - "x-ms-identifiers": [], - "description": "Known clinical information for the patient, structured.", - "x-typespec-name": "ClinicalCodedElement[]" + "x-ms-identifiers": [] } - }, - "description": "Patient structured information, including demographics and known structured clinical information." + } }, "PatientInfoSex": { "type": "string", @@ -1712,6 +1685,7 @@ }, "PatientRecord": { "type": "object", + "description": "A patient record, including their clinical information and data.", "properties": { "id": { "type": "string", @@ -1724,41 +1698,39 @@ }, "data": { "type": "array", + "description": "Patient unstructured clinical data, given as documents.", "items": { "$ref": "#/definitions/PatientDocument" - }, - "description": "Patient unstructured clinical data, given as documents.", - "x-typespec-name": "PatientDocument[]" + } } }, - "description": "A patient record, including their clinical information and data.", "required": [ "id" ] }, "TrialMatcherData": { "type": "object", + "description": "The body of the Trial Matcher request.", "properties": { "patients": { "type": "array", + "description": "The list of patients, including their clinical information and data.", "items": { "$ref": "#/definitions/PatientRecord" - }, - "description": "The list of patients, including their clinical information and data.", - "x-typespec-name": "PatientRecord[]" + } }, "configuration": { "$ref": "#/definitions/TrialMatcherModelConfiguration", "description": "Configuration affecting the Trial Matcher model's inference." } }, - "description": "The body of the Trial Matcher request.", "required": [ "patients" ] }, "TrialMatcherInference": { "type": "object", + "description": "An inference made by the Trial Matcher model regarding a patient.", "properties": { "type": { "$ref": "#/definitions/TrialMatcherInferenceType", @@ -1781,12 +1753,11 @@ }, "evidence": { "type": "array", + "description": "The evidence corresponding to the inference value.", "items": { "$ref": "#/definitions/TrialMatcherInferenceEvidence" }, - "x-ms-identifiers": [], - "description": "The evidence corresponding to the inference value.", - "x-typespec-name": "TrialMatcherInferenceEvidence[]" + "x-ms-identifiers": [] }, "id": { "type": "string", @@ -1802,7 +1773,6 @@ "description": "Trial data which is of interest to the potential participant." } }, - "description": "An inference made by the Trial Matcher model regarding a patient.", "required": [ "type", "value" @@ -1810,6 +1780,7 @@ }, "TrialMatcherInferenceEvidence": { "type": "object", + "description": "A piece of evidence corresponding to a Trial Matcher inference.", "properties": { "eligibilityCriteriaEvidence": { "type": "string", @@ -1830,8 +1801,7 @@ "minimum": 0, "maximum": 1 } - }, - "description": "A piece of evidence corresponding to a Trial Matcher inference." + } }, "TrialMatcherInferenceType": { "type": "string", @@ -1852,6 +1822,7 @@ }, "TrialMatcherModelConfiguration": { "type": "object", + "description": "Configuration affecting the Trial Matcher model's inference.", "properties": { "verbose": { "type": "boolean", @@ -1868,13 +1839,13 @@ "description": "The clinical trials that the patient(s) should be matched to.
The trial\nselection can be given as a list of custom clinical trials and/or a list of\nfilters to known clinical trial registries. In case both are given, the\nresulting trial set is a union of the two sets." } }, - "description": "Configuration affecting the Trial Matcher model's inference.", "required": [ "clinicalTrials" ] }, "TrialMatcherPatientResult": { "type": "object", + "description": "The results of the model's work for a single patient.", "properties": { "id": { "type": "string", @@ -1882,18 +1853,16 @@ }, "inferences": { "type": "array", + "description": "The model's inferences for the given patient.", "items": { "$ref": "#/definitions/TrialMatcherInference" - }, - "description": "The model's inferences for the given patient.", - "x-typespec-name": "TrialMatcherInference[]" + } }, "neededClinicalInfo": { "$ref": "#/definitions/NeededClinicalInfo", "description": "Clinical information which is needed to provide better trial matching results for the patient." } }, - "description": "The results of the model's work for a single patient.", "required": [ "id", "inferences" @@ -1901,11 +1870,12 @@ }, "TrialMatcherResult": { "type": "object", + "description": "The response for the Trial Matcher request.", "properties": { "jobId": { "type": "string", - "description": "A processing job identifier.", "format": "uuid", + "description": "A processing job identifier.", "readOnly": true }, "createdDateTime": { @@ -1933,13 +1903,12 @@ }, "errors": { "type": "array", + "description": "An array of errors, if any errors occurred during the processing job.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of errors, if any errors occurred during the processing job.", - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "readOnly": true + "readOnly": true, + "x-ms-identifiers": [] }, "results": { "$ref": "#/definitions/TrialMatcherResults", @@ -1947,7 +1916,6 @@ "readOnly": true } }, - "description": "The response for the Trial Matcher request.", "required": [ "jobId", "createdDateTime", @@ -1958,14 +1926,14 @@ }, "TrialMatcherResults": { "type": "object", + "description": "The inference results for the Trial Matcher request.", "properties": { "patients": { "type": "array", + "description": "Results for the patients given in the request.", "items": { "$ref": "#/definitions/TrialMatcherPatientResult" - }, - "description": "Results for the patients given in the request.", - "x-typespec-name": "TrialMatcherPatientResult[]" + } }, "modelVersion": { "$ref": "#/definitions/ModelVersion", @@ -1977,7 +1945,6 @@ "description": "The date when the clinical trials knowledge graph was last updated." } }, - "description": "The inference results for the Trial Matcher request.", "required": [ "patients", "modelVersion" @@ -1988,31 +1955,31 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" }, "Azure.Core.RepeatabilityRequestHeaders.repeatabilityFirstSent": { "name": "Repeatability-First-Sent", "in": "header", - "required": false, "description": "Specifies the date and time at which the request was first created.", - "x-ms-client-name": "repeatabilityFirstSent", + "required": false, "type": "string", "format": "date-time", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "repeatabilityFirstSent" }, "Azure.Core.RepeatabilityRequestHeaders.repeatabilityRequestId": { "name": "Repeatability-Request-ID", "in": "header", - "required": false, "description": "An opaque, globally-unique, client-generated string identifier for the request.", - "x-ms-client-name": "repeatabilityRequestId", + "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "repeatabilityRequestId" } } } diff --git a/specification/confidentialledger/Microsoft.ManagedCcf/proposals.tsp b/specification/confidentialledger/Microsoft.ManagedCcf/proposals.tsp index 592cc3207a39..f72944c36b49 100644 --- a/specification/confidentialledger/Microsoft.ManagedCcf/proposals.tsp +++ b/specification/confidentialledger/Microsoft.ManagedCcf/proposals.tsp @@ -132,6 +132,7 @@ interface Proposals { TxIdReadHeader >; + #suppress "@azure-tools/typespec-azure-core/verb-conflict" "MUST fix in next update" @doc("Returns actions contained in a proposal.") @TypeSpec.Rest.action("actions") @TypeSpec.Rest.actionSeparator("/") diff --git a/specification/confidentialledger/Microsoft.ManagedCcf/service_state.tsp b/specification/confidentialledger/Microsoft.ManagedCcf/service_state.tsp index b669dcafe8b0..98ef94f969b2 100644 --- a/specification/confidentialledger/Microsoft.ManagedCcf/service_state.tsp +++ b/specification/confidentialledger/Microsoft.ManagedCcf/service_state.tsp @@ -210,8 +210,8 @@ model JoinPolicy { @doc("Join policy fields specific to nodes running on AMD SEV-SNP hardware.") model SnpJoinPolicy { ...JoinPolicy; - // TODO: Work out what the actual types of these are + // TODO: Work out what the actual types of these are @doc("Collection of acceptable host data values.") hostData: Record; diff --git a/specification/confidentialledger/Microsoft.ManagedCcf/transactions.tsp b/specification/confidentialledger/Microsoft.ManagedCcf/transactions.tsp index 7b9392987dca..0c91ea509824 100644 --- a/specification/confidentialledger/Microsoft.ManagedCcf/transactions.tsp +++ b/specification/confidentialledger/Microsoft.ManagedCcf/transactions.tsp @@ -36,6 +36,7 @@ model NamedTransaction { @visibility("query") @key transactionId: transactionId; + ...Transaction; } @@ -49,6 +50,7 @@ model CommittedTransaction { @doc("Identifier of committed transaction.") transactionId: transactionId; + ...Transaction; } diff --git a/specification/confidentialledger/data-plane/Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json b/specification/confidentialledger/data-plane/Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json index 6dbbba8a23c8..382570ddf7e8 100644 --- a/specification/confidentialledger/data-plane/Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json +++ b/specification/confidentialledger/data-plane/Microsoft.ManagedCcf/preview/2023-06-01-preview/mccfgov.json @@ -32,59 +32,56 @@ "responses": { "200": { "description": "The request has succeeded.", - "headers": { - "x-ms-ccf-transaction-id": { - "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", - "type": "string", - "pattern": "^[0-9]+\\.[0-9]+$" - } - }, "schema": { "type": "object", + "description": "Paged collection of Proposal items", "properties": { "value": { "type": "array", + "description": "The Proposal items on this page", "items": { "$ref": "#/definitions/Proposals.Proposal" }, - "x-ms-identifiers": [], - "description": "The Proposal items on this page", - "x-typespec-name": "Proposals.Proposal[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of Proposal items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] + }, + "headers": { + "x-ms-ccf-transaction-id": { + "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", + "type": "string", + "pattern": "^[0-9]+\\.[0-9]+$" + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Proposals_List": { "$ref": "./examples/Proposals_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -92,6 +89,9 @@ "post": { "operationId": "Proposals_Withdraw", "description": "Withdraw an existing proposal. Only the original proposer is permitted to withdraw.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -99,8 +99,8 @@ { "name": "proposalId", "in": "path", - "required": true, "description": "Unique ID assigned to this proposal at its submission, by the service.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, @@ -111,33 +111,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.Proposal" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction where this request produced a write on the service. This uniquely identifies the submitted request, and can be used to confirm that the request becomes committed.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.Proposal" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "Proposals_Withdraw": { "$ref": "./examples/Proposals_Withdraw.json" @@ -156,8 +153,8 @@ { "name": "proposalId", "in": "path", - "required": true, "description": "Unique ID assigned to this proposal at its submission, by the service.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -165,27 +162,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.Proposal" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.Proposal" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -207,8 +204,8 @@ { "name": "proposalId", "in": "path", - "required": true, "description": "Unique ID assigned to this proposal at its submission, by the service.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -216,27 +213,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.ProposalActions" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.ProposalActions" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -251,6 +248,9 @@ "post": { "operationId": "Ballots_Submit", "description": "Submit an executable ballot for a specific proposal. This may be as simple as `return true` to vote in favour, or contain reads from the KV and conditions on the proposal contents.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -258,16 +258,16 @@ { "name": "proposalId", "in": "path", - "required": true, "description": "Unique ID assigned to this proposal at its submission, by the service.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, { "name": "memberId", "in": "path", - "required": true, "description": "ID of CCF member who signed and submitted this ballot.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, @@ -278,33 +278,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.Proposal" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction where this request produced a write on the service. This uniquely identifies the submitted request, and can be used to confirm that the request becomes committed.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.Proposal" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "Ballots_Submit": { "$ref": "./examples/Ballots_Submit.json" @@ -316,6 +313,10 @@ "get": { "operationId": "Ballots_Get", "description": "Returns a member's submitted ballot.", + "produces": [ + "text/javascript", + "application/json" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -323,16 +324,16 @@ { "name": "proposalId", "in": "path", - "required": true, "description": "Unique ID assigned to this proposal at its submission, by the service.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, { "name": "memberId", "in": "path", - "required": true, "description": "ID of CCF member who signed and submitted this ballot.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -340,34 +341,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.Ballot" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.Ballot" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "produces": [ - "text/javascript", - "application/json" - ], "x-ms-examples": { "Ballots_Get": { "$ref": "./examples/Ballots_Get.json" @@ -379,6 +376,9 @@ "post": { "operationId": "Proposals_Create", "description": "Submit a proposed change to the service. This will be assigned an ID by the service. Submitting the same signature (including signed COSE headers such as created_at) multiple times will be treated as a single idempotent operation, returning a single created proposal (or an error if it is no longer available). Any change to the request body will be treated as a new, separate proposal.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -390,33 +390,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Proposals.Proposal" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction where this request produced a write on the service. This uniquely identifies the submitted request, and can be used to confirm that the request becomes committed.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Proposals.Proposal" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "Proposals_Create": { "$ref": "./examples/Proposals_Create.json" @@ -428,6 +425,9 @@ "post": { "operationId": "StateDigests_Update", "description": "Request that this member's stateDigest is updated to a fresher value. Only this member may update their own stateDigest. Returns the refreshed value.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -435,8 +435,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "Identifier for member this stateDigest applies to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, @@ -447,33 +447,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Acks.StateDigest" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction where this request produced a write on the service. This uniquely identifies the submitted request, and can be used to confirm that the request becomes committed.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Acks.StateDigest" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "StateDigests_Update": { "$ref": "./examples/StateDigests_Update.json" @@ -485,6 +482,9 @@ "post": { "operationId": "StateDigests_Acknowledge", "description": "Submit a signed acknowledgement of a recent digest of the service status, to transition the member to Active.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -492,8 +492,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "Identifier for member this stateDigest applies to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, @@ -514,20 +514,17 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "StateDigests_Acknowledge": { "$ref": "./examples/StateDigests_Acknowledge.json" @@ -546,8 +543,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "Identifier for member this stateDigest applies to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -555,27 +552,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Acks.StateDigest" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Acks.StateDigest" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -597,8 +594,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "ID of CCF member who this recovery share belongs to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -612,14 +609,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -634,6 +631,9 @@ "post": { "operationId": "Shares_Submit", "description": "Provide a recovery share for the purpose of completing a service recovery.", + "consumes": [ + "application/cose" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -641,8 +641,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "Identifier for member this recovery state applies to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" }, @@ -653,33 +653,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Recovery.RecoveryResponse" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/Recovery.RecoveryResponse" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cose" - ], "x-ms-examples": { "Shares_Submit": { "$ref": "./examples/Shares_Submit.json" @@ -691,6 +688,10 @@ "get": { "operationId": "ServiceState_GetConstitution", "description": "Retrieve the constitution which controls governance changes on this service.", + "produces": [ + "text/javascript", + "application/json" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -699,34 +700,30 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.ConstitutionResponse" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.ConstitutionResponse" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "produces": [ - "text/javascript", - "application/json" - ], "x-ms-examples": { "ServiceState_GetConstitution": { "$ref": "./examples/ServiceState_GetConstitution.json" @@ -746,27 +743,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.ServiceInfo" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.ServiceInfo" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -789,27 +786,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.JsApp" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.JsApp" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -832,27 +829,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.JoinPolicies" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.JoinPolicies" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -875,27 +872,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.JwkInfo" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.JwkInfo" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -918,59 +915,56 @@ "responses": { "200": { "description": "The request has succeeded.", - "headers": { - "x-ms-ccf-transaction-id": { - "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", - "type": "string", - "pattern": "^[0-9]+\\.[0-9]+$" - } - }, "schema": { "type": "object", + "description": "Paged collection of Member items", "properties": { "value": { "type": "array", + "description": "The Member items on this page", "items": { "$ref": "#/definitions/ServiceState.Member" }, - "x-ms-identifiers": [], - "description": "The Member items on this page", - "x-typespec-name": "ServiceState.Member[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of Member items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] + }, + "headers": { + "x-ms-ccf-transaction-id": { + "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", + "type": "string", + "pattern": "^[0-9]+\\.[0-9]+$" + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ServiceState_ListMembers": { "$ref": "./examples/ServiceState_ListMembers.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -985,8 +979,8 @@ { "name": "memberId", "in": "path", - "required": true, "description": "ID of CCF member who this object refers to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -994,27 +988,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.Member" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.Member" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -1037,59 +1031,56 @@ "responses": { "200": { "description": "The request has succeeded.", - "headers": { - "x-ms-ccf-transaction-id": { - "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", - "type": "string", - "pattern": "^[0-9]+\\.[0-9]+$" - } - }, "schema": { "type": "object", + "description": "Paged collection of Node items", "properties": { "value": { "type": "array", + "description": "The Node items on this page", "items": { "$ref": "#/definitions/ServiceState.Node" }, - "x-ms-identifiers": [], - "description": "The Node items on this page", - "x-typespec-name": "ServiceState.Node[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of Node items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] + }, + "headers": { + "x-ms-ccf-transaction-id": { + "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", + "type": "string", + "pattern": "^[0-9]+\\.[0-9]+$" + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "ServiceState_ListNodes": { "$ref": "./examples/ServiceState_ListNodes.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -1104,8 +1095,8 @@ { "name": "nodeId", "in": "path", - "required": true, "description": "ID of CCF node who this object refers to.", + "required": true, "type": "string", "pattern": "^[a-f0-9]{64}$" } @@ -1113,27 +1104,27 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceState.Node" + }, "headers": { "x-ms-ccf-transaction-id": { "description": "Identifier for transaction this response was read from. The service state may be altered by other write requests. Reads at the same transactionId describe a consistent single point in the service history.", "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } - }, - "schema": { - "$ref": "#/definitions/ServiceState.Node" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -1155,8 +1146,8 @@ { "name": "transactionId", "in": "path", - "required": true, "description": "Identifier of the requested transaction.", + "required": true, "type": "string", "pattern": "^[0-9]+\\.[0-9]+$" } @@ -1170,14 +1161,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -1206,14 +1197,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -1228,6 +1219,7 @@ "definitions": { "Acks.StateDigest": { "type": "object", + "description": "A compact summary of the service's state up to a certain point in time, updated and signed by members to indicate their participation in and approval of the service.", "properties": { "digest": { "type": "string", @@ -1235,13 +1227,13 @@ "pattern": "^[a-f0-9]{64}$" } }, - "description": "A compact summary of the service's state up to a certain point in time, updated and signed by members to indicate their participation in and approval of the service.", "required": [ "digest" ] }, "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -1257,19 +1249,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -1277,19 +1267,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -1299,11 +1290,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "Proposals.Action": { "type": "object", + "description": "A single step in a proposed change to the service.", "properties": { "name": { "type": "string", @@ -1313,26 +1304,26 @@ "description": "Arguments to modify the behavior of this action. The schema is determined by the action implementation, and should be validated by a `validate` call in the constitution." } }, - "description": "A single step in a proposed change to the service.", "required": [ "name" ] }, "Proposals.Ballot": { "type": "object", + "description": "The source script of an executable vote from a member, regarding a proposed change to the service.", "properties": { "script": { "type": "string", "description": "The script to execute, returning the voter's support of this proposal." } }, - "description": "The source script of an executable vote from a member, regarding a proposed change to the service.", "required": [ "script" ] }, "Proposals.FailureInfo": { "type": "object", + "description": "Description of why governance execution failed.", "properties": { "reason": { "type": "string", @@ -1343,20 +1334,20 @@ "description": "Call stack showing where failure occurred, if available." } }, - "description": "Description of why governance execution failed.", "required": [ "reason" ] }, "Proposals.MemberVotes": { "type": "object", + "description": "Each key is a memberId, and the corresponding value is the result of their ballot.", "additionalProperties": { "type": "boolean" - }, - "description": "Each key is a memberId, and the corresponding value is the result of their ballot." + } }, "Proposals.Proposal": { "type": "object", + "description": "Description of a proposed change to the service.", "properties": { "proposalId": { "$ref": "#/definitions/proposalId", @@ -1387,7 +1378,6 @@ "description": "If proposalState is Failure, then this will describe why the proposal failed." } }, - "description": "Description of a proposed change to the service.", "required": [ "proposalId", "proposerId", @@ -1397,18 +1387,17 @@ }, "Proposals.ProposalActions": { "type": "object", + "description": "The actions contained in a proposal, describing the proposal's changes.", "properties": { "actions": { "type": "array", + "description": "A list of actions to apply. Each action is considered, in order, for both proposal and execution of the proposal. All actions are validated and, if the proposal is accepted, applied atomically.", "items": { "$ref": "#/definitions/Proposals.Action" }, - "x-ms-identifiers": [], - "description": "A list of actions to apply. Each action is considered, in order, for both proposal and execution of the proposal. All actions are validated and, if the proposal is accepted, applied atomically.", - "x-typespec-name": "Proposals.Action[]" + "x-ms-identifiers": [] } }, - "description": "The actions contained in a proposal, describing the proposal's changes.", "required": [ "actions" ] @@ -1463,13 +1452,14 @@ }, "Proposals.VoteFailures": { "type": "object", + "description": "Each key is a memberId, and the corresponding value explains why execution of their ballot failed.", "additionalProperties": { "$ref": "#/definitions/Proposals.FailureInfo" - }, - "description": "Each key is a memberId, and the corresponding value explains why execution of their ballot failed." + } }, "Recovery.EncryptedRecoveryShare": { "type": "object", + "description": "A share of a recovery key, granted for a specific recovery member, and encrypted with that member's share-encryption key. This is safe to share in the ledger or amongst untrusted callers, as only the intended member will be able to decrypt and access the secret content.", "properties": { "encryptedShare": { "type": "string", @@ -1477,18 +1467,18 @@ "description": "Base-64 encoding of a member's encrypted share." } }, - "description": "A share of a recovery key, granted for a specific recovery member, and encrypted with that member's share-encryption key. This is safe to share in the ledger or amongst untrusted callers, as only the intended member will be able to decrypt and access the secret content.", "required": [ "encryptedShare" ] }, "Recovery.Member": { "type": "object", - "properties": {}, - "description": "Recovery-specific details for a given member." + "description": "Recovery-specific details for a given member.", + "properties": {} }, "Recovery.RecoveryResponse": { "type": "object", + "description": "Response to a submitted recovery share.", "properties": { "message": { "type": "string", @@ -1503,7 +1493,6 @@ "description": "Count of how many member shares are required to initiate the end-of-recovery procedure." } }, - "description": "Response to a submitted recovery share.", "required": [ "message", "submittedCount", @@ -1512,6 +1501,7 @@ }, "Recovery.RecoveryShare": { "type": "object", + "description": "Container for a member's raw recovery share. This should be carefully guarded, and only submitted to a trusted service over a secure channel, for the purposes of recovery.", "properties": { "share": { "type": "string", @@ -1519,20 +1509,19 @@ "description": "Base-64 encoding of a member's raw recovery share (unencrypted)." } }, - "description": "Container for a member's raw recovery share. This should be carefully guarded, and only submitted to a trusted service over a secure channel, for the purposes of recovery.", "required": [ "share" ] }, "ServiceState.ConstitutionResponse": { "type": "object", + "description": "Constitution used to make governance decisions on the service. All governance changes are presented as proposals which must be validated, approved, and applied by the code in this constitution.", "properties": { "constitution": { "type": "string", "description": "Javascript source code of constitution." } }, - "description": "Constitution used to make governance decisions on the service. All governance changes are presented as proposals which must be validated, approved, and applied by the code in this constitution.", "required": [ "constitution" ] @@ -1569,6 +1558,7 @@ }, "ServiceState.JoinPolicies": { "type": "object", + "description": "Collection of all policies which determine currently acceptable nodes, across multiple platforms.", "properties": { "sgx": { "$ref": "#/definitions/ServiceState.JoinPolicy", @@ -1579,7 +1569,6 @@ "description": "Policy applied to nodes running in AMD SEV-SNP containers." } }, - "description": "Collection of all policies which determine currently acceptable nodes, across multiple platforms.", "required": [ "sgx", "snp" @@ -1587,41 +1576,40 @@ }, "ServiceState.JoinPolicy": { "type": "object", + "description": "Describes what a joining node must present, in order to join the service.", "properties": { "measurements": { "type": "array", + "description": "Code measurements of acceptable enclaves.", "items": { "type": "string", "format": "byte" - }, - "description": "Code measurements of acceptable enclaves.", - "x-typespec-name": "bytes[]" + } } }, - "description": "Describes what a joining node must present, in order to join the service.", "required": [ "measurements" ] }, "ServiceState.JsApp": { "type": "object", + "description": "Describes the currently installed JavaScript application.", "properties": { "endpoints": { "type": "object", + "description": "The collection of endpoints exposed by the application. Keyed by path.", "additionalProperties": { "$ref": "#/definitions/ServiceState.JsOperations" - }, - "description": "The collection of endpoints exposed by the application. Keyed by path.", - "x-typespec-name": "Record" + } } }, - "description": "Describes the currently installed JavaScript application.", "required": [ "endpoints" ] }, "ServiceState.JsEndpointInfo": { "type": "object", + "description": "Describes an endpoint implemented by a Javascript handler.", "properties": { "jsModule": { "type": "string", @@ -1637,11 +1625,10 @@ }, "authnPolicies": { "type": "array", + "description": "The authentication policies which restrict access to this endpoint", "items": { "type": "string" - }, - "description": "The authentication policies which restrict access to this endpoint", - "x-typespec-name": "string[]" + } }, "mode": { "$ref": "#/definitions/ServiceState.JsExecMode", @@ -1649,12 +1636,10 @@ }, "openApi": { "type": "object", - "additionalProperties": true, "description": "An OpenAPI Operation object (https://swagger.io/specification/#operation-object) describing this operation. This is merged into the auto-generated OpenAPI to describe the current application's API.", - "x-typespec-name": "Record" + "additionalProperties": true } }, - "description": "Describes an endpoint implemented by a Javascript handler.", "required": [ "jsModule", "jsFunction", @@ -1696,32 +1681,30 @@ }, "ServiceState.JsOperations": { "type": "object", + "description": "The collection of operations available on each path. Keyed by HTTP method.", "additionalProperties": { "$ref": "#/definitions/ServiceState.JsEndpointInfo" - }, - "description": "The collection of operations available on each path. Keyed by HTTP method." + } }, "ServiceState.JwkInfo": { "type": "object", + "description": "Describes what Javascript Web Tokens (JWTs) are accepted by the service, and how they will be validated.", "properties": { "issuers": { "type": "object", + "description": "Collection of JWT issuers. Keyed by issuer ID.", "additionalProperties": { "$ref": "#/definitions/ServiceState.JwtIssuer" - }, - "description": "Collection of JWT issuers. Keyed by issuer ID.", - "x-typespec-name": "Record" + } }, "caCertBundles": { "type": "object", + "description": "Collection of CAs used to authenticate connections with issuers. Keyed by governance-controlled bundle names.", "additionalProperties": { "$ref": "#/definitions/ServiceState.caCertBundle" - }, - "description": "Collection of CAs used to authenticate connections with issuers. Keyed by governance-controlled bundle names.", - "x-typespec-name": "Record" + } } }, - "description": "Describes what Javascript Web Tokens (JWTs) are accepted by the service, and how they will be validated.", "required": [ "issuers", "caCertBundles" @@ -1729,6 +1712,7 @@ }, "ServiceState.JwtIssuer": { "type": "object", + "description": "Description of a JWT issuer or identity provider that the current service will trust tokens from.", "properties": { "keyFilter": { "$ref": "#/definitions/ServiceState.JwtIssuerKeyFilter", @@ -1736,11 +1720,10 @@ }, "keyPolicy": { "type": "object", + "description": "Collection of claims which must be present in SGX attestation to permit updates from this issuer.", "additionalProperties": { "type": "string" - }, - "description": "Collection of claims which must be present in SGX attestation to permit updates from this issuer.", - "x-typespec-name": "Record" + } }, "autoRefresh": { "type": "boolean", @@ -1751,7 +1734,6 @@ "description": "Name of bundle used to authenticate issuer when auto-refreshing." } }, - "description": "Description of a JWT issuer or identity provider that the current service will trust tokens from.", "required": [ "keyFilter", "autoRefresh" @@ -1783,6 +1765,7 @@ }, "ServiceState.Member": { "type": "object", + "description": "Information on individual members within a consortium.", "properties": { "memberId": { "$ref": "#/definitions/memberId", @@ -1800,7 +1783,6 @@ "description": "x509 certificate used as this member's identity." } }, - "description": "Information on individual members within a consortium.", "required": [ "memberId", "status", @@ -1833,6 +1815,7 @@ }, "ServiceState.NetworkInterface": { "type": "object", + "description": "Details of how to contact a CCF node. Each node may listen on multiple interfaces, for different kinds of traffic.", "properties": { "publishedAddress": { "type": "string", @@ -1843,7 +1826,6 @@ "description": "The application layer protocol which the node expects on this interface. Currently supports \"http1\" and \"http2\", more protocols may be added in future." } }, - "description": "Details of how to contact a CCF node. Each node may listen on multiple interfaces, for different kinds of traffic.", "required": [ "publishedAddress", "protocol" @@ -1851,6 +1833,7 @@ }, "ServiceState.Node": { "type": "object", + "description": "Information on individual nodes within a service.", "properties": { "nodeId": { "$ref": "#/definitions/nodeId", @@ -1877,14 +1860,12 @@ }, "rpcInterfaces": { "type": "object", + "description": "A collection of interfaces by which this node may be contacted. Some may be limited to private networks, and others may be DNS names or internet-public network addresses. The keys are arbitrary strings determined by the node operator.", "additionalProperties": { "$ref": "#/definitions/ServiceState.NetworkInterface" - }, - "description": "A collection of interfaces by which this node may be contacted. Some may be limited to private networks, and others may be DNS names or internet-public network addresses. The keys are arbitrary strings determined by the node operator.", - "x-typespec-name": "Record" + } } }, - "description": "Information on individual nodes within a service.", "required": [ "nodeId", "status", @@ -1926,13 +1907,13 @@ }, "ServiceState.QuoteInfo": { "type": "object", + "description": "Common type for attestation information, describing the cryptographically-endorsed claim of what code is executing, and what platform it is executing on. Derived types contain platform-specific details.", "properties": { "format": { "type": "string", "description": "Discriminator property for QuoteInfo." } }, - "description": "Common type for attestation information, describing the cryptographically-endorsed claim of what code is executing, and what platform it is executing on. Derived types contain platform-specific details.", "discriminator": "format", "required": [ "format" @@ -1940,6 +1921,7 @@ }, "ServiceState.ServiceInfo": { "type": "object", + "description": "General information about the current service.", "properties": { "status": { "$ref": "#/definitions/ServiceState.ServiceStatus", @@ -1966,6 +1948,7 @@ }, "configuration": { "type": "object", + "description": "Lists governance-controlled configuration parameters of this service, which will be used by core framework code.", "properties": { "maximumNodeCertificateValidityDays": { "$ref": "#/definitions/safeuint" @@ -1974,15 +1957,12 @@ "$ref": "#/definitions/safeuint" } }, - "description": "Lists governance-controlled configuration parameters of this service, which will be used by core framework code.", "required": [ "maximumNodeCertificateValidityDays", "recentCoseProposalsWindowSize" - ], - "x-typespec-name": "ServiceState.(anonymous model)" + ] } }, - "description": "General information about the current service.", "required": [ "status", "certificate", @@ -2029,6 +2009,7 @@ }, "ServiceState.SgxQuoteInfo": { "type": "object", + "description": "Attestation information for Intel SGX enclaves.", "properties": { "quote": { "type": "string", @@ -2041,7 +2022,6 @@ "description": "Base-64 encoded SGX endorsements." } }, - "description": "Attestation information for Intel SGX enclaves.", "required": [ "quote", "endorsements" @@ -2055,36 +2035,33 @@ }, "ServiceState.SnpJoinPolicy": { "type": "object", + "description": "Join policy fields specific to nodes running on AMD SEV-SNP hardware.", "properties": { "measurements": { "type": "array", + "description": "Code measurements of acceptable enclaves.", "items": { "type": "string", "format": "byte" - }, - "description": "Code measurements of acceptable enclaves.", - "x-typespec-name": "bytes[]" + } }, "hostData": { "type": "object", - "additionalProperties": { - "type": "string", - "format": "byte" - }, "description": "Collection of acceptable host data values.", - "x-typespec-name": "Record" + "additionalProperties": { + "format": "byte", + "type": "string" + } }, "uvmEndorsements": { "type": "object", - "additionalProperties": { - "type": "string", - "format": "byte" - }, "description": "Collection of acceptable UVM endorsements.", - "x-typespec-name": "Record" + "additionalProperties": { + "format": "byte", + "type": "string" + } } }, - "description": "Join policy fields specific to nodes running on AMD SEV-SNP hardware.", "required": [ "measurements", "hostData", @@ -2093,6 +2070,7 @@ }, "ServiceState.SnpQuoteInfo": { "type": "object", + "description": "Attestation information for AMD SEV-SNP containers.", "properties": { "uvmEndorsements": { "type": "string", @@ -2105,7 +2083,6 @@ "description": "Base-64 encoded SNP TCB endorsements." } }, - "description": "Attestation information for AMD SEV-SNP containers.", "required": [ "uvmEndorsements", "endorsedTcb" @@ -2127,6 +2104,7 @@ }, "Transactions.CommittedTransaction": { "type": "object", + "description": "Description of latest committed transaction.", "properties": { "transactionId": { "$ref": "#/definitions/transactionId", @@ -2137,7 +2115,6 @@ "description": "Status of this transaction." } }, - "description": "Description of latest committed transaction.", "required": [ "transactionId", "status" @@ -2145,26 +2122,26 @@ }, "Transactions.NamedTransaction": { "type": "object", + "description": "Description of a named transaction's current state.", "properties": { "status": { "$ref": "#/definitions/Transactions.TransactionStatus", "description": "Status of this transaction." } }, - "description": "Description of a named transaction's current state.", "required": [ "status" ] }, "Transactions.Transaction": { "type": "object", + "description": "Common transaction information.", "properties": { "status": { "$ref": "#/definitions/Transactions.TransactionStatus", "description": "Status of this transaction." } }, - "description": "Common transaction information.", "required": [ "status" ] @@ -2251,18 +2228,18 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" }, "CoseSignature.body": { "name": "body", "in": "body", - "required": true, "description": "A raw CoseSign1 signature. See CCF docs for required headers and body schema: https://microsoft.github.io/CCF/main/use_apps/issue_commands.html#cose-schemas", + "required": true, "schema": { "type": "string", "format": "binary" diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 6b7e8d6ad2af..1b9fb765e6a4 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -29,6 +29,7 @@ model Fleet is TrackedResource { @segment("fleets") @visibility("create", "read") name: string; + ...EntityTag; } diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index 94793fef2fce..d741cda366b6 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -24,6 +24,7 @@ model FleetMember is ProxyResource { @segment("members") @visibility("create", "read") name: string; + ...EntityTag; } diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 7b35d2cbe420..6c42eab412bf 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -42,7 +42,7 @@ op ArmResourceNoRequestBodyActionSync< TResponse extends TypeSpec.Reflection.Model, TBaseParameters = Azure.ResourceManager.Foundations.BaseParameters >( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ErrorResponse; #suppress "@azure-tools/typespec-azure-core/documentation-required" "this is a template" @@ -61,7 +61,7 @@ op ArmResourceNoRequestBodyActionAsync< TResponse extends TypeSpec.Reflection.Model, TBaseParameters = Azure.ResourceManager.Foundations.BaseParameters >( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ArmAcceptedResponseWithLocationHeader | ErrorResponse; #suppress "@azure-tools/cadl-azure-resource-manager/arm-resource-operation-outside-interface" "this is a template" @@ -78,7 +78,7 @@ op FleetCustomPatchSync< @doc("The resource properties to be updated.") @body - parameters?: TPatchModel //prevents api breaking change. properties -> parameters + parameters?: TPatchModel, //prevents api breaking change. properties -> parameters ): ArmResponse | ErrorResponse; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-outside-interface" "this is a template" @@ -101,7 +101,7 @@ op FleetArmResourceCreateOrUpdateAsync< @doc("Resource create parameters.") @body - parameters: TResource //prevent api breaking change. resource -> parameters + parameters: TResource, //prevent api breaking change. resource -> parameters ): ArmResponse | ArmCreatedResponse | ErrorResponse; // this is a copy of ArmResourceDeleteAsync that adds the location header to comply with arm linter. diff --git a/specification/containerservice/Fleet.Management/updaterun.tsp b/specification/containerservice/Fleet.Management/updaterun.tsp index 343e6c45a66b..ad2f63b4f497 100644 --- a/specification/containerservice/Fleet.Management/updaterun.tsp +++ b/specification/containerservice/Fleet.Management/updaterun.tsp @@ -30,6 +30,7 @@ model UpdateRun is ProxyResource { @path @visibility("create", "read") name: string; + ...EntityTag; } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json index c3bc21e4e854..0c8228d8dd2e 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json @@ -52,10 +52,10 @@ "paths": { "/providers/Microsoft.ContainerService/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "operationId": "Operations_List", "description": "List the operations for the provider", "parameters": [ { @@ -76,22 +76,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "List the available operations.": { "$ref": "./examples/Operation_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets": { "get": { + "operationId": "Fleets_ListBySubscription", "tags": [ "Fleets" ], - "operationId": "Fleets_ListBySubscription", "description": "Lists fleets in the specified subscription.", "parameters": [ { @@ -115,22 +115,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the Fleet resources in a subscription.": { "$ref": "./examples/Fleets_ListBySub.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets": { "get": { + "operationId": "Fleets_ListByResourceGroup", "tags": [ "Fleets" ], - "operationId": "Fleets_ListByResourceGroup", "description": "Lists fleets in the specified subscription and resource group.", "parameters": [ { @@ -157,22 +157,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the Fleet resources in a resource group.": { "$ref": "./examples/Fleets_ListByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}": { "get": { + "operationId": "Fleets_Get", "tags": [ "Fleets" ], - "operationId": "Fleets_Get", "description": "Gets a Fleet.", "parameters": [ { @@ -187,12 +187,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -216,10 +216,10 @@ } }, "put": { + "operationId": "Fleets_CreateOrUpdate", "tags": [ "Fleets" ], - "operationId": "Fleets_CreateOrUpdate", "description": "Creates or updates a Fleet.", "parameters": [ { @@ -234,34 +234,34 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "If-None-Match", "in": "header", - "required": false, "description": "The request should only proceed if no entity matches this string.", - "x-ms-client-name": "ifNoneMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Fleet" } @@ -276,15 +276,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Fleet" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Fleet" } }, "default": { @@ -305,10 +305,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "Fleets_Update", "tags": [ "Fleets" ], - "operationId": "Fleets_Update", "description": "Update a Fleet", "parameters": [ { @@ -323,26 +323,26 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/FleetPatch" } @@ -369,10 +369,10 @@ } }, "delete": { + "operationId": "Fleets_Delete", "tags": [ "Fleets" ], - "operationId": "Fleets_Delete", "description": "Delete a Fleet", "parameters": [ { @@ -387,20 +387,20 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -411,13 +411,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -444,10 +444,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/listCredentials": { "post": { + "operationId": "Fleets_ListCredentials", "tags": [ "Fleets" ], - "operationId": "Fleets_ListCredentials", "description": "Lists the user credentials of a Fleet.", "parameters": [ { @@ -462,12 +462,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -493,10 +493,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members": { "get": { + "operationId": "FleetMembers_ListByFleet", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_ListByFleet", "description": "List FleetMember resources by Fleet", "parameters": [ { @@ -511,12 +511,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -533,22 +533,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the members of a Fleet.": { "$ref": "./examples/FleetMembers_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}": { "get": { + "operationId": "FleetMembers_Get", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Get", "description": "Get a FleetMember", "parameters": [ { @@ -563,22 +563,22 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -602,10 +602,10 @@ } }, "put": { + "operationId": "FleetMembers_Create", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Create", "description": "Create a FleetMember", "parameters": [ { @@ -620,44 +620,44 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "If-None-Match", "in": "header", - "required": false, "description": "The request should only proceed if no entity matches this string.", - "x-ms-client-name": "ifNoneMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/FleetMember" } @@ -672,15 +672,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetMember" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/FleetMember" } }, "default": { @@ -701,10 +701,10 @@ "x-ms-long-running-operation": true }, "delete": { + "operationId": "FleetMembers_Delete", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Delete", "description": "Delete a FleetMember", "parameters": [ { @@ -719,30 +719,30 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -753,13 +753,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -788,8 +788,8 @@ "definitions": { "ClusterResourceId": { "type": "string", - "description": "A type definition that refers the id to an ARM resource.", "format": "arm-id", + "description": "A type definition that refers the id to an ARM resource.", "x-ms-arm-id-details": { "allowedResources": [ { @@ -800,6 +800,7 @@ }, "Fleet": { "type": "object", + "description": "The Fleet resource.", "properties": { "properties": { "$ref": "#/definitions/FleetProperties", @@ -816,7 +817,6 @@ "readOnly": true } }, - "description": "The Fleet resource.", "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -825,6 +825,7 @@ }, "FleetCredentialResult": { "type": "object", + "description": "One credential result item.", "properties": { "name": { "type": "string", @@ -837,36 +838,35 @@ "description": "Base64-encoded Kubernetes configuration file.", "readOnly": true } - }, - "description": "One credential result item." + } }, "FleetCredentialResults": { "type": "object", + "description": "The Credential results response.", "properties": { "kubeconfigs": { "type": "array", + "description": "Array of base64-encoded Kubernetes configuration files.", "items": { "$ref": "#/definitions/FleetCredentialResult" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "description": "Array of base64-encoded Kubernetes configuration files.", - "x-typespec-name": "FleetCredentialResult[]", - "readOnly": true + ] } - }, - "description": "The Credential results response." + } }, "FleetHubProfile": { "type": "object", + "description": "The FleetHubProfile configures the fleet hub.", "properties": { "dnsPrefix": { "type": "string", "description": "DNS prefix used to create the FQDN for the Fleet hub.", - "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$", "minLength": 1, "maxLength": 54, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$", "x-ms-mutability": [ "read", "create" @@ -882,34 +882,32 @@ "description": "The Kubernetes version of the Fleet hub.", "readOnly": true } - }, - "description": "The FleetHubProfile configures the fleet hub." + } }, "FleetListResult": { "type": "object", + "description": "The response of a Fleet list operation.", "properties": { "value": { "type": "array", + "description": "The Fleet items on this page", "items": { "$ref": "#/definitions/Fleet" - }, - "description": "The Fleet items on this page", - "x-typespec-name": "Fleet[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Fleet list operation.", "required": [ "value" ] }, "FleetMember": { "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "properties": { "properties": { "$ref": "#/definitions/FleetMemberProperties", @@ -926,7 +924,6 @@ "readOnly": true } }, - "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -935,29 +932,28 @@ }, "FleetMemberListResult": { "type": "object", + "description": "The response of a FleetMember list operation.", "properties": { "value": { "type": "array", + "description": "The FleetMember items on this page", "items": { "$ref": "#/definitions/FleetMember" - }, - "description": "The FleetMember items on this page", - "x-typespec-name": "FleetMember[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a FleetMember list operation.", "required": [ "value" ] }, "FleetMemberProperties": { "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "properties": { "clusterResourceId": { "$ref": "#/definitions/ClusterResourceId", @@ -973,7 +969,6 @@ "readOnly": true } }, - "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "required": [ "clusterResourceId" ] @@ -1025,20 +1020,20 @@ }, "FleetPatch": { "type": "object", + "description": "Properties of a Fleet that can be patched.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } } - }, - "description": "Properties of a Fleet that can be patched." + } }, "FleetProperties": { "type": "object", + "description": "Fleet properties.", "properties": { "provisioningState": { "$ref": "#/definitions/FleetProvisioningState", @@ -1049,8 +1044,7 @@ "$ref": "#/definitions/FleetHubProfile", "description": "The FleetHubProfile configures the Fleet's hub." } - }, - "description": "Fleet properties." + } }, "FleetProvisioningState": { "type": "string", diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json index 68413576709a..415fdbc2001e 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json @@ -55,10 +55,10 @@ "paths": { "/providers/Microsoft.ContainerService/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "operationId": "Operations_List", "description": "List the operations for the provider", "parameters": [ { @@ -79,22 +79,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "List the operations for the provider.": { "$ref": "./examples/Operations_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets": { "get": { + "operationId": "Fleets_ListBySubscription", "tags": [ "Fleets" ], - "operationId": "Fleets_ListBySubscription", "description": "Lists fleets in the specified subscription.", "parameters": [ { @@ -118,22 +118,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the Fleet resources in a subscription.": { "$ref": "./examples/Fleets_ListBySub.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets": { "get": { + "operationId": "Fleets_ListByResourceGroup", "tags": [ "Fleets" ], - "operationId": "Fleets_ListByResourceGroup", "description": "Lists fleets in the specified subscription and resource group.", "parameters": [ { @@ -160,22 +160,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the Fleet resources in a resource group.": { "$ref": "./examples/Fleets_ListByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}": { "get": { + "operationId": "Fleets_Get", "tags": [ "Fleets" ], - "operationId": "Fleets_Get", "description": "Gets a Fleet.", "parameters": [ { @@ -190,12 +190,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -219,10 +219,10 @@ } }, "put": { + "operationId": "Fleets_CreateOrUpdate", "tags": [ "Fleets" ], - "operationId": "Fleets_CreateOrUpdate", "description": "Creates or updates a Fleet.", "parameters": [ { @@ -237,34 +237,34 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "If-None-Match", "in": "header", - "required": false, "description": "The request should only proceed if no entity matches this string.", - "x-ms-client-name": "ifNoneMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Fleet" } @@ -279,15 +279,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Fleet" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Fleet" } }, "default": { @@ -308,10 +308,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "Fleets_Update", "tags": [ "Fleets" ], - "operationId": "Fleets_Update", "description": "Update a Fleet", "parameters": [ { @@ -326,26 +326,26 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/FleetPatch" } @@ -372,10 +372,10 @@ } }, "delete": { + "operationId": "Fleets_Delete", "tags": [ "Fleets" ], - "operationId": "Fleets_Delete", "description": "Delete a Fleet", "parameters": [ { @@ -390,20 +390,20 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -414,13 +414,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -447,10 +447,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/listCredentials": { "post": { + "operationId": "Fleets_ListCredentials", "tags": [ "Fleets" ], - "operationId": "Fleets_ListCredentials", "description": "Lists the user credentials of a Fleet.", "parameters": [ { @@ -465,12 +465,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -496,10 +496,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members": { "get": { + "operationId": "FleetMembers_ListByFleet", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_ListByFleet", "description": "List FleetMember resources by Fleet", "parameters": [ { @@ -514,12 +514,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -536,22 +536,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the members of a Fleet.": { "$ref": "./examples/FleetMembers_ListByFleet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/members/{fleetMemberName}": { "get": { + "operationId": "FleetMembers_Get", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Get", "description": "Get a FleetMember", "parameters": [ { @@ -566,22 +566,22 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -605,10 +605,10 @@ } }, "put": { + "operationId": "FleetMembers_Create", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Create", "description": "Create a FleetMember", "parameters": [ { @@ -623,44 +623,44 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "If-None-Match", "in": "header", - "required": false, "description": "The request should only proceed if no entity matches this string.", - "x-ms-client-name": "ifNoneMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/FleetMember" } @@ -675,15 +675,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/FleetMember" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/FleetMember" } }, "default": { @@ -704,10 +704,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "FleetMembers_Update", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Update", "description": "Update a FleetMember", "parameters": [ { @@ -722,36 +722,36 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/FleetMemberUpdate" } @@ -778,10 +778,10 @@ } }, "delete": { + "operationId": "FleetMembers_Delete", "tags": [ "FleetMembers" ], - "operationId": "FleetMembers_Delete", "description": "Delete a FleetMember", "parameters": [ { @@ -796,30 +796,30 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "fleetMemberName", "in": "path", - "required": true, "description": "The name of the Fleet member resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -830,13 +830,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -863,10 +863,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns": { "get": { + "operationId": "UpdateRuns_ListByFleet", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_ListByFleet", "description": "List UpdateRun resources by Fleet", "parameters": [ { @@ -881,12 +881,12 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -903,22 +903,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Lists the UpdateRun resources by fleet.": { "$ref": "./examples/UpdateRuns_ListByFleet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}": { "get": { + "operationId": "UpdateRuns_Get", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_Get", "description": "Get a UpdateRun", "parameters": [ { @@ -933,22 +933,22 @@ { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "updateRunName", "in": "path", - "required": true, "description": "The name of the UpdateRun resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -972,10 +972,10 @@ } }, "put": { + "operationId": "UpdateRuns_CreateOrUpdate", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_CreateOrUpdate", "description": "Create a UpdateRun", "parameters": [ { @@ -990,44 +990,44 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "If-None-Match", "in": "header", - "required": false, "description": "The request should only proceed if no entity matches this string.", - "x-ms-client-name": "ifNoneMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifNoneMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "updateRunName", "in": "path", - "required": true, "description": "The name of the UpdateRun resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/UpdateRun" } @@ -1042,15 +1042,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/UpdateRun" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/UpdateRun" } }, "default": { @@ -1071,10 +1071,10 @@ "x-ms-long-running-operation": true }, "delete": { + "operationId": "UpdateRuns_Delete", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_Delete", "description": "Delete a UpdateRun", "parameters": [ { @@ -1089,30 +1089,30 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "updateRunName", "in": "path", - "required": true, "description": "The name of the UpdateRun resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -1123,13 +1123,13 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -1156,10 +1156,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/start": { "post": { + "operationId": "UpdateRuns_Start", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_Start", "description": "Starts an UpdateRun.", "parameters": [ { @@ -1174,30 +1174,30 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "updateRunName", "in": "path", - "required": true, "description": "The name of the UpdateRun resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -1211,13 +1211,13 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -1241,10 +1241,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}/stop": { "post": { + "operationId": "UpdateRuns_Stop", "tags": [ "UpdateRuns" ], - "operationId": "UpdateRuns_Stop", "description": "Stops an UpdateRun.", "parameters": [ { @@ -1259,30 +1259,30 @@ { "name": "If-Match", "in": "header", - "required": false, "description": "The request should only proceed if an entity matches this string.", - "x-ms-client-name": "ifMatch", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "ifMatch" }, { "name": "fleetName", "in": "path", - "required": true, "description": "The name of the Fleet resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63 + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, { "name": "updateRunName", "in": "path", - "required": true, "description": "The name of the UpdateRun resource.", + "required": true, "type": "string", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } ], "responses": { @@ -1296,13 +1296,13 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -1328,8 +1328,8 @@ "definitions": { "ClusterResourceId": { "type": "string", - "description": "A type definition that refers the id to an ARM resource.", "format": "arm-id", + "description": "A type definition that refers the id to an ARM resource.", "x-ms-arm-id-details": { "allowedResources": [ { @@ -1340,6 +1340,7 @@ }, "Fleet": { "type": "object", + "description": "The Fleet resource.", "properties": { "properties": { "$ref": "#/definitions/FleetProperties", @@ -1356,7 +1357,6 @@ "readOnly": true } }, - "description": "The Fleet resource.", "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -1365,6 +1365,7 @@ }, "FleetCredentialResult": { "type": "object", + "description": "One credential result item.", "properties": { "name": { "type": "string", @@ -1377,36 +1378,35 @@ "description": "Base64-encoded Kubernetes configuration file.", "readOnly": true } - }, - "description": "One credential result item." + } }, "FleetCredentialResults": { "type": "object", + "description": "The Credential results response.", "properties": { "kubeconfigs": { "type": "array", + "description": "Array of base64-encoded Kubernetes configuration files.", "items": { "$ref": "#/definitions/FleetCredentialResult" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "description": "Array of base64-encoded Kubernetes configuration files.", - "x-typespec-name": "FleetCredentialResult[]", - "readOnly": true + ] } - }, - "description": "The Credential results response." + } }, "FleetHubProfile": { "type": "object", + "description": "The FleetHubProfile configures the fleet hub.", "properties": { "dnsPrefix": { "type": "string", "description": "DNS prefix used to create the FQDN for the Fleet hub.", - "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$", "minLength": 1, "maxLength": 54, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$", "x-ms-mutability": [ "read", "create" @@ -1422,34 +1422,32 @@ "description": "The Kubernetes version of the Fleet hub.", "readOnly": true } - }, - "description": "The FleetHubProfile configures the fleet hub." + } }, "FleetListResult": { "type": "object", + "description": "The response of a Fleet list operation.", "properties": { "value": { "type": "array", + "description": "The Fleet items on this page", "items": { "$ref": "#/definitions/Fleet" - }, - "description": "The Fleet items on this page", - "x-typespec-name": "Fleet[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Fleet list operation.", "required": [ "value" ] }, "FleetMember": { "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "properties": { "properties": { "$ref": "#/definitions/FleetMemberProperties", @@ -1466,7 +1464,6 @@ "readOnly": true } }, - "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -1475,29 +1472,28 @@ }, "FleetMemberListResult": { "type": "object", + "description": "The response of a FleetMember list operation.", "properties": { "value": { "type": "array", + "description": "The FleetMember items on this page", "items": { "$ref": "#/definitions/FleetMember" - }, - "description": "The FleetMember items on this page", - "x-typespec-name": "FleetMember[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a FleetMember list operation.", "required": [ "value" ] }, "FleetMemberProperties": { "type": "object", + "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "properties": { "clusterResourceId": { "$ref": "#/definitions/ClusterResourceId", @@ -1510,9 +1506,9 @@ "group": { "type": "string", "description": "The group this member belongs to for multi-cluster update management.", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, "provisioningState": { "$ref": "#/definitions/FleetMemberProvisioningState", @@ -1520,7 +1516,6 @@ "readOnly": true } }, - "description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.", "required": [ "clusterResourceId" ] @@ -1572,43 +1567,43 @@ }, "FleetMemberUpdate": { "type": "object", + "description": "The type used for update operations of the FleetMember.", "properties": { "properties": { "$ref": "#/definitions/FleetMemberUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the FleetMember." + } }, "FleetMemberUpdateProperties": { "type": "object", + "description": "The updatable properties of the FleetMember.", "properties": { "group": { "type": "string", "description": "The group this member belongs to for multi-cluster update management.", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } - }, - "description": "The updatable properties of the FleetMember." + } }, "FleetPatch": { "type": "object", + "description": "Properties of a Fleet that can be patched.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } } - }, - "description": "Properties of a Fleet that can be patched." + } }, "FleetProperties": { "type": "object", + "description": "Fleet properties.", "properties": { "provisioningState": { "$ref": "#/definitions/FleetProvisioningState", @@ -1619,8 +1614,7 @@ "$ref": "#/definitions/FleetHubProfile", "description": "The FleetHubProfile configures the Fleet's hub." } - }, - "description": "Fleet properties." + } }, "FleetProvisioningState": { "type": "string", @@ -1672,19 +1666,20 @@ }, "ManagedClusterUpdate": { "type": "object", + "description": "The update to be applied to the ManagedClusters.", "properties": { "upgrade": { "$ref": "#/definitions/ManagedClusterUpgradeSpec", "description": "The upgrade to apply to the ManagedClusters." } }, - "description": "The update to be applied to the ManagedClusters.", "required": [ "upgrade" ] }, "ManagedClusterUpgradeSpec": { "type": "object", + "description": "The upgrade to apply to a ManagedCluster.", "properties": { "type": { "$ref": "#/definitions/ManagedClusterUpgradeType", @@ -1695,7 +1690,6 @@ "description": "The Kubernetes version to upgrade the member clusters to." } }, - "description": "The upgrade to apply to a ManagedCluster.", "required": [ "type" ] @@ -1726,6 +1720,7 @@ }, "MemberUpdateStatus": { "type": "object", + "description": "The status of a member update operation.", "properties": { "status": { "$ref": "#/definitions/UpdateStatus", @@ -1747,27 +1742,27 @@ "description": "The operation resource id of the latest attempt to perform the operation.", "readOnly": true } - }, - "description": "The status of a member update operation." + } }, "UpdateGroup": { "type": "object", + "description": "A group to be updated.", "properties": { "name": { "type": "string", "description": "The name of the Fleet member group to update. \nIt should match the name of an existing FleetMember group.\nA group can only appear once across all UpdateStages in the UpdateRun.", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" } }, - "description": "A group to be updated.", "required": [ "name" ] }, "UpdateGroupStatus": { "type": "object", + "description": "The status of a UpdateGroup.", "properties": { "status": { "$ref": "#/definitions/UpdateStatus", @@ -1781,21 +1776,20 @@ }, "members": { "type": "array", + "description": "The list of member this UpdateGroup updates.", "items": { "$ref": "#/definitions/MemberUpdateStatus" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "description": "The list of member this UpdateGroup updates.", - "x-typespec-name": "MemberUpdateStatus[]", - "readOnly": true + ] } - }, - "description": "The status of a UpdateGroup." + } }, "UpdateRun": { "type": "object", + "description": "An UpdateRun is a multi-stage process to perform update operations across members of a Fleet.", "properties": { "properties": { "$ref": "#/definitions/UpdateRunProperties", @@ -1812,7 +1806,6 @@ "readOnly": true } }, - "description": "An UpdateRun is a multi-stage process to perform update operations across members of a Fleet.", "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -1821,29 +1814,28 @@ }, "UpdateRunListResult": { "type": "object", + "description": "The response of a UpdateRun list operation.", "properties": { "value": { "type": "array", + "description": "The UpdateRun items on this page", "items": { "$ref": "#/definitions/UpdateRun" - }, - "description": "The UpdateRun items on this page", - "x-typespec-name": "UpdateRun[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a UpdateRun list operation.", "required": [ "value" ] }, "UpdateRunProperties": { "type": "object", + "description": "The properties of the UpdateRun.", "properties": { "provisioningState": { "$ref": "#/definitions/UpdateRunProvisioningState", @@ -1864,7 +1856,6 @@ "readOnly": true } }, - "description": "The properties of the UpdateRun.", "required": [ "managedClusterUpdate" ] @@ -1901,6 +1892,7 @@ }, "UpdateRunStatus": { "type": "object", + "description": "The status of a UpdateRun.", "properties": { "status": { "$ref": "#/definitions/UpdateStatus", @@ -1909,59 +1901,56 @@ }, "stages": { "type": "array", + "description": "The stages composing an update run. Stages are run sequentially withing an UpdateRun.", "items": { "$ref": "#/definitions/UpdateStageStatus" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "description": "The stages composing an update run. Stages are run sequentially withing an UpdateRun.", - "x-typespec-name": "UpdateStageStatus[]", - "readOnly": true + ] } - }, - "description": "The status of a UpdateRun." + } }, "UpdateRunStrategy": { "type": "object", + "description": "The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated.", "properties": { "stages": { "type": "array", + "description": "The list of stages that compose this update run.", "items": { "$ref": "#/definitions/UpdateStage" }, "x-ms-identifiers": [ "name" - ], - "description": "The list of stages that compose this update run.", - "x-typespec-name": "UpdateStage[]" + ] } }, - "description": "The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated.", "required": [ "stages" ] }, "UpdateStage": { "type": "object", + "description": "Contains the groups to be updated by an UpdateRun.\nUpdate order:\n- Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts.\n- Parallel within a stage: Groups within a stage run in parallel.\n- Sequential within a group: Clusters within a group are updated sequentially.", "properties": { "name": { "type": "string", "description": "The name of the stage. Must be unique within the UpdateRun.", - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50 + "maxLength": 50, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" }, "groups": { "type": "array", + "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun.", "items": { "$ref": "#/definitions/UpdateGroup" }, "x-ms-identifiers": [ "name" - ], - "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun.", - "x-typespec-name": "UpdateGroup[]" + ] }, "afterStageWaitInSeconds": { "type": "integer", @@ -1969,13 +1958,13 @@ "description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified." } }, - "description": "Contains the groups to be updated by an UpdateRun.\nUpdate order:\n- Sequential between stages: Stages run sequentially. The previous stage must complete before the next one starts.\n- Parallel within a stage: Groups within a stage run in parallel.\n- Sequential within a group: Clusters within a group are updated sequentially.", "required": [ "name" ] }, "UpdateStageStatus": { "type": "object", + "description": "The status of a UpdateStage.", "properties": { "status": { "$ref": "#/definitions/UpdateStatus", @@ -1989,23 +1978,21 @@ }, "groups": { "type": "array", + "description": "The list of groups to be updated as part of this UpdateStage.", "items": { "$ref": "#/definitions/UpdateGroupStatus" }, + "readOnly": true, "x-ms-identifiers": [ "name" - ], - "description": "The list of groups to be updated as part of this UpdateStage.", - "x-typespec-name": "UpdateGroupStatus[]", - "readOnly": true + ] }, "afterStageWaitStatus": { "$ref": "#/definitions/WaitStatus", "description": "The status of the wait period configured on the UpdateStage.", "readOnly": true } - }, - "description": "The status of a UpdateStage." + } }, "UpdateState": { "type": "string", @@ -2025,6 +2012,7 @@ }, "UpdateStatus": { "type": "object", + "description": "The status for an operation or group of operations.", "properties": { "startTime": { "type": "string", @@ -2048,11 +2036,11 @@ "description": "The error details when a failure is encountered.", "readOnly": true } - }, - "description": "The status for an operation or group of operations." + } }, "WaitStatus": { "type": "object", + "description": "The status of the wait duration.", "properties": { "status": { "$ref": "#/definitions/UpdateStatus", @@ -2065,8 +2053,7 @@ "description": "The wait duration configured in seconds.", "readOnly": true } - }, - "description": "The status of the wait duration." + } } }, "parameters": {} diff --git a/specification/containerstorage/ContainerStorage.Management/main.tsp b/specification/containerstorage/ContainerStorage.Management/main.tsp index 5c96967501e9..1522c522969e 100644 --- a/specification/containerstorage/ContainerStorage.Management/main.tsp +++ b/specification/containerstorage/ContainerStorage.Management/main.tsp @@ -51,23 +51,23 @@ model PoolProperties { @doc("Initial capacity of the pool in GiB.") poolCapacityGiB: int64; + // @doc("List of boolean feature-flags, e.g. pool/volume auto-expansion, reclaim policy.") // features?: Record; - @doc("List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many.") assignments: string[]; + // Don't include in preview // @doc("Type of encryption. Allowed values: EncryptionAtRestWithPlatformKey.") // encryption: EncryptionType; - @doc("Ephemeral Pool Properties") ephemeralPoolProperties?: EphemeralPoolProperties; + // @doc("Managed Pool Properties") // managedPoolProperties?: ManagedPoolProperties; - @doc("Disk Pool Properties") diskPoolProperties?: DiskPoolProperties; @@ -114,10 +114,10 @@ model DiskPoolProperties { @doc("List of KV pairs to set in StorageClass to configure CSI driver.") csiParams?: Record; + // @doc("Initial capacity of disks. Application volumes must fit within single disks.") // diskCapacityRequest: int64; - @doc("Maximum capacity of the volumes in GiB the user intends to create. Default 512.") maxVolumeCapacityGiB?: int64 = 512; @@ -212,7 +212,7 @@ enum PoolType { enum VolumeBindingMode { /** Immediate binding */ Immediate, - /** Wait for customer to bind */ + /** Wait for customer to bind */ WaitFirstForCustomer, } @@ -285,11 +285,11 @@ model VolumeProperties { @visibility("read") @doc("The status of the last operation.") provisioningState?: ProvisioningState; + // Will not have features enabled by these flags for preview // @doc("List of boolean feature-flags, e.g. pool/volume auto-expansion, reclaim policy.") // features?: Record; - @doc("String KV pairs indicating labels") labels: Record; @@ -298,6 +298,7 @@ model VolumeProperties { @doc("Indicates how the volume should be attached") volumeMode: VolumeMode; + // Set default to RWO in RP and pass it through // @doc("Indicates how the volume can be accessed") // accessMode: AccessMode; @@ -306,7 +307,6 @@ model VolumeProperties { // @doc("Number of replicas") // replicas: int64; - @doc("Reclaim Policy, Delete or Retain") reclaimPolicy: ReclaimPolicy; @@ -318,7 +318,7 @@ model VolumeProperties { // placementProperties: PlacementProperties; } -/** Storage volume mode */ +/** Storage volume mode */ enum VolumeMode { /** FileSystem volume mode */ Filesystem, @@ -385,11 +385,11 @@ model VolumeSnapshotProperties { @visibility("read") @doc("The status of the last operation.") provisioningState?: ProvisioningState; + // Don't include in preview // @doc("List of boolean feature-flags, e.g. pool/volume auto-expansion, reclaim policy.") // features?: Record; - @doc("Reference to the source volume") source: string; diff --git a/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/preview/2023-03-01-preview/containerstorage.json b/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/preview/2023-03-01-preview/containerstorage.json index 47e943df07a7..0afc03d89d2b 100644 --- a/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/preview/2023-03-01-preview/containerstorage.json +++ b/specification/containerstorage/resource-manager/Microsoft.ContainerStorage/preview/2023-03-01-preview/containerstorage.json @@ -55,10 +55,10 @@ "paths": { "/providers/Microsoft.ContainerStorage/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "operationId": "Operations_List", "description": "List the operations for the provider", "parameters": [ { @@ -79,9 +79,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Operations_List_MaximumSet_Gen": { "$ref": "./examples/Operations_List_MaximumSet_Gen.json" @@ -89,15 +86,18 @@ "Operations_List_MinimumSet_Gen": { "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerStorage/pools": { "get": { + "operationId": "Pools_ListBySubscription", "tags": [ "Pools" ], - "operationId": "Pools_ListBySubscription", "description": "List Pool resources by subscription ID", "parameters": [ { @@ -121,9 +121,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Pools_ListBySubscription_MaximumSet_Gen": { "$ref": "./examples/Pools_ListBySubscription_MaximumSet_Gen.json" @@ -131,15 +128,18 @@ "Pools_ListBySubscription_MinimumSet_Gen": { "$ref": "./examples/Pools_ListBySubscription_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools": { "get": { + "operationId": "Pools_ListByResourceGroup", "tags": [ "Pools" ], - "operationId": "Pools_ListByResourceGroup", "description": "List Pool resources by resource group", "parameters": [ { @@ -166,9 +166,6 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Pools_ListByResourceGroup_MaximumSet_Gen": { "$ref": "./examples/Pools_ListByResourceGroup_MaximumSet_Gen.json" @@ -176,15 +173,18 @@ "Pools_ListByResourceGroup_MinimumSet_Gen": { "$ref": "./examples/Pools_ListByResourceGroup_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}": { "get": { + "operationId": "Pools_Get", "tags": [ "Pools" ], - "operationId": "Pools_Get", "description": "Get a Pool", "parameters": [ { @@ -199,8 +199,8 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } @@ -229,10 +229,10 @@ } }, "put": { + "operationId": "Pools_CreateOrUpdate", "tags": [ "Pools" ], - "operationId": "Pools_CreateOrUpdate", "description": "Create a Pool", "parameters": [ { @@ -247,16 +247,16 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Pool" } @@ -271,15 +271,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Pool" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Pool" } }, "default": { @@ -302,12 +302,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Pools_Update", "tags": [ "Pools" ], - "operationId": "Pools_Delete", - "description": "Delete a Pool", + "description": "Update a Pool", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -321,33 +321,42 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/PoolUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Pool" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -356,11 +365,11 @@ } }, "x-ms-examples": { - "Pools_Delete_MaximumSet_Gen": { - "$ref": "./examples/Pools_Delete_MaximumSet_Gen.json" + "Pools_Update_MaximumSet_Gen": { + "$ref": "./examples/Pools_Update_MaximumSet_Gen.json" }, - "Pools_Delete_MinimumSet_Gen": { - "$ref": "./examples/Pools_Delete_MinimumSet_Gen.json" + "Pools_Update_MinimumSet_Gen": { + "$ref": "./examples/Pools_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -368,12 +377,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Pools_Delete", "tags": [ "Pools" ], - "operationId": "Pools_Update", - "description": "Update a Pool", + "description": "Delete a Pool", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -387,42 +396,33 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/PoolUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/Pool" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -431,11 +431,11 @@ } }, "x-ms-examples": { - "Pools_Update_MaximumSet_Gen": { - "$ref": "./examples/Pools_Update_MaximumSet_Gen.json" + "Pools_Delete_MaximumSet_Gen": { + "$ref": "./examples/Pools_Delete_MaximumSet_Gen.json" }, - "Pools_Update_MinimumSet_Gen": { - "$ref": "./examples/Pools_Update_MinimumSet_Gen.json" + "Pools_Delete_MinimumSet_Gen": { + "$ref": "./examples/Pools_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -444,13 +444,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumes": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumeSnapshots": { "get": { + "operationId": "VolumeSnapshots_ListByPool", "tags": [ - "Volumes" + "VolumeSnapshots" ], - "operationId": "Volumes_ListByPool", - "description": "List Volume resources by Pool", + "description": "List VolumeSnapshot resources by Pool", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -464,8 +464,8 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } @@ -474,7 +474,7 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/VolumeListResult" + "$ref": "#/definitions/VolumeSnapshotListResult" } }, "default": { @@ -484,26 +484,26 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Volumes_ListByPool_MaximumSet_Gen": { - "$ref": "./examples/Volumes_ListByPool_MaximumSet_Gen.json" + "VolumeSnapshots_ListByPool_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_ListByPool_MaximumSet_Gen.json" }, - "Volumes_ListByPool_MinimumSet_Gen": { - "$ref": "./examples/Volumes_ListByPool_MinimumSet_Gen.json" + "VolumeSnapshots_ListByPool_MinimumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_ListByPool_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumes/{volumeName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumeSnapshots/{volumeSnapshotName}": { "get": { + "operationId": "VolumeSnapshots_Get", "tags": [ - "Volumes" + "VolumeSnapshots" ], - "operationId": "Volumes_Get", - "description": "Get a Volume", + "description": "Get a VolumeSnapshot", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -517,16 +517,16 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeName", + "name": "volumeSnapshotName", "in": "path", + "description": "Volume Snapshot Resource", "required": true, - "description": "Volume Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } @@ -535,7 +535,7 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/Volume" + "$ref": "#/definitions/VolumeSnapshot" } }, "default": { @@ -546,20 +546,20 @@ } }, "x-ms-examples": { - "Volumes_Get_MaximumSet_Gen": { - "$ref": "./examples/Volumes_Get_MaximumSet_Gen.json" + "VolumeSnapshots_Get_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Get_MaximumSet_Gen.json" }, - "Volumes_Get_MinimumSet_Gen": { - "$ref": "./examples/Volumes_Get_MinimumSet_Gen.json" + "VolumeSnapshots_Get_MinimumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Get_MinimumSet_Gen.json" } } }, "put": { + "operationId": "VolumeSnapshots_CreateOrUpdate", "tags": [ - "Volumes" + "VolumeSnapshots" ], - "operationId": "Volumes_CreateOrUpdate", - "description": "Create a Volume", + "description": "Create a VolumeSnapshot", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -573,26 +573,26 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeName", + "name": "volumeSnapshotName", "in": "path", + "description": "Volume Snapshot Resource", "required": true, - "description": "Volume Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { - "$ref": "#/definitions/Volume" + "$ref": "#/definitions/VolumeSnapshot" } } ], @@ -600,20 +600,20 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/Volume" + "$ref": "#/definitions/VolumeSnapshot" } }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeSnapshot" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Volume" } }, "default": { @@ -624,11 +624,11 @@ } }, "x-ms-examples": { - "Volumes_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/Volumes_CreateOrUpdate_MaximumSet_Gen.json" + "VolumeSnapshots_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_CreateOrUpdate_MaximumSet_Gen.json" }, - "Volumes_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/Volumes_CreateOrUpdate_MinimumSet_Gen.json" + "VolumeSnapshots_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -636,12 +636,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "VolumeSnapshots_Update", "tags": [ - "Volumes" + "VolumeSnapshots" ], - "operationId": "Volumes_Delete", - "description": "Delete a Volume", + "description": "Update a VolumeSnapshot", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -655,41 +655,50 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeName", + "name": "volumeSnapshotName", "in": "path", + "description": "Volume Snapshot Resource", "required": true, - "description": "Volume Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeSnapshotUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/VolumeSnapshot" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -698,24 +707,24 @@ } }, "x-ms-examples": { - "Volumes_Delete_MaximumSet_Gen": { - "$ref": "./examples/Volumes_Delete_MaximumSet_Gen.json" + "VolumeSnapshots_Update_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Update_MaximumSet_Gen.json" }, - "Volumes_Delete_MinimumSet_Gen": { - "$ref": "./examples/Volumes_Delete_MinimumSet_Gen.json" + "VolumeSnapshots_Update_MinimumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "VolumeSnapshots_Delete", "tags": [ - "Volumes" + "VolumeSnapshots" ], - "operationId": "Volumes_Update", - "description": "Update a Volume", + "description": "Delete a VolumeSnapshot", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -729,50 +738,41 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeName", + "name": "volumeSnapshotName", "in": "path", + "description": "Volume Snapshot Resource", "required": true, - "description": "Volume Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/VolumeUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/Volume" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -781,11 +781,11 @@ } }, "x-ms-examples": { - "Volumes_Update_MaximumSet_Gen": { - "$ref": "./examples/Volumes_Update_MaximumSet_Gen.json" + "VolumeSnapshots_Delete_MaximumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Delete_MaximumSet_Gen.json" }, - "Volumes_Update_MinimumSet_Gen": { - "$ref": "./examples/Volumes_Update_MinimumSet_Gen.json" + "VolumeSnapshots_Delete_MinimumSet_Gen": { + "$ref": "./examples/VolumeSnapshots_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -794,13 +794,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumeSnapshots": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumes": { "get": { + "operationId": "Volumes_ListByPool", "tags": [ - "VolumeSnapshots" + "Volumes" ], - "operationId": "VolumeSnapshots_ListByPool", - "description": "List VolumeSnapshot resources by Pool", + "description": "List Volume resources by Pool", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -814,8 +814,8 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } @@ -824,7 +824,7 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/VolumeSnapshotListResult" + "$ref": "#/definitions/VolumeListResult" } }, "default": { @@ -834,26 +834,26 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "VolumeSnapshots_ListByPool_MaximumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_ListByPool_MaximumSet_Gen.json" + "Volumes_ListByPool_MaximumSet_Gen": { + "$ref": "./examples/Volumes_ListByPool_MaximumSet_Gen.json" }, - "VolumeSnapshots_ListByPool_MinimumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_ListByPool_MinimumSet_Gen.json" + "Volumes_ListByPool_MinimumSet_Gen": { + "$ref": "./examples/Volumes_ListByPool_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumeSnapshots/{volumeSnapshotName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/volumes/{volumeName}": { "get": { + "operationId": "Volumes_Get", "tags": [ - "VolumeSnapshots" + "Volumes" ], - "operationId": "VolumeSnapshots_Get", - "description": "Get a VolumeSnapshot", + "description": "Get a Volume", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -867,16 +867,16 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeSnapshotName", + "name": "volumeName", "in": "path", + "description": "Volume Resource", "required": true, - "description": "Volume Snapshot Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } @@ -885,7 +885,7 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/VolumeSnapshot" + "$ref": "#/definitions/Volume" } }, "default": { @@ -896,20 +896,20 @@ } }, "x-ms-examples": { - "VolumeSnapshots_Get_MaximumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Get_MaximumSet_Gen.json" + "Volumes_Get_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Get_MaximumSet_Gen.json" }, - "VolumeSnapshots_Get_MinimumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Get_MinimumSet_Gen.json" + "Volumes_Get_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Get_MinimumSet_Gen.json" } } }, "put": { + "operationId": "Volumes_CreateOrUpdate", "tags": [ - "VolumeSnapshots" + "Volumes" ], - "operationId": "VolumeSnapshots_CreateOrUpdate", - "description": "Create a VolumeSnapshot", + "description": "Create a Volume", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -923,26 +923,26 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeSnapshotName", + "name": "volumeName", "in": "path", + "description": "Volume Resource", "required": true, - "description": "Volume Snapshot Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { - "$ref": "#/definitions/VolumeSnapshot" + "$ref": "#/definitions/Volume" } } ], @@ -950,20 +950,20 @@ "200": { "description": "ARM operation completed successfully.", "schema": { - "$ref": "#/definitions/VolumeSnapshot" + "$ref": "#/definitions/Volume" } }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/VolumeSnapshot" } }, "default": { @@ -974,11 +974,11 @@ } }, "x-ms-examples": { - "VolumeSnapshots_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_CreateOrUpdate_MaximumSet_Gen.json" + "Volumes_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Volumes_CreateOrUpdate_MaximumSet_Gen.json" }, - "VolumeSnapshots_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_CreateOrUpdate_MinimumSet_Gen.json" + "Volumes_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Volumes_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -986,12 +986,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Volumes_Update", "tags": [ - "VolumeSnapshots" + "Volumes" ], - "operationId": "VolumeSnapshots_Delete", - "description": "Delete a VolumeSnapshot", + "description": "Update a Volume", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1005,41 +1005,50 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeSnapshotName", + "name": "volumeName", "in": "path", + "description": "Volume Resource", "required": true, - "description": "Volume Snapshot Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VolumeUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Volume" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1048,11 +1057,11 @@ } }, "x-ms-examples": { - "VolumeSnapshots_Delete_MaximumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Delete_MaximumSet_Gen.json" + "Volumes_Update_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Update_MaximumSet_Gen.json" }, - "VolumeSnapshots_Delete_MinimumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Delete_MinimumSet_Gen.json" + "Volumes_Update_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { @@ -1060,12 +1069,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Volumes_Delete", "tags": [ - "VolumeSnapshots" + "Volumes" ], - "operationId": "VolumeSnapshots_Update", - "description": "Update a VolumeSnapshot", + "description": "Delete a Volume", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1079,50 +1088,41 @@ { "name": "poolName", "in": "path", - "required": true, "description": "Pool Object", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { - "name": "volumeSnapshotName", + "name": "volumeName", "in": "path", + "description": "Volume Resource", "required": true, - "description": "Volume Snapshot Resource", "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/VolumeSnapshotUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/VolumeSnapshot" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1131,15 +1131,15 @@ } }, "x-ms-examples": { - "VolumeSnapshots_Update_MaximumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Update_MaximumSet_Gen.json" + "Volumes_Delete_MaximumSet_Gen": { + "$ref": "./examples/Volumes_Delete_MaximumSet_Gen.json" }, - "VolumeSnapshots_Update_MinimumSet_Gen": { - "$ref": "./examples/VolumeSnapshots_Update_MinimumSet_Gen.json" + "Volumes_Delete_MinimumSet_Gen": { + "$ref": "./examples/Volumes_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "location" }, "x-ms-long-running-operation": true } @@ -1244,14 +1244,14 @@ }, "DiskPoolProperties": { "type": "object", + "description": "Disk Pool Properties", "properties": { "csiParams": { "type": "object", + "description": "List of KV pairs to set in StorageClass to configure CSI driver.", "additionalProperties": { "type": "string" - }, - "description": "List of KV pairs to set in StorageClass to configure CSI driver.", - "x-typespec-name": "Record" + } }, "maxVolumeCapacityGiB": { "type": "integer", @@ -1261,17 +1261,16 @@ }, "disks": { "type": "array", + "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", "items": { "type": "string" - }, - "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", - "x-typespec-name": "string[]" + } } - }, - "description": "Disk Pool Properties" + } }, "DiskProperties": { "type": "object", + "description": "Disk Properties Model", "properties": { "resourceId": { "type": "string", @@ -1303,7 +1302,6 @@ "description": "Used to import SSD to discover WWN" } }, - "description": "Disk Properties Model", "required": [ "resourceId", "wwn", @@ -1340,6 +1338,7 @@ }, "ElasticSanPoolProperties": { "type": "object", + "description": "Elastic San Pool Properties", "properties": { "sanName": { "type": "string", @@ -1354,7 +1353,6 @@ "description": "Volume group of an existing SAN." } }, - "description": "Elastic San Pool Properties", "required": [ "sanName", "resourceGroup", @@ -1363,6 +1361,7 @@ }, "ElasticSanPoolPropertiesUpdate": { "type": "object", + "description": "Elastic San Pool Properties", "properties": { "sanName": { "type": "string", @@ -1376,8 +1375,7 @@ "type": "string", "description": "Volume group of an existing SAN." } - }, - "description": "Elastic San Pool Properties" + } }, "EncryptionType": { "type": "string", @@ -1399,22 +1397,21 @@ }, "EphemeralPoolProperties": { "type": "object", + "description": "Ephemeral Pool Properties", "properties": { "diskSelector": { "type": "array", + "description": "Template name or KV pairs containing disk selection criteria, e.g. model=\"Microsoft NVMe Direct Disk\" to match all Lsv2 NVMe disks.", "items": { "type": "string" - }, - "description": "Template name or KV pairs containing disk selection criteria, e.g. model=\"Microsoft NVMe Direct Disk\" to match all Lsv2 NVMe disks.", - "x-typespec-name": "string[]" + } }, "disks": { "type": "array", + "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", "items": { "type": "string" - }, - "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", - "x-typespec-name": "string[]" + } }, "diskFormat": { "type": "boolean", @@ -1422,7 +1419,6 @@ "default": false } }, - "description": "Ephemeral Pool Properties", "required": [ "diskSelector", "disks" @@ -1430,38 +1426,37 @@ }, "EphemeralPoolPropertiesUpdate": { "type": "object", + "description": "Ephemeral Pool Properties", "properties": { "diskSelector": { "type": "array", + "description": "Template name or KV pairs containing disk selection criteria, e.g. model=\"Microsoft NVMe Direct Disk\" to match all Lsv2 NVMe disks.", "items": { "type": "string" - }, - "description": "Template name or KV pairs containing disk selection criteria, e.g. model=\"Microsoft NVMe Direct Disk\" to match all Lsv2 NVMe disks.", - "x-typespec-name": "string[]" + } }, "disks": { "type": "array", + "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", "items": { "type": "string" - }, - "description": "Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).", - "x-typespec-name": "string[]" + } }, "diskFormat": { "type": "boolean", "description": "Consent to format the local disks.", "default": false } - }, - "description": "Ephemeral Pool Properties" + } }, "ManagedPoolProperties": { "type": "object", - "properties": {}, - "description": "Managed Pool Properties" + "description": "Managed Pool Properties", + "properties": {} }, "NetworkRuleSet": { "type": "object", + "description": "Network Rule Set definition", "properties": { "defaultAction": { "$ref": "#/definitions/Action", @@ -1469,14 +1464,12 @@ }, "virtualNetworkRules": { "type": "array", + "description": "Virtual network rules", "items": { "$ref": "#/definitions/VirtualNetworkRule" - }, - "description": "Virtual network rules", - "x-typespec-name": "VirtualNetworkRule[]" + } } }, - "description": "Network Rule Set definition", "required": [ "defaultAction", "virtualNetworkRules" @@ -1484,6 +1477,7 @@ }, "PlacementProperties": { "type": "object", + "description": "Placement Properties Model", "properties": { "affinityLabelSelector": { "type": "string", @@ -1498,7 +1492,6 @@ "description": "When unsatisfiable" } }, - "description": "Placement Properties Model", "required": [ "affinityLabelSelector", "antiAffinityLabelSelector", @@ -1507,6 +1500,7 @@ }, "Pool": { "type": "object", + "description": "Pool resource", "properties": { "properties": { "$ref": "#/definitions/PoolProperties", @@ -1518,7 +1512,6 @@ ] } }, - "description": "Pool resource", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -1527,29 +1520,28 @@ }, "PoolListResult": { "type": "object", + "description": "The response of a Pool list operation.", "properties": { "value": { "type": "array", + "description": "The Pool items on this page", "items": { "$ref": "#/definitions/Pool" - }, - "description": "The Pool items on this page", - "x-typespec-name": "Pool[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Pool list operation.", "required": [ "value" ] }, "PoolProperties": { "type": "object", + "description": "Pool Properties", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -1562,11 +1554,10 @@ }, "zones": { "type": "array", + "description": "List of availability zones that resources can be created in.", "items": { "type": "string" - }, - "description": "List of availability zones that resources can be created in.", - "x-typespec-name": "string[]" + } }, "poolCapacityGiB": { "type": "integer", @@ -1575,11 +1566,10 @@ }, "assignments": { "type": "array", + "description": "List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many.", "items": { "type": "string" - }, - "description": "List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many.", - "x-typespec-name": "string[]" + } }, "ephemeralPoolProperties": { "$ref": "#/definitions/EphemeralPoolProperties", @@ -1594,7 +1584,6 @@ "description": "Elastic San Pool Properties" } }, - "description": "Pool Properties", "required": [ "poolType", "zones", @@ -1641,24 +1630,24 @@ }, "PoolUpdate": { "type": "object", + "description": "The type used for update operations of the Pool.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } }, "properties": { "$ref": "#/definitions/PoolUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the Pool." + } }, "PoolUpdateProperties": { "type": "object", + "description": "The updatable properties of the Pool.", "properties": { "poolType": { "$ref": "#/definitions/PoolType", @@ -1666,11 +1655,10 @@ }, "zones": { "type": "array", + "description": "List of availability zones that resources can be created in.", "items": { "type": "string" - }, - "description": "List of availability zones that resources can be created in.", - "x-typespec-name": "string[]" + } }, "poolCapacityGiB": { "type": "integer", @@ -1679,11 +1667,10 @@ }, "assignments": { "type": "array", + "description": "List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many.", "items": { "type": "string" - }, - "description": "List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For portable there can be many.", - "x-typespec-name": "string[]" + } }, "ephemeralPoolProperties": { "$ref": "#/definitions/EphemeralPoolPropertiesUpdate", @@ -1697,8 +1684,7 @@ "$ref": "#/definitions/ElasticSanPoolPropertiesUpdate", "description": "Elastic San Pool Properties" } - }, - "description": "The updatable properties of the Pool." + } }, "ProtocolType": { "type": "string", @@ -1804,6 +1790,7 @@ }, "Sku": { "type": "object", + "description": "Sku definition", "properties": { "name": { "$ref": "#/definitions/SkuName", @@ -1814,7 +1801,6 @@ "description": "Sku Account Tier" } }, - "description": "Sku definition", "required": [ "name", "tier" @@ -1852,6 +1838,7 @@ }, "VirtualNetworkRule": { "type": "object", + "description": "Virtual Network Rule definition", "properties": { "action": { "$ref": "#/definitions/Action", @@ -1863,13 +1850,13 @@ "description": "Id of rule" } }, - "description": "Virtual Network Rule definition", "required": [ "id" ] }, "Volume": { "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "properties": { "properties": { "$ref": "#/definitions/VolumeProperties", @@ -1881,7 +1868,6 @@ ] } }, - "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -1914,23 +1900,21 @@ }, "VolumeListResult": { "type": "object", + "description": "The response of a Volume list operation.", "properties": { "value": { "type": "array", + "description": "The Volume items on this page", "items": { "$ref": "#/definitions/Volume" - }, - "description": "The Volume items on this page", - "x-typespec-name": "Volume[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Volume list operation.", "required": [ "value" ] @@ -1961,6 +1945,7 @@ }, "VolumeProperties": { "type": "object", + "description": "Volume Properties", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -1969,11 +1954,10 @@ }, "labels": { "type": "object", + "description": "String KV pairs indicating labels", "additionalProperties": { "type": "string" - }, - "description": "String KV pairs indicating labels", - "x-typespec-name": "Record" + } }, "capacityGiB": { "type": "integer", @@ -1990,14 +1974,12 @@ }, "mountOptions": { "type": "array", + "description": "List of string mount options", "items": { "type": "string" - }, - "description": "List of string mount options", - "x-typespec-name": "string[]" + } } }, - "description": "Volume Properties", "required": [ "labels", "capacityGiB", @@ -2008,6 +1990,7 @@ }, "VolumeSnapshot": { "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "properties": { "properties": { "$ref": "#/definitions/VolumeSnapshotProperties", @@ -2019,7 +2002,6 @@ ] } }, - "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -2028,29 +2010,28 @@ }, "VolumeSnapshotListResult": { "type": "object", + "description": "The response of a VolumeSnapshot list operation.", "properties": { "value": { "type": "array", + "description": "The VolumeSnapshot items on this page", "items": { "$ref": "#/definitions/VolumeSnapshot" - }, - "description": "The VolumeSnapshot items on this page", - "x-typespec-name": "VolumeSnapshot[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a VolumeSnapshot list operation.", "required": [ "value" ] }, "VolumeSnapshotProperties": { "type": "object", + "description": "Volume Snapshot Properties", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -2071,14 +2052,12 @@ }, "mountOptions": { "type": "array", + "description": "List of string mount options", "items": { "type": "string" - }, - "description": "List of string mount options", - "x-typespec-name": "string[]" + } } }, - "description": "Volume Snapshot Properties", "required": [ "source", "volumeMode", @@ -2088,16 +2067,17 @@ }, "VolumeSnapshotUpdate": { "type": "object", + "description": "The type used for update operations of the VolumeSnapshot.", "properties": { "properties": { "$ref": "#/definitions/VolumeSnapshotUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the VolumeSnapshot." + } }, "VolumeSnapshotUpdateProperties": { "type": "object", + "description": "The updatable properties of the VolumeSnapshot.", "properties": { "source": { "type": "string", @@ -2113,35 +2093,33 @@ }, "mountOptions": { "type": "array", + "description": "List of string mount options", "items": { "type": "string" - }, - "description": "List of string mount options", - "x-typespec-name": "string[]" + } } - }, - "description": "The updatable properties of the VolumeSnapshot." + } }, "VolumeUpdate": { "type": "object", + "description": "The type used for update operations of the Volume.", "properties": { "properties": { "$ref": "#/definitions/VolumeUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the Volume." + } }, "VolumeUpdateProperties": { "type": "object", + "description": "The updatable properties of the Volume.", "properties": { "labels": { "type": "object", + "description": "String KV pairs indicating labels", "additionalProperties": { "type": "string" - }, - "description": "String KV pairs indicating labels", - "x-typespec-name": "Record" + } }, "capacityGiB": { "type": "integer", @@ -2158,14 +2136,12 @@ }, "mountOptions": { "type": "array", + "description": "List of string mount options", "items": { "type": "string" - }, - "description": "List of string mount options", - "x-typespec-name": "string[]" + } } - }, - "description": "The updatable properties of the Volume." + } }, "WhenUnsatisfiable": { "type": "string", diff --git a/specification/contosowidgetmanager/Contoso.WidgetManager/main.tsp b/specification/contosowidgetmanager/Contoso.WidgetManager/main.tsp index 93be75d6dd3d..45bebf834f68 100644 --- a/specification/contosowidgetmanager/Contoso.WidgetManager/main.tsp +++ b/specification/contosowidgetmanager/Contoso.WidgetManager/main.tsp @@ -9,7 +9,7 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; -@useAuth(OAuth2Auth<[ContosoAuthFlow]>) +@useAuth(AadOauth2Auth<["https://contoso.azure.com/.default"]>) @service({ title: "Contoso Widget Manager", }) @@ -23,18 +23,6 @@ enum Versions { v2022_11_01_Preview: "2022-11-01-preview", } -@doc("A faked auth model.") -model ContosoAuthFlow { - @doc("The auth flow type.") - type: OAuth2FlowType.implicit; - - @doc("The auth flow authorization URL.") - authorizationUrl: "https://login.microsoftonline.com/common/oauth2/authorize"; - - @doc("The auth flow token URL.") - scopes: ["https://security.microsoft.com/.default"]; -} - @doc("A widget.") @resource("widgets") model WidgetSuite { diff --git a/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json b/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json index 14cf35244597..c6658714b8d3 100644 --- a/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json +++ b/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json @@ -20,19 +20,21 @@ ], "security": [ { - "OAuth2Auth": [ - "https://security.microsoft.com/.default" + "AadOauth2Auth": [ + "https://contoso.azure.com/.default" ] } ], "securityDefinitions": { - "OAuth2Auth": { + "AadOauth2Auth": { "type": "oauth2", - "flow": "implicit", + "description": "The Azure Active Directory OAuth2 Flow", + "flow": "accessCode", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { - "https://security.microsoft.com/.default": "" - } + "https://contoso.azure.com/.default": "" + }, + "tokenUrl": "https://login.microsoftonline.com/common/oauth2/token" } }, "tags": [], @@ -51,50 +53,47 @@ "description": "The request has succeeded.", "schema": { "type": "object", + "description": "Paged collection of WidgetSuite items", "properties": { "value": { "type": "array", + "description": "The WidgetSuite items on this page", "items": { "$ref": "#/definitions/WidgetSuite" }, - "x-ms-identifiers": [], - "description": "The WidgetSuite items on this page", - "x-typespec-name": "WidgetSuite[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of WidgetSuite items", "required": [ "value" - ], - "x-typespec-name": "Azure.Core.Foundations.CustomPage" + ] } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Widgets_ListWidgets": { "$ref": "./examples/Widgets_ListWidgetsSample.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, @@ -109,8 +108,8 @@ { "name": "widgetName", "in": "path", - "required": true, "description": "The widget name.", + "required": true, "type": "string" } ], @@ -123,14 +122,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -143,6 +142,9 @@ "patch": { "operationId": "Widgets_CreateOrUpdateWidget", "description": "Creates or updates a Widget asynchronously.", + "consumes": [ + "application/merge-patch+json" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -150,15 +152,15 @@ { "name": "widgetName", "in": "path", - "required": true, "description": "The widget name.", + "required": true, "type": "string" }, { "name": "resource", "in": "body", - "required": true, "description": "The resource instance.", + "required": true, "schema": { "$ref": "#/definitions/WidgetSuiteUpdate" } @@ -167,46 +169,43 @@ "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/WidgetSuite" + }, "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." } - }, - "schema": { - "$ref": "#/definitions/WidgetSuite" } }, "201": { "description": "The request has succeeded and a new resource has been created as a result.", + "schema": { + "$ref": "#/definitions/WidgetSuite" + }, "headers": { "Operation-Location": { - "description": "The location for monitoring the operation state.", "type": "string", - "format": "uri" + "format": "uri", + "description": "The location for monitoring the operation state." } - }, - "schema": { - "$ref": "#/definitions/WidgetSuite" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/merge-patch+json" - ], "x-ms-examples": { "Widgets_CreateOrUpdateWidget": { "$ref": "./examples/Widgets_CreateOrUpdateWidgetSample.json" @@ -223,23 +222,17 @@ { "name": "widgetName", "in": "path", - "required": true, "description": "The widget name.", + "required": true, "type": "string" } ], "responses": { "202": { "description": "The request has been accepted for processing, but processing has not yet completed.", - "headers": { - "Operation-Location": { - "description": "The location for monitoring the operation state.", - "type": "string", - "format": "uri" - } - }, "schema": { "type": "object", + "description": "Provides status details for long running operations.", "properties": { "id": { "type": "string", @@ -254,24 +247,29 @@ "description": "Error object that describes the error when status is \"Failed\"." } }, - "description": "Provides status details for long running operations.", "required": [ "id", "status" - ], - "x-typespec-name": "Azure.Core.Foundations.OperationStatus" + ] + }, + "headers": { + "Operation-Location": { + "type": "string", + "format": "uri", + "description": "The location for monitoring the operation state." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -293,15 +291,15 @@ { "name": "widgetName", "in": "path", - "required": true, "description": "The widget name.", + "required": true, "type": "string" }, { "name": "operationId", "in": "path", - "required": true, "description": "The unique ID of the operation.", + "required": true, "type": "string" } ], @@ -310,6 +308,7 @@ "description": "The request has succeeded.", "schema": { "type": "object", + "description": "Provides status details for long running operations.", "properties": { "id": { "type": "string", @@ -328,24 +327,22 @@ "description": "The result of the operation." } }, - "description": "Provides status details for long running operations.", "required": [ "id", "status" - ], - "x-typespec-name": "Azure.Core.ResourceOperationStatus" + ] } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -360,6 +357,7 @@ "definitions": { "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -375,19 +373,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -395,19 +391,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -417,8 +414,7 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "Azure.Core.Foundations.OperationState": { "type": "string", @@ -456,42 +452,9 @@ ] } }, - "ContosoAuthFlow": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "implicit" - ], - "description": "The auth flow type." - }, - "authorizationUrl": { - "type": "string", - "enum": [ - "https://login.microsoftonline.com/common/oauth2/authorize" - ], - "x-ms-enum": { - "modelAsString": false - }, - "description": "The auth flow authorization URL." - }, - "scopes": { - "type": "array", - "items": {}, - "x-typespec-name": "[https://security.microsoft.com/.default]", - "description": "The auth flow token URL." - } - }, - "description": "A faked auth model.", - "required": [ - "type", - "authorizationUrl", - "scopes" - ] - }, "FakedSharedModel": { "type": "object", + "description": "Faked shared model", "properties": { "tag": { "type": "string", @@ -503,7 +466,6 @@ "description": "The created date." } }, - "description": "Faked shared model", "required": [ "tag", "createdAt" @@ -511,6 +473,7 @@ }, "FakedSharedModelUpdate": { "type": "object", + "description": "Faked shared model", "properties": { "tag": { "type": "string", @@ -521,8 +484,7 @@ "format": "date-time", "description": "The created date." } - }, - "description": "Faked shared model" + } }, "Versions": { "type": "string", @@ -544,6 +506,7 @@ }, "WidgetSuite": { "type": "object", + "description": "A widget.", "properties": { "name": { "type": "string", @@ -559,7 +522,6 @@ "description": "The faked shared model." } }, - "description": "A widget.", "required": [ "name", "manufacturerId" @@ -567,6 +529,7 @@ }, "WidgetSuiteUpdate": { "type": "object", + "description": "A widget.", "properties": { "manufacturerId": { "type": "string", @@ -576,20 +539,19 @@ "$ref": "#/definitions/FakedSharedModelUpdate", "description": "The faked shared model." } - }, - "description": "A widget." + } } }, "parameters": { "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json index 85f85b5de180..b378a3e5b0a6 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/preview/2023-06-01-preview/EventGrid.json @@ -42,8 +42,8 @@ "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", - "in": "header", - "name": "SharedAccessKey" + "name": "SharedAccessKey", + "in": "header" } }, "tags": [], @@ -52,6 +52,9 @@ "post": { "operationId": "PublishCloudEvents", "description": "Publish Batch Cloud Event to namespace topic. In case of success, the server responds with an HTTP 200 status code with an empty JSON object in response. Otherwise, the server can return various error codes. For example, 401: which indicates authorization failure, 403: which indicates quota exceeded or message is too large, 410: which indicates that specific topic is not found, 400: for bad request, and 500: for internal server error. ", + "consumes": [ + "application/cloudevents-batch+json; charset=utf-8" + ], "parameters": [ { "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" @@ -59,21 +62,20 @@ { "name": "topicName", "in": "path", - "required": true, "description": "Topic Name.", + "required": true, "type": "string" }, { "name": "events", "in": "body", - "required": true, "description": "Array of Cloud Events being published.", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/CloudEvent" - }, - "x-typespec-name": "CloudEvent[]" + } } } ], @@ -86,20 +88,17 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, - "consumes": [ - "application/cloudevents-batch+json; charset=utf-8" - ], "x-ms-examples": { "Publish Cloud Event": { "$ref": "./examples/publish.json" @@ -118,33 +117,33 @@ { "name": "topicName", "in": "path", - "required": true, "description": "Topic Name.", + "required": true, "type": "string" }, { "name": "eventSubscriptionName", "in": "path", - "required": true, "description": "Event Subscription Name.", + "required": true, "type": "string" }, { "name": "maxEvents", "in": "query", - "required": false, "description": "Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.", - "default": 1, + "required": false, "type": "integer", "format": "int32", + "default": 1, "minimum": 1, "maximum": 100 }, { "name": "maxWaitTime", "in": "query", - "required": false, "description": "Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.", + "required": false, "type": "integer", "format": "int32" } @@ -158,14 +157,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -187,22 +186,22 @@ { "name": "topicName", "in": "path", - "required": true, "description": "Topic Name.", + "required": true, "type": "string" }, { "name": "eventSubscriptionName", "in": "path", - "required": true, "description": "Event Subscription Name.", + "required": true, "type": "string" }, { "name": "lockTokens", "in": "body", - "required": true, "description": "AcknowledgeOptions.", + "required": true, "schema": { "$ref": "#/definitions/AcknowledgeOptions" } @@ -217,14 +216,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -246,22 +245,22 @@ { "name": "topicName", "in": "path", - "required": true, "description": "Topic Name.", + "required": true, "type": "string" }, { "name": "eventSubscriptionName", "in": "path", - "required": true, "description": "Event Subscription Name.", + "required": true, "type": "string" }, { "name": "lockTokens", "in": "body", - "required": true, "description": "ReleaseOptions", + "required": true, "schema": { "$ref": "#/definitions/ReleaseOptions" } @@ -276,14 +275,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -305,22 +304,22 @@ { "name": "topicName", "in": "path", - "required": true, "description": "Topic Name.", + "required": true, "type": "string" }, { "name": "eventSubscriptionName", "in": "path", - "required": true, "description": "Event Subscription Name.", + "required": true, "type": "string" }, { "name": "lockTokens", "in": "body", - "required": true, "description": "RejectOptions", + "required": true, "schema": { "$ref": "#/definitions/RejectOptions" } @@ -335,14 +334,14 @@ }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + }, "headers": { "x-ms-error-code": { "description": "String error code indicating what went wrong.", "type": "string" } - }, - "schema": { - "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" } } }, @@ -357,43 +356,40 @@ "definitions": { "AcknowledgeOptions": { "type": "object", + "description": "Array of lock token strings for the corresponding received Cloud Events to be acknowledged.", "properties": { "lockTokens": { "type": "array", + "description": "String array of lock tokens.", "items": { "type": "string" - }, - "description": "String array of lock tokens.", - "x-typespec-name": "string[]" + } } }, - "description": "Array of lock token strings for the corresponding received Cloud Events to be acknowledged.", "required": [ "lockTokens" ] }, "AcknowledgeResult": { "type": "object", + "description": "The result of the Acknowledge operation.", "properties": { "failedLockTokens": { "type": "array", + "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", "items": { "$ref": "#/definitions/FailedLockToken" }, - "x-ms-identifiers": [], - "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", - "x-typespec-name": "FailedLockToken[]" + "x-ms-identifiers": [] }, "succeededLockTokens": { "type": "array", + "description": "Array of lock tokens values for the successfully acknowledged cloud events.", "items": { "type": "string" - }, - "description": "Array of lock tokens values for the successfully acknowledged cloud events.", - "x-typespec-name": "string[]" + } } }, - "description": "The result of the Acknowledge operation.", "required": [ "failedLockTokens", "succeededLockTokens" @@ -401,6 +397,7 @@ }, "Azure.Core.Foundations.Error": { "type": "object", + "description": "The error object.", "properties": { "code": { "type": "string", @@ -416,19 +413,17 @@ }, "details": { "type": "array", + "description": "An array of details about specific errors that led to this reported error.", "items": { "$ref": "#/definitions/Azure.Core.Foundations.Error" }, - "x-ms-identifiers": [], - "description": "An array of details about specific errors that led to this reported error.", - "x-typespec-name": "Azure.Core.Foundations.Error[]" + "x-ms-identifiers": [] }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "An object containing more specific information than the current object about the error." } }, - "description": "The error object.", "required": [ "code", "message" @@ -436,19 +431,20 @@ }, "Azure.Core.Foundations.ErrorResponse": { "type": "object", + "description": "A response containing error details.", "properties": { "error": { "$ref": "#/definitions/Azure.Core.Foundations.Error", "description": "The error object." } }, - "description": "A response containing error details.", "required": [ "error" ] }, "Azure.Core.Foundations.InnerError": { "type": "object", + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", "properties": { "code": { "type": "string", @@ -458,11 +454,11 @@ "$ref": "#/definitions/Azure.Core.Foundations.InnerError", "description": "Inner error." } - }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + } }, "BrokerProperties": { "type": "object", + "description": "Properties of the Event Broker operation.", "properties": { "lockToken": { "type": "string", @@ -474,7 +470,6 @@ "description": "The attempt count for delivering the event." } }, - "description": "Properties of the Event Broker operation.", "required": [ "lockToken", "deliveryCount" @@ -482,6 +477,7 @@ }, "CloudEvent": { "type": "object", + "description": "Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.", "properties": { "id": { "type": "string", @@ -525,7 +521,6 @@ "description": "This describes the subject of the event in the context of the event producer (identified by source)." } }, - "description": "Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.", "required": [ "id", "source", @@ -535,6 +530,7 @@ }, "FailedLockToken": { "type": "object", + "description": "Failed LockToken information.", "properties": { "lockToken": { "type": "string", @@ -549,7 +545,6 @@ "description": "Description of the token error." } }, - "description": "Failed LockToken information.", "required": [ "lockToken", "errorCode", @@ -558,11 +553,12 @@ }, "PublishResult": { "type": "object", - "properties": {}, - "description": "The result of the Publish operation." + "description": "The result of the Publish operation.", + "properties": {} }, "ReceiveDetails": { "type": "object", + "description": "Receive operation details per Cloud Event.", "properties": { "brokerProperties": { "$ref": "#/definitions/BrokerProperties", @@ -573,7 +569,6 @@ "description": "Cloud Event details." } }, - "description": "Receive operation details per Cloud Event.", "required": [ "brokerProperties", "event" @@ -581,61 +576,57 @@ }, "ReceiveResult": { "type": "object", + "description": "Details of the Receive operation response.", "properties": { "value": { "type": "array", + "description": "Array of receive responses, one per cloud event.", "items": { "$ref": "#/definitions/ReceiveDetails" }, - "x-ms-identifiers": [], - "description": "Array of receive responses, one per cloud event.", - "x-typespec-name": "ReceiveDetails[]" + "x-ms-identifiers": [] } }, - "description": "Details of the Receive operation response.", "required": [ "value" ] }, "RejectOptions": { "type": "object", + "description": "Array of lock token strings for the corresponding received Cloud Events to be rejected.", "properties": { "lockTokens": { "type": "array", + "description": "String array of lock tokens.", "items": { "type": "string" - }, - "description": "String array of lock tokens.", - "x-typespec-name": "string[]" + } } }, - "description": "Array of lock token strings for the corresponding received Cloud Events to be rejected.", "required": [ "lockTokens" ] }, "RejectResult": { "type": "object", + "description": "The result of the Reject operation.", "properties": { "failedLockTokens": { "type": "array", + "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", "items": { "$ref": "#/definitions/FailedLockToken" }, - "x-ms-identifiers": [], - "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", - "x-typespec-name": "FailedLockToken[]" + "x-ms-identifiers": [] }, "succeededLockTokens": { "type": "array", + "description": "Array of lock tokens values for the successfully rejected cloud events.", "items": { "type": "string" - }, - "description": "Array of lock tokens values for the successfully rejected cloud events.", - "x-typespec-name": "string[]" + } } }, - "description": "The result of the Reject operation.", "required": [ "failedLockTokens", "succeededLockTokens" @@ -643,43 +634,40 @@ }, "ReleaseOptions": { "type": "object", + "description": "Array of lock token strings for the corresponding received Cloud Events to be released.", "properties": { "lockTokens": { "type": "array", + "description": "String array of lock tokens.", "items": { "type": "string" - }, - "description": "String array of lock tokens.", - "x-typespec-name": "string[]" + } } }, - "description": "Array of lock token strings for the corresponding received Cloud Events to be released.", "required": [ "lockTokens" ] }, "ReleaseResult": { "type": "object", + "description": "The result of the Release operation.", "properties": { "failedLockTokens": { "type": "array", + "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", "items": { "$ref": "#/definitions/FailedLockToken" }, - "x-ms-identifiers": [], - "description": "Array of LockToken values for failed cloud events. Each LockToken includes the lock token value along with the related error information (namely, the error code and description).", - "x-typespec-name": "FailedLockToken[]" + "x-ms-identifiers": [] }, "succeededLockTokens": { "type": "array", + "description": "Array of lock tokens values for the successfully released cloud events.", "items": { "type": "string" - }, - "description": "Array of lock tokens values for the successfully released cloud events.", - "x-typespec-name": "string[]" + } } }, - "description": "The result of the Release operation.", "required": [ "failedLockTokens", "succeededLockTokens" @@ -690,12 +678,12 @@ "Azure.Core.Foundations.ApiVersionParameter": { "name": "api-version", "in": "query", - "required": true, "description": "The API version to use for this operation.", - "x-ms-client-name": "apiVersion", + "required": true, "type": "string", "minLength": 1, - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "apiVersion" } } } diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json index 54ab38a98949..f094382d1f46 100644 --- a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json @@ -55,10 +55,10 @@ "paths": { "/providers/Microsoft.ServiceNetworking/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "operationId": "Operations_List", "description": "List the operations for the provider", "parameters": [ { @@ -79,22 +79,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get Operations List": { "$ref": "./examples/OperationsList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers": { "get": { + "operationId": "TrafficControllerInterface_ListBySubscription", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_ListBySubscription", "description": "List TrafficController resources by subscription ID", "parameters": [ { @@ -118,22 +118,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get Traffic Controllers List": { "$ref": "./examples/TrafficControllersGetList.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers": { "get": { + "operationId": "TrafficControllerInterface_ListByResourceGroup", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_ListByResourceGroup", "description": "List TrafficController resources by resource group", "parameters": [ { @@ -160,22 +160,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get Traffic Controllers": { "$ref": "./examples/TrafficControllersGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}": { "get": { + "operationId": "TrafficControllerInterface_Get", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_Get", "description": "Get a TrafficController", "parameters": [ { @@ -190,8 +190,8 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -217,10 +217,10 @@ } }, "put": { + "operationId": "TrafficControllerInterface_CreateOrUpdate", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_CreateOrUpdate", "description": "Create a TrafficController", "parameters": [ { @@ -235,16 +235,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/TrafficController" } @@ -259,15 +259,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/TrafficController" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/TrafficController" } }, "default": { @@ -288,10 +288,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "TrafficControllerInterface_Update", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_Update", "description": "Update a TrafficController", "parameters": [ { @@ -306,16 +306,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/TrafficControllerUpdate" } @@ -342,10 +342,10 @@ } }, "delete": { + "operationId": "TrafficControllerInterface_Delete", "tags": [ "TrafficControllerInterface" ], - "operationId": "TrafficControllerInterface_Delete", "description": "Delete a TrafficController", "parameters": [ { @@ -360,8 +360,8 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -374,13 +374,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -407,10 +407,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations": { "get": { + "operationId": "AssociationsInterface_ListByTrafficController", "tags": [ "AssociationsInterface" ], - "operationId": "AssociationsInterface_ListByTrafficController", "description": "List Association resources by TrafficController", "parameters": [ { @@ -425,8 +425,8 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -445,22 +445,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get Associations": { "$ref": "./examples/AssociationsGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}": { "get": { + "operationId": "AssociationsInterface_Get", "tags": [ "AssociationsInterface" ], - "operationId": "AssociationsInterface_Get", "description": "Get a Association", "parameters": [ { @@ -475,16 +475,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", - "required": true, "description": "Name of Association", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -510,10 +510,10 @@ } }, "put": { + "operationId": "AssociationsInterface_CreateOrUpdate", "tags": [ "AssociationsInterface" ], - "operationId": "AssociationsInterface_CreateOrUpdate", "description": "Create a Association", "parameters": [ { @@ -528,24 +528,24 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", - "required": true, "description": "Name of Association", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Association" } @@ -560,15 +560,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Association" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Association" } }, "default": { @@ -589,10 +589,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "AssociationsInterface_Update", "tags": [ "AssociationsInterface" ], - "operationId": "AssociationsInterface_Update", "description": "Update a Association", "parameters": [ { @@ -607,24 +607,24 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", - "required": true, "description": "Name of Association", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/AssociationUpdate" } @@ -651,10 +651,10 @@ } }, "delete": { + "operationId": "AssociationsInterface_Delete", "tags": [ "AssociationsInterface" ], - "operationId": "AssociationsInterface_Delete", "description": "Delete a Association", "parameters": [ { @@ -669,16 +669,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", - "required": true, "description": "Name of Association", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -691,13 +691,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -724,10 +724,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends": { "get": { + "operationId": "FrontendsInterface_ListByTrafficController", "tags": [ "FrontendsInterface" ], - "operationId": "FrontendsInterface_ListByTrafficController", "description": "List Frontend resources by TrafficController", "parameters": [ { @@ -742,8 +742,8 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -762,22 +762,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get Frontends": { "$ref": "./examples/FrontendsGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}": { "get": { + "operationId": "FrontendsInterface_Get", "tags": [ "FrontendsInterface" ], - "operationId": "FrontendsInterface_Get", "description": "Get a Frontend", "parameters": [ { @@ -792,16 +792,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", - "required": true, "description": "Frontends", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -827,10 +827,10 @@ } }, "put": { + "operationId": "FrontendsInterface_CreateOrUpdate", "tags": [ "FrontendsInterface" ], - "operationId": "FrontendsInterface_CreateOrUpdate", "description": "Create a Frontend", "parameters": [ { @@ -845,24 +845,24 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", - "required": true, "description": "Frontends", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Frontend" } @@ -877,15 +877,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Frontend" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Frontend" } }, "default": { @@ -906,10 +906,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "FrontendsInterface_Update", "tags": [ "FrontendsInterface" ], - "operationId": "FrontendsInterface_Update", "description": "Update a Frontend", "parameters": [ { @@ -924,24 +924,24 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", - "required": true, "description": "Frontends", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/FrontendUpdate" } @@ -968,10 +968,10 @@ } }, "delete": { + "operationId": "FrontendsInterface_Delete", "tags": [ "FrontendsInterface" ], - "operationId": "FrontendsInterface_Delete", "description": "Delete a Frontend", "parameters": [ { @@ -986,16 +986,16 @@ { "name": "trafficControllerName", "in": "path", - "required": true, "description": "traffic controller name for path", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", - "required": true, "description": "Frontends", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } @@ -1008,13 +1008,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -1043,6 +1043,7 @@ "definitions": { "Association": { "type": "object", + "description": "Association Subresource of Traffic Controller", "properties": { "properties": { "$ref": "#/definitions/AssociationProperties", @@ -1054,7 +1055,6 @@ ] } }, - "description": "Association Subresource of Traffic Controller", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -1063,29 +1063,28 @@ }, "AssociationListResult": { "type": "object", + "description": "The response of a Association list operation.", "properties": { "value": { "type": "array", + "description": "The Association items on this page", "items": { "$ref": "#/definitions/Association" - }, - "description": "The Association items on this page", - "x-typespec-name": "Association[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Association list operation.", "required": [ "value" ] }, "AssociationProperties": { "type": "object", + "description": "Association Properties.", "properties": { "associationType": { "$ref": "#/definitions/AssociationType", @@ -1101,33 +1100,32 @@ "readOnly": true } }, - "description": "Association Properties.", "required": [ "associationType" ] }, "AssociationSubnet": { "type": "object", + "description": "Association Subnet.", "properties": { "id": { "type": "string", "description": "Association ID." } }, - "description": "Association Subnet.", "required": [ "id" ] }, "AssociationSubnetUpdate": { "type": "object", + "description": "Association Subnet.", "properties": { "id": { "type": "string", "description": "Association ID." } - }, - "description": "Association Subnet." + } }, "AssociationType": { "type": "string", @@ -1141,24 +1139,24 @@ }, "AssociationUpdate": { "type": "object", + "description": "The type used for update operations of the Association.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } }, "properties": { "$ref": "#/definitions/AssociationUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the Association." + } }, "AssociationUpdateProperties": { "type": "object", + "description": "The updatable properties of the Association.", "properties": { "associationType": { "$ref": "#/definitions/AssociationType", @@ -1168,11 +1166,11 @@ "$ref": "#/definitions/AssociationSubnetUpdate", "description": "Association Subnet" } - }, - "description": "The updatable properties of the Association." + } }, "Frontend": { "type": "object", + "description": "Frontend Subresource of Traffic Controller.", "properties": { "properties": { "$ref": "#/definitions/FrontendProperties", @@ -1184,7 +1182,6 @@ ] } }, - "description": "Frontend Subresource of Traffic Controller.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -1193,29 +1190,28 @@ }, "FrontendListResult": { "type": "object", + "description": "The response of a Frontend list operation.", "properties": { "value": { "type": "array", + "description": "The Frontend items on this page", "items": { "$ref": "#/definitions/Frontend" - }, - "description": "The Frontend items on this page", - "x-typespec-name": "Frontend[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Frontend list operation.", "required": [ "value" ] }, "FrontendProperties": { "type": "object", + "description": "Frontend Properties.", "properties": { "fqdn": { "type": "string", @@ -1227,22 +1223,20 @@ "description": "Provisioning State of Traffic Controller Frontend Resource", "readOnly": true } - }, - "description": "Frontend Properties." + } }, "FrontendUpdate": { "type": "object", + "description": "The type used for update operations of the Frontend.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } } - }, - "description": "The type used for update operations of the Frontend." + } }, "ProvisioningState": { "type": "string", @@ -1262,19 +1256,20 @@ }, "ResourceId": { "type": "object", + "description": "Resource ID definition used by parent to reference child resources.", "properties": { "id": { "type": "string", "description": "Resource ID of child resource." } }, - "description": "Resource ID definition used by parent to reference child resources.", "required": [ "id" ] }, "TrafficController": { "type": "object", + "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "properties": { "properties": { "$ref": "#/definitions/TrafficControllerProperties", @@ -1286,7 +1281,6 @@ ] } }, - "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -1295,55 +1289,51 @@ }, "TrafficControllerListResult": { "type": "object", + "description": "The response of a TrafficController list operation.", "properties": { "value": { "type": "array", + "description": "The TrafficController items on this page", "items": { "$ref": "#/definitions/TrafficController" - }, - "description": "The TrafficController items on this page", - "x-typespec-name": "TrafficController[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a TrafficController list operation.", "required": [ "value" ] }, "TrafficControllerProperties": { "type": "object", + "description": "Traffic Controller Properties.", "properties": { "configurationEndpoints": { "type": "array", + "description": "Configuration Endpoints.", "items": { "type": "string" }, - "description": "Configuration Endpoints.", - "x-typespec-name": "string[]", "readOnly": true }, "frontends": { "type": "array", + "description": "Frontends References List", "items": { "$ref": "#/definitions/ResourceId" }, - "description": "Frontends References List", - "x-typespec-name": "ResourceId[]", "readOnly": true }, "associations": { "type": "array", + "description": "Associations References List", "items": { "$ref": "#/definitions/ResourceId" }, - "description": "Associations References List", - "x-typespec-name": "ResourceId[]", "readOnly": true }, "provisioningState": { @@ -1351,22 +1341,20 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "Traffic Controller Properties." + } }, "TrafficControllerUpdate": { "type": "object", + "description": "The type used for update operations of the TrafficController.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } } - }, - "description": "The type used for update operations of the TrafficController." + } } }, "parameters": {} diff --git a/specification/sphere/Sphere.Management/catalog.tsp b/specification/sphere/Sphere.Management/catalog.tsp index f5c8b98964f4..4c3c92621d38 100644 --- a/specification/sphere/Sphere.Management/catalog.tsp +++ b/specification/sphere/Sphere.Management/catalog.tsp @@ -73,7 +73,7 @@ interface Catalogs @armResourceAction(Catalog) @post countDevices( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ErrorResponse; @autoRoute @@ -82,7 +82,7 @@ interface Catalogs @post listDeviceInsights( ...ResourceInstanceParameters, - ...ListQueryParameters + ...ListQueryParameters, ): ArmResponse> | ErrorResponse; @autoRoute @@ -91,7 +91,7 @@ interface Catalogs @post listDevices( ...ResourceInstanceParameters, - ...ListQueryParameters + ...ListQueryParameters, ): ArmResponse> | ErrorResponse; @autoRoute @@ -100,7 +100,7 @@ interface Catalogs @post listDeployments( ...ResourceInstanceParameters, - ...ListQueryParameters + ...ListQueryParameters, ): ArmResponse> | ErrorResponse; @autoRoute @@ -113,6 +113,6 @@ interface Catalogs @doc("List device groups for catalog.") @body - listDeviceGroupsRequest: ListDeviceGroupsRequest + listDeviceGroupsRequest: ListDeviceGroupsRequest, ): ArmResponse> | ErrorResponse; } diff --git a/specification/sphere/Sphere.Management/certificate.tsp b/specification/sphere/Sphere.Management/certificate.tsp index 4f5caca0c218..0f8427e3b695 100644 --- a/specification/sphere/Sphere.Management/certificate.tsp +++ b/specification/sphere/Sphere.Management/certificate.tsp @@ -31,7 +31,7 @@ interface Certificates @armResourceAction(Certificate) @post retrieveCertChain( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ErrorResponse; @autoRoute @@ -43,7 +43,7 @@ interface Certificates @doc("Proof of possession nonce request body ") @body - proofOfPossessionNonceRequest: ProofOfPossessionNonceRequest + proofOfPossessionNonceRequest: ProofOfPossessionNonceRequest, ): ArmResponse | ErrorResponse; } diff --git a/specification/sphere/Sphere.Management/common.tsp b/specification/sphere/Sphere.Management/common.tsp index a33b44e20344..239b23b73fe6 100644 --- a/specification/sphere/Sphere.Management/common.tsp +++ b/specification/sphere/Sphere.Management/common.tsp @@ -154,7 +154,7 @@ interface CustomUpdateOperations { @doc("The resource properties to be updated.") @body - properties: TPatchModel + properties: TPatchModel, ): ArmResponse | ArmAcceptedResponse<"Resource update request accepted."> | ErrorResponse; } diff --git a/specification/sphere/Sphere.Management/device.tsp b/specification/sphere/Sphere.Management/device.tsp index 3d45223d98b7..c28e96135bfa 100644 --- a/specification/sphere/Sphere.Management/device.tsp +++ b/specification/sphere/Sphere.Management/device.tsp @@ -62,7 +62,7 @@ interface Devices extends ProxyResourceOperationsDevice { @doc("Generate capability image request body.") @body - generateDeviceCapabilityRequest: GenerateCapabilityImageRequest + generateDeviceCapabilityRequest: GenerateCapabilityImageRequest, ): ArmResponse | ArmAcceptedResponse | ErrorResponse; } diff --git a/specification/sphere/Sphere.Management/deviceGroup.tsp b/specification/sphere/Sphere.Management/deviceGroup.tsp index b52e98e2f557..acb3c5bbe5e2 100644 --- a/specification/sphere/Sphere.Management/deviceGroup.tsp +++ b/specification/sphere/Sphere.Management/deviceGroup.tsp @@ -55,7 +55,7 @@ interface DeviceGroups @armResourceAction(DeviceGroup) @post countDevices( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ErrorResponse; @autoRoute @@ -74,7 +74,7 @@ interface DeviceGroups @doc("Bulk claim devices request body.") @body - claimDevicesRequest: ClaimDevicesRequest + claimDevicesRequest: ClaimDevicesRequest, ): ArmAcceptedResponse | ErrorResponse; } diff --git a/specification/sphere/Sphere.Management/product.tsp b/specification/sphere/Sphere.Management/product.tsp index 430b71f47178..09d6c83c9dad 100644 --- a/specification/sphere/Sphere.Management/product.tsp +++ b/specification/sphere/Sphere.Management/product.tsp @@ -49,7 +49,7 @@ interface Products extends ProxyResourceOperationsProducts { @armResourceAction(Product) @post generateDefaultDeviceGroups( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse> | ErrorResponse; @autoRoute @@ -57,7 +57,7 @@ interface Products extends ProxyResourceOperationsProducts { @armResourceAction(Product) @post countDevices( - ...ResourceInstanceParameters + ...ResourceInstanceParameters, ): ArmResponse | ErrorResponse; } diff --git a/specification/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json b/specification/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json index aa20184550d6..9a3713ef8493 100644 --- a/specification/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json +++ b/specification/sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json @@ -67,10 +67,10 @@ "paths": { "/providers/Microsoft.AzureSphere/operations": { "get": { + "operationId": "Operations_List", "tags": [ "Operations" ], - "operationId": "Operations_List", "description": "List the operations for the provider", "parameters": [ { @@ -91,22 +91,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Operations_List": { "$ref": "./examples/GetOperations.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.AzureSphere/catalogs": { "get": { + "operationId": "Catalogs_ListBySubscription", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListBySubscription", "description": "List Catalog resources by subscription ID", "parameters": [ { @@ -130,22 +130,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListBySubscription": { "$ref": "./examples/GetCatalogsSub.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs": { "get": { + "operationId": "Catalogs_ListByResourceGroup", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListByResourceGroup", "description": "List Catalog resources by resource group", "parameters": [ { @@ -172,22 +172,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListByResourceGroup": { "$ref": "./examples/GetCatalogsRG.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}": { "get": { + "operationId": "Catalogs_Get", "tags": [ "Catalogs" ], - "operationId": "Catalogs_Get", "description": "Get a Catalog", "parameters": [ { @@ -202,8 +202,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -229,10 +229,10 @@ } }, "put": { + "operationId": "Catalogs_CreateOrUpdate", "tags": [ "Catalogs" ], - "operationId": "Catalogs_CreateOrUpdate", "description": "Create a Catalog", "parameters": [ { @@ -247,16 +247,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Catalog" } @@ -271,15 +271,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Catalog" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Catalog" } }, "default": { @@ -300,10 +300,10 @@ "x-ms-long-running-operation": true }, "patch": { + "operationId": "Catalogs_Update", "tags": [ "Catalogs" ], - "operationId": "Catalogs_Update", "description": "Update a Catalog", "parameters": [ { @@ -318,16 +318,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "properties", "in": "body", - "required": true, "description": "The resource properties to be updated.", + "required": true, "schema": { "$ref": "#/definitions/CatalogUpdate" } @@ -354,10 +354,10 @@ } }, "delete": { + "operationId": "Catalogs_Delete", "tags": [ "Catalogs" ], - "operationId": "Catalogs_Delete", "description": "Delete a Catalog", "parameters": [ { @@ -372,8 +372,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -386,13 +386,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -419,10 +419,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/certificates": { "get": { + "operationId": "Certificates_ListByCatalog", "tags": [ "Certificates" ], - "operationId": "Certificates_ListByCatalog", "description": "List Certificate resources by Catalog", "parameters": [ { @@ -449,8 +449,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -469,22 +469,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Certificates_ListByCatalog": { "$ref": "./examples/GetCertificates.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/certificates/{serialNumber}": { "get": { + "operationId": "Certificates_Get", "tags": [ "Certificates" ], - "operationId": "Certificates_Get", "description": "Get a Certificate", "parameters": [ { @@ -499,16 +499,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "serialNumber", "in": "path", - "required": true, "description": "Serial number of the certificate. Use '.default' to get current active certificate.", + "required": true, "type": "string" } ], @@ -535,10 +535,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/certificates/{serialNumber}/retrieveCertChain": { "post": { + "operationId": "Certificates_RetrieveCertChain", "tags": [ "Certificates" ], - "operationId": "Certificates_RetrieveCertChain", "description": "Retrieves cert chain.", "parameters": [ { @@ -553,16 +553,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "serialNumber", "in": "path", - "required": true, "description": "Serial number of the certificate. Use '.default' to get current active certificate.", + "required": true, "type": "string" } ], @@ -589,10 +589,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/certificates/{serialNumber}/retrieveProofOfPossessionNonce": { "post": { + "operationId": "Certificates_RetrieveProofOfPossessionNonce", "tags": [ "Certificates" ], - "operationId": "Certificates_RetrieveProofOfPossessionNonce", "description": "Gets the proof of possession nonce.", "parameters": [ { @@ -607,23 +607,23 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "serialNumber", "in": "path", - "required": true, "description": "Serial number of the certificate. Use '.default' to get current active certificate.", + "required": true, "type": "string" }, { "name": "proofOfPossessionNonceRequest", "in": "body", - "required": true, "description": "Proof of possession nonce request body ", + "required": true, "schema": { "$ref": "#/definitions/ProofOfPossessionNonceRequest" } @@ -652,10 +652,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/countDevices": { "post": { + "operationId": "Catalogs_CountDevices", "tags": [ "Catalogs" ], - "operationId": "Catalogs_CountDevices", "description": "Counts devices in catalog.", "parameters": [ { @@ -670,8 +670,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -699,10 +699,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images": { "get": { + "operationId": "Images_ListByCatalog", "tags": [ "Images" ], - "operationId": "Images_ListByCatalog", "description": "List Image resources by Catalog", "parameters": [ { @@ -729,8 +729,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -749,22 +749,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Images_ListByCatalog": { "$ref": "./examples/GetImages.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/images/{imageName}": { "get": { + "operationId": "Images_Get", "tags": [ "Images" ], - "operationId": "Images_Get", "description": "Get a Image", "parameters": [ { @@ -779,16 +779,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "imageName", "in": "path", - "required": true, "description": "Image name. Use .default for image creation.", + "required": true, "type": "string" } ], @@ -813,10 +813,10 @@ } }, "put": { + "operationId": "Images_CreateOrUpdate", "tags": [ "Images" ], - "operationId": "Images_CreateOrUpdate", "description": "Create a Image", "parameters": [ { @@ -831,23 +831,23 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "imageName", "in": "path", - "required": true, "description": "Image name. Use .default for image creation.", + "required": true, "type": "string" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Image" } @@ -862,15 +862,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Image" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Image" } }, "default": { @@ -891,10 +891,10 @@ "x-ms-long-running-operation": true }, "delete": { + "operationId": "Images_Delete", "tags": [ "Images" ], - "operationId": "Images_Delete", "description": "Delete a Image", "parameters": [ { @@ -909,16 +909,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "imageName", "in": "path", - "required": true, "description": "Image name. Use .default for image creation.", + "required": true, "type": "string" } ], @@ -930,13 +930,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -963,10 +963,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/listDeployments": { "post": { + "operationId": "Catalogs_ListDeployments", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListDeployments", "description": "Lists deployments for catalog.", "parameters": [ { @@ -981,8 +981,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, @@ -1013,22 +1013,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListDeployments": { "$ref": "./examples/PostListDeploymentsByCatalog.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/listDeviceGroups": { "post": { + "operationId": "Catalogs_ListDeviceGroups", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListDeviceGroups", "description": "List the device groups for the catalog.", "parameters": [ { @@ -1043,8 +1043,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, @@ -1063,8 +1063,8 @@ { "name": "listDeviceGroupsRequest", "in": "body", - "required": true, "description": "List device groups for catalog.", + "required": true, "schema": { "$ref": "#/definitions/ListDeviceGroupsRequest" } @@ -1084,22 +1084,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListDeviceGroups": { "$ref": "./examples/PostListDeviceGroupsCatalog.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/listDeviceInsights": { "post": { + "operationId": "Catalogs_ListDeviceInsights", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListDeviceInsights", "description": "Lists device insights for catalog.", "parameters": [ { @@ -1114,8 +1114,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, @@ -1146,22 +1146,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListDeviceInsights": { "$ref": "./examples/PostListDeviceInsightsCatalog.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/listDevices": { "post": { + "operationId": "Catalogs_ListDevices", "tags": [ "Catalogs" ], - "operationId": "Catalogs_ListDevices", "description": "Lists devices for catalog.", "parameters": [ { @@ -1176,8 +1176,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, @@ -1208,22 +1208,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Catalogs_ListDevices": { "$ref": "./examples/PostListDevicesByCatalog.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products": { "get": { + "operationId": "Products_ListByCatalog", "tags": [ "Products" ], - "operationId": "Products_ListByCatalog", "description": "List Product resources by Catalog", "parameters": [ { @@ -1238,8 +1238,8 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" } @@ -1258,22 +1258,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Products_ListByCatalog": { "$ref": "./examples/GetProducts.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}": { "get": { + "operationId": "Products_Get", "tags": [ "Products" ], - "operationId": "Products_Get", "description": "Get a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { @@ -1288,16 +1288,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" } @@ -1323,10 +1323,10 @@ } }, "put": { + "operationId": "Products_CreateOrUpdate", "tags": [ "Products" ], - "operationId": "Products_CreateOrUpdate", "description": "Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { @@ -1341,24 +1341,24 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Product" } @@ -1373,15 +1373,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Product" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Product" } }, "default": { @@ -1401,12 +1401,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Products_Update", "tags": [ "Products" ], - "operationId": "Products_Delete", - "description": "Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name'", + "description": "Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1420,41 +1420,50 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ProductUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Product" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1463,8 +1472,8 @@ } }, "x-ms-examples": { - "Products_Delete": { - "$ref": "./examples/DeleteProduct.json" + "Products_Update": { + "$ref": "./examples/PatchProduct.json" } }, "x-ms-long-running-operation-options": { @@ -1472,12 +1481,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Products_Delete", "tags": [ "Products" ], - "operationId": "Products_Update", - "description": "Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", + "description": "Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for product name'", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1491,50 +1500,41 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/ProductUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/Product" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1543,8 +1543,8 @@ } }, "x-ms-examples": { - "Products_Update": { - "$ref": "./examples/PatchProduct.json" + "Products_Delete": { + "$ref": "./examples/DeleteProduct.json" } }, "x-ms-long-running-operation-options": { @@ -1555,10 +1555,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/countDevices": { "post": { + "operationId": "Products_CountDevices", "tags": [ "Products" ], - "operationId": "Products_CountDevices", "description": "Counts devices in product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { @@ -1573,16 +1573,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" } @@ -1610,10 +1610,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups": { "get": { + "operationId": "DeviceGroups_ListByProduct", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_ListByProduct", "description": "List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { @@ -1640,16 +1640,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" } @@ -1668,22 +1668,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "DeviceGroups_ListByProduct": { "$ref": "./examples/GetDeviceGroups.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}": { "get": { + "operationId": "DeviceGroups_Get", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_Get", "description": "Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -1698,24 +1698,24 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" } @@ -1741,10 +1741,10 @@ } }, "put": { + "operationId": "DeviceGroups_CreateOrUpdate", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_CreateOrUpdate", "description": "Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -1759,32 +1759,32 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/DeviceGroup" } @@ -1799,15 +1799,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeviceGroup" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/DeviceGroup" } }, "default": { @@ -1827,12 +1827,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "DeviceGroups_Update", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_Delete", - "description": "Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", + "description": "Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1846,49 +1846,58 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceGroupUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeviceGroup" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1897,8 +1906,8 @@ } }, "x-ms-examples": { - "DeviceGroups_Delete": { - "$ref": "./examples/DeleteDeviceGroup.json" + "DeviceGroups_Update": { + "$ref": "./examples/PatchDeviceGroup.json" } }, "x-ms-long-running-operation-options": { @@ -1906,12 +1915,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "DeviceGroups_Delete", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_Update", - "description": "Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", + "description": "Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1925,58 +1934,49 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/DeviceGroupUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/DeviceGroup" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1985,8 +1985,8 @@ } }, "x-ms-examples": { - "DeviceGroups_Update": { - "$ref": "./examples/PatchDeviceGroup.json" + "DeviceGroups_Delete": { + "$ref": "./examples/DeleteDeviceGroup.json" } }, "x-ms-long-running-operation-options": { @@ -1997,10 +1997,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/claimDevices": { "post": { + "operationId": "DeviceGroups_ClaimDevices", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_ClaimDevices", "description": "Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when bulk claiming devices to a catalog only.", "parameters": [ { @@ -2015,32 +2015,32 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "claimDevicesRequest", "in": "body", - "required": true, "description": "Bulk claim devices request body.", + "required": true, "schema": { "$ref": "#/definitions/ClaimDevicesRequest" } @@ -2051,9 +2051,9 @@ "description": "Resource operation accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, @@ -2077,10 +2077,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/countDevices": { "post": { + "operationId": "DeviceGroups_CountDevices", "tags": [ "DeviceGroups" ], - "operationId": "DeviceGroups_CountDevices", "description": "Counts devices in device group. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2095,24 +2095,24 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" } @@ -2140,10 +2140,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments": { "get": { + "operationId": "Deployments_ListByDeviceGroup", "tags": [ "Deployments" ], - "operationId": "Deployments_ListByDeviceGroup", "description": "List Deployment resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2170,24 +2170,24 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" } @@ -2206,22 +2206,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Deployments_ListByDeviceGroup": { "$ref": "./examples/GetDeployments.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/deployments/{deploymentName}": { "get": { + "operationId": "Deployments_Get", "tags": [ "Deployments" ], - "operationId": "Deployments_Get", "description": "Get a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2236,32 +2236,32 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deploymentName", "in": "path", - "required": true, "description": "Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.", + "required": true, "type": "string" } ], @@ -2286,10 +2286,10 @@ } }, "put": { + "operationId": "Deployments_CreateOrUpdate", "tags": [ "Deployments" ], - "operationId": "Deployments_CreateOrUpdate", "description": "Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2304,39 +2304,39 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deploymentName", "in": "path", - "required": true, "description": "Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.", + "required": true, "type": "string" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Deployment" } @@ -2351,15 +2351,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Deployment" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Deployment" } }, "default": { @@ -2380,10 +2380,10 @@ "x-ms-long-running-operation": true }, "delete": { + "operationId": "Deployments_Delete", "tags": [ "Deployments" ], - "operationId": "Deployments_Delete", "description": "Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2398,32 +2398,32 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deploymentName", "in": "path", - "required": true, "description": "Deployment name. Use .default for deployment creation and to get the current deployment for the associated device group.", + "required": true, "type": "string" } ], @@ -2435,13 +2435,13 @@ "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." }, "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, @@ -2468,10 +2468,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices": { "get": { + "operationId": "Devices_ListByDeviceGroup", "tags": [ "Devices" ], - "operationId": "Devices_ListByDeviceGroup", "description": "List Device resources by DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.", "parameters": [ { @@ -2486,24 +2486,24 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" } @@ -2522,22 +2522,22 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Devices_ListByDeviceGroup": { "$ref": "./examples/GetDevices.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}": { "get": { + "operationId": "Devices_Get", "tags": [ "Devices" ], - "operationId": "Devices_Get", "description": "Get a Device. Use '.unassigned' or '.default' for the device group and product names when a device does not belong to a device group and product.", "parameters": [ { @@ -2552,32 +2552,32 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceName", "in": "path", - "required": true, "description": "Device name", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{128}$" } @@ -2603,10 +2603,10 @@ } }, "put": { + "operationId": "Devices_CreateOrUpdate", "tags": [ "Devices" ], - "operationId": "Devices_CreateOrUpdate", "description": "Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a device to the catalog only.", "parameters": [ { @@ -2621,40 +2621,40 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceName", "in": "path", - "required": true, "description": "Device name", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{128}$" }, { "name": "resource", "in": "body", - "required": true, "description": "Resource create parameters.", + "required": true, "schema": { "$ref": "#/definitions/Device" } @@ -2669,15 +2669,15 @@ }, "201": { "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/Device" + }, "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } - }, - "schema": { - "$ref": "#/definitions/Device" } }, "default": { @@ -2697,12 +2697,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { + "patch": { + "operationId": "Devices_Update", "tags": [ "Devices" ], - "operationId": "Devices_Delete", - "description": "Delete a Device", + "description": "Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -2716,57 +2716,62 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceName", "in": "path", - "required": true, "description": "Device name", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{128}$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/DeviceUpdate" + } } ], "responses": { "200": { - "description": "Resource deleted successfully." + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/Device" + } }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" - }, - "Location": { - "description": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": "string" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, - "204": { - "description": "Resource deleted successfully." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2775,8 +2780,8 @@ } }, "x-ms-examples": { - "Devices_Delete": { - "$ref": "./examples/DeleteDevice.json" + "Devices_Update": { + "$ref": "./examples/PatchDevice.json" } }, "x-ms-long-running-operation-options": { @@ -2784,12 +2789,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { + "delete": { + "operationId": "Devices_Delete", "tags": [ "Devices" ], - "operationId": "Devices_Update", - "description": "Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a device to the catalog level.", + "description": "Delete a Device", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -2803,62 +2808,57 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceName", "in": "path", - "required": true, "description": "Device name", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{128}$" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/DeviceUpdate" - } } ], "responses": { "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/Device" - } + "description": "Resource deleted successfully." }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." } } }, + "204": { + "description": "Resource deleted successfully." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2867,8 +2867,8 @@ } }, "x-ms-examples": { - "Devices_Update": { - "$ref": "./examples/PatchDevice.json" + "Devices_Delete": { + "$ref": "./examples/DeleteDevice.json" } }, "x-ms-long-running-operation-options": { @@ -2879,10 +2879,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/deviceGroups/{deviceGroupName}/devices/{deviceName}/generateCapabilityImage": { "post": { + "operationId": "Devices_GenerateCapabilityImage", "tags": [ "Devices" ], - "operationId": "Devices_GenerateCapabilityImage", "description": "Generates the capability image for the device. Use '.unassigned' or '.default' for the device group and product names to generate the image for a device that does not belong to a specific device group and product.", "parameters": [ { @@ -2897,40 +2897,40 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceGroupName", "in": "path", - "required": true, "description": "Name of device group.", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9]{1,2}$|^[A-Za-z0-9][A-Za-z0-9\\s]{1,48}[A-Za-z0-9]$|^\\.default$|^\\.unassigned$" }, { "name": "deviceName", "in": "path", - "required": true, "description": "Device name", + "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{128}$" }, { "name": "generateDeviceCapabilityRequest", "in": "body", - "required": true, "description": "Generate capability image request body.", + "required": true, "schema": { "$ref": "#/definitions/GenerateCapabilityImageRequest" } @@ -2947,9 +2947,9 @@ "description": "Resource operation accepted.", "headers": { "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": "integer", - "format": "int32" + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, @@ -2973,10 +2973,10 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/generateDefaultDeviceGroups": { "post": { + "operationId": "Products_GenerateDefaultDeviceGroups", "tags": [ "Products" ], - "operationId": "Products_GenerateDefaultDeviceGroups", "description": "Generates default device groups for the product. '.default' and '.unassigned' are system defined values and cannot be used for product name.", "parameters": [ { @@ -2991,16 +2991,16 @@ { "name": "catalogName", "in": "path", - "required": true, "description": "Name of catalog", + "required": true, "type": "string", "pattern": "^[A-Za-z0-9_-]{1,50}$" }, { "name": "productName", "in": "path", - "required": true, "description": "Name of product.", + "required": true, "type": "string", "pattern": "^[\\w][\\w\\s]{1,48}[\\w]$|^\\.default$|^\\.unassigned$" } @@ -3019,13 +3019,13 @@ } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Products_GenerateDefaultDeviceGroups": { "$ref": "./examples/PostGenerateDefaultDeviceGroups.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } @@ -3081,6 +3081,7 @@ }, "Catalog": { "type": "object", + "description": "An Azure Sphere catalog", "properties": { "properties": { "$ref": "#/definitions/CatalogProperties", @@ -3092,7 +3093,6 @@ ] } }, - "description": "An Azure Sphere catalog", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" @@ -3101,54 +3101,52 @@ }, "CatalogListResult": { "type": "object", + "description": "The response of a Catalog list operation.", "properties": { "value": { "type": "array", + "description": "The Catalog items on this page", "items": { "$ref": "#/definitions/Catalog" - }, - "description": "The Catalog items on this page", - "x-typespec-name": "Catalog[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Catalog list operation.", "required": [ "value" ] }, "CatalogProperties": { "type": "object", + "description": "Catalog properties", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The status of the last operation.", "readOnly": true } - }, - "description": "Catalog properties" + } }, "CatalogUpdate": { "type": "object", + "description": "The type used for update operations of the Catalog.", "properties": { "tags": { "type": "object", + "description": "Resource tags.", "additionalProperties": { "type": "string" - }, - "description": "Resource tags.", - "x-typespec-name": "Record" + } } - }, - "description": "The type used for update operations of the Catalog." + } }, "Certificate": { "type": "object", + "description": "An certificate resource belonging to a catalog resource.", "properties": { "properties": { "$ref": "#/definitions/CertificateProperties", @@ -3160,7 +3158,6 @@ ] } }, - "description": "An certificate resource belonging to a catalog resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -3169,40 +3166,39 @@ }, "CertificateChainResponse": { "type": "object", + "description": "The certificate chain response.", "properties": { "certificateChain": { "type": "string", "description": "The certificate chain.", "readOnly": true } - }, - "description": "The certificate chain response." + } }, "CertificateListResult": { "type": "object", + "description": "The response of a Certificate list operation.", "properties": { "value": { "type": "array", + "description": "The Certificate items on this page", "items": { "$ref": "#/definitions/Certificate" - }, - "description": "The Certificate items on this page", - "x-typespec-name": "Certificate[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Certificate list operation.", "required": [ "value" ] }, "CertificateProperties": { "type": "object", + "description": "The properties of certificate", "properties": { "certificate": { "type": "string", @@ -3241,8 +3237,7 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "The properties of certificate" + } }, "CertificateStatus": { "type": "string", @@ -3282,25 +3277,24 @@ }, "ClaimDevicesRequest": { "type": "object", + "description": "Request to the action call to bulk claim devices.", "properties": { "deviceIdentifiers": { "type": "array", + "description": "Device identifiers of the devices to be claimed.", "items": { "type": "string" - }, - "description": "Device identifiers of the devices to be claimed.", - "x-typespec-name": "string[]" + } } }, - "description": "Request to the action call to bulk claim devices.", "required": [ "deviceIdentifiers" ] }, "CountDeviceResponse": { "type": "object", - "properties": {}, "description": "Response to the action call for count devices in a catalog.", + "properties": {}, "allOf": [ { "$ref": "#/definitions/CountElementsResponse" @@ -3309,6 +3303,7 @@ }, "CountElementsResponse": { "type": "object", + "description": "Response of the count for elements.", "properties": { "value": { "type": "integer", @@ -3316,13 +3311,13 @@ "description": "Number of children resources in parent resource." } }, - "description": "Response of the count for elements.", "required": [ "value" ] }, "Deployment": { "type": "object", + "description": "An deployment resource belonging to a device group resource.", "properties": { "properties": { "$ref": "#/definitions/DeploymentProperties", @@ -3334,7 +3329,6 @@ ] } }, - "description": "An deployment resource belonging to a device group resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -3343,29 +3337,28 @@ }, "DeploymentListResult": { "type": "object", + "description": "The response of a Deployment list operation.", "properties": { "value": { "type": "array", + "description": "The Deployment items on this page", "items": { "$ref": "#/definitions/Deployment" - }, - "description": "The Deployment items on this page", - "x-typespec-name": "Deployment[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Deployment list operation.", "required": [ "value" ] }, "DeploymentProperties": { "type": "object", + "description": "The properties of deployment", "properties": { "deploymentId": { "type": "string", @@ -3377,11 +3370,10 @@ }, "deployedImages": { "type": "array", + "description": "Images deployed", "items": { "$ref": "#/definitions/Image" }, - "description": "Images deployed", - "x-typespec-name": "Image[]", "x-ms-mutability": [ "read", "create" @@ -3398,11 +3390,11 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "The properties of deployment" + } }, "Device": { "type": "object", + "description": "An device resource belonging to a device group resource.", "properties": { "properties": { "$ref": "#/definitions/DeviceProperties", @@ -3414,7 +3406,6 @@ ] } }, - "description": "An device resource belonging to a device group resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -3423,6 +3414,7 @@ }, "DeviceGroup": { "type": "object", + "description": "An device group resource belonging to a product resource.", "properties": { "properties": { "$ref": "#/definitions/DeviceGroupProperties", @@ -3434,7 +3426,6 @@ ] } }, - "description": "An device group resource belonging to a product resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -3443,29 +3434,28 @@ }, "DeviceGroupListResult": { "type": "object", + "description": "The response of a DeviceGroup list operation.", "properties": { "value": { "type": "array", + "description": "The DeviceGroup items on this page", "items": { "$ref": "#/definitions/DeviceGroup" - }, - "description": "The DeviceGroup items on this page", - "x-typespec-name": "DeviceGroup[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a DeviceGroup list operation.", "required": [ "value" ] }, "DeviceGroupProperties": { "type": "object", + "description": "The properties of deviceGroup", "properties": { "description": { "type": "string", @@ -3497,21 +3487,21 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "The properties of deviceGroup" + } }, "DeviceGroupUpdate": { "type": "object", + "description": "The type used for update operations of the DeviceGroup.", "properties": { "properties": { "$ref": "#/definitions/DeviceGroupUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the DeviceGroup." + } }, "DeviceGroupUpdateProperties": { "type": "object", + "description": "The updatable properties of the DeviceGroup.", "properties": { "description": { "type": "string", @@ -3533,11 +3523,11 @@ "$ref": "#/definitions/RegionalDataBoundary", "description": "Regional data boundary for the device group." } - }, - "description": "The updatable properties of the DeviceGroup." + } }, "DeviceInsight": { "type": "object", + "description": "Device insight report.", "properties": { "deviceId": { "type": "string", @@ -3575,7 +3565,6 @@ "description": "Event count" } }, - "description": "Device insight report.", "required": [ "deviceId", "description", @@ -3589,42 +3578,41 @@ }, "DeviceListResult": { "type": "object", + "description": "The response of a Device list operation.", "properties": { "value": { "type": "array", + "description": "The Device items on this page", "items": { "$ref": "#/definitions/Device" - }, - "description": "The Device items on this page", - "x-typespec-name": "Device[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Device list operation.", "required": [ "value" ] }, "DevicePatchProperties": { "type": "object", + "description": "The properties of device patch", "properties": { "deviceGroupId": { "type": "string", "description": "Device group id" } }, - "description": "The properties of device patch", "required": [ "deviceGroupId" ] }, "DeviceProperties": { "type": "object", + "description": "The properties of device", "properties": { "deviceId": { "type": "string", @@ -3666,48 +3654,47 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "The properties of device" + } }, "DeviceUpdate": { "type": "object", + "description": "The type used for update operations of the Device.", "properties": { "properties": { "$ref": "#/definitions/DeviceUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the Device." + } }, "DeviceUpdateProperties": { "type": "object", + "description": "The updatable properties of the Device.", "properties": { "deviceGroupId": { "type": "string", "description": "Device group id" } - }, - "description": "The updatable properties of the Device." + } }, "GenerateCapabilityImageRequest": { "type": "object", + "description": "Request of the action to create a signed device capability image", "properties": { "capabilities": { "type": "array", + "description": "List of capabilities to create", "items": { "$ref": "#/definitions/CapabilityType" - }, - "description": "List of capabilities to create", - "x-typespec-name": "CapabilityType[]" + } } }, - "description": "Request of the action to create a signed device capability image", "required": [ "capabilities" ] }, "Image": { "type": "object", + "description": "An image resource belonging to a catalog resource.", "properties": { "properties": { "$ref": "#/definitions/ImageProperties", @@ -3719,7 +3706,6 @@ ] } }, - "description": "An image resource belonging to a catalog resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -3728,29 +3714,28 @@ }, "ImageListResult": { "type": "object", + "description": "The response of a Image list operation.", "properties": { "value": { "type": "array", + "description": "The Image items on this page", "items": { "$ref": "#/definitions/Image" - }, - "description": "The Image items on this page", - "x-typespec-name": "Image[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Image list operation.", "required": [ "value" ] }, "ImageProperties": { "type": "object", + "description": "The properties of image", "properties": { "image": { "type": "string", @@ -3806,8 +3791,7 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "description": "The properties of image" + } }, "ImageType": { "type": "string", @@ -3967,26 +3951,26 @@ }, "ImageUploadRequestBody": { "type": "object", + "description": "Image upload request body.", "properties": { "images": { "type": "string", "description": "." } }, - "description": "Image upload request body.", "required": [ "images" ] }, "ListDeviceGroupsRequest": { "type": "object", + "description": "Request of the action to list device groups for a catalog.", "properties": { "deviceGroupName": { "type": "string", "description": "Device Group name." } - }, - "description": "Request of the action to list device groups for a catalog." + } }, "OSFeedType": { "type": "string", @@ -4014,30 +3998,29 @@ }, "PagedDeviceInsight": { "type": "object", + "description": "Paged collection of DeviceInsight items", "properties": { "value": { "type": "array", + "description": "The DeviceInsight items on this page", "items": { "$ref": "#/definitions/DeviceInsight" }, - "x-ms-identifiers": [], - "description": "The DeviceInsight items on this page", - "x-typespec-name": "DeviceInsight[]" + "x-ms-identifiers": [] }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "Paged collection of DeviceInsight items", "required": [ "value" ] }, "Product": { "type": "object", + "description": "An product resource belonging to a catalog resource.", "properties": { "properties": { "$ref": "#/definitions/ProductProperties", @@ -4049,7 +4032,6 @@ ] } }, - "description": "An product resource belonging to a catalog resource.", "allOf": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" @@ -4058,29 +4040,28 @@ }, "ProductListResult": { "type": "object", + "description": "The response of a Product list operation.", "properties": { "value": { "type": "array", + "description": "The Product items on this page", "items": { "$ref": "#/definitions/Product" - }, - "description": "The Product items on this page", - "x-typespec-name": "Product[]" + } }, "nextLink": { "type": "string", "format": "uri", - "description": "The link to the next page of items", - "x-typespec-name": "TypeSpec.Rest.ResourceLocation" + "description": "The link to the next page of items" } }, - "description": "The response of a Product list operation.", "required": [ "value" ] }, "ProductProperties": { "type": "object", + "description": "The properties of product", "properties": { "description": { "type": "string", @@ -4092,48 +4073,47 @@ "readOnly": true } }, - "description": "The properties of product", "required": [ "description" ] }, "ProductUpdate": { "type": "object", + "description": "The type used for update operations of the Product.", "properties": { "properties": { "$ref": "#/definitions/ProductUpdateProperties", "x-ms-client-flatten": true } - }, - "description": "The type used for update operations of the Product." + } }, "ProductUpdateProperties": { "type": "object", + "description": "The updatable properties of the Product.", "properties": { "description": { "type": "string", "description": "Description of the product" } - }, - "description": "The updatable properties of the Product." + } }, "ProofOfPossessionNonceRequest": { "type": "object", + "description": "Request for the proof of possession nonce", "properties": { "proofOfPossessionNonce": { "type": "string", "description": "The proof of possession nonce" } }, - "description": "Request for the proof of possession nonce", "required": [ "proofOfPossessionNonce" ] }, "ProofOfPossessionNonceResponse": { "type": "object", - "properties": {}, "description": "Result of the action to generate a proof of possession nonce", + "properties": {}, "allOf": [ { "$ref": "#/definitions/CertificateProperties" @@ -4220,14 +4200,14 @@ }, "SignedCapabilityImageResponse": { "type": "object", + "description": "Signed device capability image response", "properties": { "image": { "type": "string", "description": "The signed device capability image as a UTF-8 encoded base 64 string.", "readOnly": true } - }, - "description": "Signed device capability image response" + } }, "UpdatePolicy": { "type": "string", @@ -4258,41 +4238,41 @@ "CustomFilterQueryParameter": { "name": "$filter", "in": "query", - "required": false, "description": "Filter the result list using the given expression", - "x-ms-client-name": "filter", + "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "filter" }, "CustomMaxPageSizeQueryParameter": { "name": "$maxpagesize", "in": "query", - "required": false, "description": "The maximum number of result items per page.", - "x-ms-client-name": "maxpagesize", + "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "maxpagesize" }, "CustomSkipQueryParameter": { "name": "$skip", "in": "query", - "required": false, "description": "The number of result items to skip.", - "x-ms-client-name": "skip", + "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "skip" }, "CustomTopQueryParameter": { "name": "$top", "in": "query", - "required": false, "description": "The number of result items to return.", - "x-ms-client-name": "top", + "required": false, "type": "integer", "format": "int32", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "top" } } } diff --git a/specification/translation/Azure.AI.TextTranslation/routes.tsp b/specification/translation/Azure.AI.TextTranslation/routes.tsp index d7f5b599a8b4..850261f2d4a7 100644 --- a/specification/translation/Azure.AI.TextTranslation/routes.tsp +++ b/specification/translation/Azure.AI.TextTranslation/routes.tsp @@ -29,7 +29,7 @@ op CustomOperation< @doc("Mandatory API version parameter") @query("api-version") - apiVersion: string + apiVersion: string, ): TResponse | TError; @doc("Defines Text Translation custom Operations which doesn't have any content in the request") @@ -38,7 +38,7 @@ op CustomGetOperation( @doc("Mandatory API version parameter") @query("api-version") - apiVersion: string + apiVersion: string, ): TResponse | TError; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "This is an existing service, we have a non-conforming operation." diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json index bd7d6ff95748..8aa0404fcb70 100644 --- a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json +++ b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json @@ -45,10 +45,10 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "$ref": "#/parameters/BreakSentenceParameters.language" @@ -59,54 +59,52 @@ { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" }, { "name": "requestBody", "in": "body", - "required": true, "description": "Defines the content of the request", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/InputTextItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "InputTextItem[]" + "x-ms-identifiers": [] } } ], "responses": { "200": { "description": "Response for the Break SEntence API.", - "headers": { - "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" - } - }, "schema": { "type": "array", "items": { "$ref": "#/definitions/BreakSentenceItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "BreakSentenceItem[]" + "x-ms-identifiers": [] + }, + "headers": { + "X-RequestId": { + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -129,76 +127,74 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "name": "from", "in": "query", - "required": true, "description": "Specifies the language of the input text.\nThe source language must be one of the supported languages included in the dictionary scope.", + "required": true, "type": "string" }, { "name": "to", "in": "query", - "required": true, "description": "Specifies the language of the output text.\nThe target language must be one of the supported languages included in the dictionary scope.", + "required": true, "type": "string" }, { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" }, { "name": "requestBody", "in": "body", - "required": true, "description": "Defines the content of the request", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/DictionaryExampleTextItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "DictionaryExampleTextItem[]" + "x-ms-identifiers": [] } } ], "responses": { "200": { "description": "Response for the dictionary examples API.", - "headers": { - "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" - } - }, "schema": { "type": "array", "items": { "$ref": "#/definitions/DictionaryExampleItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "DictionaryExampleItem[]" + "x-ms-identifiers": [] + }, + "headers": { + "X-RequestId": { + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -221,76 +217,74 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "name": "from", "in": "query", - "required": true, "description": "Specifies the language of the input text.\nThe source language must be one of the supported languages included in the dictionary scope.", + "required": true, "type": "string" }, { "name": "to", "in": "query", - "required": true, "description": "Specifies the language of the output text.\nThe target language must be one of the supported languages included in the dictionary scope.", + "required": true, "type": "string" }, { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" }, { "name": "requestBody", "in": "body", - "required": true, "description": "Defines the content of the request", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/InputTextItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "InputTextItem[]" + "x-ms-identifiers": [] } } ], "responses": { "200": { "description": "Response for the dictionary lookup API.", - "headers": { - "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" - } - }, "schema": { "type": "array", "items": { "$ref": "#/definitions/DictionaryLookupItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "DictionaryLookupItem[]" + "x-ms-identifiers": [] + }, + "headers": { + "X-RequestId": { + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -313,10 +307,10 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "$ref": "#/parameters/GetLanguageParameters.scope" @@ -330,39 +324,39 @@ { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" } ], "responses": { "200": { "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/GetLanguagesResult" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." }, "ETag": { - "description": "Current value of the entity tag for the requested groups of supported languages. \nTo make subsequent requests more efficient, the client may send the `ETag` value in an \n`If-None-Match` header field.", - "type": "string" + "type": "string", + "description": "Current value of the entity tag for the requested groups of supported languages. \nTo make subsequent requests more efficient, the client may send the `ETag` value in an \n`If-None-Match` header field." } - }, - "schema": { - "$ref": "#/definitions/GetLanguagesResult" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -385,10 +379,10 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "$ref": "#/parameters/TranslateParameters.to" @@ -429,33 +423,39 @@ { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" }, { "name": "requestBody", "in": "body", - "required": true, "description": "Defines the content of the request", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/InputTextItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "InputTextItem[]" + "x-ms-identifiers": [] } } ], "responses": { "200": { "description": "Response for the translation API.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/TranslatedTextItem" + }, + "x-ms-identifiers": [] + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." }, "x-mt-system": { "description": "Specifies the system type that was used for translation for each 'to' language requested for translation. \nThe value is a comma-separated list of strings. Each string indicates a type:\n\n* Custom - Request includes a custom system and at least one custom system was used during translation.\n* Team - All other requests", @@ -466,26 +466,18 @@ "type": "integer", "format": "int32" } - }, - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/TranslatedTextItem" - }, - "x-ms-identifiers": [], - "x-typespec-name": "TranslatedTextItem[]" } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -508,10 +500,10 @@ { "name": "X-ClientTraceId", "in": "header", - "required": false, "description": "A client-generated GUID to uniquely identify the request.", - "x-ms-client-name": "clientTraceId", - "type": "string" + "required": false, + "type": "string", + "x-ms-client-name": "clientTraceId" }, { "$ref": "#/parameters/TransliterateParameters.language" @@ -525,54 +517,52 @@ { "name": "api-version", "in": "query", - "required": true, "description": "Mandatory API version parameter", - "x-ms-client-name": "apiVersion", - "type": "string" + "required": true, + "type": "string", + "x-ms-client-name": "apiVersion" }, { "name": "requestBody", "in": "body", - "required": true, "description": "Defines the content of the request", + "required": true, "schema": { "type": "array", "items": { "$ref": "#/definitions/InputTextItem" }, - "x-ms-identifiers": [], - "x-typespec-name": "InputTextItem[]" + "x-ms-identifiers": [] } } ], "responses": { "200": { "description": "Response for the transliteration API.", - "headers": { - "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" - } - }, "schema": { "type": "array", "items": { "$ref": "#/definitions/TransliteratedText" }, - "x-ms-identifiers": [], - "x-typespec-name": "TransliteratedText[]" + "x-ms-identifiers": [] + }, + "headers": { + "X-RequestId": { + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." + } } }, "default": { "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + }, "headers": { "X-RequestId": { - "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes.", - "type": "string" + "type": "string", + "description": "Value generated by the service to identify the request. It is used for troubleshooting purposes." } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" } } }, @@ -607,6 +597,7 @@ }, "BackTranslation": { "type": "object", + "description": "Back Translation", "properties": { "normalizedText": { "type": "string", @@ -627,7 +618,6 @@ "description": "An integer representing the frequency of this translation pair in the data. The main purpose of this\nfield is to provide a user interface with a means to sort back-translations so the most frequent terms are first." } }, - "description": "Back Translation", "required": [ "normalizedText", "displayText", @@ -637,6 +627,7 @@ }, "BreakSentenceItem": { "type": "object", + "description": "Item containing break sentence result.", "properties": { "detectedLanguage": { "$ref": "#/definitions/DetectedLanguage", @@ -644,39 +635,37 @@ }, "sentLen": { "type": "array", + "description": "An integer array representing the lengths of the sentences in the input text.\nThe length of the array is the number of sentences, and the values are the length of each sentence.", "items": { "type": "integer", "format": "int32" - }, - "description": "An integer array representing the lengths of the sentences in the input text.\nThe length of the array is the number of sentences, and the values are the length of each sentence.", - "x-typespec-name": "int32[]" + } } }, - "description": "Item containing break sentence result.", "required": [ "sentLen" ] }, "BreakSentenceResult": { "type": "object", + "description": "Response for the Break SEntence API.", "properties": { "result": { "type": "array", + "description": "Array of the break sentence elements.", "items": { "$ref": "#/definitions/BreakSentenceItem" }, - "x-ms-identifiers": [], - "description": "Array of the break sentence elements.", - "x-typespec-name": "BreakSentenceItem[]" + "x-ms-identifiers": [] } }, - "description": "Response for the Break SEntence API.", "required": [ "result" ] }, "CommonScriptModel": { "type": "object", + "description": "Common properties of language script", "properties": { "code": { "type": "string", @@ -695,7 +684,6 @@ "description": "Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages." } }, - "description": "Common properties of language script", "required": [ "code", "name", @@ -705,6 +693,7 @@ }, "DetectedLanguage": { "type": "object", + "description": "An object describing the detected language.", "properties": { "language": { "type": "string", @@ -716,7 +705,6 @@ "description": "A float value indicating the confidence in the result.\nThe score is between zero and one and a low score indicates a low confidence." } }, - "description": "An object describing the detected language.", "required": [ "language", "score" @@ -724,6 +712,7 @@ }, "DictionaryExample": { "type": "object", + "description": "Dictionary Example", "properties": { "sourcePrefix": { "type": "string", @@ -750,7 +739,6 @@ "description": "A string similar to sourceSuffix but for the target." } }, - "description": "Dictionary Example", "required": [ "sourcePrefix", "sourceTerm", @@ -762,6 +750,7 @@ }, "DictionaryExampleItem": { "type": "object", + "description": "Dictionary Example element", "properties": { "normalizedSource": { "type": "string", @@ -773,15 +762,13 @@ }, "examples": { "type": "array", + "description": "A list of examples for the (source term, target term) pair.", "items": { "$ref": "#/definitions/DictionaryExample" }, - "x-ms-identifiers": [], - "description": "A list of examples for the (source term, target term) pair.", - "x-typespec-name": "DictionaryExample[]" + "x-ms-identifiers": [] } }, - "description": "Dictionary Example element", "required": [ "normalizedSource", "normalizedTarget", @@ -790,13 +777,13 @@ }, "DictionaryExampleTextItem": { "type": "object", + "description": "Element containing the text with translation.", "properties": { "translation": { "type": "string", "description": "A string specifying the translated text previously returned by the Dictionary lookup operation. \nThis should be the value from the normalizedTarget field in the translations list of the Dictionary \nlookup response. The service will return examples for the specific source-target word-pair." } }, - "description": "Element containing the text with translation.", "required": [ "translation" ], @@ -808,6 +795,7 @@ }, "DictionaryExamplesParameters": { "type": "object", + "description": "Request parameters for the dictionary examples API.", "properties": { "from": { "type": "string", @@ -818,7 +806,6 @@ "description": "Specifies the language of the output text.\nThe target language must be one of the supported languages included in the dictionary scope." } }, - "description": "Request parameters for the dictionary examples API.", "required": [ "from", "to" @@ -826,24 +813,24 @@ }, "DictionaryExamplesResult": { "type": "object", + "description": "Response for the dictionary examples API.", "properties": { "result": { "type": "array", + "description": "Array of the dictionary examples elements.", "items": { "$ref": "#/definitions/DictionaryExampleItem" }, - "x-ms-identifiers": [], - "description": "Array of the dictionary examples elements.", - "x-typespec-name": "DictionaryExampleItem[]" + "x-ms-identifiers": [] } }, - "description": "Response for the dictionary examples API.", "required": [ "result" ] }, "DictionaryLookupItem": { "type": "object", + "description": "Dictionary Lookup Element", "properties": { "normalizedSource": { "type": "string", @@ -855,15 +842,13 @@ }, "translations": { "type": "array", + "description": "A list of translations for the source term.", "items": { "$ref": "#/definitions/DictionaryTranslation" }, - "x-ms-identifiers": [], - "description": "A list of translations for the source term.", - "x-typespec-name": "DictionaryTranslation[]" + "x-ms-identifiers": [] } }, - "description": "Dictionary Lookup Element", "required": [ "normalizedSource", "displaySource", @@ -872,6 +857,7 @@ }, "DictionaryLookupParameters": { "type": "object", + "description": "Request parameters for the dictionary lookup API.", "properties": { "from": { "type": "string", @@ -882,7 +868,6 @@ "description": "Specifies the language of the output text.\nThe target language must be one of the supported languages included in the dictionary scope." } }, - "description": "Request parameters for the dictionary lookup API.", "required": [ "from", "to" @@ -890,24 +875,24 @@ }, "DictionaryLookupResult": { "type": "object", + "description": "Response for the dictionary lookup API.", "properties": { "result": { "type": "array", + "description": "Array of the dictionary lookup elements.", "items": { "$ref": "#/definitions/DictionaryLookupItem" }, - "x-ms-identifiers": [], - "description": "Array of the dictionary lookup elements.", - "x-typespec-name": "DictionaryLookupItem[]" + "x-ms-identifiers": [] } }, - "description": "Response for the dictionary lookup API.", "required": [ "result" ] }, "DictionaryTranslation": { "type": "object", + "description": "Translation source term.", "properties": { "normalizedTarget": { "type": "string", @@ -932,15 +917,13 @@ }, "backTranslations": { "type": "array", + "description": "A list of \"back translations\" of the target. For example, source words that the target can translate to.\nThe list is guaranteed to contain the source word that was requested (e.g., if the source word being\nlooked up is \"fly\", then it is guaranteed that \"fly\" will be in the backTranslations list).\nHowever, it is not guaranteed to be in the first position, and often will not be.", "items": { "$ref": "#/definitions/BackTranslation" }, - "x-ms-identifiers": [], - "description": "A list of \"back translations\" of the target. For example, source words that the target can translate to.\nThe list is guaranteed to contain the source word that was requested (e.g., if the source word being\nlooked up is \"fly\", then it is guaranteed that \"fly\" will be in the backTranslations list).\nHowever, it is not guaranteed to be in the first position, and often will not be.", - "x-typespec-name": "BackTranslation[]" + "x-ms-identifiers": [] } }, - "description": "Translation source term.", "required": [ "normalizedTarget", "displayTarget", @@ -952,6 +935,7 @@ }, "ErrorDetails": { "type": "object", + "description": "Error details as returned by Translator Service.", "properties": { "code": { "type": "integer", @@ -963,7 +947,6 @@ "description": "Human readable error description." } }, - "description": "Error details as returned by Translator Service.", "required": [ "code", "message" @@ -971,56 +954,53 @@ }, "ErrorResponse": { "type": "object", + "description": "Representation of the Error Response from Translator Service.", "properties": { "error": { "$ref": "#/definitions/ErrorDetails", "description": "Error details." } }, - "description": "Representation of the Error Response from Translator Service.", "required": [ "error" ] }, "GetLanguagesResult": { "type": "object", + "description": "Response for the languages API.", "properties": { "translation": { "type": "object", + "description": "Languages that support translate API.", "additionalProperties": { "$ref": "#/definitions/TranslationLanguage" - }, - "description": "Languages that support translate API.", - "x-typespec-name": "Record" + } }, "transliteration": { "type": "object", + "description": "Languages that support transliteration API.", "additionalProperties": { "$ref": "#/definitions/TransliterationLanguage" - }, - "description": "Languages that support transliteration API.", - "x-typespec-name": "Record" + } }, "dictionary": { "type": "object", + "description": "Languages that support dictionary API.", "additionalProperties": { "$ref": "#/definitions/SourceDictionaryLanguage" - }, - "description": "Languages that support dictionary API.", - "x-typespec-name": "Record" + } } - }, - "description": "Response for the languages API." + } }, "InputTextItem": { "type": "object", + "description": "Element containing the text for translation.", "properties": { "text": { "type": "string", "description": "Text to translate." } }, - "description": "Element containing the text for translation.", "required": [ "text" ] @@ -1121,27 +1101,25 @@ }, "SentenceLength": { "type": "object", + "description": "An object returning sentence boundaries in the input and output texts.", "properties": { "srcSentLen": { "type": "array", + "description": "An integer array representing the lengths of the sentences in the input text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", "items": { "type": "integer", "format": "int32" - }, - "description": "An integer array representing the lengths of the sentences in the input text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", - "x-typespec-name": "int32[]" + } }, "transSentLen": { "type": "array", + "description": "An integer array representing the lengths of the sentences in the translated text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", "items": { "type": "integer", "format": "int32" - }, - "description": "An integer array representing the lengths of the sentences in the translated text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", - "x-typespec-name": "int32[]" + } } }, - "description": "An object returning sentence boundaries in the input and output texts.", "required": [ "srcSentLen", "transSentLen" @@ -1149,6 +1127,7 @@ }, "SourceDictionaryLanguage": { "type": "object", + "description": "Properties ot the source dictionary language", "properties": { "name": { "type": "string", @@ -1164,15 +1143,13 @@ }, "translations": { "type": "array", + "description": "List of languages with alterative translations and examples for the query expressed in the source language.", "items": { "$ref": "#/definitions/TargetDictionaryLanguage" }, - "x-ms-identifiers": [], - "description": "List of languages with alterative translations and examples for the query expressed in the source language.", - "x-typespec-name": "TargetDictionaryLanguage[]" + "x-ms-identifiers": [] } }, - "description": "Properties ot the source dictionary language", "required": [ "name", "nativeName", @@ -1182,19 +1159,20 @@ }, "SourceText": { "type": "object", + "description": "Input text in the default script of the source language. ", "properties": { "text": { "type": "string", "description": "Input text in the default script of the source language." } }, - "description": "Input text in the default script of the source language. ", "required": [ "text" ] }, "TargetDictionaryLanguage": { "type": "object", + "description": "Properties of the target dictionary language", "properties": { "name": { "type": "string", @@ -1213,7 +1191,6 @@ "description": "Language code identifying the target language." } }, - "description": "Properties of the target dictionary language", "required": [ "name", "nativeName", @@ -1265,19 +1242,20 @@ }, "TranslatedTextAlignment": { "type": "object", + "description": "Alignment information object.", "properties": { "proj": { "type": "string", "description": "Maps input text to translated text. The alignment information is only provided when the request \nparameter includeAlignment is true. Alignment is returned as a string value of the following \nformat: [[SourceTextStartIndex]:[SourceTextEndIndex]–[TgtTextStartIndex]:[TgtTextEndIndex]]. \nThe colon separates start and end index, the dash separates the languages, and space separates the words. \nOne word may align with zero, one, or multiple words in the other language, and the aligned words may \nbe non-contiguous. When no alignment information is available, the alignment element will be empty." } }, - "description": "Alignment information object.", "required": [ "proj" ] }, "TranslatedTextItem": { "type": "object", + "description": "Element containing the translated text", "properties": { "detectedLanguage": { "$ref": "#/definitions/DetectedLanguage", @@ -1285,25 +1263,24 @@ }, "translations": { "type": "array", + "description": "An array of translation results. The size of the array matches the number of target \nlanguages specified through the to query parameter.", "items": { "$ref": "#/definitions/Translation" }, - "x-ms-identifiers": [], - "description": "An array of translation results. The size of the array matches the number of target \nlanguages specified through the to query parameter.", - "x-typespec-name": "Translation[]" + "x-ms-identifiers": [] }, "sourceText": { "$ref": "#/definitions/SourceText", "description": "Input text in the default script of the source language. sourceText property is present only when \nthe input is expressed in a script that's not the usual script for the language. For example, \nif the input were Arabic written in Latin script, then sourceText.text would be the same Arabic text \nconverted into Arab script." } }, - "description": "Element containing the translated text", "required": [ "translations" ] }, "Translation": { "type": "object", + "description": "Translation result", "properties": { "to": { "type": "string", @@ -1326,7 +1303,6 @@ "description": "Sentence boundaries in the input and output texts." } }, - "description": "Translation result", "required": [ "to", "text" @@ -1334,6 +1310,7 @@ }, "TranslationLanguage": { "type": "object", + "description": "The value of the translation property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag.\nA key identifies a language for which text can be translated to or translated from.", "properties": { "name": { "type": "string", @@ -1348,7 +1325,6 @@ "description": "Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages." } }, - "description": "The value of the translation property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag.\nA key identifies a language for which text can be translated to or translated from.", "required": [ "name", "nativeName", @@ -1357,36 +1333,34 @@ }, "TranslationResult": { "type": "object", + "description": "Response for the translation API.", "properties": { "result": { "type": "array", + "description": "Array of the translated text elements.", "items": { "$ref": "#/definitions/TranslatedTextItem" }, - "x-ms-identifiers": [], - "description": "Array of the translated text elements.", - "x-typespec-name": "TranslatedTextItem[]" + "x-ms-identifiers": [] } }, - "description": "Response for the translation API.", "required": [ "result" ] }, "TransliterableScript": { "type": "object", + "description": "Script definition with list of script into which given script can be translitered.", "properties": { "toScripts": { "type": "array", + "description": "List of scripts available to convert text to.", "items": { "$ref": "#/definitions/CommonScriptModel" }, - "x-ms-identifiers": [], - "description": "List of scripts available to convert text to.", - "x-typespec-name": "CommonScriptModel[]" + "x-ms-identifiers": [] } }, - "description": "Script definition with list of script into which given script can be translitered.", "required": [ "toScripts" ], @@ -1398,24 +1372,24 @@ }, "TransliterateResult": { "type": "object", + "description": "Response for the transliteration API.", "properties": { "result": { "type": "array", + "description": "Array of transliterated texts", "items": { "$ref": "#/definitions/TransliteratedText" }, - "x-ms-identifiers": [], - "description": "Array of transliterated texts", - "x-typespec-name": "TransliteratedText[]" + "x-ms-identifiers": [] } }, - "description": "Response for the transliteration API.", "required": [ "result" ] }, "TransliteratedText": { "type": "object", + "description": "Transliterated text element.", "properties": { "text": { "type": "string", @@ -1426,7 +1400,6 @@ "description": "A string specifying the script used in the output." } }, - "description": "Transliterated text element.", "required": [ "text", "script" @@ -1434,6 +1407,7 @@ }, "TransliterationLanguage": { "type": "object", + "description": "The value of the transliteration property is a dictionary of (key, value) pairs. \nEach key is a BCP 47 language tag. A key identifies a language for which text can be converted from one script \nto another script.", "properties": { "name": { "type": "string", @@ -1445,15 +1419,13 @@ }, "scripts": { "type": "array", + "description": "List of scripts to convert from.", "items": { "$ref": "#/definitions/TransliterableScript" }, - "x-ms-identifiers": [], - "description": "List of scripts to convert from.", - "x-typespec-name": "TransliterableScript[]" + "x-ms-identifiers": [] } }, - "description": "The value of the transliteration property is a dictionary of (key, value) pairs. \nEach key is a BCP 47 language tag. A key identifies a language for which text can be converted from one script \nto another script.", "required": [ "name", "nativeName", @@ -1465,105 +1437,105 @@ "BreakSentenceParameters.language": { "name": "language", "in": "query", - "required": false, "description": "Language tag identifying the language of the input text. \nIf a code isn't specified, automatic language detection will be applied.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "BreakSentenceParameters.script": { "name": "script", "in": "query", - "required": false, "description": "Script tag identifying the script used by the input text. \nIf a script isn't specified, the default script of the language will be assumed.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "GetLanguageParameters.acceptLanguage": { "name": "Accept-Language", "in": "header", - "required": false, "description": "The language to use for user interface strings. Some of the fields in the response are names of languages or \nnames of regions. Use this parameter to define the language in which these names are returned. \nThe language is specified by providing a well-formed BCP 47 language tag. For instance, use the value `fr` \nto request names in French or use the value `zh-Hant` to request names in Chinese Traditional.\nNames are provided in the English language when a target language is not specified or when localization \nis not available.", - "x-ms-client-name": "acceptLanguage", - "default": "en", + "required": false, "type": "string", - "x-ms-parameter-location": "method" + "default": "en", + "x-ms-parameter-location": "method", + "x-ms-client-name": "acceptLanguage" }, "GetLanguageParameters.ifNoneMatch": { "name": "If-None-Match", "in": "header", - "required": false, "description": "Passing the value of the ETag response header in an If-None-Match field will allow the service to optimize the response. \nIf the resource has not been modified, the service will return status code 304 and an empty response body.", - "x-ms-client-name": "ifNoneMatch", + "required": false, "type": "string", - "x-ms-parameter-location": "method" + "x-ms-parameter-location": "method", + "x-ms-client-name": "ifNoneMatch" }, "GetLanguageParameters.scope": { "name": "scope", "in": "query", - "required": false, "description": "A comma-separated list of names defining the group of languages to return.\nAllowed group names are: `translation`, `transliteration` and `dictionary`.\nIf no scope is given, then all groups are returned, which is equivalent to passing \n`scope=translation,transliteration,dictionary`. To decide which set of supported languages \nis appropriate for your scenario, see the description of the [response object](#response-body).", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "TranslateParameters.allowFallback": { "name": "allowFallback", "in": "query", - "required": false, "description": "Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. \nPossible values are: true (default) or false.\n\nallowFallback=false specifies that the translation should only use systems trained for the category specified \nby the request. If a translation for language X to language Y requires chaining through a pivot language E, \nthen all the systems in the chain (X → E and E → Y) will need to be custom and have the same category. \nIf no system is found with the specific category, the request will return a 400 status code. allowFallback=true \nspecifies that the service is allowed to fall back to a general system when a custom system doesn't exist.", - "default": true, + "required": false, "type": "boolean", + "default": true, "x-ms-parameter-location": "method" }, "TranslateParameters.category": { "name": "category", "in": "query", - "required": false, "description": "A string specifying the category (domain) of the translation. This parameter is used to get translations \nfrom a customized system built with Custom Translator. Add the Category ID from your Custom Translator \nproject details to this parameter to use your deployed customized system. Default value is: general.", - "default": "general", + "required": false, "type": "string", + "default": "general", "x-ms-parameter-location": "method" }, "TranslateParameters.from": { "name": "from", "in": "query", - "required": false, "description": "Specifies the language of the input text. Find which languages are available to translate from by \nlooking up supported languages using the translation scope. If the from parameter isn't specified, \nautomatic language detection is applied to determine the source language.\n\nYou must use the from parameter rather than autodetection when using the dynamic dictionary feature. \nNote: the dynamic dictionary feature is case-sensitive.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "TranslateParameters.fromScript": { "name": "fromScript", "in": "query", - "required": false, "description": "Specifies the script of the input text.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "TranslateParameters.includeAlignment": { "name": "includeAlignment", "in": "query", - "required": false, "description": "Specifies whether to include alignment projection from source text to translated text.\nPossible values are: true or false (default).", - "default": false, + "required": false, "type": "boolean", + "default": false, "x-ms-parameter-location": "method" }, "TranslateParameters.includeSentenceLength": { "name": "includeSentenceLength", "in": "query", - "required": false, "description": "Specifies whether to include sentence boundaries for the input text and the translated text.\nPossible values are: true or false (default).", - "default": false, + "required": false, "type": "boolean", + "default": false, "x-ms-parameter-location": "method" }, "TranslateParameters.profanityAction": { "name": "profanityAction", "in": "query", - "required": false, "description": "Specifies how profanities should be treated in translations.\nPossible values are: NoAction (default), Marked or Deleted.", - "default": "NoAction", + "required": false, "type": "string", + "default": "NoAction", "enum": [ "NoAction", "Marked", @@ -1592,10 +1564,10 @@ "TranslateParameters.profanityMarker": { "name": "profanityMarker", "in": "query", - "required": false, "description": "Specifies how profanities should be marked in translations.\nPossible values are: Asterisk (default) or Tag. ", - "default": "Asterisk", + "required": false, "type": "string", + "default": "Asterisk", "enum": [ "Asterisk", "Tag" @@ -1619,18 +1591,18 @@ "TranslateParameters.suggestedFrom": { "name": "suggestedFrom", "in": "query", - "required": false, "description": "Specifies a fallback language if the language of the input text can't be identified. \nLanguage autodetection is applied when the from parameter is omitted. If detection fails, \nthe suggestedFrom language will be assumed.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "TranslateParameters.textType": { "name": "textType", "in": "query", - "required": false, "description": "Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a well-formed, \ncomplete element. Possible values are: plain (default) or html.", - "default": "Plain", + "required": false, "type": "string", + "default": "Plain", "enum": [ "Plain", "Html" @@ -1654,44 +1626,44 @@ "TranslateParameters.to": { "name": "to", "in": "query", - "required": true, "description": "Specifies the language of the output text. The target language must be one of the supported languages included \nin the translation scope. For example, use to=de to translate to German.\nIt's possible to translate to multiple languages simultaneously by repeating the parameter in the query string. \nFor example, use to=de&to=it to translate to German and Italian.", - "collectionFormat": "multi", + "required": true, "type": "array", "items": { "type": "string" }, + "collectionFormat": "multi", "x-ms-parameter-location": "method" }, "TranslateParameters.toScript": { "name": "toScript", "in": "query", - "required": false, "description": "Specifies the script of the translated text.", + "required": false, "type": "string", "x-ms-parameter-location": "method" }, "TransliterateParameters.fromScript": { "name": "fromScript", "in": "query", - "required": true, "description": "Specifies the script used by the input text. Look up supported languages using the transliteration scope,\nto find input scripts available for the selected language.", + "required": true, "type": "string", "x-ms-parameter-location": "method" }, "TransliterateParameters.language": { "name": "language", "in": "query", - "required": true, "description": "Specifies the language of the text to convert from one script to another. \nPossible languages are listed in the transliteration scope obtained by querying the service \nfor its supported languages.", + "required": true, "type": "string", "x-ms-parameter-location": "method" }, "TransliterateParameters.toScript": { "name": "toScript", "in": "query", - "required": true, "description": "Specifies the output script. Look up supported languages using the transliteration scope, to find output \nscripts available for the selected combination of input language and input script.", + "required": true, "type": "string", "x-ms-parameter-location": "method" } From e994b93c82c5d23eb377f35434354438e748cb87 Mon Sep 17 00:00:00 2001 From: Shawn Fang <45607042+mssfang@users.noreply.github.com> Date: Wed, 12 Jul 2023 11:53:47 -0700 Subject: [PATCH 12/39] [OpenAI] Update generated autorest (#24788) - Continuation of #24596 --- .../inference/preview/2023-06-01-preview/generated.json | 6 +++--- .../inference/preview/2023-07-01-preview/generated.json | 6 +++--- .../AzureOpenAI/inference/stable/2022-12-01/generated.json | 4 ++-- .../AzureOpenAI/inference/stable/2023-05-15/generated.json | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index c7b03c87b36f..f5a7de63dadc 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -70,7 +70,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -121,7 +121,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -172,7 +172,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index febf9b4db8ed..b6c6b488b012 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -70,7 +70,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -121,7 +121,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -172,7 +172,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json index db764439804e..62a5ec0b2eee 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json @@ -70,7 +70,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -121,7 +121,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json index a675bae98292..e667090697f3 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json @@ -70,7 +70,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -121,7 +121,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, @@ -172,7 +172,7 @@ { "name": "deploymentId", "in": "path", - "description": "deployment id of the deployed model", + "description": "Specifies either the model deployment name (when using Azure OpenAI) or model name (when using non-Azure OpenAI) to use for this request.", "required": true, "type": "string" }, From 099640c73c1af7f9410f184d204807f9d0da2edb Mon Sep 17 00:00:00 2001 From: abhargavams <91880511+abhargavams@users.noreply.github.com> Date: Thu, 13 Jul 2023 01:26:04 +0530 Subject: [PATCH 13/39] Dynatrace.Observability merge to public repo (#24101) * Initial Commit * Updating version in all files * Removed version from readme * removing version which are not available from readme * Resolving PR comments (#24205) * Features/users/abhargava/merge to public repo (#24230) * Resolving PR comments * Features/users/abhargava/merge to public repo (#24233) * Resolving PR comments * Responding to the comment in PR review * Fixed typo * Features/users/abhargava/merge to public repo (#24253) * Resolving PR comments * Responding to the comment in PR review * Fixed typo * Added a suppression for Avacado issue * Adding the required field * Updating suppression reason * Updating path for suppression * Adding suppression for deprecated API * suppression * suppress * Update specification/dynatrace/resource-manager/readme.md Co-authored-by: Yuchao Yan * updating path in suppression * updating suppression * updating suppression * Update specification/dynatrace/resource-manager/readme.md: WIP: fixing suppressions Iteratively work on fixing suppressions * Update readme.md: update suppressions * Update readme.md: update suppressions * Update readme.md: remove Avocado suppressions --------- Co-authored-by: kanupriyasinghh <113429657+kanupriyasinghh@users.noreply.github.com> Co-authored-by: Yuchao Yan Co-authored-by: Konrad Jamrozik --- .../stable/2023-04-27/dynatrace.json | 2244 +++++++++++++++++ ...onitors_CreateOrUpdate_MaximumSet_Gen.json | 174 ++ ...onitors_CreateOrUpdate_MinimumSet_Gen.json | 31 + .../Monitors_Delete_MaximumSet_Gen.json | 17 + .../Monitors_Delete_MinimumSet_Gen.json | 17 + ...aceSaaSResourceDetails_MaximumSet_Gen.json | 21 + ...aceSaaSResourceDetails_MinimumSet_Gen.json | 17 + ...nitors_GetMetricStatus_MaximumSet_Gen.json | 19 + ...nitors_GetMetricStatus_MinimumSet_Gen.json | 15 + ...Monitors_GetSSODetails_MaximumSet_Gen.json | 27 + ...Monitors_GetSSODetails_MinimumSet_Gen.json | 17 + ...itors_GetVMHostPayload_MaximumSet_Gen.json | 16 + ...itors_GetVMHostPayload_MinimumSet_Gen.json | 13 + .../examples/Monitors_Get_MaximumSet_Gen.json | 75 + .../examples/Monitors_Get_MinimumSet_Gen.json | 17 + ...nitors_ListAppServices_MaximumSet_Gen.json | 28 + ...nitors_ListAppServices_MinimumSet_Gen.json | 13 + ...rs_ListByResourceGroup_MaximumSet_Gen.json | 79 + ...rs_ListByResourceGroup_MinimumSet_Gen.json | 21 + ...s_ListBySubscriptionId_MaximumSet_Gen.json | 78 + ...s_ListBySubscriptionId_MinimumSet_Gen.json | 20 + .../Monitors_ListHosts_MaximumSet_Gen.json | 28 + .../Monitors_ListHosts_MinimumSet_Gen.json | 13 + ...stLinkableEnvironments_MaximumSet_Gen.json | 32 + ...stLinkableEnvironments_MinimumSet_Gen.json | 18 + ...ListMonitoredResources_MaximumSet_Gen.json | 24 + ...ListMonitoredResources_MinimumSet_Gen.json | 13 + .../Monitors_Update_MaximumSet_Gen.json | 80 + .../Monitors_Update_MinimumSet_Gen.json | 17 + .../Operations_List_MaximumSet_Gen.json | 26 + .../Operations_List_MinimumSet_Gen.json | 10 + ...eSignOn_CreateOrUpdate_MaximumSet_Gen.json | 73 + ...eSignOn_CreateOrUpdate_MinimumSet_Gen.json | 44 + .../SingleSignOn_Get_MaximumSet_Gen.json | 35 + .../SingleSignOn_Get_MinimumSet_Gen.json | 22 + .../SingleSignOn_List_MaximumSet_Gen.json | 39 + .../SingleSignOn_List_MinimumSet_Gen.json | 26 + ...agRules_CreateOrUpdate_MaximumSet_Gen.json | 136 + ...agRules_CreateOrUpdate_MinimumSet_Gen.json | 29 + .../TagRules_Delete_MaximumSet_Gen.json | 18 + .../TagRules_Delete_MinimumSet_Gen.json | 18 + .../examples/TagRules_Get_MaximumSet_Gen.json | 56 + .../examples/TagRules_Get_MinimumSet_Gen.json | 17 + .../TagRules_List_MaximumSet_Gen.json | 60 + .../TagRules_List_MinimumSet_Gen.json | 21 + .../dynatrace/resource-manager/readme.md | 42 +- 46 files changed, 3846 insertions(+), 10 deletions(-) create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MinimumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MaximumSet_Gen.json create mode 100644 specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MinimumSet_Gen.json diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json new file mode 100644 index 000000000000..7e015316d907 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/dynatrace.json @@ -0,0 +1,2244 @@ +{ + "swagger": "2.0", + "info": { + "title": "Dynatrace.Observability", + "version": "2023-04-27" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Monitors" + }, + { + "name": "Operations" + }, + { + "name": "TagRules" + }, + { + "name": "SingleSignOn" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listMonitoredResources": { + "post": { + "operationId": "Monitors_ListMonitoredResources", + "summary": "List the resources currently being monitored by the Dynatrace monitor resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitoredResourceListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListMonitoredResources_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json" + }, + "Monitors_ListMonitoredResources_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getVMHostPayload": { + "post": { + "operationId": "Monitors_GetVMHostPayload", + "summary": "Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMExtensionPayload" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_GetVMHostPayload_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json" + }, + "Monitors_GetVMHostPayload_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}": { + "get": { + "operationId": "Monitors_Get", + "summary": "Get a MonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_Get_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Get_MaximumSet_Gen.json" + }, + "Monitors_Get_MinimumSet_Gen": { + "$ref": "./examples/Monitors_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "operationId": "Monitors_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Create a MonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/MonitorResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Monitors_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "operationId": "Monitors_Update", + "summary": "Update a MonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/MonitorResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_Update_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Update_MaximumSet_Gen.json" + }, + "Monitors_Update_MinimumSet_Gen": { + "$ref": "./examples/Monitors_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "Monitors_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Delete a MonitorResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_Delete_MaximumSet_Gen": { + "$ref": "./examples/Monitors_Delete_MaximumSet_Gen.json" + }, + "Monitors_Delete_MinimumSet_Gen": { + "$ref": "./examples/Monitors_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/providers/Dynatrace.Observability/operations": { + "get": { + "operationId": "Operations_List", + "summary": "List the operations for Dynatrace.Observability", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Operations" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/monitors": { + "get": { + "operationId": "Monitors_ListBySubscriptionId", + "summary": "List all MonitorResource by subscriptionId", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListBySubscriptionId_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json" + }, + "Monitors_ListBySubscriptionId_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors": { + "get": { + "operationId": "Monitors_ListByResourceGroup", + "summary": "List MonitorResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MonitorResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Monitors_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules/{ruleSetName}": { + "get": { + "operationId": "TagRules_Get", + "summary": "Get a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/RuleSetNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TagRules" + ], + "x-ms-examples": { + "TagRules_Get_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Get_MaximumSet_Gen.json" + }, + "TagRules_Get_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "operationId": "TagRules_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Create a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/RuleSetNameParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/TagRule" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRule" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TagRules" + ], + "x-ms-examples": { + "TagRules_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json" + }, + "TagRules_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "delete": { + "operationId": "TagRules_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Delete a TagRule", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/RuleSetNameParameter" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TagRules" + ], + "x-ms-examples": { + "TagRules_Delete_MaximumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MaximumSet_Gen.json" + }, + "TagRules_Delete_MinimumSet_Gen": { + "$ref": "./examples/TagRules_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/tagRules": { + "get": { + "operationId": "TagRules_List", + "summary": "List all TagRule by monitorName", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TagRuleListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "TagRules" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "TagRules_List_MaximumSet_Gen": { + "$ref": "./examples/TagRules_List_MaximumSet_Gen.json" + }, + "TagRules_List_MinimumSet_Gen": { + "$ref": "./examples/TagRules_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Dynatrace.Observability/getMarketplaceSaaSResourceDetails": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "description": "Get Marketplace SaaS resource details of a tenant under a specific subscription", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/TenantIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MarketplaceSaaSResourceDetailsResponse" + } + }, + "404": { + "description": "No Marketplace SaaS resource found for the given tenant Id", + "x-ms-error-response": true + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json" + }, + "Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations/{configurationName}": { + "put": { + "operationId": "SingleSignOn_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "summary": "Create a DynatraceSingleSignOnResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "SingleSignOn" + ], + "x-ms-examples": { + "SingleSignOn_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json" + }, + "SingleSignOn_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "get": { + "operationId": "SingleSignOn_Get", + "summary": "Get a DynatraceSingleSignOnResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/ConfigurationNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "SingleSignOn" + ], + "x-ms-examples": { + "SingleSignOn_Get_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_Get_MaximumSet_Gen.json" + }, + "SingleSignOn_Get_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/singleSignOnConfigurations": { + "get": { + "operationId": "SingleSignOn_List", + "summary": "List all DynatraceSingleSignOnResource by monitorName", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/DynatraceSingleSignOnResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "SingleSignOn" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "SingleSignOn_List_MaximumSet_Gen": { + "$ref": "./examples/SingleSignOn_List_MaximumSet_Gen.json" + }, + "SingleSignOn_List_MinimumSet_Gen": { + "$ref": "./examples/SingleSignOn_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listHosts": { + "post": { + "operationId": "Monitors_ListHosts", + "summary": "List the VM/VMSS resources currently being monitored by the Dynatrace resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/VMHostsListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListHosts_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MaximumSet_Gen.json" + }, + "Monitors_ListHosts_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListHosts_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getMetricStatus": { + "post": { + "tags": [ + "Monitors" + ], + "operationId": "Monitors_GetMetricStatus", + "description": "Get metric status", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitor resource", + "type": "string" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/MetricsStatusResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Monitors_GetMetricStatus_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MaximumSet_Gen.json" + }, + "Monitors_GetMetricStatus_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetMetricStatus_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listAppServices": { + "post": { + "operationId": "Monitors_ListAppServices", + "summary": "Gets list of App Services with Dynatrace PaaS OneAgent enabled", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/AppServiceListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListAppServices_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MaximumSet_Gen.json" + }, + "Monitors_ListAppServices_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListAppServices_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/getSSODetails": { + "post": { + "operationId": "Monitors_GetSSODetails", + "summary": "Gets the SSO configuration details from the partner.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/SSODetailsRequestParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/SSODetailsResponse" + } + }, + "401": { + "description": "User has insufficient permissions to update SSO configuration", + "x-ms-error-response": true + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-examples": { + "Monitors_GetSSODetails_MaximumSet_Gen": { + "$ref": "./examples/Monitors_GetSSODetails_MaximumSet_Gen.json" + }, + "Monitors_GetSSODetails_MinimumSet_Gen": { + "$ref": "./examples/Monitors_GetSSODetails_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dynatrace.Observability/monitors/{monitorName}/listLinkableEnvironments": { + "post": { + "operationId": "Monitors_ListLinkableEnvironments", + "summary": "Gets all the Dynatrace environments that a user can link a azure resource to", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MonitorNameParameter" + }, + { + "$ref": "#/parameters/LinkableEnvRequestParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/LinkableEnvironmentListResponse" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "tags": [ + "Monitors" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Monitors_ListLinkableEnvironments_MaximumSet_Gen": { + "$ref": "./examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json" + }, + "Monitors_ListLinkableEnvironments_MinimumSet_Gen": { + "$ref": "./examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "MonitoredResourceListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MonitoredResource" + }, + "x-cadl-name": "MonitoredResource[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "List of all the resources being monitored by Dynatrace monitor resource" + }, + "MarketplaceSaaSResourceDetailsResponse": { + "type": "object", + "properties": { + "marketplaceSaaSResourceId": { + "type": "string", + "description": "Id of the Marketplace SaaS Resource" + }, + "planId": { + "type": "string", + "description": "Id of the plan" + }, + "marketplaceSubscriptionStatus": { + "$ref": "#/definitions/MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status" + } + }, + "description": "Marketplace SaaS resource details linked to the given tenant Id" + }, + "VMExtensionPayload": { + "type": "object", + "properties": { + "ingestionKey": { + "type": "string", + "description": "Ingestion key of the environment" + }, + "environmentId": { + "type": "string", + "description": "Id of the environment created" + } + }, + "description": "Response of payload to be passed while installing VM agent." + }, + "VMHostsListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VMInfo" + }, + "description": "The items on this page", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "Response of a list VM Host Operation." + }, + "AppServiceInfo": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "App service resource ID" + }, + "version": { + "type": "string", + "description": "Version of the Dynatrace agent installed on the App Service." + }, + "monitoringType": { + "$ref": "#/definitions/MonitoringType", + "description": "The monitoring mode of OneAgent" + }, + "autoUpdateSetting": { + "$ref": "#/definitions/AutoUpdateSetting", + "description": "Update settings of OneAgent." + }, + "updateStatus": { + "$ref": "#/definitions/UpdateStatus", + "description": "The current update status of OneAgent." + }, + "availabilityState": { + "$ref": "#/definitions/AvailabilityState", + "description": "The availability state of OneAgent." + }, + "logModule": { + "$ref": "#/definitions/LogModule", + "description": "Tells whether log modules are enabled or not" + }, + "hostGroup": { + "type": "string", + "description": "The name of the host group" + }, + "hostName": { + "type": "string", + "description": "The name of the host" + } + }, + "description": "Details of App Services having Dynatrace OneAgent installed" + }, + "MetricsStatusResponse": { + "type": "object", + "properties": { + "azureResourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Azure resource IDs" + } + }, + "description": "Response of get metrics status operation" + }, + "AppServiceListResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AppServiceInfo" + }, + "description": "The items on this page", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "Response of a list App Services Operation." + }, + "MonitorResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MonitorProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/IdentityProperties", + "description": "The managed service identities assigned to this resource." + } + }, + "description": "Dynatrace Monitor Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ] + }, + "MonitorResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags.", + "x-ms-mutability": [ + "read", + "update", + "create" + ] + } + }, + "description": "The updatable properties of the MonitorResource." + }, + "MonitorResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MonitorResource" + }, + "x-cadl-name": "Dynatrace.Observability.MonitorResource[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a MonitorResource list operation.", + "required": [ + "value" + ] + }, + "TagRule": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MonitoringTagRulesProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "Tag rules for a monitor resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "TagRuleListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/TagRule" + }, + "x-cadl-name": "Dynatrace.Observability.TagRule[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a TagRule list operation.", + "required": [ + "value" + ] + }, + "DynatraceSingleSignOnResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DynatraceSingleSignOnProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "System metadata for this resource.", + "readOnly": true + } + }, + "description": "Single sign-on configurations for a given monitor resource.", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ] + }, + "DynatraceSingleSignOnResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DynatraceSingleSignOnResource" + }, + "x-cadl-name": "Dynatrace.Observability.DynatraceSingleSignOnResource[]", + "description": "The items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a DynatraceSingleSignOnResource list operation.", + "required": [ + "value" + ] + }, + "MonitoredResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM id of the resource." + }, + "sendingMetrics": { + "$ref": "#/definitions/SendingMetricsStatus", + "description": "Flag indicating if resource is sending metrics to Dynatrace." + }, + "reasonForMetricsStatus": { + "type": "string", + "description": "Reason for why the resource is sending metrics (or why it is not sending)." + }, + "sendingLogs": { + "$ref": "#/definitions/SendingLogsStatus", + "description": "Flag indicating if resource is sending logs to Dynatrace." + }, + "reasonForLogsStatus": { + "type": "string", + "description": "Reason for why the resource is sending logs (or why it is not sending)." + } + }, + "description": "Details of resource being monitored by Dynatrace monitor resource" + }, + "VMInfo": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Azure VM resource ID" + }, + "version": { + "type": "string", + "description": "Version of the Dynatrace agent installed on the VM." + }, + "monitoringType": { + "$ref": "#/definitions/MonitoringType", + "description": "The monitoring mode of OneAgent" + }, + "autoUpdateSetting": { + "$ref": "#/definitions/AutoUpdateSetting", + "description": "Update settings of OneAgent." + }, + "updateStatus": { + "$ref": "#/definitions/UpdateStatus", + "description": "The current update status of OneAgent." + }, + "availabilityState": { + "$ref": "#/definitions/AvailabilityState", + "description": "The availability state of OneAgent." + }, + "logModule": { + "$ref": "#/definitions/LogModule", + "description": "Tells whether log modules are enabled or not" + }, + "hostGroup": { + "type": "string", + "description": "The name of the host group" + }, + "hostName": { + "type": "string", + "description": "The name of the host" + } + }, + "description": "Details of VM Resource having Dynatrace OneAgent installed" + }, + "MonitoringType": { + "type": "string", + "description": "The monitoring mode of OneAgent", + "enum": [ + "CLOUD_INFRASTRUCTURE", + "FULL_STACK" + ], + "x-ms-enum": { + "name": "MonitoringType", + "modelAsString": true + } + }, + "AutoUpdateSetting": { + "type": "string", + "description": "Update settings of OneAgent.", + "enum": [ + "ENABLED", + "DISABLED" + ], + "x-ms-enum": { + "name": "AutoUpdateSetting", + "modelAsString": true + } + }, + "UpdateStatus": { + "type": "string", + "description": "The current update status of OneAgent.", + "enum": [ + "INCOMPATIBLE", + "OUTDATED", + "SCHEDULED", + "SUPPRESSED", + "UNKNOWN", + "UP2DATE", + "UPDATE_IN_PROGRESS", + "UPDATE_PENDING", + "UPDATE_PROBLEM" + ], + "x-ms-enum": { + "name": "UpdateStatus", + "modelAsString": true + } + }, + "AvailabilityState": { + "type": "string", + "description": "The availability state of OneAgent.", + "enum": [ + "CRASHED", + "LOST", + "MONITORED", + "PRE_MONITORED", + "SHUTDOWN", + "UNEXPECTED_SHUTDOWN", + "UNKNOWN", + "UNMONITORED" + ], + "x-ms-enum": { + "name": "AvailabilityState", + "modelAsString": true + } + }, + "LogModule": { + "type": "string", + "description": "Tells whether log modules are enabled or not", + "enum": [ + "ENABLED", + "DISABLED" + ], + "x-ms-enum": { + "name": "LogModule", + "modelAsString": true + } + }, + "MonitorProperties": { + "type": "object", + "properties": { + "monitoringStatus": { + "$ref": "#/definitions/MonitoringStatus", + "description": "Status of the monitor." + }, + "marketplaceSubscriptionStatus": { + "$ref": "#/definitions/MarketplaceSubscriptionStatus", + "description": "Marketplace subscription status." + }, + "dynatraceEnvironmentProperties": { + "$ref": "#/definitions/DynatraceEnvironmentProperties", + "description": "Properties of the Dynatrace environment." + }, + "userInfo": { + "$ref": "#/definitions/UserInfo", + "description": "User info." + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Billing plan information." + }, + "liftrResourceCategory": { + "$ref": "#/definitions/LiftrResourceCategories", + "description": "Liftr Resource category.", + "readOnly": true + }, + "liftrResourcePreference": { + "type": "integer", + "format": "int32", + "description": "The priority of the resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties specific to the monitor resource." + }, + "IdentityProperties": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "The Active Directory tenant id of the principal.", + "readOnly": true + }, + "principalId": { + "type": "string", + "description": "The active directory identifier of this principal.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ManagedIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "description": "The identities assigned to this resource by the user." + } + }, + "description": "The properties of the managed service identities assigned to this resource.", + "required": [ + "type" + ] + }, + "MonitoringStatus": { + "type": "string", + "description": "Flag specifying if the resource monitoring is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "MonitoringStatus", + "modelAsString": true + } + }, + "MarketplaceSubscriptionStatus": { + "type": "string", + "description": "Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.", + "enum": [ + "Active", + "Suspended" + ], + "x-ms-enum": { + "name": "MarketplaceSubscriptionStatus", + "modelAsString": true + } + }, + "DynatraceEnvironmentProperties": { + "type": "object", + "properties": { + "userId": { + "type": "string", + "description": "User id" + }, + "accountInfo": { + "$ref": "#/definitions/AccountInfo", + "description": "Dynatrace Account Information" + }, + "environmentInfo": { + "$ref": "#/definitions/EnvironmentInfo", + "description": "Dynatrace Environment Information" + }, + "singleSignOnProperties": { + "$ref": "#/definitions/DynatraceSingleSignOnProperties", + "description": "The details of a Dynatrace single sign-on." + } + }, + "description": "Properties of the Dynatrace environment." + }, + "UserInfo": { + "type": "object", + "properties": { + "firstName": { + "type": "string", + "description": "First Name of the user" + }, + "lastName": { + "type": "string", + "description": "Last Name of the user" + }, + "emailAddress": { + "$ref": "#/definitions/email", + "description": "Email of the user used by Dynatrace for contacting them if needed" + }, + "phoneNumber": { + "type": "string", + "maxLength": 40, + "description": "Phone number of the user used by Dynatrace for contacting them if needed" + }, + "country": { + "type": "string", + "description": "Country of the user" + } + }, + "description": "User info." + }, + "PlanData": { + "type": "object", + "properties": { + "usageType": { + "type": "string", + "description": "different usage type like PAYG/COMMITTED. this could be enum" + }, + "billingCycle": { + "type": "string", + "description": "different billing cycles like MONTHLY/WEEKLY. this could be enum" + }, + "planDetails": { + "type": "string", + "description": "plan id as published by Dynatrace" + }, + "effectiveDate": { + "type": "string", + "format": "date-time", + "description": "date when plan was applied" + } + }, + "description": "Billing plan information." + }, + "MonitoringTagRulesProperties": { + "type": "object", + "properties": { + "logRules": { + "$ref": "#/definitions/LogRules", + "description": "Set of rules for sending logs for the Monitor resource." + }, + "metricRules": { + "$ref": "#/definitions/MetricRules", + "description": "Set of rules for sending metrics for the Monitor resource." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "description": "Properties for the Tag rules resource of a Monitor account." + }, + "LogRules": { + "type": "object", + "properties": { + "sendAadLogs": { + "$ref": "#/definitions/SendAadLogsStatus", + "description": "Flag specifying if AAD logs should be sent for the Monitor resource." + }, + "sendSubscriptionLogs": { + "$ref": "#/definitions/SendSubscriptionLogsStatus", + "description": "Flag specifying if subscription logs should be sent for the Monitor resource." + }, + "sendActivityLogs": { + "$ref": "#/definitions/SendActivityLogsStatus", + "description": "Flag specifying if activity logs from Azure resources should be sent for the Monitor resource." + }, + "filteringTags": { + "type": "array", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-cadl-name": "FilteringTag[]", + "x-ms-identifiers": [], + "description": "List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured.\nIf only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags." + } + }, + "description": "Set of rules for sending logs for the Monitor resource." + }, + "MetricRules": { + "description": "Set of rules for sending metrics for the Monitor resource.", + "type": "object", + "properties": { + "sendingMetrics": { + "$ref": "#/definitions/SendingMetricsStatus", + "description": "Flag specifying if metrics from Azure resources should be sent for the Monitor resource." + }, + "filteringTags": { + "description": "List of filtering tags to be used for capturing metrics. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", + "type": "array", + "items": { + "$ref": "#/definitions/FilteringTag" + }, + "x-ms-identifiers": [] + } + } + }, + "DynatraceSingleSignOnProperties": { + "type": "object", + "properties": { + "singleSignOnState": { + "$ref": "#/definitions/SingleSignOnStates", + "description": "State of Single Sign On" + }, + "enterpriseAppId": { + "type": "string", + "description": "Version of the Dynatrace agent installed on the VM." + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this Dynatrace Environment" + }, + "aadDomains": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "array of Aad(azure active directory) domains" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning state of the resource.", + "readOnly": true + } + }, + "description": "The details of a Dynatrace single sign-on." + }, + "SendingMetricsStatus": { + "type": "string", + "description": "Indicates whether metrics are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingMetricsStatus", + "modelAsString": true + } + }, + "SendingLogsStatus": { + "type": "string", + "description": "Indicates whether logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendingLogsStatus", + "modelAsString": true + } + }, + "LiftrResourceCategories": { + "type": "string", + "description": "Liftr resource category", + "enum": [ + "Unknown", + "MonitorLogs" + ], + "x-ms-enum": { + "name": "LiftrResourceCategories", + "modelAsString": true + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the monitoring resource", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled", + "Deleted", + "NotSpecified" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "ManagedIdentityType": { + "type": "string", + "description": "The kind of managed identity assigned to this resource.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAndUserAssigned" + ], + "x-ms-enum": { + "name": "ManagedIdentityType", + "modelAsString": true + } + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The active directory client identifier for this principal." + }, + "principalId": { + "type": "string", + "description": "The active directory identifier for this principal." + } + }, + "description": "A managed identity assigned by the user.", + "required": [ + "clientId", + "principalId" + ] + }, + "AccountInfo": { + "type": "object", + "properties": { + "accountId": { + "type": "string", + "description": "Account Id of the account this environment is linked to" + }, + "regionId": { + "type": "string", + "description": "Region in which the account is created" + } + }, + "description": "Dynatrace Account Information" + }, + "EnvironmentInfo": { + "type": "object", + "properties": { + "environmentId": { + "type": "string", + "description": "Id of the environment created" + }, + "ingestionKey": { + "type": "string", + "description": "Ingestion key of the environment" + }, + "logsIngestionEndpoint": { + "type": "string", + "description": "Ingestion endpoint used for sending logs" + }, + "landingURL": { + "type": "string", + "description": "Landing URL for Dynatrace environment" + } + }, + "description": "Dynatrace Environment Information" + }, + "LinkableEnvironmentRequest": { + "description": "Request for getting all the linkable environments for a user", + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant Id of the user in which they want to link the environment" + }, + "userPrincipal": { + "type": "string", + "description": "user principal id of the user" + }, + "region": { + "type": "string", + "description": "Azure region in which we want to link the environment" + } + }, + "required": [ + "tenantId", + "userPrincipal", + "region" + ] + }, + "LinkableEnvironmentResponse": { + "description": "Response for getting all the linkable environments", + "type": "object", + "properties": { + "environmentId": { + "type": "string", + "description": "environment id for which user is an admin" + }, + "environmentName": { + "type": "string", + "description": "Name of the environment" + }, + "planData": { + "$ref": "#/definitions/PlanData", + "description": "Billing plan information." + } + } + }, + "LinkableEnvironmentListResponse": { + "description": "Response for getting all the linkable environments", + "type": "object", + "properties": { + "value": { + "description": "List of environments for which user is an admin", + "type": "array", + "items": { + "$ref": "#/definitions/LinkableEnvironmentResponse" + }, + "x-ms-identifiers": [] + }, + "nextLink": { + "description": "Link to the next set of results, if any.", + "type": "string" + } + } + }, + "MarketplaceSaaSResourceDetailsRequest": { + "description": "Request for getting Marketplace SaaS resource details for a tenant Id", + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant Id" + } + }, + "required": [ + "tenantId" + ] + }, + "SSODetailsRequest": { + "description": "Request for getting sso details for a user", + "type": "object", + "properties": { + "userPrincipal": { + "type": "string", + "description": "user principal id of the user" + } + }, + "required": [ + "userPrincipal" + ] + }, + "SSODetailsResponse": { + "type": "object", + "properties": { + "isSsoEnabled": { + "$ref": "#/definitions/SSOStatus", + "description": "Whether the SSO is enabled for this resource or not." + }, + "metadataUrl": { + "type": "string", + "description": "URL for Azure AD metadata" + }, + "singleSignOnUrl": { + "type": "string", + "description": "The login URL specific to this Dynatrace Environment" + }, + "aadDomains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "array of Aad(azure active directory) domains" + }, + "adminUsers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of admin user emails." + } + }, + "description": "SSO details from the Dynatrace partner" + }, + "SSOStatus": { + "type": "string", + "description": "Indicates whether SSO is enabled or not", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SSOStatus", + "modelAsString": true + } + }, + "email": { + "type": "string", + "pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", + "description": "Reusable representation of an email address" + }, + "SendAadLogsStatus": { + "type": "string", + "description": "Indicates whether AAD logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendAadLogsStatus", + "modelAsString": true + } + }, + "SendSubscriptionLogsStatus": { + "type": "string", + "description": "Indicates whether subscription logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendSubscriptionLogsStatus", + "modelAsString": true + } + }, + "SendActivityLogsStatus": { + "type": "string", + "description": "Indicates whether activity logs are being sent.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "SendActivityLogsStatus", + "modelAsString": true + } + }, + "FilteringTag": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name (also known as the key) of the tag." + }, + "value": { + "type": "string", + "description": "The value of the tag." + }, + "action": { + "$ref": "#/definitions/TagAction", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion." + } + }, + "description": "The definition of a filtering tag. Filtering tags are used for capturing resources and include/exclude them from being monitored." + }, + "SingleSignOnStates": { + "type": "string", + "description": "Various states of the SSO resource", + "enum": [ + "Initial", + "Enable", + "Disable", + "Existing" + ], + "x-ms-enum": { + "name": "SingleSignOnStates", + "modelAsString": true + } + }, + "TagAction": { + "type": "string", + "description": "Valid actions for a filtering tag. Exclusion takes priority over inclusion.", + "enum": [ + "Include", + "Exclude" + ], + "x-ms-enum": { + "name": "TagAction", + "modelAsString": true + } + } + }, + "parameters": { + "MonitorNameParameter": { + "x-ms-parameter-location": "method", + "name": "monitorName", + "in": "path", + "required": true, + "description": "Monitor resource name", + "type": "string" + }, + "RuleSetNameParameter": { + "x-ms-parameter-location": "method", + "name": "ruleSetName", + "in": "path", + "required": true, + "description": "Monitor resource name", + "type": "string" + }, + "ConfigurationNameParameter": { + "x-ms-parameter-location": "method", + "name": "configurationName", + "in": "path", + "required": true, + "description": "Single Sign On Configuration Name", + "type": "string" + }, + "LinkableEnvRequestParameter": { + "x-ms-parameter-location": "method", + "name": "request", + "in": "body", + "required": true, + "description": "The details of the linkable environment request.", + "schema": { + "$ref": "#/definitions/LinkableEnvironmentRequest" + } + }, + "SSODetailsRequestParameter": { + "x-ms-parameter-location": "method", + "name": "request", + "in": "body", + "description": "The details of the get sso details request.", + "schema": { + "$ref": "#/definitions/SSODetailsRequest" + } + }, + "TenantIdParameter": { + "x-ms-parameter-location": "method", + "name": "request", + "in": "body", + "required": true, + "description": "Tenant Id", + "schema": { + "$ref": "#/definitions/MarketplaceSaaSResourceDetailsRequest" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..0110fa26ae7d --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "resource": { + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "accountInfo": {}, + "environmentInfo": {}, + "singleSignOnProperties": {} + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "provisioningState": "Accepted" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..fa2c24aa2ba6 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "resource": { + "properties": {}, + "location": "West US 2" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "properties": {}, + "location": "West US 2" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "properties": {}, + "location": "West US 2" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..361c7fb6eb55 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..361c7fb6eb55 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json new file mode 100644 index 000000000000..bf76ceb5fb86 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MaximumSet_Gen", + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "nqmcgifgaqlf", + "request": { + "tenantId": "urnmattojzhktcfw" + } + }, + "responses": { + "200": { + "body": { + "marketplaceSaaSResourceId": "owpmulwohq", + "planId": "dsfefsaf", + "marketplaceSubscriptionStatus": "Active" + } + }, + "404": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json new file mode 100644 index 000000000000..66d64f70090f --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMarketplaceSaaSResourceDetails_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "operationId": "Monitors_GetMarketplaceSaaSResourceDetails", + "title": "Monitors_GetMarketplaceSaaSResourceDetails_MinumumSet_Gen", + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "nqmcgifgaqlf", + "request": { + "tenantId": "urnmattojzhktcfw" + } + }, + "responses": { + "200": { + "body": {} + }, + "404": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..880422f99c8b --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MaximumSet_Gen", + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgDynatrace", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz" + }, + "responses": { + "200": { + "body": { + "azureResourceIds": [ + "/subscriptions/69b51384-146c-4685-9dab-5ae01877d78/resourceGroups/szytr-liftr/providers/Dynatrace.Observability/monitors/szytrz-prod-23-05-23" + ] + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..47ccdfe4d734 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "operationId": "Monitors_GetMetricStatus", + "title": "Monitors_GetMetricStatus_MinimumSet_Gen", + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "nqmcgifgaqlf", + "resourceGroupName": "rgDynatrace", + "monitorName": "fhcjxnxumkdlgpwanewtkdnyuz" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MaximumSet_Gen.json new file mode 100644 index 000000000000..e9d1b968153a --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "request": { + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": { + "isSsoEnabled": "Enabled", + "metadataUrl": "https://someuri", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "adminUsers": [ + "alice@microsoft.com" + ] + } + }, + "401": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MinimumSet_Gen.json new file mode 100644 index 000000000000..7848814d9929 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetSSODetails_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "request": { + "userPrincipal": "alice@microsoft.com" + } + }, + "responses": { + "200": { + "body": {} + }, + "401": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json new file mode 100644 index 000000000000..b89c8087ddfd --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "ingestionKey": "abcd.efg", + "environmentId": "abc123lsjlsfjlfjgd" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json new file mode 100644 index 000000000000..5096e4bd5a1a --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_GetVMHostPayload_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..b6e289556a49 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MaximumSet_Gen.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com", + "landingURL": "https://a23xcv456.dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..6574db41aa74 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Get_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "properties": {}, + "location": "West US 2" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MaximumSet_Gen.json new file mode 100644 index 000000000000..e71632cbef67 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "version": "1.2.0", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "autoUpdateSetting": "ENABLED", + "updateStatus": "INCOMPATIBLE", + "availabilityState": "CRASHED", + "logModule": "ENABLED", + "hostGroup": "myGroup", + "hostName": "myName" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MinimumSet_Gen.json new file mode 100644 index 000000000000..5096e4bd5a1a --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..5e269732b1f8 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com", + "landingURL": "https://a23xcv456.dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..8e87f8e23840 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {}, + "location": "West US 2" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json new file mode 100644 index 000000000000..696280441b23 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com", + "landingURL": "https://a23xcv456.dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json new file mode 100644 index 000000000000..158b142a63c0 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListBySubscriptionId_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {}, + "location": "West US 2" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MaximumSet_Gen.json new file mode 100644 index 000000000000..e71632cbef67 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/virtual1", + "version": "1.2.0", + "monitoringType": "CLOUD_INFRASTRUCTURE", + "autoUpdateSetting": "ENABLED", + "updateStatus": "INCOMPATIBLE", + "availabilityState": "CRASHED", + "logModule": "ENABLED", + "hostGroup": "myGroup", + "hostName": "myName" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MinimumSet_Gen.json new file mode 100644 index 000000000000..5096e4bd5a1a --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json new file mode 100644 index 000000000000..dcf427b4caa2 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "request": { + "tenantId": "00000000-0000-0000-0000-000000000000", + "userPrincipal": "alice@microsoft.com", + "region": "East US" + } + }, + "responses": { + "200": { + "body": { + "value": [ + { + "environmentId": "abc.123", + "environmentName": "myEnv", + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + } + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc7902f80c51 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListLinkableEnvironments_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "request": { + "tenantId": "00000000-0000-0000-0000-000000000000", + "userPrincipal": "alice@microsoft.com", + "region": "East US" + } + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json new file mode 100644 index 000000000000..77691e26522d --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor/listMonitoredResources", + "sendingMetrics": "Enabled", + "reasonForMetricsStatus": "CapturedByRules", + "sendingLogs": "Enabled", + "reasonForLogsStatus": "CapturedByRules" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json new file mode 100644 index 000000000000..5096e4bd5a1a --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..115d3af12199 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "resource": { + "tags": { + "Environment": "Dev" + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "principalId": "4534676867978", + "tenantId": "23456789001", + "type": "SystemAssigned" + }, + "properties": { + "monitoringStatus": "Enabled", + "marketplaceSubscriptionStatus": "Active", + "dynatraceEnvironmentProperties": { + "userId": "alice123", + "accountInfo": { + "accountId": "1234567890", + "regionId": "wus2" + }, + "environmentInfo": { + "environmentId": "a23xcv456", + "ingestionKey": "1234567890", + "logsIngestionEndpoint": "https://dynatrace.com", + "landingURL": "https://a23xcv456.dynatrace.com" + }, + "singleSignOnProperties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + }, + "userInfo": { + "firstName": "Alice", + "lastName": "Bobab", + "emailAddress": "alice@microsoft.com", + "phoneNumber": "123456", + "country": "westus2" + }, + "planData": { + "usageType": "Committed", + "billingCycle": "Monthly", + "planDetails": "dynatraceapitestplan", + "effectiveDate": "2019-08-30T15:14:33+02:00" + }, + "liftrResourceCategory": "Unknown", + "liftrResourcePreference": 28, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "tags": { + "Environment": "Dev" + }, + "location": "West US 2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor", + "name": "myMonitor", + "type": "Dynatrace.Observability/monitors" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..b2fc04dfc37e --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Monitors_Update_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "resource": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "West US 2" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..fa311635d889 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-04-27" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Dynatrace.Observability/monitors/write", + "isDataAction": true, + "display": { + "provider": "Dynatrace.Observability", + "resource": "monitors", + "operation": "write", + "description": "Write monitors resource" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..14440c0f2aa5 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2023-04-27" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..c41ddfaf230b --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default", + "resource": { + "properties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "provisioningState": "Accepted" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "type": "Dynatrace.Observability/monitors" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "type": "Dynatrace.Observability/monitors" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..5b2707d1bf3c --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default", + "resource": { + "properties": { + "singleSignOnUrl": "https://www.dynatrace.io", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..d89119061a0f --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default" + }, + "responses": { + "200": { + "body": { + "properties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "type": "Dynatrace.Observability/monitors" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..332bd90ac165 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_Get_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "configurationName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..56e3abf2612d --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MaximumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "singleSignOnState": "Enable", + "enterpriseAppId": "00000000-0000-0000-0000-000000000000", + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "type": "Dynatrace.Observability/monitors" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..d5dd93534b93 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/SingleSignOn_List_MinimumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/singleSignOnConfigurations/default", + "properties": { + "singleSignOnUrl": "https://www.dynatrace.io/IAmSomeHash", + "aadDomains": [ + "mpliftrdt20210811outlook.onmicrosoft.com" + ] + } + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..a22a790fe3e4 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default", + "resource": { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + }, + { + "name": "Environment", + "value": "Dev", + "action": "Exclude" + } + ] + }, + "metricRules": { + "sendingMetrics": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + } + ] + }, + "provisioningState": "Accepted" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + }, + { + "name": "Environment", + "value": "Dev", + "action": "Exclude" + } + ] + }, + "metricRules": { + "sendingMetrics": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + } + ] + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + }, + { + "name": "Environment", + "value": "Dev", + "action": "Exclude" + } + ] + }, + "metricRules": { + "sendingMetrics": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + } + ] + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..b23f3d8c56fe --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default", + "resource": { + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + }, + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..45bc2f185b78 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..45bc2f185b78 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..54c7b6f25af4 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MaximumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default" + }, + "responses": { + "200": { + "body": { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + }, + { + "name": "Environment", + "value": "Dev", + "action": "Exclude" + } + ] + }, + "metricRules": { + "sendingMetrics": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + } + ] + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..407eacbcdcf7 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_Get_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor", + "ruleSetName": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MaximumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..f21ea2a620b0 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MaximumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "logRules": { + "sendAadLogs": "Enabled", + "sendSubscriptionLogs": "Enabled", + "sendActivityLogs": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + }, + { + "name": "Environment", + "value": "Dev", + "action": "Exclude" + } + ] + }, + "metricRules": { + "sendingMetrics": "Enabled", + "filteringTags": [ + { + "name": "Environment", + "value": "Prod", + "action": "Include" + } + ] + }, + "provisioningState": "Accepted" + }, + "systemData": { + "createdBy": "alice@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-16T04:25:21.040Z", + "lastModifiedBy": "alice@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-16T04:25:21.040Z" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "name": "default", + "type": "Dynatrace.Observability/monitors/tagRules" + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MinimumSet_Gen.json b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..096ba6e903a7 --- /dev/null +++ b/specification/dynatrace/resource-manager/Dynatrace.Observability/stable/2023-04-27/examples/TagRules_List_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2023-04-27", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "monitorName": "myMonitor" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Dynatrace.Observability/monitors/myMonitor/tagRules/default", + "properties": {} + } + ], + "nextLink": "null" + } + } + } +} diff --git a/specification/dynatrace/resource-manager/readme.md b/specification/dynatrace/resource-manager/readme.md index 5301f2c6467d..515361c1493e 100644 --- a/specification/dynatrace/resource-manager/readme.md +++ b/specification/dynatrace/resource-manager/readme.md @@ -1,6 +1,7 @@ # dynatrace > see https://aka.ms/autorest + This is the AutoRest configuration file for dynatrace. ## Getting Started @@ -8,9 +9,11 @@ This is the AutoRest configuration file for dynatrace. To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: > `autorest readme.md` + To see additional help and options, run: > `autorest --help` + For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. --- @@ -24,16 +27,16 @@ These are the global settings for the dynatrace. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2021-09-01 +tag: package-2023-04-27 ``` -### Tag: package-2021-09-01-preview +### Tag: package-2023-04-27 -These settings apply only when `--tag=package-2021-09-01-preview` is specified on the command line. +These settings apply only when `--tag=package-2023-04-27` is specified on the command line. -```yaml $(tag) == 'package-2021-09-01-preview' +```yaml $(tag) == 'package-2023-04-27' input-file: - - Dynatrace.Observability/preview/2021-09-01-preview/dynatrace.json + - Dynatrace.Observability/stable/2023-04-27/dynatrace.json ``` ### Tag: package-2021-09-01 @@ -45,6 +48,15 @@ input-file: - Dynatrace.Observability/stable/2021-09-01/dynatrace.json ``` +### Tag: package-2021-09-01-preview + +These settings apply only when `--tag=package-2021-09-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2021-09-01-preview' +input-file: + - Dynatrace.Observability/preview/2021-09-01-preview/dynatrace.json +``` + --- # Code Generation @@ -60,14 +72,20 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js - - repo: azure-resource-manager-schemas - - repo: azure-cli-extensions - - repo: azure-powershell + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_dynatrace'] ``` -## Az +## Suppression -See configuration in [readme.az.md](./readme.az.md) +``` yaml +suppressions: + - code: SECRET_PROPERTY + from: Dynatrace.Observability/preview/2021-06-01-preview/dynatrace.json + where: $.definitions.VMIngestionDetailsResponse.properties.ingestionKey + reason: Secrets are OK to return in a POST response. +``` ## Go @@ -77,6 +95,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.python.md](./readme.python.md) +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + ## TypeScript See configuration in [readme.typescript.md](./readme.typescript.md) From f7c77a57cf879e3938f5084c3d0cf0611b5834e7 Mon Sep 17 00:00:00 2001 From: JainRah <108508612+JainRah@users.noreply.github.com> Date: Thu, 13 Jul 2023 02:54:01 +0530 Subject: [PATCH 14/39] Double Header Fix (#24760) --- .../2023-02-01/examples/NetworkVirtualAppliancePut.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/NetworkVirtualAppliancePut.json b/specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/NetworkVirtualAppliancePut.json index b9e5937b43c8..40d3723cf373 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/NetworkVirtualAppliancePut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/examples/NetworkVirtualAppliancePut.json @@ -110,9 +110,7 @@ }, "201": { "headers": { - "headers": { - "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01" - } + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-02-01" }, "body": { "name": "nva", From 812c8a0322c016efec774d5682797d5a40336131 Mon Sep 17 00:00:00 2001 From: Brandon Miller <42854725+brandom-msft@users.noreply.github.com> Date: Wed, 12 Jul 2023 14:36:10 -0700 Subject: [PATCH 15/39] [OpenAI.Inference] Adding content filter support (#24652) * first-pass adding annotation * FilterResult definitions * move Filter definitions to common * cleaning up naming and imports * adding version headers * added descriptions to objects * correct self_harm JSON projection * Correct to "prompt_annotations" * "prompt_annotations" for chat, too * Update specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp Co-authored-by: Shawn Fang <45607042+mssfang@users.noreply.github.com> * Add per-choice content_filter_results to /completions * tsp compile after merge * recompile with 0.46.0 after today's update --------- Co-authored-by: Travis Wilson <35748617+trrwilson@users.noreply.github.com> Co-authored-by: Shawn Fang <45607042+mssfang@users.noreply.github.com> --- .../models/chat.completions.tsp | 18 +++ .../models/completions.common.tsp | 93 +++++++++++++ .../models/completions.create.tsp | 20 +++ .../preview/2023-06-01-preview/generated.json | 131 ++++++++++++++++++ .../preview/2023-07-01-preview/generated.json | 131 ++++++++++++++++++ 5 files changed, 393 insertions(+) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp index 5b30c9d0dc3e..16f2cbb66d4f 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp @@ -190,6 +190,7 @@ model ChatChoice { index: int32; #suppress "@azure-tools/typespec-azure-core/no-nullable" "The operation already returns nulls" + #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" @doc("The reason that this chat completions choice completed its generated.") @projectedName("json", "finish_reason") finishReason: CompletionsFinishReason | null; @@ -198,6 +199,15 @@ model ChatChoice { @projectedName("json", "delta") @projectedName("csharp", "InternalStreamingDeltaMessage") delta?: ChatMessage; + + @doc(""" + Information about the content filtering category (hate, sexual, violence, self_harm), if it + has been detected, as well as the severity level (very_low, low, medium, high-scale that + determines the intensity and risk level of harmful content) and if it has been filtered or not. + """) + @added(ServiceApiVersions.v2023_06_01_Preview) + @projectedName("json", "content_filter_results") + contentFilterResults?: ContentFilterResults; } @doc(""" @@ -227,6 +237,14 @@ model ChatCompletions { @projectedName("json", "choices") choices: ChatChoice[]; + @doc(""" + Content filtering results for zero or more prompts in the request. In a streaming request, + results for different prompts may arrive at different times or in different orders. + """) + @added(ServiceApiVersions.v2023_06_01_Preview) + @projectedName("json", "prompt_annotations") + promptFilterResults?: PromptFilterResult[]; + @doc(""" Usage information for tokens processed and generated as part of this completions operation. """) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp index c0cb9121c20e..ba1343b13e2b 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp @@ -43,3 +43,96 @@ enum CompletionsFinishReason { @added(ServiceApiVersions.v2023_07_01_Preview) functionCall: "function_call", } + +@added(ServiceApiVersions.v2023_06_01_Preview) +@doc("Ratings for the intensity and risk level of harmful content.") +enum ContentFilterSeverity { + @doc(""" + Content may be related to violence, self-harm, sexual, or hate categories but the terms + are used in general, journalistic, scientific, medical, and similar professional contexts, + which are appropriate for most audiences. + """) + safe: "safe", + + @doc(""" + Content that expresses prejudiced, judgmental, or opinionated views, includes offensive + use of language, stereotyping, use cases exploring a fictional world (for example, gaming, + literature) and depictions at low intensity. + """) + low: "low", + + @doc(""" + Content that uses offensive, insulting, mocking, intimidating, or demeaning language + towards specific identity groups, includes depictions of seeking and executing harmful + instructions, fantasies, glorification, promotion of harm at medium intensity. + """) + medium: "medium", + + @doc(""" + Content that displays explicit and severe harmful instructions, actions, + damage, or abuse; includes endorsement, glorification, or promotion of severe + harmful acts, extreme or illegal forms of harm, radicalization, or non-consensual + power exchange or abuse. + """) + high: "high", +} + +@added(ServiceApiVersions.v2023_06_01_Preview) +@doc("Information about filtered content severity level and if it has been filtered or not.") +model ContentFilterResult { + @doc("Ratings for the intensity and risk level of filtered content.") + @projectedName("json", "severity") + severity: ContentFilterSeverity; + + @doc("A value indicating whether or not the content has been filtered.") + @projectedName("json", "filtered") + filtered: boolean; +} + +@added(ServiceApiVersions.v2023_06_01_Preview) +@doc("Information about the content filtering category, if it has been detected.") +model ContentFilterResults { + @doc(""" + Describes language related to anatomical organs and genitals, romantic relationships, + acts portrayed in erotic or affectionate terms, physical sexual acts, including + those portrayed as an assault or a forced sexual violent act against one’s will, + prostitution, pornography, and abuse. + """) + sexual: ContentFilterResult; + + @doc(""" + Describes language related to physical actions intended to hurt, injure, damage, or + kill someone or something; describes weapons, etc. + """) + violence: ContentFilterResult; + + @doc(""" + Describes language attacks or uses that include pejorative or discriminatory language + with reference to a person or identity group on the basis of certain differentiating + attributes of these groups including but not limited to race, ethnicity, nationality, + gender identity and expression, sexual orientation, religion, immigration status, ability + status, personal appearance, and body size. + """) + hate: ContentFilterResult; + + @doc(""" + Describes language related to physical actions intended to purposely hurt, injure, + or damage one’s body, or kill oneself. + """) + @projectedName("json", "self_harm") + selfHarm: ContentFilterResult; +} + +@added(ServiceApiVersions.v2023_06_01_Preview) +@doc(""" +Content filtering results for a single prompt in the request. +""") +model PromptFilterResult { + @doc("The index of this prompt in the set of prompt results") + @projectedName("json", "prompt_index") + promptIndex: int32; + + @doc("Content filtering results for this prompt") + @projectedName("json", "content_filter_results") + contentFilterResults?: ContentFilterResults; +} diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp index 7e70622d3dc0..82b8ed68cf14 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp @@ -1,9 +1,11 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/versioning"; import "./completions.common.tsp"; using TypeSpec.Rest; using TypeSpec.Http; +using TypeSpec.Versioning; namespace Azure.OpenAI; @@ -159,6 +161,14 @@ model Completions { @projectedName("csharp", "InternalCreatedSecondsAfterUnixEpoch") created: int32; + @doc(""" + Content filtering results for zero or more prompts in the request. In a streaming request, + results for different prompts may arrive at different times or in different orders. + """) + @added(ServiceApiVersions.v2023_06_01_Preview) + @projectedName("json", "prompt_annotations") + promptFilterResults?: PromptFilterResult[]; + @doc(""" The collection of completions choices associated with this completions response. Generally, `n` choices are generated per provided prompt with a default value of 1. @@ -188,6 +198,15 @@ model Choice { @projectedName("json", "index") index: int32; + @doc(""" + Information about the content filtering category (hate, sexual, violence, self_harm), if it + has been detected, as well as the severity level (very_low, low, medium, high-scale that + determines the intensity and risk level of harmful content) and if it has been filtered or not. + """) + @added(ServiceApiVersions.v2023_06_01_Preview) + @projectedName("json", "content_filter_results") + contentFilterResults?: ContentFilterResults; + #suppress "@azure-tools/typespec-azure-core/no-nullable" "The operation already returns nulls" @doc("The log probabilities model for tokens associated with this completions choice.") @projectedName("json", "logprobs") @@ -195,6 +214,7 @@ model Choice { logprobs: CompletionsLogProbabilityModel | null; #suppress "@azure-tools/typespec-azure-core/no-nullable" "The operation already returns nulls" + #suppress "@azure-tools/typespec-autorest/union-unsupported" "OpenAPI v2 support deferred" @doc("Reason for finishing") @projectedName("json", "finish_reason") finishReason: CompletionsFinishReason | null; diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index f5a7de63dadc..f26c66ee5986 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -470,6 +470,11 @@ "delta": { "$ref": "#/definitions/ChatMessage", "description": "The delta message content for a streaming response." + }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Information about the content filtering category (hate, sexual, violence, self_harm), if it \nhas been detected, as well as the severity level (very_low, low, medium, high-scale that \ndetermines the intensity and risk level of harmful content) and if it has been filtered or not.", + "x-ms-client-name": "contentFilterResults" } }, "required": [ @@ -498,6 +503,15 @@ }, "x-ms-identifiers": [] }, + "prompt_annotations": { + "type": "array", + "description": "Content filtering results for zero or more prompts in the request. In a streaming request, \nresults for different prompts may arrive at different times or in different orders.", + "items": { + "$ref": "#/definitions/PromptFilterResult" + }, + "x-ms-client-name": "promptFilterResults", + "x-ms-identifiers": [] + }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." @@ -649,6 +663,11 @@ "format": "int32", "description": "The ordered index associated with this completions choice." }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Information about the content filtering category (hate, sexual, violence, self_harm), if it \nhas been detected, as well as the severity level (very_low, low, medium, high-scale that \ndetermines the intensity and risk level of harmful content) and if it has been filtered or not.", + "x-ms-client-name": "contentFilterResults" + }, "logprobs": { "type": "object", "description": "The log probabilities model for tokens associated with this completions choice.", @@ -686,6 +705,15 @@ "format": "int32", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, + "prompt_annotations": { + "type": "array", + "description": "Content filtering results for zero or more prompts in the request. In a streaming request, \nresults for different prompts may arrive at different times or in different orders.", + "items": { + "$ref": "#/definitions/PromptFilterResult" + }, + "x-ms-client-name": "promptFilterResults", + "x-ms-identifiers": [] + }, "choices": { "type": "array", "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", @@ -905,6 +933,89 @@ "total_tokens" ] }, + "ContentFilterResult": { + "type": "object", + "description": "Information about filtered content severity level and if it has been filtered or not.", + "properties": { + "severity": { + "$ref": "#/definitions/ContentFilterSeverity", + "description": "Ratings for the intensity and risk level of filtered content." + }, + "filtered": { + "type": "boolean", + "description": "A value indicating whether or not the content has been filtered." + } + }, + "required": [ + "severity", + "filtered" + ] + }, + "ContentFilterResults": { + "type": "object", + "description": "Information about the content filtering category, if it has been detected.", + "properties": { + "sexual": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to anatomical organs and genitals, romantic relationships,\n acts portrayed in erotic or affectionate terms, physical sexual acts, including \n those portrayed as an assault or a forced sexual violent act against one’s will, \n prostitution, pornography, and abuse." + }, + "violence": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to physical actions intended to hurt, injure, damage, or \nkill someone or something; describes weapons, etc." + }, + "hate": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language attacks or uses that include pejorative or discriminatory language \nwith reference to a person or identity group on the basis of certain differentiating \nattributes of these groups including but not limited to race, ethnicity, nationality,\ngender identity and expression, sexual orientation, religion, immigration status, ability\nstatus, personal appearance, and body size." + }, + "self_harm": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to physical actions intended to purposely hurt, injure,\nor damage one’s body, or kill oneself.", + "x-ms-client-name": "selfHarm" + } + }, + "required": [ + "sexual", + "violence", + "hate", + "self_harm" + ] + }, + "ContentFilterSeverity": { + "type": "string", + "description": "Ratings for the intensity and risk level of harmful content.", + "enum": [ + "safe", + "low", + "medium", + "high" + ], + "x-ms-enum": { + "name": "ContentFilterSeverity", + "modelAsString": true, + "values": [ + { + "name": "safe", + "value": "safe", + "description": "Content may be related to violence, self-harm, sexual, or hate categories but the terms \nare used in general, journalistic, scientific, medical, and similar professional contexts, \nwhich are appropriate for most audiences." + }, + { + "name": "low", + "value": "low", + "description": "Content that expresses prejudiced, judgmental, or opinionated views, includes offensive \nuse of language, stereotyping, use cases exploring a fictional world (for example, gaming,\nliterature) and depictions at low intensity." + }, + { + "name": "medium", + "value": "medium", + "description": "Content that uses offensive, insulting, mocking, intimidating, or demeaning language \ntowards specific identity groups, includes depictions of seeking and executing harmful \ninstructions, fantasies, glorification, promotion of harm at medium intensity." + }, + { + "name": "high", + "value": "high", + "description": "Content that displays explicit and severe harmful instructions, actions, \ndamage, or abuse; includes endorsement, glorification, or promotion of severe \nharmful acts, extreme or illegal forms of harm, radicalization, or non-consensual \npower exchange or abuse." + } + ] + } + }, "EmbeddingItem": { "type": "object", "description": "Representation of a single embeddings relatedness comparison.", @@ -1100,6 +1211,26 @@ } ] } + }, + "PromptFilterResult": { + "type": "object", + "description": "Content filtering results for a single prompt in the request.", + "properties": { + "prompt_index": { + "type": "integer", + "format": "int32", + "description": "The index of this prompt in the set of prompt results", + "x-ms-client-name": "promptIndex" + }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Content filtering results for this prompt", + "x-ms-client-name": "contentFilterResults" + } + }, + "required": [ + "prompt_index" + ] } }, "parameters": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index b6c6b488b012..ebcace97ebf3 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -470,6 +470,11 @@ "delta": { "$ref": "#/definitions/ChatMessage", "description": "The delta message content for a streaming response." + }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Information about the content filtering category (hate, sexual, violence, self_harm), if it \nhas been detected, as well as the severity level (very_low, low, medium, high-scale that \ndetermines the intensity and risk level of harmful content) and if it has been filtered or not.", + "x-ms-client-name": "contentFilterResults" } }, "required": [ @@ -498,6 +503,15 @@ }, "x-ms-identifiers": [] }, + "prompt_annotations": { + "type": "array", + "description": "Content filtering results for zero or more prompts in the request. In a streaming request, \nresults for different prompts may arrive at different times or in different orders.", + "items": { + "$ref": "#/definitions/PromptFilterResult" + }, + "x-ms-client-name": "promptFilterResults", + "x-ms-identifiers": [] + }, "usage": { "$ref": "#/definitions/CompletionsUsage", "description": "Usage information for tokens processed and generated as part of this completions operation." @@ -676,6 +690,11 @@ "format": "int32", "description": "The ordered index associated with this completions choice." }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Information about the content filtering category (hate, sexual, violence, self_harm), if it \nhas been detected, as well as the severity level (very_low, low, medium, high-scale that \ndetermines the intensity and risk level of harmful content) and if it has been filtered or not.", + "x-ms-client-name": "contentFilterResults" + }, "logprobs": { "type": "object", "description": "The log probabilities model for tokens associated with this completions choice.", @@ -713,6 +732,15 @@ "format": "int32", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, + "prompt_annotations": { + "type": "array", + "description": "Content filtering results for zero or more prompts in the request. In a streaming request, \nresults for different prompts may arrive at different times or in different orders.", + "items": { + "$ref": "#/definitions/PromptFilterResult" + }, + "x-ms-client-name": "promptFilterResults", + "x-ms-identifiers": [] + }, "choices": { "type": "array", "description": "The collection of completions choices associated with this completions response.\nGenerally, `n` choices are generated per provided prompt with a default value of 1.\nToken limits and other settings may limit the number of choices generated.", @@ -938,6 +966,89 @@ "total_tokens" ] }, + "ContentFilterResult": { + "type": "object", + "description": "Information about filtered content severity level and if it has been filtered or not.", + "properties": { + "severity": { + "$ref": "#/definitions/ContentFilterSeverity", + "description": "Ratings for the intensity and risk level of filtered content." + }, + "filtered": { + "type": "boolean", + "description": "A value indicating whether or not the content has been filtered." + } + }, + "required": [ + "severity", + "filtered" + ] + }, + "ContentFilterResults": { + "type": "object", + "description": "Information about the content filtering category, if it has been detected.", + "properties": { + "sexual": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to anatomical organs and genitals, romantic relationships,\n acts portrayed in erotic or affectionate terms, physical sexual acts, including \n those portrayed as an assault or a forced sexual violent act against one’s will, \n prostitution, pornography, and abuse." + }, + "violence": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to physical actions intended to hurt, injure, damage, or \nkill someone or something; describes weapons, etc." + }, + "hate": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language attacks or uses that include pejorative or discriminatory language \nwith reference to a person or identity group on the basis of certain differentiating \nattributes of these groups including but not limited to race, ethnicity, nationality,\ngender identity and expression, sexual orientation, religion, immigration status, ability\nstatus, personal appearance, and body size." + }, + "self_harm": { + "$ref": "#/definitions/ContentFilterResult", + "description": "Describes language related to physical actions intended to purposely hurt, injure,\nor damage one’s body, or kill oneself.", + "x-ms-client-name": "selfHarm" + } + }, + "required": [ + "sexual", + "violence", + "hate", + "self_harm" + ] + }, + "ContentFilterSeverity": { + "type": "string", + "description": "Ratings for the intensity and risk level of harmful content.", + "enum": [ + "safe", + "low", + "medium", + "high" + ], + "x-ms-enum": { + "name": "ContentFilterSeverity", + "modelAsString": true, + "values": [ + { + "name": "safe", + "value": "safe", + "description": "Content may be related to violence, self-harm, sexual, or hate categories but the terms \nare used in general, journalistic, scientific, medical, and similar professional contexts, \nwhich are appropriate for most audiences." + }, + { + "name": "low", + "value": "low", + "description": "Content that expresses prejudiced, judgmental, or opinionated views, includes offensive \nuse of language, stereotyping, use cases exploring a fictional world (for example, gaming,\nliterature) and depictions at low intensity." + }, + { + "name": "medium", + "value": "medium", + "description": "Content that uses offensive, insulting, mocking, intimidating, or demeaning language \ntowards specific identity groups, includes depictions of seeking and executing harmful \ninstructions, fantasies, glorification, promotion of harm at medium intensity." + }, + { + "name": "high", + "value": "high", + "description": "Content that displays explicit and severe harmful instructions, actions, \ndamage, or abuse; includes endorsement, glorification, or promotion of severe \nharmful acts, extreme or illegal forms of harm, radicalization, or non-consensual \npower exchange or abuse." + } + ] + } + }, "EmbeddingItem": { "type": "object", "description": "Representation of a single embeddings relatedness comparison.", @@ -1171,6 +1282,26 @@ } ] } + }, + "PromptFilterResult": { + "type": "object", + "description": "Content filtering results for a single prompt in the request.", + "properties": { + "prompt_index": { + "type": "integer", + "format": "int32", + "description": "The index of this prompt in the set of prompt results", + "x-ms-client-name": "promptIndex" + }, + "content_filter_results": { + "$ref": "#/definitions/ContentFilterResults", + "description": "Content filtering results for this prompt", + "x-ms-client-name": "contentFilterResults" + } + }, + "required": [ + "prompt_index" + ] } }, "parameters": { From 271e54937d2738b48c9fb1af95ea82a5c149aa8c Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 12 Jul 2023 14:37:21 -0700 Subject: [PATCH 16/39] Update OpenAI PR assignment (#24794) * Update OpenAI PR assignment * Update pull_request_assignment.yml --- .github/pull_request_assignment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/pull_request_assignment.yml b/.github/pull_request_assignment.yml index b01d4ea1f053..495d46dca2ea 100644 --- a/.github/pull_request_assignment.yml +++ b/.github/pull_request_assignment.yml @@ -10,6 +10,7 @@ # OpenAI data-plane PR paths: - "specification/cognitiveservices/data-plane/AzureOpenAI/**" + - "specification/cognitiveservices/OpenAI.Inference/**" reviewers: - lmazuel From cc23184bd4eff771657149292a5fc6475d32eab3 Mon Sep 17 00:00:00 2001 From: Albert Cheng <38804567+ckairen@users.noreply.github.com> Date: Wed, 12 Jul 2023 18:31:25 -0700 Subject: [PATCH 17/39] [typespec-ci] Automatically detect spec folders to validate (#24629) --- eng/pipelines/templates/steps/typespec-ci.yml | 22 ------ eng/pipelines/typespec-ci.yml | 78 +++---------------- eng/scripts/Get-TypeSpec-Folders.ps1 | 27 +++++++ eng/scripts/Validate-TypeSpec.ps1 | 25 ++++++ 4 files changed, 61 insertions(+), 91 deletions(-) delete mode 100644 eng/pipelines/templates/steps/typespec-ci.yml create mode 100644 eng/scripts/Get-TypeSpec-Folders.ps1 create mode 100644 eng/scripts/Validate-TypeSpec.ps1 diff --git a/eng/pipelines/templates/steps/typespec-ci.yml b/eng/pipelines/templates/steps/typespec-ci.yml deleted file mode 100644 index 992c13fd4030..000000000000 --- a/eng/pipelines/templates/steps/typespec-ci.yml +++ /dev/null @@ -1,22 +0,0 @@ -parameters: -- name: Folder - type: string -- name: DisplayName - type: string - -steps: -- bash: | - exit_code=0 - - # Log commands before running - set -x - - npx --no tsv ${{parameters.Folder}} || exit_code=1 - - # Discard any changes - git restore . - git clean -df - - exit $exit_code - displayName: ${{parameters.DisplayName}} - condition: succeededOrFailed() diff --git a/eng/pipelines/typespec-ci.yml b/eng/pipelines/typespec-ci.yml index 91574df6ec45..ed52aa37fe94 100644 --- a/eng/pipelines/typespec-ci.yml +++ b/eng/pipelines/typespec-ci.yml @@ -40,72 +40,12 @@ jobs: displayName: npm ls -a condition: succeededOrFailed() - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/contosowidgetmanager/Contoso.WidgetManager - DisplayName: Contoso.WidgetManager - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/AnomalyDetector - DisplayName: AnomalyDetector - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/ContentSafety - DisplayName: ContentSafety - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/HealthInsights/healthinsights.openapi - DisplayName: healthinsights.openapi - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/HealthInsights/healthinsights.oncophenotype - DisplayName: healthinsights.oncophenotype - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/HealthInsights/healthinsights.trialmatcher - DisplayName: healthinsights.trialmatcher - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/cognitiveservices/OpenAI.Inference - DisplayName: OpenAI.Inference - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/confidentialledger/Microsoft.ManagedCcf - DisplayName: ManagedCcf - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/containerservice/Fleet.Management - DisplayName: Fleet.Management - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/containerstorage/ContainerStorage.Management - DisplayName: ContainerStorage.Management - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/eventgrid/Azure.Messaging.EventGrid - DisplayName: Messaging.EventGrid - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/servicenetworking/ServiceNetworking.Management - DisplayName: Microsoft.ServiceNetworking - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/sphere/Sphere.Management - DisplayName: Sphere.Management - - - template: templates/steps/typespec-ci.yml - parameters: - Folder: specification/translation/Azure.AI.TextTranslation - DisplayName: AI.TextTranslation + - pwsh: | + if ('$(Build.Reason)' -eq 'PullRequest') { + $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) "origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}" + } + else { + $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) + } + displayName: Validate TypeSpec + condition: succeededOrFailed() diff --git a/eng/scripts/Get-TypeSpec-Folders.ps1 b/eng/scripts/Get-TypeSpec-Folders.ps1 new file mode 100644 index 000000000000..4271184ca72b --- /dev/null +++ b/eng/scripts/Get-TypeSpec-Folders.ps1 @@ -0,0 +1,27 @@ +[CmdletBinding()] +param ( + [Parameter(Position = 0, Mandatory = $true)] + [string] $SpecsRepoRootDirectory, + [Parameter(Position = 1, Mandatory = $false)] + [string]$TargetBranch, + [Parameter(Position = 2, Mandatory = $false)] + [string]$SourceBranch +) + +$tspFiles = @() +if ([string]::IsNullOrEmpty($TargetBranch) -or [string]::IsNullOrEmpty($SourceBranch)) { + $tspFiles = (Get-ChildItem -path ./specification tspconfig.yaml -Recurse).FullName -replace "$($pwd.Path)/" +} +else { + Write-Host "git -c core.quotepath=off -c i18n.logoutputencoding=utf-8 diff --name-only `"$TargetBranch...$SourceBranch`" -- | Where-Object {`$_.StartsWith('specification')}" + $tspFiles = git -c core.quotepath=off -c i18n.logoutputencoding=utf-8 diff --name-only `"$TargetBranch...$SourceBranch`" -- | Where-Object {$_.StartsWith('specification')} +} + +$typespecFolders = @() +foreach ($file in $tspFiles) { + $file -match 'specification\/[^\/]*\/' | out-null + $typespecFolders += (Get-ChildItem -path $matches[0] tspconfig.yaml -Recurse).Directory.FullName -replace "$($pwd.Path)/" +} +$typespecFolders = $typespecFolders | Select-Object -Unique + +return $typespecFolders diff --git a/eng/scripts/Validate-TypeSpec.ps1 b/eng/scripts/Validate-TypeSpec.ps1 new file mode 100644 index 000000000000..7bd3171d001f --- /dev/null +++ b/eng/scripts/Validate-TypeSpec.ps1 @@ -0,0 +1,25 @@ +[CmdletBinding()] +param ( + [Parameter(Position = 0, Mandatory = $true)] + [string] $SpecsRepoRootDirectory, + [Parameter(Position = 1, Mandatory = $false)] + [string]$TargetBranch, + [Parameter(Position = 2, Mandatory = $false)] + [string]$SourceBranch +) + +$typespecFolders = @() + +$typespecFolders = &"$PSScriptRoot/Get-TypeSpec-Folders.ps1" "$SpecsRepoRootDirectory" "$TargetBranch" "$SourceBranch" + +$exitCode = 0 +foreach ($typespecFolder in $typespecFolders) { + npx --no tsv $typespecFolder 2>&1 | Write-Host + if ($LASTEXITCODE) { + $exitCode = 1 + } + git restore . + git clean -df +} + +exit $exitCode From a89c3854f2d1cca8c996e00c97af3179ecb9dd72 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 13 Jul 2023 10:49:08 +0800 Subject: [PATCH 18/39] [fist] mgmt, update service name (#24781) --- specification/fist/resource-manager/readme.java.md | 7 +++++++ specification/fist/resource-manager/readme.md | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 specification/fist/resource-manager/readme.java.md diff --git a/specification/fist/resource-manager/readme.java.md b/specification/fist/resource-manager/readme.java.md new file mode 100644 index 000000000000..81a1f8b639a8 --- /dev/null +++ b/specification/fist/resource-manager/readme.java.md @@ -0,0 +1,7 @@ +## Java + +These settings apply only when `--java` is specified on the command line. + +```yaml $(java) +service-name: IoT Firmware Defense +``` diff --git a/specification/fist/resource-manager/readme.md b/specification/fist/resource-manager/readme.md index 72d98965866b..4316749e1cde 100644 --- a/specification/fist/resource-manager/readme.md +++ b/specification/fist/resource-manager/readme.md @@ -81,3 +81,7 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md) + +## Java + +See configuration in [readme.java.md](./readme.java.md) From de68c384a851dac9d8b2f8ef8b696c870ddcc8a4 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 13 Jul 2023 00:13:50 -0700 Subject: [PATCH 19/39] [typespec-pr] Add pipeline (#24802) --- eng/pipelines/typespec-ci.yml | 27 +++++---------------------- eng/pipelines/typespec-pr.yml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 22 deletions(-) create mode 100644 eng/pipelines/typespec-pr.yml diff --git a/eng/pipelines/typespec-ci.yml b/eng/pipelines/typespec-ci.yml index ed52aa37fe94..0264c00f603d 100644 --- a/eng/pipelines/typespec-ci.yml +++ b/eng/pipelines/typespec-ci.yml @@ -11,23 +11,11 @@ pr: - typespec-next paths: include: - - package.json - - package-lock.json - - eng/pipelines/typespec-ci.yml - - eng/pipelines/templates/steps/typespec-ci.yml - - eng/tools/TypeSpecValidation - - specification/contosowidgetmanager - - specification/cognitiveservices - - specification/confidentialledger - - specification/containerservice - - specification/containerstorage - - specification/eventgrid - - specification/servicenetworking - - specification/sphere - - specification/translation + - '*' # any file in repo root, like "package.json" or ".prettierrc.json" + - eng jobs: -- job: TypeSpecCI +- job: Validate_All_Specs pool: name: azsdk-pool-mms-ubuntu-2204-general vmImage: ubuntu-22.04 @@ -41,11 +29,6 @@ jobs: condition: succeededOrFailed() - pwsh: | - if ('$(Build.Reason)' -eq 'PullRequest') { - $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) "origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}" - } - else { - $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) - } - displayName: Validate TypeSpec + $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 $(Build.SourcesDirectory) + displayName: Validate All Specs condition: succeededOrFailed() diff --git a/eng/pipelines/typespec-pr.yml b/eng/pipelines/typespec-pr.yml new file mode 100644 index 000000000000..799eeec36137 --- /dev/null +++ b/eng/pipelines/typespec-pr.yml @@ -0,0 +1,32 @@ +trigger: none + +pr: + branches: + include: + - main + - typespec-next + paths: + include: + - specification + +jobs: +- job: Validate_Changed_Specs + pool: + name: azsdk-pool-mms-ubuntu-2204-general + vmImage: ubuntu-22.04 + + steps: + - script: npm ci + displayName: npm ci + + - script: npm ls -a + displayName: npm ls -a + condition: succeededOrFailed() + + - pwsh: | + $(Build.SourcesDirectory)/eng/scripts/Validate-TypeSpec.ps1 ` + $(Build.SourcesDirectory) ` + "origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" ` + "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}" + displayName: Validate Changed Specs + condition: succeededOrFailed() From 0691ac4b0e05c8ca3bde2f8a33f036c12282fa25 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 13 Jul 2023 00:28:58 -0700 Subject: [PATCH 20/39] [typespec-ci] Remove path wildcard (#24804) --- eng/pipelines/typespec-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/typespec-ci.yml b/eng/pipelines/typespec-ci.yml index 0264c00f603d..08d97f68faae 100644 --- a/eng/pipelines/typespec-ci.yml +++ b/eng/pipelines/typespec-ci.yml @@ -11,7 +11,11 @@ pr: - typespec-next paths: include: - - '*' # any file in repo root, like "package.json" or ".prettierrc.json" + - .gitattributes + - .prettierrc.json + - package-lock.json + - package.json + - tsconfig.json - eng jobs: From 0c958e3aed1f75301728ad10fdd35c43ffc5fc71 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Thu, 13 Jul 2023 09:32:36 -0700 Subject: [PATCH 21/39] Update engsys CODEOWNERS (#24808) --- CODEOWNERS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CODEOWNERS b/CODEOWNERS index d72c327f1aba..e52dafdcd5fd 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -265,3 +265,11 @@ /specification/**/resource-manager/**/readme.cli.md @jsntcy @qiaozha /specification/**/resource-manager/**/readme.go.md @tadelesh /specification/**/resource-manager/**/readme.python.md @msyyc + +########### +# Eng Sys +########### +/.azure-pipelines/ @weshaggard @mikeharder @konrad-jamrozik +/.github/ @weshaggard @mikeharder @konrad-jamrozik +/eng/ @weshaggard @mikeharder @konrad-jamrozik +/scripts/ @weshaggard @mikeharder @konrad-jamrozik From df3499517eae01e3fa3ea692f9b13fc837d8296b Mon Sep 17 00:00:00 2001 From: Travis Wilson <35748617+trrwilson@users.noreply.github.com> Date: Thu, 13 Jul 2023 16:10:34 -0700 Subject: [PATCH 22/39] Align optionality of content filter categories (#24819) --- .../OpenAI.Inference/models/completions.common.tsp | 8 ++++---- .../inference/preview/2023-06-01-preview/generated.json | 8 +------- .../inference/preview/2023-07-01-preview/generated.json | 8 +------- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp index ba1343b13e2b..10608fa6e4f1 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.common.tsp @@ -98,13 +98,13 @@ model ContentFilterResults { those portrayed as an assault or a forced sexual violent act against one’s will, prostitution, pornography, and abuse. """) - sexual: ContentFilterResult; + sexual?: ContentFilterResult; @doc(""" Describes language related to physical actions intended to hurt, injure, damage, or kill someone or something; describes weapons, etc. """) - violence: ContentFilterResult; + violence?: ContentFilterResult; @doc(""" Describes language attacks or uses that include pejorative or discriminatory language @@ -113,14 +113,14 @@ model ContentFilterResults { gender identity and expression, sexual orientation, religion, immigration status, ability status, personal appearance, and body size. """) - hate: ContentFilterResult; + hate?: ContentFilterResult; @doc(""" Describes language related to physical actions intended to purposely hurt, injure, or damage one’s body, or kill oneself. """) @projectedName("json", "self_harm") - selfHarm: ContentFilterResult; + selfHarm?: ContentFilterResult; } @added(ServiceApiVersions.v2023_06_01_Preview) diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index f26c66ee5986..576b78e8d966 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -972,13 +972,7 @@ "description": "Describes language related to physical actions intended to purposely hurt, injure,\nor damage one’s body, or kill oneself.", "x-ms-client-name": "selfHarm" } - }, - "required": [ - "sexual", - "violence", - "hate", - "self_harm" - ] + } }, "ContentFilterSeverity": { "type": "string", diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index ebcace97ebf3..411186ce784d 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -1005,13 +1005,7 @@ "description": "Describes language related to physical actions intended to purposely hurt, injure,\nor damage one’s body, or kill oneself.", "x-ms-client-name": "selfHarm" } - }, - "required": [ - "sexual", - "violence", - "hate", - "self_harm" - ] + } }, "ContentFilterSeverity": { "type": "string", From 982929d15d73166dbb9378e15c88b6e2ae5c4b80 Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Thu, 13 Jul 2023 19:14:24 -0700 Subject: [PATCH 23/39] Add spec ARM PR review workflow diagram to ARM PR description template. (#24823) * Add spec PR review workflow diagram to ARM PR description template. --- .../control_plane_template.md | 6 ++++++ .../spec_pr_review_workflow_diagram.png | Bin 0 -> 187291 bytes 2 files changed, 6 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/spec_pr_review_workflow_diagram.png diff --git a/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md b/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md index b467bfe8173b..61e39c7bd35e 100644 --- a/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md @@ -1,5 +1,11 @@ # ARM (Control Plane) API Specification Update Pull Request +## PR review workflow diagram + +Please understand this diagram before proceeding. It explains how to get your PR approved & merged. + +![diagram](spec_pr_review_workflow_diagram.png) + ## Purpose of this PR What's the purpose of this PR? Check all that apply. This is **mandatory**! diff --git a/.github/PULL_REQUEST_TEMPLATE/spec_pr_review_workflow_diagram.png b/.github/PULL_REQUEST_TEMPLATE/spec_pr_review_workflow_diagram.png new file mode 100644 index 0000000000000000000000000000000000000000..4b5b0bfb20cb394e470a5bc1e2a06457665f0028 GIT binary patch literal 187291 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⪼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 literal 0 HcmV?d00001 From 925ba149e17454ce91ecd3f9f4134effb2f97844 Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Thu, 13 Jul 2023 21:56:33 -0700 Subject: [PATCH 24/39] Update control_plane_template.md: fix link to diagram (#24828) --- .github/PULL_REQUEST_TEMPLATE/control_plane_template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md b/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md index 61e39c7bd35e..8fc5cf632e9e 100644 --- a/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/control_plane_template.md @@ -4,7 +4,7 @@ Please understand this diagram before proceeding. It explains how to get your PR approved & merged. -![diagram](spec_pr_review_workflow_diagram.png) +![diagram](https://github.com/Azure/azure-rest-api-specs/assets/4429827/5e91ff2d-1f5c-4e96-87c2-390e7451da37) ## Purpose of this PR From c09314bffaffd8fb6227e4b906aa35f41d2d7f33 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Fri, 14 Jul 2023 09:15:59 -0700 Subject: [PATCH 25/39] Added generator config for OpenAI `Functions` for the Java SDK (#24765) --- specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml index b3d1870826b6..29557c0d3375 100644 --- a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml +++ b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml @@ -23,6 +23,8 @@ options: partial-update: true enable-sync-stack: true generate-tests: false + custom-types-subpackage: "implementation.models" + custom-types: "FunctionCallModelBase,FunctionCallPreset,FunctionCallPresetFunctionCallModel,FunctionDefinition,FunctionNameFunctionCallModel" # "@azure-tools/typespec-ts": # package-dir: "azure-ai-openai" # emitter-output-dir: "{project-root}/generated" From 950c36341967403fc0567e6316392f1302573cfe Mon Sep 17 00:00:00 2001 From: Maxim Rytych <99686729+maximrytych-ms@users.noreply.github.com> Date: Fri, 14 Jul 2023 18:59:37 +0200 Subject: [PATCH 26/39] Remove repeatability support for token revocation endpoint (#24589) --- .../2023-08-01/CommunicationIdentity.json | 24 ++----------------- .../examples/RevokeAccessTokens.json | 12 ++-------- 2 files changed, 4 insertions(+), 32 deletions(-) diff --git a/specification/communication/data-plane/Identity/stable/2023-08-01/CommunicationIdentity.json b/specification/communication/data-plane/Identity/stable/2023-08-01/CommunicationIdentity.json index c8d73b0dac41..03b0aa1c017d 100644 --- a/specification/communication/data-plane/Identity/stable/2023-08-01/CommunicationIdentity.json +++ b/specification/communication/data-plane/Identity/stable/2023-08-01/CommunicationIdentity.json @@ -133,20 +133,6 @@ }, { "$ref": "#/parameters/ApiVersionParameter" - }, - { - "in": "header", - "name": "Repeatability-Request-ID", - "description": "If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated, globally unique for all time, identifier for the request. It is recommended to use version 4 (random) UUIDs. Internal identifiers shouldn't be used. The value should be an opaque meaningless string in UUID format.", - "type": "string", - "format": "uuid" - }, - { - "in": "header", - "name": "Repeatability-First-Sent", - "description": "If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date", - "type": "string", - "format": "date-time-rfc1123" } ], "responses": { @@ -157,17 +143,11 @@ } }, "204": { - "description": "No Content", - "headers": { - "Repeatability-Result": { - "description": "Result of idempotent request. Present only in case of idempotent processing.", - "type": "string" - } - } + "description": "No Content" } }, "x-ms-examples": { - "Revoke access tokens with optional idempotent processing using Repeatability-Request-ID and Repeatability-First-Sent headers. If the headers are not provided, the request will be processed in a non-idempotent way which can lead to more tokens being revoked than intended on a retry.": { + "Revoke access tokens": { "$ref": "./examples/RevokeAccessTokens.json" } } diff --git a/specification/communication/data-plane/Identity/stable/2023-08-01/examples/RevokeAccessTokens.json b/specification/communication/data-plane/Identity/stable/2023-08-01/examples/RevokeAccessTokens.json index 1a6910eb229f..8f005c3926a1 100644 --- a/specification/communication/data-plane/Identity/stable/2023-08-01/examples/RevokeAccessTokens.json +++ b/specification/communication/data-plane/Identity/stable/2023-08-01/examples/RevokeAccessTokens.json @@ -3,17 +3,9 @@ "api-version": "2023-08-01", "content-type": "application/json", "id": "8:acs:2dee53b4-368b-45b4-ab52-8493fb117652_00000005-14a2-493b-8a72-5a3a0d000081", - "endpoint": "https://my-resource.communication.azure.com", - "headers": { - "Repeatability-Request-ID": "4e7d453c-ae97-4778-ad51-cb3b4a701100", - "Repeatability-First-Sent": "Sun, 10 Sep 2023 20:39:30 GMT" - } + "endpoint": "https://my-resource.communication.azure.com" }, "responses": { - "204": { - "headers": { - "Repeatability-Result": "accepted" - } - } + "204": {} } } From 8cf97324a67b80a99c9e380c3dbd4669fdae0eaa Mon Sep 17 00:00:00 2001 From: Daniel Hu Date: Fri, 14 Jul 2023 11:56:13 -0700 Subject: [PATCH 27/39] Update clientTYpe (#24503) --- .../preview/2023-07-01-preview/changes.json | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json index a2b0cf9b4943..c227106fe974 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json +++ b/specification/resources/resource-manager/Microsoft.Resources/preview/2023-07-01-preview/changes.json @@ -303,33 +303,7 @@ "clientType": { "description": "Client used to make the changes", "type": "string", - "readOnly": true, - "enum": [ - "CLI", - "Portal", - "SDK" - ], - "x-ms-enum": { - "name": "clientType", - "modelAsString": true, - "values": [ - { - "value": "CLI", - "description": "The change(s) were made through the Command Line Interface", - "name": "CLI" - }, - { - "value": "Portal", - "description": "The change(s) were made through the Portal", - "name": "Portal" - }, - { - "value": "SDK", - "description": "The change(s) were made through a Software Development Kit", - "name": "SDK" - } - ] - } + "readOnly": true }, "operation": { "description": "The Azure Resource Provider operation that was invoked to make the change(s). See [here](https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations) for a full list of possible values", From f4135efe6b75bb7bdd22e57414d2ca727a32583e Mon Sep 17 00:00:00 2001 From: Kalpesh Chavan <18593210+KalpeshChavan12@users.noreply.github.com> Date: Sat, 15 Jul 2023 02:16:51 +0530 Subject: [PATCH 28/39] [Hub Generated] Publish private branch 'dev-maintenance-Microsoft.Maintenance-2023-04-01' (#24048) * Revert "Revert "[Hub Generated] Publish private branch 'dev-maintenance-Microsoft.Maintenance-2023-04-01' (#23832)" (#23923)" This reverts commit e6c0e188a74d051a3a44728ce058e85447553392. * Removed 202 and Async supression. * Update documentation. * Updated documentation --------- Co-authored-by: Kalpesh Chavan --- .../stable/2023-04-01/Maintenance.json | 3034 +++++++++++++++++ .../ApplyUpdatesResourceGroup_List.json | 25 + .../examples/ApplyUpdates_CreateOrUpdate.json | 34 + .../ApplyUpdates_CreateOrUpdateParent.json | 36 + .../2023-04-01/examples/ApplyUpdates_Get.json | 24 + .../examples/ApplyUpdates_GetParent.json | 26 + .../examples/ApplyUpdates_List.json | 24 + ...nmentsForResourceGroup_CreateOrUpdate.json | 116 + ...ionAssignmentsForResourceGroup_Delete.json | 18 + ...rationAssignmentsForResourceGroup_Get.json | 46 + ...ntsForResourceGroup_UpdateForResource.json | 76 + ...nmentsForSubscriptions_CreateOrUpdate.json | 123 + ...ionAssignmentsForSubscriptions_Delete.json | 17 + ...rationAssignmentsForSubscriptions_Get.json | 45 + ...ntsForSubscriptions_UpdateForResource.json | 83 + ...ignmentsResultWithinSubscription_List.json | 24 + ...nfigurationAssignments_CreateOrUpdate.json | 40 + ...ationAssignments_CreateOrUpdateParent.json | 42 + .../ConfigurationAssignments_Delete.json | 21 + ...ConfigurationAssignments_DeleteParent.json | 23 + .../ConfigurationAssignments_Get.json | 24 + .../ConfigurationAssignments_GetParent.json | 26 + .../ConfigurationAssignments_List.json | 27 + .../ConfigurationAssignments_ListParent.json | 29 + ...nanceConfigurationsResourceGroup_List.json | 32 + ...figurations_CreateOrUpdateForResource.json | 63 + ...nanceConfigurations_DeleteForResource.json | 21 + ...ntenanceConfigurations_GetForResource.json | 29 + ...ions_GetForResource_GuestOSPatchLinux.json | 45 + ...ns_GetForResource_GuestOSPatchWindows.json | 44 + .../MaintenanceConfigurations_List.json | 31 + ...nanceConfigurations_UpdateForResource.json | 44 + .../2023-04-01/examples/Operations_List.json | 12 + ...ntenanceConfigurations_GetForResource.json | 28 + .../PublicMaintenanceConfigurations_List.json | 31 + .../2023-04-01/examples/Updates_List.json | 28 + .../examples/Updates_ListParent.json | 30 + .../resource-manager/readme.cli.md | 57 + .../maintenance/resource-manager/readme.md | 48 +- 39 files changed, 4525 insertions(+), 1 deletion(-) create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdatesResourceGroup_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdate.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdateParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_Get.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_GetParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Delete.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Get.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Delete.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Get.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsResultWithinSubscription_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdate.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdateParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Delete.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_DeleteParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Get.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_GetParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_ListParent.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurationsResourceGroup_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_DeleteForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_UpdateForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Operations_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_GetForResource.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_List.json create mode 100644 specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_ListParent.json diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json new file mode 100644 index 000000000000..f1763aea03eb --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/Maintenance.json @@ -0,0 +1,3034 @@ +{ + "swagger": "2.0", + "info": { + "version": "2023-04-01", + "title": "MaintenanceManagementClient", + "description": "Azure Maintenance Management Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations": { + "get": { + "tags": [ + "PublicMaintenanceConfigurations" + ], + "summary": "Get Public Maintenance Configuration records", + "operationId": "PublicMaintenanceConfigurations_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListMaintenanceConfigurationsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "PublicMaintenanceConfigurations_List": { + "$ref": "./examples/PublicMaintenanceConfigurations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}": { + "get": { + "tags": [ + "PublicMaintenanceConfigurations" + ], + "summary": "Get Public Maintenance Configuration record", + "operationId": "PublicMaintenanceConfigurations_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceName", + "in": "path", + "description": "Maintenance Configuration Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "PublicMaintenanceConfigurations_GetForResource": { + "$ref": "./examples/PublicMaintenanceConfigurations_GetForResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}": { + "get": { + "tags": [ + "ApplyUpdates" + ], + "summary": "Track Updates to resource with parent", + "description": "Track maintenance updates to resource with parent", + "operationId": "ApplyUpdates_GetParent", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "applyUpdateName", + "in": "path", + "description": "applyUpdate Id", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ApplyUpdates_GetParent": { + "$ref": "./examples/ApplyUpdates_GetParent.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}": { + "get": { + "tags": [ + "ApplyUpdates" + ], + "summary": "Track Updates to resource", + "description": "Track maintenance updates to resource", + "operationId": "ApplyUpdates_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "applyUpdateName", + "in": "path", + "description": "applyUpdate Id", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ApplyUpdates_Get": { + "$ref": "./examples/ApplyUpdates_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default": { + "put": { + "tags": [ + "ApplyUpdates" + ], + "summary": "Apply Updates to resource with parent", + "description": "Apply maintenance updates to resource with parent", + "operationId": "ApplyUpdates_CreateOrUpdateParent", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Apply-update update request accepted", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "201": { + "description": "Apply-update create request accepted", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ApplyUpdates_CreateOrUpdateParent": { + "$ref": "./examples/ApplyUpdates_CreateOrUpdateParent.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default": { + "put": { + "tags": [ + "ApplyUpdates" + ], + "summary": "Apply Updates to resource", + "description": "Apply maintenance updates to resource", + "operationId": "ApplyUpdates_CreateOrUpdate", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ApplyUpdate update request accepted", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "201": { + "description": "ApplyUpdate create request accepted", + "schema": { + "$ref": "#/definitions/ApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ApplyUpdates_CreateOrUpdate": { + "$ref": "./examples/ApplyUpdates_CreateOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Get configuration assignment", + "description": "Get configuration assignment for resource..", + "operationId": "ConfigurationAssignments_GetParent", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_GetParent": { + "$ref": "./examples/ConfigurationAssignments_GetParent.json" + } + } + }, + "put": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignments_CreateOrUpdateParent", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Configuration assignment update request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "201": { + "description": "Configuration assignment create request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_CreateOrUpdateParent": { + "$ref": "./examples/ConfigurationAssignments_CreateOrUpdateParent.json" + } + } + }, + "delete": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Unregister configuration for resource", + "description": "Unregister configuration for resource.", + "operationId": "ConfigurationAssignments_DeleteParent", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Unique configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_DeleteParent": { + "$ref": "./examples/ConfigurationAssignments_DeleteParent.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Get configuration assignment", + "description": "Get configuration assignment for resource..", + "operationId": "ConfigurationAssignments_Get", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_Get": { + "$ref": "./examples/ConfigurationAssignments_Get.json" + } + } + }, + "put": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Configuration assignment update request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "201": { + "description": "Configuration assignment create request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_CreateOrUpdate": { + "$ref": "./examples/ConfigurationAssignments_CreateOrUpdate.json" + } + } + }, + "delete": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Unregister configuration for resource", + "description": "Unregister configuration for resource.", + "operationId": "ConfigurationAssignments_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Unique configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_Delete": { + "$ref": "./examples/ConfigurationAssignments_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "List configurationAssignments for resource", + "description": "List configurationAssignments for resource.", + "operationId": "ConfigurationAssignments_ListParent", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListConfigurationAssignmentsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ConfigurationAssignments_ListParent": { + "$ref": "./examples/ConfigurationAssignments_ListParent.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "List configurationAssignments for resource", + "description": "List configurationAssignments for resource.", + "operationId": "ConfigurationAssignments_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListConfigurationAssignmentsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ConfigurationAssignments_List": { + "$ref": "./examples/ConfigurationAssignments_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}": { + "get": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Get Configuration record", + "operationId": "MaintenanceConfigurations_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Maintenance Configuration Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "MaintenanceConfigurations_GetForResource": { + "$ref": "./examples/MaintenanceConfigurations_GetForResource.json" + }, + "MaintenanceConfigurations_GetForResource_GuestOSPatchWindows": { + "$ref": "./examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json" + }, + "MaintenanceConfigurations_GetForResource_GuestOSPatchLinux": { + "$ref": "./examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json" + } + } + }, + "put": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Create or Update configuration record", + "operationId": "MaintenanceConfigurations_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Maintenance Configuration Name", + "required": true, + "type": "string" + }, + { + "name": "configuration", + "in": "body", + "description": "The configuration", + "required": true, + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Maintenance configuration update request accepted", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "201": { + "description": "Maintenance configuration create request accepted", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "MaintenanceConfigurations_CreateOrUpdateForResource": { + "$ref": "./examples/MaintenanceConfigurations_CreateOrUpdateForResource.json" + } + } + }, + "delete": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Delete Configuration record", + "operationId": "MaintenanceConfigurations_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Maintenance Configuration Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "MaintenanceConfigurations_DeleteForResource": { + "$ref": "./examples/MaintenanceConfigurations_DeleteForResource.json" + } + } + }, + "patch": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Patch configuration record", + "operationId": "MaintenanceConfigurations_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Maintenance Configuration Name", + "required": true, + "type": "string" + }, + { + "name": "configuration", + "in": "body", + "description": "The configuration", + "required": true, + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "MaintenanceConfigurations_UpdateForResource": { + "$ref": "./examples/MaintenanceConfigurations_UpdateForResource.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations": { + "get": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Get Configuration records within a subscription", + "operationId": "MaintenanceConfigurations_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListMaintenanceConfigurationsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "MaintenanceConfigurations_List": { + "$ref": "./examples/MaintenanceConfigurations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations": { + "get": { + "tags": [ + "MaintenanceConfigurations" + ], + "summary": "Get Configuration records within a subscription and resource group", + "operationId": "MaintenanceConfigurationsForResourceGroup_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListMaintenanceConfigurationsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "MaintenanceConfigurationsResourceGroup_List": { + "$ref": "./examples/MaintenanceConfigurationsResourceGroup_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates": { + "get": { + "tags": [ + "ApplyUpdate" + ], + "summary": "Get Configuration records within a subscription", + "operationId": "ApplyUpdates_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ApplyUpdates_List": { + "$ref": "./examples/ApplyUpdates_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Maintenance/applyUpdates": { + "get": { + "tags": [ + "ApplyUpdate" + ], + "summary": "Get Configuration records within a subscription and resource group", + "operationId": "ApplyUpdateForResourceGroup_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource Group Name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListApplyUpdate" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ApplyUpdatesResourceGroup_List": { + "$ref": "./examples/ApplyUpdatesResourceGroup_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Get configuration assignment within a subscription", + "operationId": "ConfigurationAssignmentsWithinSubscription_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListConfigurationAssignmentsResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ConfigurationAssignmentsResultWithinSubscription_List": { + "$ref": "./examples/ConfigurationAssignmentsResultWithinSubscription_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Get configuration assignment", + "description": "Get configuration assignment for resource..", + "operationId": "ConfigurationAssignmentsForSubscriptions_Get", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignments_GetParent": { + "$ref": "./examples/ConfigurationAssignmentsForSubscriptions_Get.json" + } + } + }, + "put": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignmentsForSubscriptions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Configuration assignment update request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "201": { + "description": "Configuration assignment create request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForSubscriptions_CreateOrUpdate": { + "$ref": "./examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignmentsForSubscriptions_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForSubscriptions_CreateOrUpdate": { + "$ref": "./examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json" + } + } + }, + "delete": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Unregister configuration for resource", + "description": "Unregister configuration for resource.", + "operationId": "ConfigurationAssignmentsForSubscriptions_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Unique configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForSubscriptions_Delete": { + "$ref": "./examples/ConfigurationAssignmentsForSubscriptions_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}": { + "get": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Get configuration assignment", + "description": "Get configuration assignment for resource..", + "operationId": "ConfigurationAssignmentsForResourceGroup_Get", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string", + "pattern": "^.+$" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForResourceGroup_Get": { + "$ref": "./examples/ConfigurationAssignmentsForResourceGroup_Get.json" + } + } + }, + "put": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignmentsForResourceGroup_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Configuration assignment update request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "201": { + "description": "Configuration assignment create request accepted", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForResourceGroup_CreateOrUpdate": { + "$ref": "./examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Create configuration assignment", + "description": "Register configuration for resource.", + "operationId": "ConfigurationAssignmentsForResourceGroup_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Configuration assignment name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignment", + "in": "body", + "description": "The configurationAssignment", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForResourceGroup_CreateOrUpdate": { + "$ref": "./examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json" + } + } + }, + "delete": { + "tags": [ + "ConfigurationAssignments" + ], + "summary": "Unregister configuration for resource", + "description": "Unregister configuration for resource.", + "operationId": "ConfigurationAssignmentsForResourceGroup_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "configurationAssignmentName", + "in": "path", + "description": "Unique configuration assignment name", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ConfigurationAssignment" + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-examples": { + "ConfigurationAssignmentsForResourceGroup_Delete": { + "$ref": "./examples/ConfigurationAssignmentsForResourceGroup_Delete.json" + } + } + } + }, + "/providers/Microsoft.Maintenance/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "List available operations", + "description": "List the available operations supported by the Microsoft.Maintenance resource provider", + "operationId": "Operations_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationsListResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates": { + "get": { + "tags": [ + "Updates" + ], + "summary": "Get Updates to resource", + "description": "Get updates to resources.", + "operationId": "Updates_ListParent", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceParentType", + "in": "path", + "description": "Resource parent type", + "required": true, + "type": "string" + }, + { + "name": "resourceParentName", + "in": "path", + "description": "Resource parent identifier", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUpdatesResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Updates_ListParent": { + "$ref": "./examples/Updates_ListParent.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates": { + "get": { + "tags": [ + "Updates" + ], + "summary": "Get Updates to resource", + "description": "Get updates to resources.", + "operationId": "Updates_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "Resource group name", + "required": true, + "type": "string" + }, + { + "name": "providerName", + "in": "path", + "description": "Resource provider name", + "required": true, + "type": "string" + }, + { + "name": "resourceType", + "in": "path", + "description": "Resource type", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Resource identifier", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUpdatesResult" + } + }, + "default": { + "description": "BadRequest", + "schema": { + "$ref": "#/definitions/MaintenanceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Updates_List": { + "$ref": "./examples/Updates_List.json" + } + } + } + } + }, + "definitions": { + "ApplyUpdateProperties": { + "description": "Properties for apply update", + "type": "object", + "properties": { + "status": { + "description": "The status", + "enum": [ + "Pending", + "InProgress", + "Completed", + "RetryNow", + "RetryLater" + ], + "type": "string", + "x-ms-enum": { + "name": "UpdateStatus", + "modelAsString": true, + "values": [ + { + "value": "Pending", + "description": "There are pending updates to be installed." + }, + { + "value": "InProgress", + "description": "Updates installation are in progress." + }, + { + "value": "Completed", + "description": "All updates are successfully applied." + }, + { + "value": "RetryNow", + "description": "Updates installation failed but are ready to retry again." + }, + { + "value": "RetryLater", + "description": "Updates installation failed and should be retried later." + } + ] + } + }, + "resourceId": { + "description": "The resourceId", + "type": "string" + }, + "lastUpdateTime": { + "format": "date-time", + "description": "Last Update time", + "type": "string" + } + } + }, + "Resource": { + "description": "Definition of a Resource", + "type": "object", + "properties": { + "id": { + "description": "Fully qualified identifier of the resource", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource", + "type": "string", + "readOnly": true + }, + "systemData": { + "readOnly": true, + "type": "object", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "x-ms-azure-resource": true + }, + "ApplyUpdate": { + "description": "Apply Update request", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ApplyUpdateProperties", + "description": "Properties of the apply update", + "x-ms-client-flatten": true + } + } + }, + "ListApplyUpdate": { + "description": "Response for ApplyUpdate list", + "type": "object", + "properties": { + "value": { + "description": "The list of apply updates", + "type": "array", + "items": { + "$ref": "#/definitions/ApplyUpdate" + } + } + } + }, + "ConfigurationAssignmentFilterProperties": { + "type": "object", + "description": "Azure query for the update configuration.", + "properties": { + "resourceTypes": { + "type": "array", + "description": "List of allowed resources.", + "items": { + "type": "string", + "description": "List of allowed resources" + } + }, + "resourceGroups": { + "type": "array", + "description": "List of allowed resource groups.", + "items": { + "type": "string", + "description": "List of allowed resource groups" + } + }, + "osTypes": { + "type": "array", + "description": "List of allowed operating systems.", + "items": { + "type": "string", + "description": "List of allowed operating systems" + } + }, + "locations": { + "type": "array", + "description": "List of locations to scope the query to.", + "items": { + "type": "string", + "description": "Location to scope the query to." + } + }, + "tagSettings": { + "type": "object", + "description": "Tag settings for the VM.", + "$ref": "#/definitions/TagSettingsProperties" + } + } + }, + "TagSettingsProperties": { + "type": "object", + "description": "Tag filter information for the VM.", + "properties": { + "tags": { + "type": "object", + "description": "Dictionary of tags with its list of values.", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "List of tag values for a tag." + } + } + }, + "filterOperator": { + "type": "string", + "description": "Filter VMs by Any or All specified tags.", + "enum": [ + "All", + "Any" + ], + "x-ms-enum": { + "name": "TagOperators", + "modelAsString": false + } + } + } + }, + "ConfigurationAssignmentProperties": { + "description": "Properties for configuration assignment", + "type": "object", + "properties": { + "maintenanceConfigurationId": { + "description": "The maintenance configuration Id", + "type": "string" + }, + "resourceId": { + "description": "The unique resourceId", + "type": "string" + }, + "filter": { + "$ref": "#/definitions/ConfigurationAssignmentFilterProperties", + "description": "Properties of the configuration assignment" + } + } + }, + "ConfigurationAssignment": { + "description": "Configuration Assignment", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "description": "Location of the resource", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/ConfigurationAssignmentProperties", + "description": "Properties of the configuration assignment", + "x-ms-client-flatten": true + } + } + }, + "ListConfigurationAssignmentsResult": { + "description": "Response for ConfigurationAssignments list", + "type": "object", + "properties": { + "value": { + "description": "The list of configuration Assignments", + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationAssignment" + } + } + } + }, + "MaintenanceWindow": { + "description": "Definition of a MaintenanceWindow", + "type": "object", + "properties": { + "startDateTime": { + "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.", + "type": "string" + }, + "expirationDateTime": { + "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.", + "type": "string" + }, + "duration": { + "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.", + "type": "string" + }, + "timeZone": { + "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.", + "type": "string" + }, + "recurEvery": { + "description": "Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.", + "type": "string" + } + } + }, + "MaintenanceConfigurationProperties": { + "description": "Properties for maintenance configuration", + "type": "object", + "properties": { + "namespace": { + "description": "Gets or sets namespace of the resource", + "type": "string" + }, + "extensionProperties": { + "description": "Gets or sets extensionProperties of the maintenanceConfiguration", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "maintenanceScope": { + "description": "Gets or sets maintenanceScope of the configuration", + "enum": [ + "Host", + "Resource", + "OSImage", + "Extension", + "InGuestPatch", + "SQLDB", + "SQLManagedInstance" + ], + "type": "string", + "x-ms-enum": { + "name": "MaintenanceScope", + "modelAsString": true, + "values": [ + { + "value": "Host", + "description": "This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs." + }, + { + "value": "Resource", + "description": "This maintenance scope controls the default update maintenance of the Azure Resource" + }, + { + "value": "OSImage", + "description": "This maintenance scope controls os image installation on VM/VMSS" + }, + { + "value": "Extension", + "description": "This maintenance scope controls extension installation on VM/VMSS" + }, + { + "value": "InGuestPatch", + "description": "This maintenance scope controls installation of windows and linux packages on VM/VMSS" + }, + { + "value": "SQLDB", + "description": "This maintenance scope controls installation of SQL server platform updates." + }, + { + "value": "SQLManagedInstance", + "description": "This maintenance scope controls installation of SQL managed instance platform update." + } + ] + } + }, + "maintenanceWindow": { + "$ref": "#/definitions/MaintenanceWindow", + "description": "Definition of a MaintenanceWindow", + "x-ms-client-flatten": true + }, + "visibility": { + "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'", + "enum": [ + "Custom", + "Public" + ], + "type": "string", + "x-ms-enum": { + "name": "Visibility", + "modelAsString": true, + "values": [ + { + "value": "Custom", + "description": "Only visible to users with permissions." + }, + { + "value": "Public", + "description": "Visible to all users." + } + ] + } + }, + "installPatches": { + "$ref": "#/definitions/InputPatchConfiguration", + "description": "The input parameters to be passed to the patch run operation." + } + } + }, + "InputPatchConfiguration": { + "type": "object", + "properties": { + "rebootSetting": { + "type": "string", + "enum": [ + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "RebootOptions", + "modelAsString": true + }, + "default": "IfRequired", + "description": "Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed." + }, + "windowsParameters": { + "$ref": "#/definitions/InputWindowsParameters", + "description": "Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property." + }, + "linuxParameters": { + "$ref": "#/definitions/InputLinuxParameters", + "description": "Input parameters specific to patching Linux machine. For Windows machines, do not pass this property." + } + }, + "description": "Input configuration for a patch run" + }, + "InputWindowsParameters": { + "type": "object", + "properties": { + "kbNumbersToExclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Windows KBID to be excluded for patching." + }, + "kbNumbersToInclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Windows KBID to be included for patching." + }, + "classificationsToInclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Classification category of patches to be patched" + }, + "excludeKbsRequiringReboot": { + "type": "boolean", + "description": "Exclude patches which need reboot" + } + }, + "description": "Input properties for patching a Windows machine." + }, + "InputLinuxParameters": { + "type": "object", + "properties": { + "packageNameMasksToExclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Package names to be excluded for patching." + }, + "packageNameMasksToInclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Package names to be included for patching." + }, + "classificationsToInclude": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Classification category of patches to be patched" + } + }, + "description": "Input properties for patching a Linux machine." + }, + "MaintenanceConfiguration": { + "description": "Maintenance configuration record type", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "description": "Gets or sets location of the resource", + "type": "string" + }, + "tags": { + "description": "Gets or sets tags of the resource", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/MaintenanceConfigurationProperties", + "description": "Gets or sets properties of the resource", + "x-ms-client-flatten": true + } + } + }, + "MaintenanceError": { + "description": "An error response received from the Azure Maintenance service.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDetails", + "description": "Details of the error" + } + } + }, + "ErrorDetails": { + "description": "An error response details received from the Azure Maintenance service.", + "type": "object", + "properties": { + "code": { + "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.", + "type": "string" + }, + "message": { + "description": "Human-readable representation of the error.", + "type": "string" + } + } + }, + "ListMaintenanceConfigurationsResult": { + "description": "Response for MaintenanceConfigurations list", + "type": "object", + "properties": { + "value": { + "description": "The list of maintenance Configurations", + "type": "array", + "items": { + "$ref": "#/definitions/MaintenanceConfiguration" + } + } + } + }, + "OperationsListResult": { + "description": "Result of the List Operations operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of operations", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "Operation": { + "description": "Represents an operation returned by the GetOperations request", + "type": "object", + "properties": { + "name": { + "description": "Name of the operation", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationInfo", + "description": "Display name of the operation" + }, + "origin": { + "description": "Origin of the operation", + "type": "string" + }, + "properties": { + "description": "Properties of the operation", + "type": "object", + "x-ms-client-flatten": true + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + } + } + }, + "OperationInfo": { + "description": "Information about an operation", + "type": "object", + "properties": { + "provider": { + "description": "Name of the provider", + "type": "string" + }, + "resource": { + "description": "Name of the resource type", + "type": "string" + }, + "operation": { + "description": "Name of the operation", + "type": "string" + }, + "description": { + "description": "Description of the operation", + "type": "string" + } + } + }, + "ListUpdatesResult": { + "description": "Response for Updates list", + "type": "object", + "properties": { + "value": { + "description": "The pending updates", + "type": "array", + "items": { + "$ref": "#/definitions/Update" + }, + "x-ms-identifiers": [] + } + } + }, + "Update": { + "description": "Maintenance update on a resource", + "type": "object", + "properties": { + "maintenanceScope": { + "description": "The impact area", + "enum": [ + "Host", + "Resource", + "OSImage", + "Extension", + "InGuestPatch", + "SQLDB", + "SQLManagedInstance" + ], + "type": "string", + "x-ms-enum": { + "name": "MaintenanceScope", + "modelAsString": true, + "values": [ + { + "value": "Host", + "description": "This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs." + }, + { + "value": "Resource", + "description": "This maintenance scope controls the default update maintenance of the Azure Resource" + }, + { + "value": "OSImage", + "description": "This maintenance scope controls os image installation on VM/VMSS" + }, + { + "value": "Extension", + "description": "This maintenance scope controls extension installation on VM/VMSS" + }, + { + "value": "InGuestPatch", + "description": "This maintenance scope controls installation of windows and linux packages on VM/VMSS" + }, + { + "value": "SQLDB", + "description": "This maintenance scope controls installation of SQL server platform updates." + }, + { + "value": "SQLManagedInstance", + "description": "This maintenance scope controls installation of SQL managed instance platform update." + } + ] + } + }, + "impactType": { + "description": "The impact type", + "enum": [ + "None", + "Freeze", + "Restart", + "Redeploy" + ], + "type": "string", + "x-ms-enum": { + "name": "ImpactType", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Pending updates has no impact on resource." + }, + { + "value": "Freeze", + "description": "Pending updates can freeze network or disk io operation on resource." + }, + { + "value": "Restart", + "description": "Pending updates can cause resource to restart." + }, + { + "value": "Redeploy", + "description": "Pending updates can redeploy resource." + } + ] + } + }, + "status": { + "description": "The status", + "enum": [ + "Pending", + "InProgress", + "Completed", + "RetryNow", + "RetryLater" + ], + "type": "string", + "x-ms-enum": { + "name": "UpdateStatus", + "modelAsString": true, + "values": [ + { + "value": "Pending", + "description": "There are pending updates to be installed." + }, + { + "value": "InProgress", + "description": "Updates installation are in progress." + }, + { + "value": "Completed", + "description": "All updates are successfully applied." + }, + { + "value": "RetryNow", + "description": "Updates installation failed but are ready to retry again." + }, + { + "value": "RetryLater", + "description": "Updates installation failed and should be retried later." + } + ] + } + }, + "impactDurationInSec": { + "format": "int32", + "description": "Duration of impact in seconds", + "type": "integer" + }, + "notBefore": { + "format": "date-time", + "description": "Time when Azure will start force updates if not self-updated by customer before this time", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/UpdateProperties", + "description": "Properties of the apply update", + "x-ms-client-flatten": true + } + } + }, + "UpdateProperties": { + "description": "Properties for update", + "type": "object", + "properties": { + "resourceId": { + "description": "The resourceId", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Version of the API to be used with the client request.", + "required": true, + "type": "string", + "x-ms-parameter-location": "client" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdatesResourceGroup_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdatesResourceGroup_List.json new file mode 100644 index 000000000000..cd68c3164dd9 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdatesResourceGroup_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Maintenance", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", + "status": "Completed" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdate.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdate.json new file mode 100644 index 000000000000..033b3b9c6c46 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdate.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", + "status": "Pending" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", + "status": "Pending" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdateParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdateParent.json new file mode 100644 index 000000000000..a001eb591eda --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_CreateOrUpdateParent.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdvm1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1", + "status": "Pending" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1", + "status": "Pending" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_Get.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_Get.json new file mode 100644 index 000000000000..d09ac9b2d231 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "applyUpdateName": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", + "status": "Completed" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_GetParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_GetParent.json new file mode 100644 index 000000000000..b1b99728c9c5 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_GetParent.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdvm1", + "applyUpdateName": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1", + "status": "Completed" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_List.json new file mode 100644 index 000000000000..063401144973 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ApplyUpdates_List.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "providerName": "Microsoft.Maintenance", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/applyUpdates/e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "name": "e9b9685d-78e4-44c4-a81c-64a14f9b87b6", + "type": "Microsoft.Maintenance/applyUpdates", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1", + "status": "Completed" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json new file mode 100644 index 000000000000..2734f84cedf5 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg", + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "osTypes": [ + "Windows", + "Linux" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg", + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Delete.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Delete.json new file mode 100644 index 000000000000..269edc997f02 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments" + } + }, + "204": {} + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Get.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Get.json new file mode 100644 index 000000000000..b1e6d6dd32f3 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_Get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json new file mode 100644 index 000000000000..cb3f11dabc9c --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json new file mode 100644 index 000000000000..eb829877dc09 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "resourceGroups": [ + "RG1", + "RG2" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "resourceGroups": [ + "RG1", + "RG2" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "resourceGroups": [ + "RG1", + "RG2" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Delete.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Delete.json new file mode 100644 index 000000000000..fa8610c3c11c --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Delete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments" + } + }, + "204": {} + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Get.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Get.json new file mode 100644 index 000000000000..e967df973f8e --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_Get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "All" + }, + "locations": [ + "Japan East", + "UK South" + ] + }, + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json new file mode 100644 index 000000000000..466240c709cc --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "resourceGroups": [ + "RG1", + "RG2" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "filter": { + "resourceTypes": [ + "Microsoft.HybridCompute/machines", + "Microsoft.Compute/virtualMachines" + ], + "resourceGroups": [ + "RG1", + "RG2" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2", + "tag1Value3" + ], + "tag2": [ + "tag2Value1", + "tag2Value2", + "tag2Value3" + ] + }, + "filterOperator": "Any" + }, + "locations": [ + "Japan East", + "UK South" + ] + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsResultWithinSubscription_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsResultWithinSubscription_List.json new file mode 100644 index 000000000000..4d8553b74212 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignmentsResultWithinSubscription_List.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "providerName": "Microsoft.Maintenance", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdate.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdate.json new file mode 100644 index 000000000000..e1a48bb1df9a --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdateParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdateParent.json new file mode 100644 index 000000000000..90379b5f9355 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_CreateOrUpdateParent.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdvm1", + "configurationAssignmentName": "workervmPolicy", + "api-version": "2023-04-01", + "configurationAssignment": { + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", + "name": "workervmPolicy", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", + "name": "workervmPolicy", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Delete.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Delete.json new file mode 100644 index 000000000000..a85db48b8f6b --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Delete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments" + } + }, + "204": {} + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_DeleteParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_DeleteParent.json new file mode 100644 index 000000000000..b908aac66f4b --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_DeleteParent.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdvm1", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments" + } + }, + "204": {} + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Get.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Get.json new file mode 100644 index 000000000000..901fd7a6c61c --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "configurationAssignmentName": "workervmConfiguration", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_GetParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_GetParent.json new file mode 100644 index 000000000000..f86089fa0766 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_GetParent.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdvm1", + "configurationAssignmentName": "workervmPolicy", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", + "name": "workervmPolicy", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdvm1" + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_List.json new file mode 100644 index 000000000000..6f04597d4763 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/providers/Microsoft.Maintenance/configurationAssignments/workervmConfiguration", + "name": "workervmConfiguration", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_ListParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_ListParent.json new file mode 100644 index 000000000000..7a21a5852970 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/ConfigurationAssignments_ListParent.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "smdtestvm1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdtestvm1/providers/Microsoft.Maintenance/configurationAssignments/workervmPolicy", + "name": "workervmPolicy", + "type": "Microsoft.Maintenance/configurationAssignments", + "properties": { + "maintenanceConfigurationId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/policy1", + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/smdtestvm1" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurationsResourceGroup_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurationsResourceGroup_List.json new file mode 100644 index 000000000000..7f19b3dff9ab --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurationsResourceGroup_List.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "OSImage", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Week Saturday,Sunday" + } + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json new file mode 100644 index 000000000000..101c9375b0cf --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "configuration1", + "api-version": "2023-04-01", + "configuration": { + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "visibility": "Custom", + "maintenanceScope": "OSImage", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Day" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "visibility": "Custom", + "maintenanceScope": "OSImage", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Day" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "visibility": "Custom", + "maintenanceScope": "OSImage", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Day" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_DeleteForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_DeleteForResource.json new file mode 100644 index 000000000000..b542151adb94 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_DeleteForResource.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "example1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance" + } + } + }, + "204": {} + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource.json new file mode 100644 index 000000000000..469d307bcf79 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "configuration1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "OSImage", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "5Days" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json new file mode 100644 index 000000000000..cb34ac5c9869 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "configuration1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "InGuestPatch", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "5Days" + }, + "installPatches": { + "linuxParameters": { + "classificationsToInclude": [ + "Critical" + ], + "packageNameMasksToExclude": [ + "apt", + "http" + ], + "packageNameMasksToInclude": [ + "binutils", + "bin" + ] + }, + "rebootSetting": "Always" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json new file mode 100644 index 000000000000..381f3a0f9eef --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "configuration1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "InGuestPatch", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "5Days" + }, + "installPatches": { + "windowsParameters": { + "classificationsToInclude": [ + "Security" + ], + "kbNumbersToInclude": [ + "KB123456" + ], + "kbNumbersToExclude": [ + "KB234567" + ], + "excludeKbsRequiringReboot": false + }, + "rebootSetting": "Always" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_List.json new file mode 100644 index 000000000000..d05c74071df8 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "OSImage", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Week Saturday,Sunday" + } + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_UpdateForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_UpdateForResource.json new file mode 100644 index 000000000000..e9055dfafa0d --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/MaintenanceConfigurations_UpdateForResource.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "resourceName": "configuration1", + "api-version": "2023-04-01", + "configuration": { + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "visibility": "Custom", + "maintenanceScope": "OSImage", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Month Third Sunday" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "OSImage", + "visibility": "Custom", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Month Third Sunday" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Operations_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Operations_List.json new file mode 100644 index 000000000000..77c3ae6d7e29 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Operations_List.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_GetForResource.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_GetForResource.json new file mode 100644 index 000000000000..03b7d9387f4a --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_GetForResource.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceName": "configuration1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "SQLDB", + "visibility": "Public", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00", + "expirationDateTime": "9999-12-31 00:00", + "duration": "05:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "2Weeks" + } + } + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_List.json new file mode 100644 index 000000000000..9582630da1ca --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/PublicMaintenanceConfigurations_List.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/configuration1", + "name": "configuration1", + "location": "westus2", + "properties": { + "namespace": "Microsoft.Maintenance", + "maintenanceScope": "SQLDB", + "visibility": "Public", + "maintenanceWindow": { + "startDateTime": "2020-04-30 08:00:00", + "expirationDateTime": "9999-12-31 00:00:00", + "duration": "05:00:00", + "timeZone": "Pacific Standard Time", + "recurEvery": "Week Saturday,Sunday" + } + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_List.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_List.json new file mode 100644 index 000000000000..47d012abf1f6 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceType": "virtualMachineScaleSets", + "resourceName": "smdtest1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "maintenanceScope": "Resource", + "status": "Pending", + "impactType": "Reboot", + "impactDurationInSec": 1440, + "notBefore": "2018-10-09T06:17:44.235Z", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_ListParent.json b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_ListParent.json new file mode 100644 index 000000000000..803de75968f0 --- /dev/null +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/stable/2023-04-01/examples/Updates_ListParent.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerName": "Microsoft.Compute", + "resourceParentType": "virtualMachineScaleSets", + "resourceParentName": "smdtest1", + "resourceType": "virtualMachines", + "resourceName": "1", + "api-version": "2023-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "maintenanceScope": "Resource", + "status": "Pending", + "impactType": "Reboot", + "impactDurationInSec": 1440, + "notBefore": "2018-10-09T06:17:44.235Z", + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Compute/virtualMachineScaleSets/smdtest1/virtualMachines/1" + } + } + ] + } + } + } +} diff --git a/specification/maintenance/resource-manager/readme.cli.md b/specification/maintenance/resource-manager/readme.cli.md index 0327c7451143..784dfcef420a 100644 --- a/specification/maintenance/resource-manager/readme.cli.md +++ b/specification/maintenance/resource-manager/readme.cli.md @@ -6,4 +6,61 @@ These settings apply only when `--cli` is specified on the command line. cli: namespace: azure.mgmt.maintenance flatten-all: true + cli-directive: + - select: 'operationGroup' + where: + operationGroup: 'ApplyUpdateForResourceGroup' + hidden: true + - where: + operationGroup: 'MaintenanceConfigurationsForResourceGroup' + hidden: true + - where: + operationGroup: 'ConfigurationAssignmentsWithinSubscription' + hidden: true + - select: 'parameter' + where: + parameter: duration + alias: + - maintenance-window-duration + - duration + - where: + parameter: 'expirationDateTime' + alias: + - maintenance-window-expiration-date-time + - expiration-date-time + - where: + parameter: 'recurEvery' + alias: + - maintenance-window-recur-every + - recur-every + - where: + param: startDateTime + alias: + - maintenance-window-start-date-time + - start-date-time + - where: + param: timeZone + alias: + - maintenance-window-time-zone + - time-zone + - where: + param: linuxParameters + alias: + - install-patches-linux-parameters + - linux-parameters + - where: + param: windowsParameters + alias: + - install-patches-windows-parameters + - windows-parameters + - where: + param: postTasks + alias: + - install-patches-post-tasks + - post-tasks + - where: + param: preTasks + alias: + - install-patches-pre-tasks + - pre-tasks ``` diff --git a/specification/maintenance/resource-manager/readme.md b/specification/maintenance/resource-manager/readme.md index 44bc36144a1f..55543b41196c 100644 --- a/specification/maintenance/resource-manager/readme.md +++ b/specification/maintenance/resource-manager/readme.md @@ -26,9 +26,17 @@ These are the global settings for the Azure Maintenance API. ``` yaml openapi-type: arm -tag: package-preview-2022-11 +tag: package-2023-04 ``` +### Tag: package-2023-04 + +These settings apply only when `--tag=package-2023-04` is specified on the command line. + +```yaml $(tag) == 'package-2023-04' +input-file: + - Microsoft.Maintenance/stable/2023-04-01/Maintenance.json +``` ### Tag: package-preview-2022-11 @@ -38,6 +46,7 @@ These settings apply only when `--tag=package-preview-2022-11` is specified on t input-file: - Microsoft.Maintenance/preview/2022-11-01-preview/Maintenance.json ``` + ### Tag: package-preview-2022-07 These settings apply only when `--tag=package-preview-2022-07` is specified on the command line. @@ -146,3 +155,40 @@ See configuration in [readme.go.md](./readme.go.md) ## Java See configuration in [readme.java.md](./readme.java.md) + +### Suppression + +``` yaml +directive: + - suppress: PathForPutOperation + from: maintenance.json + reason: False postive. ConfigurationAssignments is proxy resource. + - suppress: DeleteResponseBodyEmpty + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: PathContainsResourceType + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: PathContainsResourceType + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: TrackedResourcePatchOperation + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: SubscriptionsAndResourceGroupCasing + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: UnSupportedPatchProperties + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: PathResourceProviderNamePascalCase + from: maintenance.json + reason: Suppression warning to avoid breaking changes + - suppress: RequestSchemaForTrackedResourcesMustHaveTags + from: maintenance.json + reason: False positive. ConfigurationAssignments is proxy resource at subscription/resourceGroup level. + - suppress: ResourceNameRestriction + from: maintenance.json + reason: Maintenance RP accept any string, no special restriction required. +``` + From de951540ca592b1fdb0ce521cb9979339d76fd1d Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Fri, 14 Jul 2023 16:03:53 -0700 Subject: [PATCH 29/39] [package-lock.json] Add names to local dependencies (#24846) - Command "npm update" removes these names, but "npm install" adds them - It's probably better to keep the names, since users are more likely to run "npm install" --- package-lock.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index 9643beae92ae..ffb7ecef3ae6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,6 +30,7 @@ } }, "eng/tools": { + "name": "azure-rest-api-specs-eng-tools", "dev": true, "devDependencies": { "@azure-tools/typespec-validation": "file:TypeSpecValidation" @@ -42,6 +43,7 @@ "dev": true }, "eng/tools/TypeSpecValidation": { + "name": "@azure-tools/typespec-validation", "version": "0.0.1", "dev": true, "hasInstallScript": true, From 2ec9039692f4e21d2a10436328c67a8eba9eae11 Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Fri, 14 Jul 2023 16:29:34 -0700 Subject: [PATCH 30/39] Update ci-fix.md: add API Doc Preview TSG (#24843) * Update ci-fix.md: add API Doc Preview TSG --- documentation/ci-fix.md | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/documentation/ci-fix.md b/documentation/ci-fix.md index 43ff29d46c02..c65ccb876f7e 100644 --- a/documentation/ci-fix.md +++ b/documentation/ci-fix.md @@ -73,17 +73,20 @@ Or you can run it in [OpenAPI Hub](https://portal.azure-devex-tools.com/tools/st Refer to [Semantic and Model Violations Reference](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md) for detailed description of validations and how-to-fix guidance. ## Breaking Change Check + - An API contract is identified by its api-version value. Once published, no changes to this API contract are allowed. This applies regardless of whether the API contract is for private preview, public preview, or GA (stable). - The same-version breaking change linter rules check for changes to an existing api-version swagger. -- When introducing a new API contract (preview or not), the new API contract must be backwards compatible with the previous GA’s API contract. - - However, during a (private or public) preview cycle, a new preview API contract does not have to be backwards compatible with the previous preview API contract although it must still be backwards compatible with the latest GA API contract. - - The cross version breaking change linter rules checks for this by comparing the new swagger with the latest GA swagger. If there is no latest GA swagger, then the latest preview if it > 1 year old. If nether a GA or preview > 1 year old exists, then the swagger is considered good. + - When introducing a new API contract (preview or not), the new API contract must be backwards compatible with the previous GA’s API contract. + - However, during a (private or public) preview cycle, a new preview API contract does not have to be backwards compatible with the previous preview API contract although it must still be backwards compatible with the latest GA API contract. + - The cross version breaking change linter rules checks for this by comparing the new swagger with the latest GA swagger. If there is no latest GA swagger, then the latest preview if it > 1 year old. If nether a GA or preview > 1 year old exists, then the swagger is considered good. + +### Adding label on PR automatically -### adding label on PR automatically The breaking change check has two types of violations: one is breaking change in the same version but not breaking change in a new version, the other is breaking change even in a new version. -For the former, a label 'NewApiVersionRequired' will be added automatically; For the latter , a label 'BreakingChangeReviewRequired' will be added automatically. Adding each label will trigger a github comment with guildance on how to fix. +For the former, a label 'NewApiVersionRequired' will be added automatically; For the latter, a label 'BreakingChangeReviewRequired' will be added automatically. Adding each label will trigger a github comment with guildance on how to fix. + +### Run locally -### run locally run oad locally (the breaking change is reported by oad tool): ``` npm install -g @azure/oad @@ -129,6 +132,15 @@ To fix this CI check failure, if you haven't got ARM signed off, pls get ARM sig NOTE: If your RP is RPaaS RP, since RPaaS requires swagger merge first. In this case, you could ignore this CI check. +## API Doc Preview + +If you see `Swagger ApiDocPreview ` check fail with a failure [like this one](https://github.com/Azure/azure-rest-api-specs/pull/24841/checks?check_run_id=15056283615): + +| Rule | Message | +|-|-| +| ❌ RestBuild error | "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=373646&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"Run.ps1 failed with exit code 1 " | + +Then refer to [this TSG](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/79/Generation-of-docs-on-learn.microsoft.com?anchor=%22swagger-apidocpreview%22-build-is-failing). ## Service API Readiness Test @@ -147,6 +159,7 @@ To fix the check, download the artifact `api_scenario_test_output` from Azure pi This validator is to ensure the TypeSpec & swagger files in PR are consistent and passing validation. ### How to fix + | Error Code |Severity |Solution | |---|---|---| |MissingTypeSpecFile| Error |Adding the related TypeSpec project into {RP-Name} folder, like [Qumulo.Manaement](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/liftrqumulo/Qumulo.Management)| @@ -163,6 +176,7 @@ See [typespec-autorest](https://azure.github.io/typespec-azure/docs/emitters/typ This validator generates traffic for all operations defined in Swagger files under default tag of readme.md by using [RESTler](https://github.com/microsoft/restler-fuzzer). Then, it validates the request and response pairs from the traffic against the corresponding Swagger definitions. Finally, it provides an html report that reports the Swagger accuracy. ### How to understand and improve the report + Please refer to [swagger-accuracy-report](./swagger-accuracy-report.md). ## Suppression Process From 3731ac6150dcb22856183e9f1ca49eb912459f83 Mon Sep 17 00:00:00 2001 From: kashyap-kunal <72463758+kashyap-kunal@users.noreply.github.com> Date: Sat, 15 Jul 2023 06:25:05 +0530 Subject: [PATCH 31/39] Remove unsupported SQL Pool Rename/move operation (#24517) --- .../examples/RenameSqlPool.json | 15 ---- .../preview/2021-04-01-preview/sqlPool.json | 70 ------------------- .../examples/RenameSqlPool.json | 15 ---- .../preview/2021-06-01-preview/sqlPool.json | 70 ------------------- .../2020-12-01/examples/RenameSqlPool.json | 15 ---- .../stable/2020-12-01/sqlPool.json | 70 ------------------- .../2021-03-01/examples/RenameSqlPool.json | 15 ---- .../stable/2021-03-01/sqlPool.json | 70 ------------------- .../2021-05-01/examples/RenameSqlPool.json | 15 ---- .../stable/2021-05-01/sqlPool.json | 70 ------------------- .../2021-06-01/examples/RenameSqlPool.json | 15 ---- .../stable/2021-06-01/sqlPool.json | 70 ------------------- 12 files changed, 510 deletions(-) delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RenameSqlPool.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/examples/RenameSqlPool.json deleted file mode 100644 index e1dae41e3ce8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2021-04-01-preview", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json index 168d541a900e..d1a36e297ea3 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-04-01-preview/sqlPool.json @@ -459,63 +459,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./workspace.json#/parameters/workspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7010,19 +6953,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/RenameSqlPool.json deleted file mode 100644 index b7519b0e531c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2021-06-01-preview", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 62624676e6f1..b0e640901a93 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -467,63 +467,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7209,19 +7152,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/examples/RenameSqlPool.json deleted file mode 100644 index 2768b040293c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2020-12-01", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json index 194fbfdeb7dd..990ddb87d16f 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2020-12-01/sqlPool.json @@ -459,63 +459,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./workspace.json#/parameters/workspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7006,19 +6949,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/RenameSqlPool.json deleted file mode 100644 index 1b5bd10ceab8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2021-03-01", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json index 50d955f008ae..5865e74fc882 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-03-01/sqlPool.json @@ -459,63 +459,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./workspace.json#/parameters/workspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7009,19 +6952,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/examples/RenameSqlPool.json deleted file mode 100644 index 5e5bd131cd20..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2021-05-01", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json index c9a6d2349ce8..133b991eb51a 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-05-01/sqlPool.json @@ -459,63 +459,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./workspace.json#/parameters/workspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7009,19 +6952,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RenameSqlPool.json deleted file mode 100644 index 56b14cd3222d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2021-06-01", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json index fac49e9463cb..61512fc37b56 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/sqlPool.json @@ -467,63 +467,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { "get": { "operationId": "SqlPoolMetadataSyncConfigs_Get", @@ -7131,19 +7074,6 @@ } } }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, "CreateSqlPoolRestorePointDefinition": { "description": "Contains the information necessary to perform a create Sql pool restore point operation.", "required": [ From be5b50d6e6c51ac9745c7286c5ef8299b8fb0d03 Mon Sep 17 00:00:00 2001 From: ishanjindalms <96572678+ishanjindalms@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:18:57 +0530 Subject: [PATCH 32/39] Updated text for property isSoftDeleteFeatureStateEditable (#24713) --- .../Microsoft.RecoveryServices/stable/2023-02-01/bms.json | 2 +- .../Microsoft.RecoveryServices/stable/2023-04-01/bms.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json index d5561fec56dd..0f937f43d9ff 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-02-01/bms.json @@ -9666,7 +9666,7 @@ } }, "isSoftDeleteFeatureStateEditable": { - "description": "Is soft delete feature state editable", + "description": "This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault", "type": "boolean" } } diff --git a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/bms.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/bms.json index cd7aed8b12d4..258910690d9a 100644 --- a/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/bms.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/bms.json @@ -9674,7 +9674,7 @@ } }, "isSoftDeleteFeatureStateEditable": { - "description": "Is soft delete feature state editable", + "description": "This flag is no longer in use. Please use 'softDeleteFeatureState' to set the soft delete state for the vault", "type": "boolean" } } From ecd50b8be213771c24038312b827dd497c4956cc Mon Sep 17 00:00:00 2001 From: athulvijayanmsft <134380821+athulvijayanmsft@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:21:26 +0530 Subject: [PATCH 33/39] Updating folder structure for Microsoft.Migrate (#24550) * folders restructure and update readme * revert removed offazure in readme --- .../examples/AssessedMachines_Get.json | 0 .../AssessedMachines_ListByAssessment.json | 0 .../examples/Assessments_Create.json | 0 .../examples/Assessments_Delete.json | 0 .../examples/Assessments_Get.json | 0 .../Assessments_GetReportDownloadUrl.json | 0 .../examples/Assessments_ListByGroup.json | 0 .../examples/Assessments_ListByProject.json | 0 .../examples/Groups_Create.json | 0 .../examples/Groups_Delete.json | 0 .../examples/Groups_Get.json | 0 .../examples/Groups_ListByProject.json | 0 .../examples/Machines_Get.json | 0 .../examples/Machines_ListByProject.json | 0 .../examples/Operations_List.json | 0 .../examples/Projects_Create.json | 0 .../examples/Projects_Delete.json | 0 .../examples/Projects_Get.json | 0 .../examples/Projects_GetKeys.json | 0 .../examples/Projects_List.json | 0 .../examples/Projects_Update.json | 0 .../preview/2017-11-11-preview/migrate.json | 0 .../examples/AssessedMachines_Get.json | 0 .../AssessedMachines_ListByAssessment.json | 0 .../examples/AssessmentOptions_Get.json | 0 .../examples/Assessments_Create.json | 0 .../examples/Assessments_Delete.json | 0 .../2018-02-02/examples/Assessments_Get.json | 0 .../Assessments_GetReportDownloadUrl.json | 0 .../examples/Assessments_ListByGroup.json | 0 .../examples/Assessments_ListByProject.json | 0 .../2018-02-02/examples/Groups_Create.json | 0 .../2018-02-02/examples/Groups_Delete.json | 0 .../2018-02-02/examples/Groups_Get.json | 0 .../examples/Groups_ListByProject.json | 0 ...onCheckNameAvailability_AlreadyExists.json | 0 ...cationCheckNameAvailability_Available.json | 0 .../2018-02-02/examples/Machines_Get.json | 0 .../examples/Machines_ListByProject.json | 0 .../2018-02-02/examples/Operations_List.json | 0 .../examples/ProjectsInSubscription_List.json | 0 .../2018-02-02/examples/Projects_Create.json | 0 .../2018-02-02/examples/Projects_Delete.json | 0 .../2018-02-02/examples/Projects_Get.json | 0 .../2018-02-02/examples/Projects_GetKeys.json | 0 .../2018-02-02/examples/Projects_List.json | 0 .../2018-02-02/examples/Projects_Update.json | 0 .../stable/2018-02-02/migrate.json | 0 .../examples/AssessedMachines_Get.json | 0 .../AssessedMachines_ListByAssessment.json | 0 .../examples/AssessmentOptions_Get.json | 0 .../examples/AssessmentOptions_List.json | 0 .../examples/Assessments_Create.json | 0 .../examples/Assessments_Delete.json | 0 .../2019-10-01/examples/Assessments_Get.json | 0 .../Assessments_GetReportDownloadUrl.json | 0 .../examples/Assessments_ListByGroup.json | 0 .../examples/Assessments_ListByProject.json | 0 .../2019-10-01/examples/Groups_Create.json | 0 .../2019-10-01/examples/Groups_Delete.json | 0 .../2019-10-01/examples/Groups_Get.json | 0 .../examples/Groups_ListByProject.json | 0 .../examples/Groups_UpdateMachines.json | 0 .../examples/HyperVCollectors_Create.json | 0 .../examples/HyperVCollectors_Delete.json | 0 .../examples/HyperVCollectors_Get.json | 0 .../HyperVCollectors_ListByProject.json | 0 .../examples/ImportCollectors_Create.json | 0 .../examples/ImportCollectors_Delete.json | 0 .../examples/ImportCollectors_Get.json | 0 .../ImportCollectors_ListByProject.json | 0 .../2019-10-01/examples/Machines_Get.json | 0 .../examples/Machines_ListByProject.json | 0 .../2019-10-01/examples/Operations_List.json | 0 .../PrivateEndpointConnections_Create.json | 0 .../PrivateEndpointConnections_Delete.json | 0 .../PrivateEndpointConnections_Get.json | 0 ...vateEndpointConnections_ListByProject.json | 0 .../examples/PrivateLinkResources_Get.json | 0 .../PrivateLinkResources_ListByProject.json | 0 .../examples/ProjectsInSubscription_List.json | 0 .../2019-10-01/examples/Projects_Create.json | 0 .../2019-10-01/examples/Projects_Delete.json | 0 .../2019-10-01/examples/Projects_Get.json | 0 .../2019-10-01/examples/Projects_List.json | 0 .../2019-10-01/examples/Projects_Update.json | 0 .../examples/ServerCollectors_Create.json | 0 .../examples/ServerCollectors_Delete.json | 0 .../examples/ServerCollectors_Get.json | 0 .../ServerCollectors_ListByProject.json | 0 .../examples/VMwareCollectors_Create.json | 0 .../examples/VMwareCollectors_Delete.json | 0 .../examples/VMwareCollectors_Get.json | 0 .../VMwareCollectors_ListByProject.json | 0 .../stable/2019-10-01/migrate.json | 0 .../2020-05-01/examples/Operations_List.json | 0 .../PrivateEndpointConnection_Get.json | 0 .../PrivateEndpointConnections_Create.json | 0 .../PrivateEndpointConnections_Delete.json | 0 ...vateEndpointConnections_ListByProject.json | 0 .../examples/PrivateLinkResources_Get.json | 0 .../PrivateLinkResources_ListByProject.json | 0 .../examples/migrateProject_Create.json | 0 .../examples/migrateProject_Delete.json | 0 .../examples/migrateProject_Get.json | 0 .../examples/migrateProject_Patch.json | 0 .../migrateProjectsInSubscription_List.json | 0 .../examples/migrateProjects_List.json | 0 .../stable/2020-05-01/hubmigrate.json | 0 .../DeployedResource_Get_MaximumSet_Gen.json | 0 .../DeployedResource_Get_MinimumSet_Gen.json | 0 .../DeployedResource_List_MaximumSet_Gen.json | 0 .../DeployedResource_List_MinimumSet_Gen.json | 0 ...entOperationStatus_Get_MaximumSet_Gen.json | 0 ...entOperationStatus_Get_MinimumSet_Gen.json | 0 .../MigrateAgent_Create_MaximumSet_Gen.json | 0 .../MigrateAgent_Create_MinimumSet_Gen.json | 0 .../MigrateAgent_Delete_MaximumSet_Gen.json | 0 .../MigrateAgent_Delete_MinimumSet_Gen.json | 0 .../MigrateAgent_Get_MaximumSet_Gen.json | 0 .../MigrateAgent_Get_MinimumSet_Gen.json | 0 .../MigrateAgent_List_MaximumSet_Gen.json | 0 .../MigrateAgent_List_MinimumSet_Gen.json | 0 .../MigrateAgent_Refresh_MaximumSet_Gen.json | 0 .../MigrateAgent_Refresh_MinimumSet_Gen.json | 0 ...ectOperationStatus_Get_MaximumSet_Gen.json | 0 ...ectOperationStatus_Get_MinimumSet_Gen.json | 0 ...eProjectStatistics_Get_MaximumSet_Gen.json | 0 ...eProjectStatistics_Get_MinimumSet_Gen.json | 0 ...odernizeProject_Create_MaximumSet_Gen.json | 0 ...odernizeProject_Create_MinimumSet_Gen.json | 0 ...odernizeProject_Delete_MaximumSet_Gen.json | 0 ...odernizeProject_Delete_MinimumSet_Gen.json | 0 .../ModernizeProject_Get_MaximumSet_Gen.json | 0 .../ModernizeProject_Get_MinimumSet_Gen.json | 0 ...ect_ListBySubscription_MaximumSet_Gen.json | 0 ...ect_ListBySubscription_MinimumSet_Gen.json | 0 .../ModernizeProject_List_MaximumSet_Gen.json | 0 .../ModernizeProject_List_MinimumSet_Gen.json | 0 ...odernizeProject_Update_MaximumSet_Gen.json | 0 ...odernizeProject_Update_MinimumSet_Gen.json | 0 .../Operations_List_MaximumSet_Gen.json | 0 .../Operations_List_MinimumSet_Gen.json | 0 ...lowOperationStatus_Get_MaximumSet_Gen.json | 0 ...lowOperationStatus_Get_MinimumSet_Gen.json | 0 .../examples/Workflow_Get_MaximumSet_Gen.json | 0 .../examples/Workflow_Get_MinimumSet_Gen.json | 0 .../Workflow_List_MaximumSet_Gen.json | 0 .../Workflow_List_MinimumSet_Gen.json | 0 ...entOperationStatus_Get_MaximumSet_Gen.json | 0 ...entOperationStatus_Get_MinimumSet_Gen.json | 0 ...nt_BuildContainerImage_MaximumSet_Gen.json | 0 ...nt_BuildContainerImage_MinimumSet_Gen.json | 0 ...kloadDeployment_Create_MaximumSet_Gen.json | 0 ...kloadDeployment_Create_MinimumSet_Gen.json | 0 ...kloadDeployment_Delete_MaximumSet_Gen.json | 0 ...kloadDeployment_Delete_MinimumSet_Gen.json | 0 ...etSecretConfigurations_MaximumSet_Gen.json | 0 ...etSecretConfigurations_MinimumSet_Gen.json | 0 ...WorkloadDeployment_Get_MaximumSet_Gen.json | 0 ...WorkloadDeployment_Get_MinimumSet_Gen.json | 0 ...orkloadDeployment_List_MaximumSet_Gen.json | 0 ...orkloadDeployment_List_MinimumSet_Gen.json | 0 ...loadDeployment_Migrate_MaximumSet_Gen.json | 0 ...loadDeployment_Migrate_MinimumSet_Gen.json | 0 ...ent_TestMigrateCleanup_MaximumSet_Gen.json | 0 ...ent_TestMigrateCleanup_MinimumSet_Gen.json | 0 ...Deployment_TestMigrate_MaximumSet_Gen.json | 0 ...Deployment_TestMigrate_MinimumSet_Gen.json | 0 ...nceOperationStatus_Get_MaximumSet_Gen.json | 0 ...nceOperationStatus_Get_MinimumSet_Gen.json | 0 ...orkloadInstance_Create_MaximumSet_Gen.json | 0 ...orkloadInstance_Create_MinimumSet_Gen.json | 0 ...orkloadInstance_Delete_MaximumSet_Gen.json | 0 ...orkloadInstance_Delete_MinimumSet_Gen.json | 0 .../WorkloadInstance_Get_MaximumSet_Gen.json | 0 .../WorkloadInstance_Get_MinimumSet_Gen.json | 0 .../WorkloadInstance_List_MaximumSet_Gen.json | 0 .../WorkloadInstance_List_MinimumSet_Gen.json | 0 ...stance_MigrateComplete_MaximumSet_Gen.json | 0 ...stance_MigrateComplete_MinimumSet_Gen.json | 0 ...Instance_StopReplicate_MaximumSet_Gen.json | 0 ...Instance_StopReplicate_MinimumSet_Gen.json | 0 .../2022-05-01-preview/migrateEngine.json | 0 .../migrate/resource-manager/readme.md | 69 ++++++++++++------- 185 files changed, 46 insertions(+), 23 deletions(-) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/AssessedMachines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/AssessedMachines_ListByAssessment.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_GetReportDownloadUrl.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_ListByGroup.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Assessments_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Groups_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Groups_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Groups_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Groups_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Machines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Machines_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Operations_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_GetKeys.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/examples/Projects_Update.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/preview/2017-11-11-preview/migrate.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/AssessedMachines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/AssessedMachines_ListByAssessment.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/AssessmentOptions_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_GetReportDownloadUrl.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_ListByGroup.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Assessments_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Groups_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Groups_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Groups_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Groups_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Machines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Machines_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Operations_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/ProjectsInSubscription_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_GetKeys.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/examples/Projects_Update.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2018-02-02/migrate.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/AssessedMachines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/AssessmentOptions_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/AssessmentOptions_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_ListByGroup.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Assessments_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Groups_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Groups_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Groups_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Groups_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Groups_UpdateMachines.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/HyperVCollectors_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/HyperVCollectors_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/HyperVCollectors_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ImportCollectors_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ImportCollectors_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ImportCollectors_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ImportCollectors_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Machines_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Machines_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Operations_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateLinkResources_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ProjectsInSubscription_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Projects_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Projects_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Projects_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Projects_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/Projects_Update.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ServerCollectors_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ServerCollectors_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ServerCollectors_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/ServerCollectors_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/VMwareCollectors_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/VMwareCollectors_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/VMwareCollectors_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => AssessmentProjects}/stable/2019-10-01/migrate.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/Operations_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateEndpointConnection_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateEndpointConnections_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateEndpointConnections_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateEndpointConnections_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateLinkResources_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/PrivateLinkResources_ListByProject.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProject_Create.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProject_Delete.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProject_Get.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProject_Patch.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProjectsInSubscription_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/examples/migrateProjects_List.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MigrateProjects}/stable/2020-05-01/hubmigrate.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json (100%) rename specification/migrate/resource-manager/Microsoft.Migrate/{ => MordernizeProjects}/preview/2022-05-01-preview/migrateEngine.json (100%) diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/AssessedMachines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/AssessedMachines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/AssessedMachines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/AssessedMachines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/AssessedMachines_ListByAssessment.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/AssessedMachines_ListByAssessment.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/AssessedMachines_ListByAssessment.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/AssessedMachines_ListByAssessment.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_GetReportDownloadUrl.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_GetReportDownloadUrl.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_GetReportDownloadUrl.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_GetReportDownloadUrl.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_ListByGroup.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_ListByGroup.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_ListByGroup.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_ListByGroup.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Assessments_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Assessments_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Groups_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Groups_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Machines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Machines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Machines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Machines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Machines_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Machines_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Machines_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Machines_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Operations_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Operations_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Operations_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Operations_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_GetKeys.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_GetKeys.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_GetKeys.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_GetKeys.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Update.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Update.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/examples/Projects_Update.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/examples/Projects_Update.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/migrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/migrate.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2017-11-11-preview/migrate.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/migrate.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessedMachines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessedMachines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessedMachines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessedMachines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessedMachines_ListByAssessment.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessedMachines_ListByAssessment.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessedMachines_ListByAssessment.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessedMachines_ListByAssessment.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessmentOptions_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessmentOptions_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/AssessmentOptions_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/AssessmentOptions_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_GetReportDownloadUrl.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_GetReportDownloadUrl.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_GetReportDownloadUrl.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_GetReportDownloadUrl.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_ListByGroup.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_ListByGroup.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_ListByGroup.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_ListByGroup.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Assessments_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Assessments_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Groups_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Groups_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Machines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Machines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Machines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Machines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Machines_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Machines_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Machines_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Machines_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Operations_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Operations_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Operations_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Operations_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/ProjectsInSubscription_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/ProjectsInSubscription_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/ProjectsInSubscription_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/ProjectsInSubscription_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_GetKeys.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_GetKeys.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_GetKeys.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_GetKeys.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Update.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Update.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/examples/Projects_Update.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/examples/Projects_Update.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/migrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/migrate.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2018-02-02/migrate.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/migrate.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessedMachines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessedMachines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessedMachines_ListByAssessment.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessmentOptions_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessmentOptions_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessmentOptions_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/AssessmentOptions_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/AssessmentOptions_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_GetReportDownloadUrl.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_ListByGroup.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByGroup.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_ListByGroup.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Assessments_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Assessments_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_UpdateMachines.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_UpdateMachines.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Groups_UpdateMachines.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Groups_UpdateMachines.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/HyperVCollectors_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ImportCollectors_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ImportCollectors_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Machines_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Machines_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Machines_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Machines_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Machines_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Operations_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Operations_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Operations_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateEndpointConnections_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateLinkResources_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateLinkResources_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/PrivateLinkResources_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ProjectsInSubscription_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ProjectsInSubscription_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ProjectsInSubscription_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Update.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/Projects_Update.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/Projects_Update.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/ServerCollectors_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/ServerCollectors_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/examples/VMwareCollectors_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/migrate.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2019-10-01/migrate.json rename to specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/migrate.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/Operations_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/Operations_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/Operations_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/Operations_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnection_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnection_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnection_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnection_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateEndpointConnections_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateEndpointConnections_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateLinkResources_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateLinkResources_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateLinkResources_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateLinkResources_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateLinkResources_ListByProject.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateLinkResources_ListByProject.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/PrivateLinkResources_ListByProject.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/PrivateLinkResources_ListByProject.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Create.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Create.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Create.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Create.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Delete.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Delete.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Delete.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Delete.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Get.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Get.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Get.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Get.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Patch.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Patch.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProject_Patch.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProject_Patch.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProjectsInSubscription_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProjectsInSubscription_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProjectsInSubscription_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProjectsInSubscription_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProjects_List.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProjects_List.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/examples/migrateProjects_List.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/examples/migrateProjects_List.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/hubmigrate.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MigrateProjects/stable/2020-05-01/hubmigrate.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json b/specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/migrateEngine.json similarity index 100% rename from specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json rename to specification/migrate/resource-manager/Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/migrateEngine.json diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md index b4d05c7be947..0e8cb1678d59 100644 --- a/specification/migrate/resource-manager/readme.md +++ b/specification/migrate/resource-manager/readme.md @@ -11,8 +11,9 @@ This is the AutoRest configuration file for Azure Migrate. ``` yaml $(java) && $(multiapi) batch: - tag: package-migrate-2018-02 + - tag: package-migrate-2019-10 + - tag: package-migrate-2017-11 - tag: package-migrate-2020-01 - - tag: package-migrate-2020-05 - tag: package-migrate-2020-07 - tag: package-hubmigrate-2020-05 - tag: package-migrateengine-2022-05 @@ -20,7 +21,7 @@ batch: ### Tag: package-migrate-2018-02 and java -These settings apply only when `--tag=package-2018-02 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2018-02 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. ``` yaml $(tag) == 'package-migrate-2018-02' && $(java) && $(multiapi) @@ -31,28 +32,41 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-migrate-2020-01 and java +### Tag: package-migrate-2019-10 and java -These settings apply only when `--tag=package-migrate-2020-01 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2019-10 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-migrate-2020-01' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2019-10' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.azuremigrate.v2020_01_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_01_01 + namespace: com.microsoft.azure.management.azuremigrate.v2019_10_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2019_10_01 regenerate-manager: true generate-interface: true ``` -### Tag: package-migrate-2020-05 and java +### Tag: package-migrate-2017-11 and java -These settings apply only when `--tag=package-migrate-2020-05 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2017-11 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-migrate-2020-05' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2017-11' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.azuremigrate.v2020_05_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_05_01 + namespace: com.microsoft.azure.management.azuremigrate.v2017_11_11 + output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2017_11_11 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-migrate-2020-01 and java + +These settings apply only when `--tag=package-migrate-2020-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-migrate-2020-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuremigrate.v2020_01_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_01_01 regenerate-manager: true generate-interface: true ``` @@ -125,7 +139,7 @@ These settings apply only when `--tag=package-migrate-2018-02` is specified on t ``` yaml $(tag) == 'package-migrate-2018-02' input-file: -- Microsoft.Migrate/stable/2018-02-02/migrate.json +- Microsoft.Migrate/AssessmentProjects/stable/2018-02-02/migrate.json ``` ### Tag: package-migrate-2019-10 @@ -134,25 +148,25 @@ These settings apply only when `--tag=package-migrate-2019-10` is specified on t ``` yaml $(tag) == 'package-migrate-2019-10' input-file: -- Microsoft.Migrate/stable/2019-10-01/migrate.json +- Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/migrate.json ``` -### Tag: package-migrate-2020-01 +### Tag: package-migrate-2017-11 -These settings apply only when `--tag=package-migrate-2020-01` is specified on the command line. +These settings apply only when `--tag=package-migrate-2017-11` is specified on the command line. -``` yaml $(tag) == 'package-migrate-2020-01' +``` yaml $(tag) == 'package-migrate-2017-11' input-file: -- Microsoft.OffAzure/stable/2020-01-01/migrate.json +- Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/migrate.json ``` -### Tag: package-hubmigrate-2020-05 +### Tag: package-migrate-2020-01 -These settings apply only when `--tag=package-hubmigrate-2020-05` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-01` is specified on the command line. -``` yaml $(tag) == 'package-hubmigrate-2020-05' +``` yaml $(tag) == 'package-migrate-2020-01' input-file: -- Microsoft.Migrate/stable/2020-05-01/hubmigrate.json +- Microsoft.OffAzure/stable/2020-01-01/migrate.json ``` ### Tag: package-migrate-2020-07 @@ -164,13 +178,22 @@ input-file: - Microsoft.OffAzure/stable/2020-07-07/migrate.json ``` +### Tag: package-hubmigrate-2020-05 + +These settings apply only when `--tag=package-hubmigrate-2020-05` is specified on the command line. + +``` yaml $(tag) == 'package-hubmigrate-2020-05' +input-file: +- Microsoft.Migrate/MigrateProjects/stable/2020-05-01/hubmigrate.json +``` + ### Tag: package-migrateengine-2022-05 These settings apply only when `--tag=package-migrateengine-2022-05` is specified on the command line. ``` yaml $(tag) == 'package-migrateengine-2022-05' input-file: -- Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json +- Microsoft.Migrate/MordernizeProjects/preview/2022-05-01-preview/migrateEngine.json ``` ## Suppression From 59117a504f812b19bb4931a05d49db6c532c337e Mon Sep 17 00:00:00 2001 From: Thomas Ricci Date: Mon, 17 Jul 2023 11:02:36 -0700 Subject: [PATCH 34/39] Removing readonly flag from top level object (#24848) --- .../preview/2023-05-18-preview/controller.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2023-05-18-preview/controller.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2023-05-18-preview/controller.json index a0ef4f0df639..f29825584c14 100644 --- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2023-05-18-preview/controller.json +++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2023-05-18-preview/controller.json @@ -385,7 +385,6 @@ ], "properties": { "properties": { - "readOnly": true, "$ref": "#/definitions/DelegatedControllerProperties", "description": "Properties of the provision operation request." } From 6b045a763ac3b111e6ebdaff5e32ec6f85659415 Mon Sep 17 00:00:00 2001 From: Rajarshi Sarkar <73562869+sarkar-rajarshi@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:44:54 -0700 Subject: [PATCH 35/39] [ACS JobRouter] Add misssing descriptions (#24842) * Updated JR swagger with maxNumberOfJobs * sync with upstream main * add descriptions * prettier fix * add more missing descriptions * add more description fixes --------- Co-authored-by: williamzhao87 --- .../communicationservicejobrouter.json | 164 ++++++++++-------- 1 file changed, 96 insertions(+), 68 deletions(-) diff --git a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json index d99cf4f070b0..2be2857afdbf 100644 --- a/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json +++ b/specification/communication/data-plane/JobRouter/preview/2022-07-18-preview/communicationservicejobrouter.json @@ -23,7 +23,7 @@ { "in": "path", "name": "id", - "description": "Id of the classification policy", + "description": "Id of the classification policy.", "required": true, "type": "string" }, @@ -33,7 +33,7 @@ { "in": "body", "name": "patch", - "description": "Model of classification policy properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", + "description": "Model of classification policy properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386.", "required": true, "schema": { "$ref": "#/definitions/ClassificationPolicy" @@ -73,7 +73,7 @@ "tags": [ "ClassificationPolicies" ], - "summary": "Retrieves an existing classification policy by Id", + "summary": "Retrieves an existing classification policy by Id.", "operationId": "JobRouterAdministration_GetClassificationPolicy", "produces": [ "application/json" @@ -82,7 +82,7 @@ { "in": "path", "name": "id", - "description": "Id of the classification policy", + "description": "Id of the classification policy.", "required": true, "type": "string" }, @@ -114,7 +114,7 @@ "tags": [ "ClassificationPolicies" ], - "summary": "Delete a classification policy by Id", + "summary": "Delete a classification policy by Id.", "operationId": "JobRouterAdministration_DeleteClassificationPolicy", "produces": [ "application/json" @@ -123,7 +123,7 @@ { "in": "path", "name": "id", - "description": "Id of the classification policy", + "description": "Id of the classification policy.", "required": true, "type": "string" }, @@ -154,7 +154,7 @@ "tags": [ "ClassificationPolicies" ], - "summary": "Retrieves existing classification policies", + "summary": "Retrieves existing classification policies.", "operationId": "JobRouterAdministration_ListClassificationPolicies", "produces": [ "application/json" @@ -163,7 +163,7 @@ { "in": "query", "name": "maxpagesize", - "description": "Maximum page size", + "description": "Maximum page size.", "type": "integer", "format": "int32" }, @@ -213,7 +213,7 @@ { "in": "path", "name": "id", - "description": "Id of the distribution policy", + "description": "Id of the distribution policy.", "required": true, "type": "string" }, @@ -223,7 +223,7 @@ { "in": "body", "name": "patch", - "description": "Model of distribution policy properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", + "description": "Model of distribution policy properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386.", "required": true, "schema": { "$ref": "#/definitions/DistributionPolicy" @@ -263,7 +263,7 @@ "tags": [ "DistributionPolicies" ], - "summary": "Retrieves an existing distribution policy by Id", + "summary": "Retrieves an existing distribution policy by Id.", "operationId": "JobRouterAdministration_GetDistributionPolicy", "produces": [ "application/json" @@ -272,7 +272,7 @@ { "in": "path", "name": "id", - "description": "Id of the distribution policy", + "description": "Id of the distribution policy.", "required": true, "type": "string" }, @@ -304,7 +304,7 @@ "tags": [ "DistributionPolicies" ], - "summary": "Delete a distribution policy by Id", + "summary": "Delete a distribution policy by Id.", "operationId": "JobRouterAdministration_DeleteDistributionPolicy", "produces": [ "application/json" @@ -313,7 +313,7 @@ { "in": "path", "name": "id", - "description": "Id of the distribution policy", + "description": "Id of the distribution policy.", "required": true, "type": "string" }, @@ -344,7 +344,7 @@ "tags": [ "DistributionPolicies" ], - "summary": "Retrieves existing distribution policies", + "summary": "Retrieves existing distribution policies.", "operationId": "JobRouterAdministration_ListDistributionPolicies", "produces": [ "application/json" @@ -353,7 +353,7 @@ { "in": "query", "name": "maxpagesize", - "description": "Maximum page size", + "description": "Maximum page size.", "type": "integer", "format": "int32" }, @@ -403,7 +403,7 @@ { "in": "path", "name": "id", - "description": "Id of the exception policy", + "description": "Id of the exception policy.", "required": true, "type": "string" }, @@ -453,7 +453,7 @@ "tags": [ "ExceptionPolicies" ], - "summary": "Retrieves an existing exception policy by Id", + "summary": "Retrieves an existing exception policy by Id.", "operationId": "JobRouterAdministration_GetExceptionPolicy", "produces": [ "application/json" @@ -462,7 +462,7 @@ { "in": "path", "name": "id", - "description": "Id of the exception policy to retrieve", + "description": "Id of the exception policy to retrieve.", "required": true, "type": "string" }, @@ -494,7 +494,7 @@ "tags": [ "ExceptionPolicies" ], - "summary": "Deletes a exception policy by Id", + "summary": "Deletes a exception policy by Id.", "operationId": "JobRouterAdministration_DeleteExceptionPolicy", "produces": [ "application/json" @@ -503,7 +503,7 @@ { "in": "path", "name": "id", - "description": "Id of the exception policy to delete", + "description": "Id of the exception policy to delete.", "required": true, "type": "string" }, @@ -534,7 +534,7 @@ "tags": [ "ExceptionPolicies" ], - "summary": "Retrieves existing exception policies", + "summary": "Retrieves existing exception policies.", "operationId": "JobRouterAdministration_ListExceptionPolicies", "produces": [ "application/json" @@ -543,7 +543,7 @@ { "in": "query", "name": "maxpagesize", - "description": "Number of objects to return per page", + "description": "Number of objects to return per page.", "type": "integer", "format": "int32" }, @@ -646,7 +646,7 @@ "tags": [ "Jobs" ], - "summary": "Retrieves an existing job by Id", + "summary": "Retrieves an existing job by Id.", "operationId": "JobRouter_GetJob", "produces": [ "application/json" @@ -655,7 +655,7 @@ { "in": "path", "name": "id", - "description": "Id of the job to retrieve", + "description": "Id of the job to retrieve.", "required": true, "type": "string" }, @@ -696,7 +696,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -739,7 +739,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -793,7 +793,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -803,7 +803,7 @@ { "in": "body", "name": "cancelJobRequest", - "description": "Request model for cancelling job", + "description": "Request model for cancelling job.", "schema": { "$ref": "#/definitions/CancelJobRequest" }, @@ -848,7 +848,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -858,7 +858,7 @@ { "in": "body", "name": "completeJobRequest", - "description": "Request model for completing job", + "description": "Request model for completing job.", "required": true, "schema": { "$ref": "#/definitions/CompleteJobRequest" @@ -904,7 +904,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -914,7 +914,7 @@ { "in": "body", "name": "closeJobRequest", - "description": "Request model for closing job", + "description": "Request model for closing job.", "required": true, "schema": { "$ref": "#/definitions/CloseJobRequest" @@ -954,7 +954,7 @@ "tags": [ "Jobs" ], - "summary": "Retrieves list of jobs based on filter parameters", + "summary": "Retrieves list of jobs based on filter parameters.", "operationId": "JobRouter_ListJobs", "produces": [ "application/json" @@ -1008,7 +1008,7 @@ { "in": "query", "name": "scheduledBefore", - "description": "If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore]", + "description": "If specified, filter on jobs that was scheduled before or at given timestamp. Range: (-Inf, scheduledBefore].", "type": "string", "format": "date-time" }, @@ -1022,7 +1022,7 @@ { "in": "query", "name": "maxpagesize", - "description": "Number of objects to return per page", + "description": "Number of objects to return per page.", "type": "integer", "format": "int32" }, @@ -1069,7 +1069,7 @@ { "in": "path", "name": "id", - "description": "Id of the job", + "description": "Id of the job.", "required": true, "type": "string" }, @@ -1115,14 +1115,14 @@ { "in": "path", "name": "id", - "description": "Id of the job to un-assign", + "description": "Id of the job to un-assign.", "required": true, "type": "string" }, { "in": "path", "name": "assignmentId", - "description": "Id of the assignment to un-assign", + "description": "Id of the assignment to un-assign.", "required": true, "type": "string" }, @@ -1132,7 +1132,7 @@ { "in": "body", "name": "unassignJobRequest", - "description": "Request body for unassign route", + "description": "Request body for unassign route.", "schema": { "$ref": "#/definitions/UnassignJobRequest" } @@ -1173,14 +1173,14 @@ { "in": "path", "name": "workerId", - "description": "Id of the worker", + "description": "Id of the worker.", "required": true, "type": "string" }, { "in": "path", "name": "offerId", - "description": "Id of the offer", + "description": "Id of the offer.", "required": true, "type": "string" }, @@ -1226,14 +1226,14 @@ { "in": "path", "name": "workerId", - "description": "Id of the worker", + "description": "Id of the worker.", "required": true, "type": "string" }, { "in": "path", "name": "offerId", - "description": "Id of the offer", + "description": "Id of the offer.", "required": true, "type": "string" }, @@ -1243,7 +1243,7 @@ { "in": "body", "name": "declineJobOfferRequest", - "description": "Request model for declining offer", + "description": "Request model for declining offer.", "schema": { "$ref": "#/definitions/DeclineJobOfferRequest" } @@ -1287,7 +1287,7 @@ { "in": "path", "name": "id", - "description": "Id of the queue", + "description": "Id of the queue.", "required": true, "type": "string" }, @@ -1297,7 +1297,7 @@ { "in": "body", "name": "patch", - "description": "Model of queue properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", + "description": "Model of queue properties to be patched. See also: https://datatracker.ietf.org/doc/html/rfc7386.", "required": true, "schema": { "$ref": "#/definitions/RouterQueue" @@ -1337,7 +1337,7 @@ "tags": [ "Queues" ], - "summary": "Retrieves an existing queue by Id", + "summary": "Retrieves an existing queue by Id.", "operationId": "JobRouterAdministration_GetQueue", "produces": [ "application/json" @@ -1346,7 +1346,7 @@ { "in": "path", "name": "id", - "description": "Id of the queue to retrieve", + "description": "Id of the queue to retrieve.", "required": true, "type": "string" }, @@ -1378,7 +1378,7 @@ "tags": [ "Queues" ], - "summary": "Deletes a queue by Id", + "summary": "Deletes a queue by Id.", "operationId": "JobRouterAdministration_DeleteQueue", "produces": [ "application/json" @@ -1387,7 +1387,7 @@ { "in": "path", "name": "id", - "description": "Id of the queue to delete", + "description": "Id of the queue to delete.", "required": true, "type": "string" }, @@ -1418,7 +1418,7 @@ "tags": [ "Queues" ], - "summary": "Retrieves existing queues", + "summary": "Retrieves existing queues.", "operationId": "JobRouterAdministration_ListQueues", "produces": [ "application/json" @@ -1427,7 +1427,7 @@ { "in": "query", "name": "maxpagesize", - "description": "Number of objects to return per page", + "description": "Number of objects to return per page.", "type": "integer", "format": "int32" }, @@ -1465,7 +1465,7 @@ "tags": [ "Queues" ], - "summary": "Retrieves a queue's statistics", + "summary": "Retrieves a queue's statistics.", "operationId": "JobRouter_GetQueueStatistics", "produces": [ "application/json" @@ -1474,7 +1474,7 @@ { "in": "path", "name": "id", - "description": "Id of the queue to retrieve statistics", + "description": "Id of the queue to retrieve statistics.", "required": true, "type": "string" }, @@ -1520,7 +1520,7 @@ { "in": "path", "name": "workerId", - "description": "Id of the worker", + "description": "Id of the worker.", "required": true, "type": "string" }, @@ -1530,7 +1530,7 @@ { "in": "body", "name": "patch", - "description": "Model of worker properties to be created or patched. See also: https://datatracker.ietf.org/doc/html/rfc7386", + "description": "Model of worker properties to be created or patched. See also: https://datatracker.ietf.org/doc/html/rfc7386.", "required": true, "schema": { "$ref": "#/definitions/RouterWorker" @@ -1579,7 +1579,7 @@ "tags": [ "Workers" ], - "summary": "Retrieves an existing worker by Id", + "summary": "Retrieves an existing worker by Id.", "operationId": "JobRouter_GetWorker", "produces": [ "application/json" @@ -1588,7 +1588,7 @@ { "in": "path", "name": "workerId", - "description": "Id of the worker to retrieve", + "description": "Id of the worker to retrieve.", "required": true, "type": "string" }, @@ -1629,7 +1629,7 @@ { "in": "path", "name": "workerId", - "description": "Id of the worker to delete", + "description": "Id of the worker to delete.", "required": true, "type": "string" }, @@ -1686,25 +1686,25 @@ { "in": "query", "name": "channelId", - "description": "If specified, select workers who have a channel configuration with this channel", + "description": "If specified, select workers who have a channel configuration with this channel.", "type": "string" }, { "in": "query", "name": "queueId", - "description": "If specified, select workers who are assigned to this queue", + "description": "If specified, select workers who are assigned to this queue.", "type": "string" }, { "in": "query", "name": "hasCapacity", - "description": "If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel\r\n if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.", + "description": "If set to true, select only workers who have capacity for the channel specified by `channelId` or for any channel if `channelId` not specified. If set to false, then will return all workers including workers without any capacity for jobs. Defaults to false.", "type": "boolean" }, { "in": "query", "name": "maxpagesize", - "description": "Number of objects to return per page", + "description": "Number of objects to return per page.", "type": "integer", "format": "int32" }, @@ -1778,6 +1778,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing BestWorkerMode", "type": "string" }, "scoringRule": { @@ -1799,10 +1800,11 @@ ], "properties": { "kind": { + "description": "The type discriminator describing CancelExceptionAction", "type": "string" }, "note": { - "description": "(Optional) A note that will be appended to the jobs' Notes collection with th current timestamp.", + "description": "(Optional) A note that will be appended to the jobs' Notes collection with the current timestamp.", "maxLength": 2000, "minLength": 0, "type": "string" @@ -2009,6 +2011,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing ConditionalQueueSelectorAttachment", "type": "string" }, "condition": { @@ -2038,6 +2041,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing ConditionalWorkerSelectorAttachment", "type": "string" }, "condition": { @@ -2079,6 +2083,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing DirectMapRouterRule", "type": "string" } }, @@ -2282,6 +2287,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing ExpressionRouterRule", "type": "string" }, "language": { @@ -2317,6 +2323,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing FunctionRouterRule", "type": "string" }, "functionUri": { @@ -2355,10 +2362,11 @@ } }, "JobMatchingMode": { - "description": "", + "description": "The matching mode to be applied to this job.\r\n \r\nSupported types:\r\n \r\nQueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued.\r\nScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically.\r\nSuspendMode: Used when matching workers to a job needs to be suspended.", "type": "object", "properties": { "modeType": { + "description": "Discriminator value used to differentiate between supported matching mode types.", "enum": [ "queueAndMatchMode", "scheduleAndSuspendMode", @@ -2391,6 +2399,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing LongestIdleMode", "type": "string" } }, @@ -2406,6 +2415,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing ManualReclassifyExceptionAction", "type": "string" }, "queueId": { @@ -2461,6 +2471,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing PassThroughQueueSelectorAttachment", "type": "string" }, "key": { @@ -2502,6 +2513,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing PassThroughWorkerSelectorAttachment", "type": "string" }, "key": { @@ -2535,7 +2547,7 @@ "x-ms-discriminator-value": "pass-through" }, "QueueAndMatchMode": { - "description": "", + "description": "Describes a matching mode where matching worker to a job is automatically started after job is queued successfully.", "type": "object" }, "QueueLengthExceptionTrigger": { @@ -2551,6 +2563,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing a sub-type of QueueLengthExceptionTrigger", "type": "string" }, "threshold": { @@ -2607,6 +2620,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing ReclassifyExceptionAction.", "type": "string" }, "classificationPolicyId": { @@ -2642,6 +2656,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing RoundRobinMode", "type": "string" } }, @@ -3053,6 +3068,7 @@ "type": "object", "properties": { "id": { + "description": "Id of the worker.", "type": "string", "readOnly": true }, @@ -3268,6 +3284,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing RuleEngineQueueSelectorAttachment", "type": "string" }, "rule": { @@ -3289,6 +3306,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing RuleEngineWorkerSelectorAttachment", "type": "string" }, "rule": { @@ -3298,10 +3316,12 @@ "x-ms-discriminator-value": "rule-engine" }, "ScheduleAndSuspendMode": { + "description": "Describes a matching mode used for scheduling jobs to be queued at a future time.\r\nAt the specified time, matching worker to a job will not start automatically.", "type": "object", "properties": { "scheduleAt": { "format": "date-time", + "description": "Scheduled time.", "type": "string" } } @@ -3354,6 +3374,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing StaticQueueSelectorAttachment", "type": "string" }, "queueSelector": { @@ -3372,6 +3393,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing StaticRouterRule", "type": "string" }, "value": { @@ -3396,6 +3418,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing StaticWorkerSelectorAttachment", "type": "string" }, "workerSelector": { @@ -3405,6 +3428,7 @@ "x-ms-discriminator-value": "static" }, "SuspendMode": { + "description": "Describes a matching mode where matching worker to a job is suspended.", "type": "object" }, "UnassignJobRequest": { @@ -3412,7 +3436,7 @@ "type": "object", "properties": { "suspendMatching": { - "description": "If WaitForActivation is true, then the job is not queued for re-matching with a worker.", + "description": "If SuspendMatching is true, then the job is not queued for re-matching with a worker.", "type": "boolean" } } @@ -3450,6 +3474,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing a sub-type of WaitTimeExceptionTrigger", "type": "string" }, "thresholdSeconds": { @@ -3470,6 +3495,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing WebhookRouterRule", "type": "string" }, "authorizationServerUri": { @@ -3501,6 +3527,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing WeightedAllocationQueueSelectorAttachment", "type": "string" }, "allocations": { @@ -3526,6 +3553,7 @@ ], "properties": { "kind": { + "description": "The type discriminator describing WeightedAllocationWorkerSelectorAttachment", "type": "string" }, "allocations": { From 6bad11503a1ebb3305c676b13bf3106d28b321f6 Mon Sep 17 00:00:00 2001 From: Travis Wilson <35748617+trrwilson@users.noreply.github.com> Date: Mon, 17 Jul 2023 15:02:28 -0700 Subject: [PATCH 36/39] a couple of representation tweaks for codegen (#24847) --- .../OpenAI.Inference/models/chat.completions.tsp | 7 ++++--- .../OpenAI.Inference/models/completions.create.tsp | 5 +++-- .../OpenAI.Inference/models/images.tsp | 12 ++++++++---- .../preview/2023-06-01-preview/generated.json | 14 ++++++++------ .../preview/2023-07-01-preview/generated.json | 14 ++++++++------ .../inference/stable/2022-12-01/generated.json | 2 +- .../inference/stable/2023-05-15/generated.json | 10 ++++++---- 7 files changed, 38 insertions(+), 26 deletions(-) diff --git a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp index 16f2cbb66d4f..808bbbc8bb28 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/chat.completions.tsp @@ -32,9 +32,10 @@ model ChatMessage { @projectedName("json", "role") role: ChatRole; + #suppress "@azure-tools/typespec-azure-core/no-nullable" "we explicitly want a nullable string" @doc("The text associated with this message payload.") @projectedName("json", "content") - content?: string; + content: string | null; @doc(""" The name of the author of this message. `name` is required if role is `function`, and it should be the name of the @@ -225,9 +226,9 @@ model ChatCompletions { represented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970. """) @projectedName("json", "created") - @projectedName("csharp", "InternalCreatedSecondsAfterUnixEpoch") @projectedName("java", "createdAt") - created: int32; + @encode(DateTimeKnownEncoding.unixTimestamp, int32) + created: utcDateTime; @doc(""" The collection of completions choices associated with this completions response. diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp index 82b8ed68cf14..e65c4c7f1967 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions.create.tsp @@ -158,8 +158,9 @@ model Completions { represented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970. """) @projectedName("json", "created") - @projectedName("csharp", "InternalCreatedSecondsAfterUnixEpoch") - created: int32; + @projectedName("java", "createdAt") + @encode(DateTimeKnownEncoding.unixTimestamp, int32) + created: utcDateTime; @doc(""" Content filtering results for zero or more prompts in the request. In a streaming request, diff --git a/specification/cognitiveservices/OpenAI.Inference/models/images.tsp b/specification/cognitiveservices/OpenAI.Inference/models/images.tsp index cc9dffd6601d..6dc36991511e 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/images.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/images.tsp @@ -76,12 +76,13 @@ model ImagePayload { @added(ServiceApiVersions.v2023_06_01_Preview) model ImageGenerations { @doc("A timestamp when this job or item was created (in unix epochs).") - @projectedName("csharp", "InternalCreatedSecondsAfterUnixEpoch") - created: int64; + @projectedName("json", "created") + @projectedName("java", "createdAt") + @encode(DateTimeKnownEncoding.unixTimestamp, int32) + created: utcDateTime; #suppress "@azure-tools/typespec-autorest/union-unsupported" "openapi v2 not required" @doc("The images generated by the operator.") - @projectedName("csharp", "InternalEmittedImageResponseItems") data: ImageLocation[] | ImagePayload[]; } @@ -96,7 +97,10 @@ model BatchImageGenerationOperationResponse { id: string; @doc("A timestamp when this job or item was created (in unix epochs).") - created: int64; + @projectedName("json", "created") + @projectedName("java", "createdAt") + @encode(DateTimeKnownEncoding.unixTimestamp, int32) + created: utcDateTime; @doc("A timestamp when this operation and its associated images expire and will be deleted (in unix epochs).") expires?: int64; diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index 576b78e8d966..cc8535b5e200 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -421,7 +421,7 @@ }, "created": { "type": "integer", - "format": "int64", + "format": "unixtime", "description": "A timestamp when this job or item was created (in unix epochs)." }, "expires": { @@ -492,7 +492,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "choices": { @@ -613,11 +613,13 @@ }, "content": { "type": "string", - "description": "The text associated with this message payload." + "description": "The text associated with this message payload.", + "x-nullable": true } }, "required": [ - "role" + "role", + "content" ] }, "ChatRole": { @@ -702,7 +704,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "prompt_annotations": { @@ -1164,7 +1166,7 @@ "properties": { "created": { "type": "integer", - "format": "int64", + "format": "unixtime", "description": "A timestamp when this job or item was created (in unix epochs)." }, "data": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index 411186ce784d..2ddf16cdaf9b 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -421,7 +421,7 @@ }, "created": { "type": "integer", - "format": "int64", + "format": "unixtime", "description": "A timestamp when this job or item was created (in unix epochs)." }, "expires": { @@ -492,7 +492,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "choices": { @@ -625,7 +625,8 @@ }, "content": { "type": "string", - "description": "The text associated with this message payload." + "description": "The text associated with this message payload.", + "x-nullable": true }, "name": { "type": "string", @@ -638,7 +639,8 @@ } }, "required": [ - "role" + "role", + "content" ] }, "ChatRole": { @@ -729,7 +731,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "prompt_annotations": { @@ -1235,7 +1237,7 @@ "properties": { "created": { "type": "integer", - "format": "int64", + "format": "unixtime", "description": "A timestamp when this job or item was created (in unix epochs)." }, "data": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json index 62a5ec0b2eee..4817ba7a5ee3 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2022-12-01/generated.json @@ -271,7 +271,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "choices": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json index e667090697f3..b7c515db0245 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json @@ -314,7 +314,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "choices": { @@ -426,11 +426,13 @@ }, "content": { "type": "string", - "description": "The text associated with this message payload." + "description": "The text associated with this message payload.", + "x-nullable": true } }, "required": [ - "role" + "role", + "content" ] }, "ChatRole": { @@ -510,7 +512,7 @@ }, "created": { "type": "integer", - "format": "int32", + "format": "unixtime", "description": "The first timestamp associated with generation activity for this completions response,\nrepresented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970." }, "choices": { From e1f8a06c495d417ed164f5681a05993169d7bbc2 Mon Sep 17 00:00:00 2001 From: Jose Alvarez Date: Mon, 17 Jul 2023 15:44:55 -0700 Subject: [PATCH 37/39] Removed FunctionDefinition as custom class (#24870) --- specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml index 29557c0d3375..289377428715 100644 --- a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml +++ b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml @@ -24,7 +24,7 @@ options: enable-sync-stack: true generate-tests: false custom-types-subpackage: "implementation.models" - custom-types: "FunctionCallModelBase,FunctionCallPreset,FunctionCallPresetFunctionCallModel,FunctionDefinition,FunctionNameFunctionCallModel" + custom-types: "FunctionCallModelBase,FunctionCallPreset,FunctionCallPresetFunctionCallModel,FunctionNameFunctionCallModel" # "@azure-tools/typespec-ts": # package-dir: "azure-ai-openai" # emitter-output-dir: "{project-root}/generated" From 1af2861030243b06ee35172c95899f4809eedfc7 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 18 Jul 2023 11:24:46 +0800 Subject: [PATCH 38/39] Update readme.python.md (#24873) * Update readme.python.md * Update readme.python.md --- .../authorization/resource-manager/readme.python.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/specification/authorization/resource-manager/readme.python.md b/specification/authorization/resource-manager/readme.python.md index 5a7182e484d5..6518f9ec6f28 100644 --- a/specification/authorization/resource-manager/readme.python.md +++ b/specification/authorization/resource-manager/readme.python.md @@ -20,6 +20,7 @@ multiapi: true clear-output-folder: true batch: - tag: package-2022-08-01-preview-only + - tag: package-2022-05-01-preview-only - tag: package-2022-04-01-only - tag: package-2022-04-01-preview-only - tag: package-2021-12-01-preview-python-only @@ -52,6 +53,15 @@ namespace: azure.mgmt.authorization.v2022_08_01_preview output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2022_08_01_preview ``` +### Tag: package-2022-05-01-preview-only and python + +These settings apply only when `--tag=package-2022-05-01-preview-only --python` is specified on the command line. + +``` yaml $(tag) == 'package-2022-05-01-preview-only' && $(python) +namespace: azure.mgmt.authorization.v2022_05_01_preview +output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2022_05_01_preview +``` + ### Tag: package-2022-04-01-only and python These settings apply only when `--tag=package-2022-04-01-only --python` is specified on the command line. From c5803d2f544f50ce82ea23dae4ddd396f7617193 Mon Sep 17 00:00:00 2001 From: Anubha98 Date: Tue, 18 Jul 2023 08:56:43 +0530 Subject: [PATCH 39/39] Adding resources at sweep level --- .../preview/2023-08-01-preview/mfe.json | 52052 ++++++++-------- 1 file changed, 26044 insertions(+), 26008 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 c016c6ac9007..7cdad0c5dbba 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 @@ -1,26284 +1,26320 @@ { "swagger": "2.0", "info": { - "title": "Azure Machine Learning Services", - "version": "2023-08-01-preview" + "title": "Azure Machine Learning Services", + "version": "2023-08-01-preview" }, "host": "management.azure.com", "schemes": [ - "https" + "https" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes": { - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "List containers.", - "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Registry Code Container.": { - "$ref": "./examples/Registry/CodeContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}": { - "delete": { - "tags": [ - "CodeContainer" - ], - "summary": "Delete Code container.", - "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container 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": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes": { + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "List containers.", + "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Code Container.": { + "$ref": "./examples/Registry/CodeContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "Delete Registry Code Container.": { - "$ref": "./examples/Registry/CodeContainer/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}": { + "delete": { + "tags": [ + "CodeContainer" + ], + "summary": "Delete Code container.", + "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container 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 Registry Code Container.": { + "$ref": "./examples/Registry/CodeContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "Get Code container.", + "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container 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/CodeContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Code Container.": { + "$ref": "./examples/Registry/CodeContainer/get.json" + } + } + }, + "put": { + "tags": [ + "CodeContainer" + ], + "summary": "Create or update Code container.", + "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + }, + "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 Registry Code Container.": { + "$ref": "./examples/Registry/CodeContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "Get Code container.", - "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container 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" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions": { + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "List versions.", + "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container 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": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Code Version.": { + "$ref": "./examples/Registry/CodeVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}": { + "delete": { + "tags": [ + "CodeVersion" + ], + "summary": "Delete version.", + "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Registry Code Version.": { + "$ref": "./examples/Registry/CodeVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "Get version.", + "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Code Version.": { + "$ref": "./examples/Registry/CodeVersion/get.json" + } + } + }, + "put": { + "tags": [ + "CodeVersion" + ], + "summary": "Create or update version.", + "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + }, + "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 Registry Code Version.": { + "$ref": "./examples/Registry/CodeVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "Get Registry Code Container.": { - "$ref": "./examples/Registry/CodeContainer/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}/startPendingUpload": { + "post": { + "tags": [ + "CodeVersion" + ], + "summary": "Generate a storage location and credential for the client to upload a code asset to.", + "operationId": "RegistryCodeVersions_CreateOrGetStartPendingUpload", + "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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "codeName", + "description": "Pending upload 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": "Pending upload request object", + "required": true, + "schema": { + "$ref": "#/definitions/PendingUploadRequestDto" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PendingUploadResponseDto" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrGetStartPendingUpload Registry Code Version.": { + "$ref": "./examples/Registry/CodeVersion/createOrGetStartPendingUpload.json" + } + } } - } - }, - "put": { - "tags": [ - "CodeContainer" - ], - "summary": "Create or update Code container.", - "operationId": "RegistryCodeContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components": { + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "List containers.", + "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Component Container.": { + "$ref": "./examples/Registry/ComponentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "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/CodeContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}": { + "delete": { + "tags": [ + "ComponentContainer" + ], + "summary": "Delete container.", + "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container 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 Registry Component Container.": { + "$ref": "./examples/Registry/ComponentContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "Get container.", + "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container 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/ComponentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Component Container.": { + "$ref": "./examples/Registry/ComponentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentContainer" + ], + "summary": "Create or update container.", + "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + }, + "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 Registry Component Container.": { + "$ref": "./examples/Registry/ComponentContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Code Container.": { - "$ref": "./examples/Registry/CodeContainer/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions": { + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "List versions.", + "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container 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": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "stage", + "description": "Component stage.", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Component Version.": { + "$ref": "./examples/Registry/ComponentVersion/list.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/registries/{registryName}/codes/{codeName}/versions": { - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "List versions.", - "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container 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": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}": { + "delete": { + "tags": [ + "ComponentVersion" + ], + "summary": "Delete version.", + "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Registry Component Version.": { + "$ref": "./examples/Registry/ComponentVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "Get version.", + "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Component Version.": { + "$ref": "./examples/Registry/ComponentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentVersion" + ], + "summary": "Create or update version.", + "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "componentName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + }, + "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 Registry Component Version.": { + "$ref": "./examples/Registry/ComponentVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data": { + "get": { + "tags": [ + "DataContainerRegistry" + ], + "summary": "List Data containers.", + "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryList Registry Data Container.": { + "$ref": "./examples/Registry/DataContainer/registryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "List Registry Code Version.": { - "$ref": "./examples/Registry/CodeVersion/list.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}": { + "delete": { + "tags": [ + "DataContainerRegistry" + ], + "summary": "Delete container.", + "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container 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 Registry Data Container.": { + "$ref": "./examples/Registry/DataContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "DataContainerRegistry" + ], + "summary": "Get container.", + "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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" + } + } + }, + "put": { + "tags": [ + "DataContainerRegistry" + ], + "summary": "Create or update container.", + "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataContainerResource" + }, + "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 Registry Data Container.": { + "$ref": "./examples/Registry/DataContainer/createOrUpdate.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/registries/{registryName}/codes/{codeName}/versions/{version}": { - "delete": { - "tags": [ - "CodeVersion" - ], - "summary": "Delete version.", - "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions": { + "get": { + "tags": [ + "DataVersionRegistry" + ], + "summary": "List data versions in the data container", + "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Data container's name", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Please choose OrderBy value from ['createdtime', 'modifiedtime']", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top count of results, top count cannot be greater than the page size.\r\n If topCount > page size, results with be default page size count will be returned", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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/DataVersionBaseResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegistryList Registry Data Version Base.": { + "$ref": "./examples/Registry/DataVersionBase/registryList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}": { + "delete": { + "tags": [ + "DataVersionRegistry" + ], + "summary": "Delete version.", + "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Registry Data Version Base.": { + "$ref": "./examples/Registry/DataVersionBase/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "DataVersionRegistry" + ], + "summary": "Get version.", + "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Data Version Base.": { + "$ref": "./examples/Registry/DataVersionBase/get.json" + } + } + }, + "put": { + "tags": [ + "DataVersionRegistry" + ], + "summary": "Create or update version.", + "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + }, + "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 Registry Data Version Base.": { + "$ref": "./examples/Registry/DataVersionBase/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "Delete Registry Code Version.": { - "$ref": "./examples/Registry/CodeVersion/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}/startPendingUpload": { + "post": { + "tags": [ + "DataVersionRegistry" + ], + "summary": "Generate a storage location and credential for the client to upload a data asset to.", + "operationId": "RegistryDataVersions_CreateOrGetStartPendingUpload", + "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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "name", + "description": "Data asset 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" + }, + { + "in": "body", + "name": "body", + "description": "Pending upload request object", + "required": true, + "schema": { + "$ref": "#/definitions/PendingUploadRequestDto" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PendingUploadResponseDto" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrGetStartPendingUpload Registry Data Version Base.": { + "$ref": "./examples/Registry/DataVersionBase/createOrGetStartPendingUpload.json" + } + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "Get version.", - "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments": { + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "List environment containers.", + "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Environment Container.": { + "$ref": "./examples/Registry/EnvironmentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}": { + "delete": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Delete container.", + "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container 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 Registry Environment Container.": { + "$ref": "./examples/Registry/EnvironmentContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Get container.", + "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container name. This is case-sensitive.", + "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/EnvironmentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Environment Container.": { + "$ref": "./examples/Registry/EnvironmentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Create or update container.", + "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + }, + "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 Registry Environment Container.": { + "$ref": "./examples/Registry/EnvironmentContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "Get Registry Code Version.": { - "$ref": "./examples/Registry/CodeVersion/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions": { + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "List versions.", + "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container name. This is case-sensitive.", + "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": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "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" + } + ] + } + }, + { + "in": "query", + "name": "stage", + "description": "Stage for including/excluding (for example) archived entities. Takes priority over listViewType", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Environment Version.": { + "$ref": "./examples/Registry/EnvironmentVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } - }, - "put": { - "tags": [ - "CodeVersion" - ], - "summary": "Create or update version.", - "operationId": "RegistryCodeVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}": { + "delete": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Delete version.", + "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Registry Environment Version.": { + "$ref": "./examples/Registry/EnvironmentVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Get version.", + "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Environment Version.": { + "$ref": "./examples/Registry/EnvironmentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Create or update version.", + "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "environmentName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + }, + "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 Registry Environment Version.": { + "$ref": "./examples/Registry/EnvironmentVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - ], - "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/CodeVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models": { + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "List model containers.", + "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "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": { + "List Registry Model Container.": { + "$ref": "./examples/Registry/ModelContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Code Version.": { - "$ref": "./examples/Registry/CodeVersion/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}": { + "delete": { + "tags": [ + "ModelContainer" + ], + "summary": "Delete container.", + "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container 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 Registry Model Container.": { + "$ref": "./examples/Registry/ModelContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "Get container.", + "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container name. This is case-sensitive.", + "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/ModelContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Model Container.": { + "$ref": "./examples/Registry/ModelContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ModelContainer" + ], + "summary": "Create or update model container.", + "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + }, + "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 Registry Model Container.": { + "$ref": "./examples/Registry/ModelContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}/startPendingUpload": { - "post": { - "tags": [ - "CodeVersion" - ], - "summary": "Generate a storage location and credential for the client to upload a code asset to.", - "operationId": "RegistryCodeVersions_CreateOrGetStartPendingUpload", - "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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "codeName", - "description": "Pending upload 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": "Pending upload request object", - "required": true, - "schema": { - "$ref": "#/definitions/PendingUploadRequestDto" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions": { + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "List versions.", + "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container name. This is case-sensitive.", + "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" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "version", + "description": "Version identifier.", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "Model description.", + "type": "string" + }, + { + "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": "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/ModelVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Registry Model Version.": { + "$ref": "./examples/Registry/ModelVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PendingUploadResponseDto" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}": { + "delete": { + "tags": [ + "ModelVersion" + ], + "summary": "Delete version.", + "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Registry Model Version.": { + "$ref": "./examples/Registry/ModelVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "Get version.", + "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registry Model Version.": { + "$ref": "./examples/Registry/ModelVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ModelVersion" + ], + "summary": "Create or update version.", + "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + }, + "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 Registry Model Version.": { + "$ref": "./examples/Registry/ModelVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "CreateOrGetStartPendingUpload Registry Code Version.": { - "$ref": "./examples/Registry/CodeVersion/createOrGetStartPendingUpload.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}/package": { + "post": { + "tags": [ + "ModelVersion" + ], + "summary": "Model Version Package operation.", + "operationId": "RegistryModelVersions_Package", + "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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PackageResponse" + } + }, + "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": { + "Package Registry Model Version.": { + "$ref": "./examples/Registry/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/registries/{registryName}/components": { - "get": { - "tags": [ - "ComponentContainer" - ], - "summary": "List containers.", - "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}/startPendingUpload": { + "post": { + "tags": [ + "ModelVersion" + ], + "summary": "Generate a storage location and credential for the client to upload a model asset to.", + "operationId": "RegistryModelVersions_CreateOrGetStartPendingUpload", + "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": "registries.json#/parameters/RegistryNameParameter" + }, + { + "in": "path", + "name": "modelName", + "description": "Model 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": "Pending upload request object", + "required": true, + "schema": { + "$ref": "#/definitions/PendingUploadRequestDto" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PendingUploadResponseDto" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrGetStartPendingUpload Registry Model Version.": { + "$ref": "./examples/Registry/ModelVersion/createOrGetStartPendingUpload.json" + } + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": { + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists Batch inference endpoint in the workspace.", + "operationId": "BatchEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "List Registry Component Container.": { - "$ref": "./examples/Registry/ComponentContainer/list.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}": { + "delete": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Delete Batch Inference Endpoint (asynchronous).", + "operationId": "BatchEndpoints_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": "endpointName", + "description": "Inference Endpoint 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 Workspace Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Gets a batch inference endpoint by name.", + "operationId": "BatchEndpoints_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": "Name for the Batch Endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Update a batch inference endpoint (asynchronous).", + "operationId": "BatchEndpoints_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": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Mutable batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialMinimalTrackedResourceWithIdentity" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Workspace Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/update.json" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Creates a batch inference endpoint (asynchronous).", + "operationId": "BatchEndpoints_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": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/createOrUpdate.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/registries/{registryName}/components/{componentName}": { - "delete": { - "tags": [ - "ComponentContainer" - ], - "summary": "Delete container.", - "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container 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" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Lists Batch inference deployments in the workspace.", + "operationId": "BatchDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "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" + }, + { + "in": "query", + "name": "$top", + "description": "Top of list.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Batch Deployment.": { + "$ref": "./examples/Workspace/BatchDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "BatchDeployment" + ], + "summary": "Delete Batch Inference deployment (asynchronous).", + "operationId": "BatchDeployments_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": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference deployment identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/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 Batch Deployment.": { + "$ref": "./examples/Workspace/BatchDeployment/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Gets a batch inference deployment by id.", + "operationId": "BatchDeployments_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": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch deployments.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Batch Deployment.": { + "$ref": "./examples/Workspace/BatchDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchDeployment" + ], + "summary": "Update a batch inference deployment (asynchronous).", + "operationId": "BatchDeployments_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": "Inference endpoint name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update Workspace Batch Deployment.": { + "$ref": "./examples/Workspace/BatchDeployment/update.json" + } + }, + "x-ms-long-running-operation": true + }, + "put": { + "tags": [ + "BatchDeployment" + ], + "summary": "Creates/updates a batch inference deployment (asynchronous).", + "operationId": "BatchDeployments_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": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Batch Deployment.": { + "$ref": "./examples/Workspace/BatchDeployment/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "Delete Registry Component Container.": { - "$ref": "./examples/Registry/ComponentContainer/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys": { + "post": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists batch Inference Endpoint keys.", + "operationId": "BatchEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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" + }, + { + "$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 Batch Endpoint.": { + "$ref": "./examples/Workspace/BatchEndpoint/listKeys.json" + } + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "ComponentContainer" - ], - "summary": "Get container.", - "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container 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" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes": { + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "List containers.", + "operationId": "CodeContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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/CodeContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Code Container.": { + "$ref": "./examples/Workspace/CodeContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}": { + "delete": { + "tags": [ + "CodeContainer" + ], + "summary": "Delete container.", + "operationId": "CodeContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Code Container.": { + "$ref": "./examples/Workspace/CodeContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "Get container.", + "operationId": "CodeContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Code Container.": { + "$ref": "./examples/Workspace/CodeContainer/get.json" + } + } + }, + "put": { + "tags": [ + "CodeContainer" + ], + "summary": "Create or update container.", + "operationId": "CodeContainers_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": "Container name. This is case-sensitive.", + "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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Code Container.": { + "$ref": "./examples/Workspace/CodeContainer/createOrUpdate.json" + } + } } - }, - "x-ms-examples": { - "Get Registry Component Container.": { - "$ref": "./examples/Registry/ComponentContainer/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions": { + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "List versions.", + "operationId": "CodeVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Container name. This is case-sensitive.", + "required": true, + "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": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "hash", + "description": "If specified, return CodeVersion assets with specified content hash value, regardless of name", + "type": "string" + }, + { + "in": "query", + "name": "hashVersion", + "description": "Hash algorithm version when listing by hash", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Code Version.": { + "$ref": "./examples/Workspace/CodeVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - } - }, - "put": { - "tags": [ - "ComponentContainer" - ], - "summary": "Create or update container.", - "operationId": "RegistryComponentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}": { + "delete": { + "tags": [ + "CodeVersion" + ], + "summary": "Delete version.", + "operationId": "CodeVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "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": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Code Version.": { + "$ref": "./examples/Workspace/CodeVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "Get version.", + "operationId": "CodeVersions_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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Code Version.": { + "$ref": "./examples/Workspace/CodeVersion/get.json" + } + } + }, + "put": { + "tags": [ + "CodeVersion" + ], + "summary": "Create or update version.", + "operationId": "CodeVersions_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": "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": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Code Version.": { + "$ref": "./examples/Workspace/CodeVersion/createOrUpdate.json" + } + } } - ], - "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/ComponentContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ComponentContainerResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload": { + "post": { + "tags": [ + "CodeVersion" + ], + "summary": "Generate a storage location and credential for the client to upload a code asset to.", + "operationId": "CodeVersions_CreateOrGetStartPendingUpload", + "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": "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" + }, + { + "in": "body", + "name": "body", + "description": "Pending upload request object", + "required": true, + "schema": { + "$ref": "#/definitions/PendingUploadRequestDto" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PendingUploadResponseDto" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrGetStartPendingUpload Workspace Code Version.": { + "$ref": "./examples/Workspace/CodeVersion/createOrGetStartPendingUpload.json" + } + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Component Container.": { - "$ref": "./examples/Registry/ComponentContainer/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components": { + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "List component containers.", + "operationId": "ComponentContainers_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": "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/ComponentContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Component Container.": { + "$ref": "./examples/Workspace/ComponentContainer/list.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/registries/{registryName}/components/{componentName}/versions": { - "get": { - "tags": [ - "ComponentVersion" - ], - "summary": "List versions.", - "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container 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": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "stage", - "description": "Component stage.", - "type": "string" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}": { + "delete": { + "tags": [ + "ComponentContainer" + ], + "summary": "Delete container.", + "operationId": "ComponentContainers_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": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Component Container.": { + "$ref": "./examples/Workspace/ComponentContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "Get container.", + "operationId": "ComponentContainers_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": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Component Container.": { + "$ref": "./examples/Workspace/ComponentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentContainer" + ], + "summary": "Create or update container.", + "operationId": "ComponentContainers_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": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Component Container.": { + "$ref": "./examples/Workspace/ComponentContainer/createOrUpdate.json" + } + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions": { + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "List component versions.", + "operationId": "ComponentVersions_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": "name", + "description": "Component 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" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + }, + { + "in": "query", + "name": "stage", + "description": "Component stage.", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Component Version.": { + "$ref": "./examples/Workspace/ComponentVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "List Registry Component Version.": { - "$ref": "./examples/Registry/ComponentVersion/list.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}": { + "delete": { + "tags": [ + "ComponentVersion" + ], + "summary": "Delete version.", + "operationId": "ComponentVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Component Version.": { + "$ref": "./examples/Workspace/ComponentVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "Get version.", + "operationId": "ComponentVersions_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": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Component Version.": { + "$ref": "./examples/Workspace/ComponentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentVersion" + ], + "summary": "Create or update version.", + "operationId": "ComponentVersions_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": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Component Version.": { + "$ref": "./examples/Workspace/ComponentVersion/createOrUpdate.json" + } + } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/components/{componentName}/versions/{version}": { - "delete": { - "tags": [ - "ComponentVersion" - ], - "summary": "Delete version.", - "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data": { + "get": { + "tags": [ + "DataContainer" + ], + "summary": "List data containers.", + "operationId": "DataContainers_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": "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/DataContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Data Container.": { + "$ref": "./examples/Workspace/DataContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}": { + "delete": { + "tags": [ + "DataContainer" + ], + "summary": "Delete container.", + "operationId": "DataContainers_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": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Data Container.": { + "$ref": "./examples/Workspace/DataContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "DataContainer" + ], + "summary": "Get container.", + "operationId": "DataContainers_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": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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 Workspace Data Container.": { + "$ref": "./examples/Workspace/DataContainer/get.json" + } + } + }, + "put": { + "tags": [ + "DataContainer" + ], + "summary": "Create or update container.", + "operationId": "DataContainers_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": "Container 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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Data Container.": { + "$ref": "./examples/Workspace/DataContainer/createOrUpdate.json" + } + } } - }, - "x-ms-examples": { - "Delete Registry Component Version.": { - "$ref": "./examples/Registry/ComponentVersion/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions": { + "get": { + "tags": [ + "DataVersion" + ], + "summary": "List data versions in the data container", + "operationId": "DataVersions_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": "name", + "description": "Data container's name", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Please choose OrderBy value from ['createdtime', 'modifiedtime']", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top count of results, top count cannot be greater than the page size.\r\n If topCount > page size, results with be default page size count will be returned", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "stage", + "description": "data stage", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Data Version Base.": { + "$ref": "./examples/Workspace/DataVersionBase/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "ComponentVersion" - ], - "summary": "Get version.", - "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}": { + "delete": { + "tags": [ + "DataVersion" + ], + "summary": "Delete version.", + "operationId": "DataVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Data Version Base.": { + "$ref": "./examples/Workspace/DataVersionBase/delete.json" + } + } + }, + "get": { + "tags": [ + "DataVersion" + ], + "summary": "Get version.", + "operationId": "DataVersions_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": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Data Version Base.": { + "$ref": "./examples/Workspace/DataVersionBase/get.json" + } + } + }, + "put": { + "tags": [ + "DataVersion" + ], + "summary": "Create or update version.", + "operationId": "DataVersions_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": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataVersionBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Data Version Base.": { + "$ref": "./examples/Workspace/DataVersionBase/createOrUpdate.json" + } + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": { + "get": { + "tags": [ + "Datastore" + ], + "summary": "List datastores.", + "operationId": "Datastores_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "count", + "description": "Maximum number of results to return.", + "type": "integer", + "format": "int32", + "default": 30 + }, + { + "in": "query", + "name": "isDefault", + "description": "Filter down to the workspace default datastore.", + "type": "boolean" + }, + { + "in": "query", + "name": "names", + "description": "Names of datastores to return.", + "type": "array", + "items": { + "type": "string" + } + }, + { + "in": "query", + "name": "searchText", + "description": "Text to search for in the datastore names.", + "type": "string" + }, + { + "in": "query", + "name": "orderBy", + "description": "Order by property (createdtime | modifiedtime | name).", + "type": "string" + }, + { + "in": "query", + "name": "orderByAsc", + "description": "Order by property in ascending order.", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastoreResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List datastores.": { + "$ref": "./examples/Datastore/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "Get Registry Component Version.": { - "$ref": "./examples/Registry/ComponentVersion/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": { + "delete": { + "tags": [ + "Datastore" + ], + "summary": "Delete datastore.", + "operationId": "Datastores_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": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete datastore.": { + "$ref": "./examples/Datastore/delete.json" + } + } + }, + "get": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore.", + "operationId": "Datastores_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": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get datastore.": { + "$ref": "./examples/Datastore/get.json" + } + } + }, + "put": { + "tags": [ + "Datastore" + ], + "summary": "Create or update datastore.", + "operationId": "Datastores_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Datastore 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": "skipValidation", + "description": "Flag to skip validation.", + "type": "boolean", + "default": false + }, + { + "in": "body", + "name": "body", + "description": "Datastore entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate datastore (AzureBlob w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" + } + } } - } - }, - "put": { - "tags": [ - "ComponentVersion" - ], - "summary": "Create or update version.", - "operationId": "RegistryComponentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "componentName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets": { + "post": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore secrets.", + "operationId": "Datastores_ListSecrets", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "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": { + "Get datastore secrets.": { + "$ref": "./examples/Datastore/listSecrets.json" + } + } } - ], - "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/ComponentVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments": { + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "List environment containers.", + "operationId": "EnvironmentContainers_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": "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/EnvironmentContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Environment Container.": { + "$ref": "./examples/Workspace/EnvironmentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Component Version.": { - "$ref": "./examples/Registry/ComponentVersion/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}": { + "delete": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Delete container.", + "operationId": "EnvironmentContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Environment Container.": { + "$ref": "./examples/Workspace/EnvironmentContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Get container.", + "operationId": "EnvironmentContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Environment Container.": { + "$ref": "./examples/Workspace/EnvironmentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Create or update container.", + "operationId": "EnvironmentContainers_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": "Container name. This is case-sensitive.", + "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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Environment Container.": { + "$ref": "./examples/Workspace/EnvironmentContainer/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/registries/{registryName}/data": { - "get": { - "tags": [ - "DataContainerRegistry" - ], - "summary": "List Data containers.", - "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions": { + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "List versions.", + "operationId": "EnvironmentVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Container name. This is case-sensitive.", + "required": true, + "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": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + }, + { + "in": "query", + "name": "stage", + "description": "Stage for including/excluding (for example) archived entities. Takes priority over listViewType", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Environment Version.": { + "$ref": "./examples/Workspace/EnvironmentVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}": { + "delete": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Delete version.", + "operationId": "EnvironmentVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "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": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Environment Version.": { + "$ref": "./examples/Workspace/EnvironmentVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Get version.", + "operationId": "EnvironmentVersions_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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Environment Version.": { + "$ref": "./examples/Workspace/EnvironmentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Creates or updates an EnvironmentVersion.", + "operationId": "EnvironmentVersions_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": "Name of EnvironmentVersion. 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 of EnvironmentVersion.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Definition of EnvironmentVersion.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Environment Version.": { + "$ref": "./examples/Workspace/EnvironmentVersion/createOrUpdate.json" + } + } } - }, - "x-ms-examples": { - "RegistryList Registry Data Container.": { - "$ref": "./examples/Registry/DataContainer/registryList.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets": { + "get": { + "tags": [ + "FeaturesetContainer" + ], + "summary": "List featurestore entity containers.", + "operationId": "FeaturesetContainers_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": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "pageSize", + "description": "page size", + "type": "integer", + "format": "int32", + "default": 20 + }, + { + "in": "query", + "name": "name", + "description": "name for the featureset", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "description for the feature set", + "type": "string" + }, + { + "in": "query", + "name": "createdBy", + "description": "createdBy user name", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Featureset Container.": { + "$ref": "./examples/Workspace/FeaturesetContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}": { - "delete": { - "tags": [ - "DataContainerRegistry" - ], - "summary": "Delete container.", - "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features": { + "get": { + "tags": [ + "Feature" + ], + "summary": "List Features.", + "operationId": "Features_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": "featuresetName", + "description": "Featureset name. This is case-sensitive.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "featuresetVersion", + "description": "Featureset 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": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "featureName", + "description": "feature name.", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "Description of the featureset.", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "pageSize", + "description": "Page size.", + "type": "integer", + "format": "int32", + "default": 1000 + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeatureResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Feature.": { + "$ref": "./examples/Feature/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features/{featureName}": { + "get": { + "tags": [ + "Feature" + ], + "summary": "Get feature.", + "operationId": "Features_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": "featuresetName", + "description": "Feature set name. This is case-sensitive.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "featuresetVersion", + "description": "Feature set version identifier. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "featureName", + "description": "Feature Name. This is case-sensitive.", + "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/FeatureResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Feature.": { + "$ref": "./examples/Feature/get.json" + } + } } - }, - "x-ms-examples": { - "Delete Registry Data Container.": { - "$ref": "./examples/Registry/DataContainer/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}": { + "delete": { + "tags": [ + "FeaturesetContainer" + ], + "summary": "Delete container.", + "operationId": "FeaturesetContainers_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": "Container name. This is case-sensitive.", + "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 Workspace Featureset Container.": { + "$ref": "./examples/Workspace/FeaturesetContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "FeaturesetContainer" + ], + "summary": "Get container.", + "operationId": "FeaturesetContainers_GetEntity", + "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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetEntity Workspace Featureset Container.": { + "$ref": "./examples/Workspace/FeaturesetContainer/getEntity.json" + } + } + }, + "put": { + "tags": [ + "FeaturesetContainer" + ], + "summary": "Create or update container.", + "operationId": "FeaturesetContainers_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": "Container name. This is case-sensitive.", + "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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/FeaturesetContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/FeaturesetContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FeaturesetContainerResource" + }, + "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 Featureset Container.": { + "$ref": "./examples/Workspace/FeaturesetContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "DataContainerRegistry" - ], - "summary": "Get container.", - "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions": { + "get": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "List versions.", + "operationId": "FeaturesetVersions_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": "name", + "description": "Featureset name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "pageSize", + "description": "page size", + "type": "integer", + "format": "int32", + "default": 20 + }, + { + "in": "query", + "name": "versionName", + "description": "name for the featureset version", + "type": "string" + }, + { + "in": "query", + "name": "version", + "description": "featureset version", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "description for the feature set version", + "type": "string" + }, + { + "in": "query", + "name": "createdBy", + "description": "createdBy user name", + "type": "string" + }, + { + "in": "query", + "name": "stage", + "description": "Specifies the featurestore stage", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}": { + "delete": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "Delete version.", + "operationId": "FeaturesetVersions_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": "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": { + "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 Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "Get version.", + "operationId": "FeaturesetVersions_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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/get.json" + } + } + }, + "put": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "Create or update version.", + "operationId": "FeaturesetVersions_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": "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": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/FeaturesetVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/FeaturesetVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FeaturesetVersionResource" + }, + "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 Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "Get Registry Data Container.": { - "$ref": "./examples/Registry/DataContainer/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/backfill": { + "post": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "Backfill.", + "operationId": "FeaturesetVersions_Backfill", + "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": "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" + }, + { + "in": "body", + "name": "body", + "description": "Feature set version backfill request entity.", + "required": true, + "schema": { + "$ref": "#/definitions/FeaturesetVersionBackfillRequest" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetJob" + } + }, + "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": { + "Backfill Workspace Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/backfill.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } - } - }, - "put": { - "tags": [ - "DataContainerRegistry" - ], - "summary": "Create or update container.", - "operationId": "RegistryDataContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataContainerResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}/listMaterializationJobs": { + "post": { + "tags": [ + "FeaturesetVersion" + ], + "summary": "List materialization Jobs.", + "operationId": "FeaturesetVersions_ListMaterializationJobs", + "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": "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" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "filters", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "featureWindowStart", + "description": "Start time of the feature window to filter materialization jobs.", + "type": "string" + }, + { + "in": "query", + "name": "featureWindowEnd", + "description": "End time of the feature window to filter materialization jobs.", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturesetJobArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListMaterializationJobs Workspace Featureset Version.": { + "$ref": "./examples/Workspace/FeaturesetVersion/listMaterializationJobs.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "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/DataContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataContainerResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities": { + "get": { + "tags": [ + "FeaturestoreEntityContainer" + ], + "summary": "List featurestore entity containers.", + "operationId": "FeaturestoreEntityContainers_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": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "pageSize", + "description": "page size", + "type": "integer", + "format": "int32", + "default": 20 + }, + { + "in": "query", + "name": "name", + "description": "name for the featurestore entity", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "description for the featurestore entity", + "type": "string" + }, + { + "in": "query", + "name": "createdBy", + "description": "createdBy user name", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityContainerResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Featurestore Entity Container.": { + "$ref": "./examples/Workspace/FeaturestoreEntityContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Data Container.": { - "$ref": "./examples/Registry/DataContainer/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}": { + "delete": { + "tags": [ + "FeaturestoreEntityContainer" + ], + "summary": "Delete container.", + "operationId": "FeaturestoreEntityContainers_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": "Container name. This is case-sensitive.", + "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 Workspace Featurestore Entity Container.": { + "$ref": "./examples/Workspace/FeaturestoreEntityContainer/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "FeaturestoreEntityContainer" + ], + "summary": "Get container.", + "operationId": "FeaturestoreEntityContainers_GetEntity", + "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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetEntity Workspace Featurestore Entity Container.": { + "$ref": "./examples/Workspace/FeaturestoreEntityContainer/getEntity.json" + } + } + }, + "put": { + "tags": [ + "FeaturestoreEntityContainer" + ], + "summary": "Create or update container.", + "operationId": "FeaturestoreEntityContainers_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": "Container name. This is case-sensitive.", + "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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/FeaturestoreEntityContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityContainerResource" + }, + "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 Featurestore Entity Container.": { + "$ref": "./examples/Workspace/FeaturestoreEntityContainer/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions": { - "get": { - "tags": [ - "DataVersionRegistry" - ], - "summary": "List data versions in the data container", - "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Data container's name", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Please choose OrderBy value from ['createdtime', 'modifiedtime']", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Top count of results, top count cannot be greater than the page size.\r\n If topCount > page size, results with be default page size count will be returned", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" - } - ] - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions": { + "get": { + "tags": [ + "FeaturestoreEntityVersion" + ], + "summary": "List versions.", + "operationId": "FeaturestoreEntityVersions_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": "name", + "description": "Feature entity name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]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" + } + ] + } + }, + { + "in": "query", + "name": "pageSize", + "description": "page size", + "type": "integer", + "format": "int32", + "default": 20 + }, + { + "in": "query", + "name": "versionName", + "description": "name for the featurestore entity version", + "type": "string" + }, + { + "in": "query", + "name": "version", + "description": "featurestore entity version", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "description for the feature entity version", + "type": "string" + }, + { + "in": "query", + "name": "createdBy", + "description": "createdBy user name", + "type": "string" + }, + { + "in": "query", + "name": "stage", + "description": "Specifies the featurestore stage", + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityVersionResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Featurestore Entity Version.": { + "$ref": "./examples/Workspace/FeaturestoreEntityVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}": { + "delete": { + "tags": [ + "FeaturestoreEntityVersion" + ], + "summary": "Delete version.", + "operationId": "FeaturestoreEntityVersions_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": "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": { + "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 Featurestore Entity Version.": { + "$ref": "./examples/Workspace/FeaturestoreEntityVersion/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "FeaturestoreEntityVersion" + ], + "summary": "Get version.", + "operationId": "FeaturestoreEntityVersions_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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Featurestore Entity Version.": { + "$ref": "./examples/Workspace/FeaturestoreEntityVersion/get.json" + } + } + }, + "put": { + "tags": [ + "FeaturestoreEntityVersion" + ], + "summary": "Create or update version.", + "operationId": "FeaturestoreEntityVersions_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": "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": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/FeaturestoreEntityVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/FeaturestoreEntityVersionResource" + }, + "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 Featurestore Entity Version.": { + "$ref": "./examples/Workspace/FeaturestoreEntityVersion/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - }, - "x-ms-examples": { - "RegistryList Registry Data Version Base.": { - "$ref": "./examples/Registry/DataVersionBase/registryList.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { + "get": { + "tags": [ + "Job" + ], + "summary": "Lists Jobs in the workspace.", + "operationId": "Jobs_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "jobType", + "description": "Type of job to be returned.", + "type": "string" + }, + { + "in": "query", + "name": "tag", + "description": "Jobs returned will have this tag key.", + "type": "string" + }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + } + }, + { + "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" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$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" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/data/{name}/versions/{version}": { - "delete": { - "tags": [ - "DataVersionRegistry" - ], - "summary": "Delete version.", - "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { + "delete": { + "tags": [ + "Job" + ], + "summary": "Deletes a Job (asynchronous).", + "operationId": "Jobs_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": { + "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 Job.": { + "$ref": "./examples/Job/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Job" + ], + "summary": "Gets a Job by name/id.", + "operationId": "Jobs_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$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" + } + } + }, + "patch": { + "tags": [ + "Job" + ], + "summary": "Updates a Job.", + "operationId": "Jobs_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": "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" + } + } + }, + "x-ms-examples": { + "Update Job.": { + "$ref": "./examples/Job/update.json" + } + } + }, + "put": { + "tags": [ + "Job" + ], + "summary": "Creates and executes a Job.", + "operationId": "Jobs_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": "id", + "description": "The name and identifier for the Job. This is case-sensitive.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$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": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "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" + } + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/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": { + "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": { + "Cancel Job.": { + "$ref": "./examples/Job/cancel.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } - }, - "x-ms-examples": { - "Delete Registry Data Version Base.": { - "$ref": "./examples/Registry/DataVersionBase/delete.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs": { + "get": { + "tags": [ + "LabelingJob" + ], + "summary": "Lists labeling jobs in the workspace.", + "operationId": "LabelingJobs_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "$top", + "description": "Number of labeling jobs to return.", + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Labeling Job.": { + "$ref": "./examples/LabelingJob/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "DataVersionRegistry" - ], - "summary": "Get version.", - "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { + "delete": { + "tags": [ + "LabelingJob" + ], + "summary": "Delete a labeling job.", + "operationId": "LabelingJobs_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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 LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Labeling Job.": { + "$ref": "./examples/LabelingJob/delete.json" + } + } + }, + "get": { + "tags": [ + "LabelingJob" + ], + "summary": "Gets a labeling job by name/id.", + "operationId": "LabelingJobs_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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 LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "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" + }, + { + "$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 LabelingJob.", + "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": "LabelingJob definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Labeling Job.": { + "$ref": "./examples/LabelingJob/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "original-uri" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionBaseResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Export labels from a labeling job (asynchronous).", + "operationId": "LabelingJobs_ExportLabels", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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 LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The export summary.", + "required": true, + "schema": { + "$ref": "#/definitions/ExportSummary" + } + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExportSummary" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "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" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } - }, - "x-ms-examples": { - "Get Registry Data Version Base.": { - "$ref": "./examples/Registry/DataVersionBase/get.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Pause a labeling job.", + "operationId": "LabelingJobs_Pause", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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 LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJob" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Pause Labeling Job.": { + "$ref": "./examples/LabelingJob/pause.json" + } + } } - } - }, - "put": { - "tags": [ - "DataVersionRegistry" - ], - "summary": "Create or update version.", - "operationId": "RegistryDataVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataVersionBaseResource" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Resume a labeling job (asynchronous).", + "operationId": "LabelingJobs_Resume", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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 LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJob" + } + }, + "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": { + "Resume Labeling Job.": { + "$ref": "./examples/LabelingJob/resume.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } } - ], - "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/DataVersionBaseResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataVersionBaseResource" - }, - "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" - } - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "List model containers.", + "operationId": "ModelContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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": "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": { + "List Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Data Version Base.": { - "$ref": "./examples/Registry/DataVersionBase/createOrUpdate.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { + "delete": { + "tags": [ + "ModelContainer" + ], + "summary": "Delete container.", + "operationId": "ModelContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + }, + "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" + } + } + }, + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "Get container.", + "operationId": "ModelContainers_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": "Container name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ModelContainer" + ], + "summary": "Create or update container.", + "operationId": "ModelContainers_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": "Container name. This is case-sensitive.", + "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": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Model Container.": { + "$ref": "./examples/Workspace/ModelContainer/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/registries/{registryName}/data/{name}/versions/{version}/startPendingUpload": { - "post": { - "tags": [ - "DataVersionRegistry" - ], - "summary": "Generate a storage location and credential for the client to upload a data asset to.", - "operationId": "RegistryDataVersions_CreateOrGetStartPendingUpload", - "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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "name", - "description": "Data asset 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" - }, - { - "in": "body", - "name": "body", - "description": "Pending upload request object", - "required": true, - "schema": { - "$ref": "#/definitions/PendingUploadRequestDto" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "List model versions.", + "operationId": "ModelVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "Model name. This is case-sensitive.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "version", + "description": "Model version.", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "Model description.", + "type": "string" + }, + { + "in": "query", + "name": "offset", + "description": "Number of initial results to skip.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", + "type": "string" + }, + { + "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" + } + ] + } + }, + { + "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": { + "List Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PendingUploadResponseDto" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { + "delete": { + "tags": [ + "ModelVersion" + ], + "summary": "Delete version.", + "operationId": "ModelVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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": "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": { + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "Get version.", + "operationId": "ModelVersions_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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "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": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$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" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + ], + "responses": { + "200": { + "description": "Create or update request is successful.", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Workspace Model Version.": { + "$ref": "./examples/Workspace/ModelVersion/createOrUpdate.json" + } + } } - }, - "x-ms-examples": { - "CreateOrGetStartPendingUpload Registry Data Version Base.": { - "$ref": "./examples/Registry/DataVersionBase/createOrGetStartPendingUpload.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}/package": { + "post": { + "tags": [ + "ModelVersion" + ], + "summary": "Model Version Package operation.", + "operationId": "ModelVersions_Package", + "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": "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/PackageResponse" + } + }, + "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": { + "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/registries/{registryName}/environments": { - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "List environment containers.", - "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" - } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints": { + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "List Online Endpoints.", + "operationId": "OnlineEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/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" + }, + { + "in": "query", + "name": "name", + "description": "Name of the endpoint.", + "type": "string" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "computeType", + "description": "EndpointComputeType to be filtered by.", + "type": "string", + "enum": [ + "Managed", + "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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Workspace Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - }, - "x-ms-examples": { - "List Registry Environment Container.": { - "$ref": "./examples/Registry/EnvironmentContainer/list.json" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { + "delete": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Delete Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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" + }, + "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 Online Endpoint.": { + "$ref": "./examples/Workspace/OnlineEndpoint/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Get Online Endpoint.", + "operationId": "OnlineEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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/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" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$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/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" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "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" + } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}": { - "delete": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Delete container.", - "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container 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" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "List Inference Endpoint Deployments.", + "operationId": "OnlineDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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" + }, + { + "$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": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List Online Deployments.": { + "$ref": "./examples/OnlineDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Delete Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$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" + }, + "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 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" + } } - }, - "x-ms-examples": { - "Delete Registry Environment Container.": { - "$ref": "./examples/Registry/EnvironmentContainer/delete.json" + }, + "/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" + } + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Get container.", - "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container name. This is case-sensitive.", - "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" + }, + "/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" + } } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } + }, + "/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" + } + } } - }, - "x-ms-examples": { - "Get Registry Environment Container.": { - "$ref": "./examples/Registry/EnvironmentContainer/get.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" + } } - } - }, - "put": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Create or update container.", - "operationId": "RegistryEnvironmentContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } + }, + "/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" + } + } } - ], - "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/EnvironmentContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - }, - "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" - } - } + }, + "/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" + } } - }, - "x-ms-examples": { - "CreateOrUpdate Registry Environment Container.": { - "$ref": "./examples/Registry/EnvironmentContainer/createOrUpdate.json" + }, + "/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" + } } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions": { - "get": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "List versions.", - "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container name. This is case-sensitive.", - "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": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "definitions": { + "AccountKeyDatastoreCredentials": { + "description": "Account key datastore credentials configuration.", + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "[Required] Storage account secrets.", + "$ref": "#/definitions/AccountKeyDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AccountKeyDatastoreSecrets": { + "description": "Datastore account key secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "key": { + "description": "Storage account key.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AllFeatures": { + "required": [ + "filterType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringFeatureFilterBase" + } + ], + "x-ms-discriminator-value": "AllFeatures", + "additionalProperties": false + }, + "AllNodes": { + "description": "All nodes means the service will be running on all of the nodes of the job", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Nodes" + } + ], + "x-ms-discriminator-value": "All", + "additionalProperties": false + }, + "AmlToken": { + "description": "AML Token identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "x-ms-discriminator-value": "AMLToken", + "additionalProperties": false + }, + "AmlTokenComputeIdentity": { + "description": "AML token compute identity definition.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitorComputeIdentityBase" + } + ], + "x-ms-discriminator-value": "AmlToken", + "additionalProperties": false + }, + "AssetBase": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "autoDeleteSetting": { + "description": "Specifies the lifecycle setting of managed data asset.", + "$ref": "#/definitions/AutoDeleteSetting", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "isArchived": { + "description": "Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "AssetContainer": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "isArchived": { + "description": "Is the asset archived?", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "AssetJobInput": { + "description": "Asset input type.", + "required": [ + "uri" + ], + "type": "object", + "properties": { + "mode": { + "description": "Input Asset Delivery Mode.", + "default": "ReadOnlyMount", + "$ref": "#/definitions/InputDeliveryMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "uri": { + "description": "[Required] Input Asset URI.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "additionalProperties": false + }, + "AssetJobOutput": { + "description": "Asset output type.", + "type": "object", + "properties": { + "assetName": { + "description": "Output Asset Name.", + "type": "string", + "x-nullable": true + }, + "assetVersion": { + "description": "Output Asset Version.", + "type": "string", + "x-nullable": true + }, + "autoDeleteSetting": { + "description": "Auto delete setting of output data asset.", + "$ref": "#/definitions/AutoDeleteSetting", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "mode": { + "description": "Output Asset Delivery Mode.", + "default": "ReadWriteMount", + "$ref": "#/definitions/OutputDeliveryMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "uri": { + "description": "Output Asset URI.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "AssetProvisioningState": { + "description": "Provisioning state of registry asset.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "name": "AssetProvisioningState", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Updating" + }, + { + "value": "Deleting" + } ] - } }, - { - "in": "query", - "name": "stage", - "description": "Stage for including/excluding (for example) archived entities. Takes priority over listViewType", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Registry Environment Version.": { - "$ref": "./examples/Registry/EnvironmentVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}": { - "delete": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Delete version.", - "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Registry Environment Version.": { - "$ref": "./examples/Registry/EnvironmentVersion/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Get version.", - "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "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" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentVersionResource" - } - } - }, - "x-ms-examples": { - "Get Registry Environment Version.": { - "$ref": "./examples/Registry/EnvironmentVersion/get.json" - } - } - }, - "put": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Create or update version.", - "operationId": "RegistryEnvironmentVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "environmentName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentVersionResource" - } - } - ], - "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/EnvironmentVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentVersionResource" - }, - "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 Registry Environment Version.": { - "$ref": "./examples/Registry/EnvironmentVersion/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/registries/{registryName}/models": { - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "List model containers.", - "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + "additionalProperties": false + }, + "AssetReferenceBase": { + "description": "Base definition for asset references.", + "required": [ + "referenceType" + ], + "type": "object", + "properties": { + "referenceType": { + "description": "[Required] Specifies the type of asset reference.", + "$ref": "#/definitions/ReferenceType" + } + }, + "discriminator": "referenceType" + }, + "AutoDeleteCondition": { + "enum": [ + "CreatedGreaterThan", + "LastAccessedGreaterThan" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoDeleteCondition", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "CreatedGreaterThan" + }, + { + "value": "LastAccessedGreaterThan" + } ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Registry Model Container.": { - "$ref": "./examples/Registry/ModelContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}": { - "delete": { - "tags": [ - "ModelContainer" - ], - "summary": "Delete container.", - "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container 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": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Registry Model Container.": { - "$ref": "./examples/Registry/ModelContainer/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "Get container.", - "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container name. This is case-sensitive.", - "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": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "x-ms-examples": { - "Get Registry Model Container.": { - "$ref": "./examples/Registry/ModelContainer/get.json" - } - } - }, - "put": { - "tags": [ - "ModelContainer" - ], - "summary": "Create or update model container.", - "operationId": "RegistryModelContainers_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - ], - "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/ModelContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - }, - "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 Registry Model Container.": { - "$ref": "./examples/Registry/ModelContainer/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/registries/{registryName}/models/{modelName}/versions": { - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "List versions.", - "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container name. This is case-sensitive.", - "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" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "version", - "description": "Version identifier.", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "Model description.", - "type": "string" - }, - { - "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": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "AutoDeleteSetting": { + "type": "object", + "properties": { + "condition": { + "description": "When to check if an asset is expired", + "default": "CreatedGreaterThan", + "$ref": "#/definitions/AutoDeleteCondition", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "value": { + "description": "Expiration condition value.", + "type": "string", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "AutoForecastHorizon": { + "description": "Forecast horizon determined automatically by system.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ForecastHorizon" + } + ], + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AutoMLJob": { + "description": "AutoMLJob class.\r\nUse this class for executing AutoML tasks like Classification/Regression etc.\r\nSee TaskType enum for all the tasks supported.", + "required": [ + "taskDetails" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.\r\nThis is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "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 + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "default": "{}", + "$ref": "#/definitions/JobResourceConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "taskDetails": { + "description": "[Required] This represents scenario which can be one of Tables/NLP/Image", + "$ref": "#/definitions/AutoMLVertical" + } + }, + "x-ms-discriminator-value": "AutoML", + "additionalProperties": false + }, + "AutoMLVertical": { + "description": "AutoML vertical class.\r\nBase class for AutoML verticals - TableVertical/ImageVertical/NLPVertical", + "required": [ + "taskType", + "trainingData" + ], + "type": "object", + "properties": { + "logVerbosity": { + "description": "Log verbosity for the job.", + "default": "Info", + "$ref": "#/definitions/LogVerbosity" + }, + "targetColumnName": { + "description": "Target column name: This is prediction values column.\r\nAlso known as label column name in context of classification tasks.", + "type": "string", + "x-nullable": true + }, + "taskType": { + "description": "[Required] Task type for AutoMLJob.", + "$ref": "#/definitions/TaskType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "trainingData": { + "description": "[Required] Training data input.", + "$ref": "#/definitions/MLTableJobInput" + } + }, + "discriminator": "taskType" + }, + "AutoNCrossValidations": { + "description": "N-Cross validations determined automatically.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NCrossValidations" + } + ], + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AutoRebuildSetting": { + "description": "AutoRebuild setting for the derived image", + "enum": [ + "Disabled", + "OnBaseImageUpdate" + ], + "type": "string", + "x-ms-enum": { + "name": "AutoRebuildSetting", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "Disabled" + }, + { + "value": "OnBaseImageUpdate" + } ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Registry Model Version.": { - "$ref": "./examples/Registry/ModelVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/models/{modelName}/versions/{version}": { - "delete": { - "tags": [ - "ModelVersion" - ], - "summary": "Delete version.", - "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Registry Model Version.": { - "$ref": "./examples/Registry/ModelVersion/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "Get version.", - "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "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" - } - ], - "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 Registry Model Version.": { - "$ref": "./examples/Registry/ModelVersion/get.json" - } - } - }, - "put": { - "tags": [ - "ModelVersion" - ], - "summary": "Create or update version.", - "operationId": "RegistryModelVersions_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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - }, - "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 Registry Model Version.": { - "$ref": "./examples/Registry/ModelVersion/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/registries/{registryName}/models/{modelName}/versions/{version}/package": { - "post": { - "tags": [ - "ModelVersion" - ], - "summary": "Model Version Package operation.", - "operationId": "RegistryModelVersions_Package", - "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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "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", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PackageResponse" - } - }, - "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": { - "Package Registry Model Version.": { - "$ref": "./examples/Registry/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/registries/{registryName}/models/{modelName}/versions/{version}/startPendingUpload": { - "post": { - "tags": [ - "ModelVersion" - ], - "summary": "Generate a storage location and credential for the client to upload a model asset to.", - "operationId": "RegistryModelVersions_CreateOrGetStartPendingUpload", - "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": "registries.json#/parameters/RegistryNameParameter" - }, - { - "in": "path", - "name": "modelName", - "description": "Model 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": "Pending upload request object", - "required": true, - "schema": { - "$ref": "#/definitions/PendingUploadRequestDto" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PendingUploadResponseDto" - } - } - }, - "x-ms-examples": { - "CreateOrGetStartPendingUpload Registry Model Version.": { - "$ref": "./examples/Registry/ModelVersion/createOrGetStartPendingUpload.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": { - "get": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Lists Batch inference endpoint in the workspace.", - "operationId": "BatchEndpoints_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/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" - }, - { - "in": "query", - "name": "count", - "description": "Number of endpoints to be retrieved in a page of results.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}": { - "delete": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Delete Batch Inference Endpoint (asynchronous).", - "operationId": "BatchEndpoints_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": "endpointName", - "description": "Inference Endpoint name.", - "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" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Gets a batch inference endpoint by name.", - "operationId": "BatchEndpoints_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": "Name for the Batch Endpoint.", - "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/BatchEndpointTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/get.json" - } - } - }, - "patch": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Update a batch inference endpoint (asynchronous).", - "operationId": "BatchEndpoints_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": "Name for the Batch inference endpoint.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Mutable batch inference endpoint definition object.", - "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/BatchEndpointTrackedResource" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/update.json" - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Creates a batch inference endpoint (asynchronous).", - "operationId": "BatchEndpoints_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": "Name for the Batch inference endpoint.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference endpoint definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/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}/batchEndpoints/{endpointName}/deployments": { - "get": { - "tags": [ - "BatchDeployment" - ], - "summary": "Lists Batch inference deployments in the workspace.", - "operationId": "BatchDeployments_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": "endpointName", - "description": "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" - }, - { - "in": "query", - "name": "$top", - "description": "Top of list.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Batch Deployment.": { - "$ref": "./examples/Workspace/BatchDeployment/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}": { - "delete": { - "tags": [ - "BatchDeployment" - ], - "summary": "Delete Batch Inference deployment (asynchronous).", - "operationId": "BatchDeployments_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": "endpointName", - "description": "Endpoint name", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference deployment identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Batch Deployment.": { - "$ref": "./examples/Workspace/BatchDeployment/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "BatchDeployment" - ], - "summary": "Gets a batch inference deployment by id.", - "operationId": "BatchDeployments_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": "Endpoint name", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The identifier for the Batch deployments.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/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/BatchDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Batch Deployment.": { - "$ref": "./examples/Workspace/BatchDeployment/get.json" - } - } - }, - "patch": { - "tags": [ - "BatchDeployment" - ], - "summary": "Update a batch inference deployment (asynchronous).", - "operationId": "BatchDeployments_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": "Inference endpoint name", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The identifier for the Batch inference deployment.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference deployment definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update Workspace Batch Deployment.": { - "$ref": "./examples/Workspace/BatchDeployment/update.json" - } - }, - "x-ms-long-running-operation": true - }, - "put": { - "tags": [ - "BatchDeployment" - ], - "summary": "Creates/updates a batch inference deployment (asynchronous).", - "operationId": "BatchDeployments_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": "The identifier for the Batch inference deployment.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference deployment definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Batch Deployment.": { - "$ref": "./examples/Workspace/BatchDeployment/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}/batchEndpoints/{endpointName}/listkeys": { - "post": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Lists batch Inference Endpoint keys.", - "operationId": "BatchEndpoints_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": "Inference Endpoint name.", - "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/EndpointAuthKeys" - } - } - }, - "x-ms-examples": { - "ListKeys Workspace Batch Endpoint.": { - "$ref": "./examples/Workspace/BatchEndpoint/listKeys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes": { - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "List containers.", - "operationId": "CodeContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Code Container.": { - "$ref": "./examples/Workspace/CodeContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}": { - "delete": { - "tags": [ - "CodeContainer" - ], - "summary": "Delete container.", - "operationId": "CodeContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container 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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Code Container.": { - "$ref": "./examples/Workspace/CodeContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "Get container.", - "operationId": "CodeContainers_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": "Container 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", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Code Container.": { - "$ref": "./examples/Workspace/CodeContainer/get.json" - } - } - }, - "put": { - "tags": [ - "CodeContainer" - ], - "summary": "Create or update container.", - "operationId": "CodeContainers_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": "Container name. This is case-sensitive.", - "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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - ], - "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/CodeContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Code Container.": { - "$ref": "./examples/Workspace/CodeContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions": { - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "List versions.", - "operationId": "CodeVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name. This is case-sensitive.", - "required": true, - "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": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "hash", - "description": "If specified, return CodeVersion assets with specified content hash value, regardless of name", - "type": "string" - }, - { - "in": "query", - "name": "hashVersion", - "description": "Hash algorithm version when listing by hash", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Code Version.": { - "$ref": "./examples/Workspace/CodeVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}": { - "delete": { - "tags": [ - "CodeVersion" - ], - "summary": "Delete version.", - "operationId": "CodeVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Code Version.": { - "$ref": "./examples/Workspace/CodeVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "Get version.", - "operationId": "CodeVersions_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": "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/CodeVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Code Version.": { - "$ref": "./examples/Workspace/CodeVersion/get.json" - } - } - }, - "put": { - "tags": [ - "CodeVersion" - ], - "summary": "Create or update version.", - "operationId": "CodeVersions_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": "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": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - } - ], - "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/CodeVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Code Version.": { - "$ref": "./examples/Workspace/CodeVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}/startPendingUpload": { - "post": { - "tags": [ - "CodeVersion" - ], - "summary": "Generate a storage location and credential for the client to upload a code asset to.", - "operationId": "CodeVersions_CreateOrGetStartPendingUpload", - "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": "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" - }, - { - "in": "body", - "name": "body", - "description": "Pending upload request object", - "required": true, - "schema": { - "$ref": "#/definitions/PendingUploadRequestDto" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PendingUploadResponseDto" - } - } - }, - "x-ms-examples": { - "CreateOrGetStartPendingUpload Workspace Code Version.": { - "$ref": "./examples/Workspace/CodeVersion/createOrGetStartPendingUpload.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components": { - "get": { - "tags": [ - "ComponentContainer" - ], - "summary": "List component containers.", - "operationId": "ComponentContainers_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": "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Component Container.": { - "$ref": "./examples/Workspace/ComponentContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}": { - "delete": { - "tags": [ - "ComponentContainer" - ], - "summary": "Delete container.", - "operationId": "ComponentContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Component Container.": { - "$ref": "./examples/Workspace/ComponentContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "ComponentContainer" - ], - "summary": "Get container.", - "operationId": "ComponentContainers_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": "Container name.", - "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/ComponentContainerResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Component Container.": { - "$ref": "./examples/Workspace/ComponentContainer/get.json" - } - } - }, - "put": { - "tags": [ - "ComponentContainer" - ], - "summary": "Create or update container.", - "operationId": "ComponentContainers_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": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentContainerResource" - } - } - ], - "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/ComponentContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ComponentContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Component Container.": { - "$ref": "./examples/Workspace/ComponentContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions": { - "get": { - "tags": [ - "ComponentVersion" - ], - "summary": "List component versions.", - "operationId": "ComponentVersions_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": "name", - "description": "Component 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" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - } }, - { - "in": "query", - "name": "stage", - "description": "Component stage.", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Component Version.": { - "$ref": "./examples/Workspace/ComponentVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}": { - "delete": { - "tags": [ - "ComponentVersion" - ], - "summary": "Delete version.", - "operationId": "ComponentVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Component Version.": { - "$ref": "./examples/Workspace/ComponentVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "ComponentVersion" - ], - "summary": "Get version.", - "operationId": "ComponentVersions_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": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "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/ComponentVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Component Version.": { - "$ref": "./examples/Workspace/ComponentVersion/get.json" - } - } - }, - "put": { - "tags": [ - "ComponentVersion" - ], - "summary": "Create or update version.", - "operationId": "ComponentVersions_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": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ComponentVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Component Version.": { - "$ref": "./examples/Workspace/ComponentVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data": { - "get": { - "tags": [ - "DataContainer" - ], - "summary": "List data containers.", - "operationId": "DataContainers_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": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + "additionalProperties": false + }, + "AutoSeasonality": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Seasonality" + } + ], + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AutoTargetLags": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TargetLags" + } + ], + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AutoTargetRollingWindowSize": { + "description": "Target lags rolling window determined automatically.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TargetRollingWindowSize" + } + ], + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AutologgerSettings": { + "description": "Settings for Autologger.", + "required": [ + "mlflowAutologger" + ], + "type": "object", + "properties": { + "mlflowAutologger": { + "description": "[Required] Indicates whether mlflow autologger is enabled.", + "$ref": "#/definitions/MLFlowAutologgerState", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "AzMonMonitoringAlertNotificationSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase" + } + ], + "x-ms-discriminator-value": "AzureMonitor", + "additionalProperties": false + }, + "AzureBlobDatastore": { + "description": "Azure Blob datastore configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureDatastore" + }, + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "containerName": { + "description": "Storage account container name.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureBlob", + "additionalProperties": false + }, + "AzureDataLakeGen1Datastore": { + "description": "Azure Data Lake Gen1 datastore configuration.", + "required": [ + "storeName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureDatastore" + }, + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "storeName": { + "description": "[Required] Azure Data Lake store name.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen1", + "additionalProperties": false + }, + "AzureDataLakeGen2Datastore": { + "description": "Azure Data Lake Gen2 datastore configuration.", + "required": [ + "accountName", + "filesystem" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureDatastore" + }, + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "[Required] Storage account name.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "filesystem": { + "description": "[Required] The name of the Data Lake Gen2 filesystem.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen2", + "additionalProperties": false + }, + "AzureDatastore": { + "description": "Base definition for Azure datastore contents configuration.", + "type": "object", + "properties": { + "resourceGroup": { + "description": "Azure Resource Group name", + "type": "string", + "x-nullable": true + }, + "subscriptionId": { + "description": "Azure Subscription Id", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "AzureDevOpsWebhook": { + "description": "Webhook details specific for Azure DevOps", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Webhook" + } + ], + "x-ms-discriminator-value": "AzureDevOps", + "additionalProperties": false + }, + "AzureFileDatastore": { + "description": "Azure File datastore configuration.", + "required": [ + "accountName", + "fileShareName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AzureDatastore" + }, + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "[Required] Storage account name.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "fileShareName": { + "description": "[Required] The name of the Azure file share that the datastore points to.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureFile", + "additionalProperties": false + }, + "AzureMLBatchInferencingServer": { + "description": "Azure ML batch inferencing server configurations.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InferencingServer" + } + ], + "properties": { + "codeConfiguration": { + "description": "Code configuration for AML batch inferencing server.", + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "AzureMLBatch", + "additionalProperties": false + }, + "AzureMLOnlineInferencingServer": { + "description": "Azure ML online inferencing configurations.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InferencingServer" + } + ], + "properties": { + "codeConfiguration": { + "description": "Code configuration for AML inferencing server.", + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "AzureMLOnline", + "additionalProperties": false + }, + "BanditPolicy": { + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "slackAmount": { + "format": "float", + "description": "Absolute distance allowed from the best performing run.", + "default": 0, + "type": "number" + }, + "slackFactor": { + "format": "float", + "description": "Ratio of the allowed distance from the best performing run.", + "default": 0, + "type": "number" + } + }, + "x-ms-discriminator-value": "Bandit", + "additionalProperties": false + }, + "BaseEnvironmentId": { + "description": "Base environment type.", + "required": [ + "resourceId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BaseEnvironmentSource" + } + ], + "properties": { + "resourceId": { + "description": "[Required] Resource id accepting ArmId or AzureMlId.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "EnvironmentAsset", + "additionalProperties": false + }, + "BaseEnvironmentSource": { + "required": [ + "baseEnvironmentSourceType" + ], + "type": "object", + "properties": { + "baseEnvironmentSourceType": { + "description": "[Required] Base environment type.", + "$ref": "#/definitions/BaseEnvironmentSourceType" + } + }, + "discriminator": "baseEnvironmentSourceType" + }, + "BaseEnvironmentSourceType": { + "description": "Base environment type.", + "enum": [ + "EnvironmentAsset" + ], + "type": "string", + "x-ms-enum": { + "name": "BaseEnvironmentSourceType", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "EnvironmentAsset" + } ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Data Container.": { - "$ref": "./examples/Workspace/DataContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}": { - "delete": { - "tags": [ - "DataContainer" - ], - "summary": "Delete container.", - "operationId": "DataContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Data Container.": { - "$ref": "./examples/Workspace/DataContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "DataContainer" - ], - "summary": "Get container.", - "operationId": "DataContainers_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": "Container name.", - "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/DataContainerResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Data Container.": { - "$ref": "./examples/Workspace/DataContainer/get.json" - } - } - }, - "put": { - "tags": [ - "DataContainer" - ], - "summary": "Create or update container.", - "operationId": "DataContainers_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": "Container 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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - } - ], - "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/DataContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Data Container.": { - "$ref": "./examples/Workspace/DataContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions": { - "get": { - "tags": [ - "DataVersion" - ], - "summary": "List data versions in the data container", - "operationId": "DataVersions_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": "name", - "description": "Data container's name", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Please choose OrderBy value from ['createdtime', 'modifiedtime']", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Top count of results, top count cannot be greater than the page size.\r\n If topCount > page size, results with be default page size count will be returned", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "BatchDeployment": { + "description": "Batch inference settings per deployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointDeploymentPropertiesBase" + } + ], + "properties": { + "compute": { + "description": "Compute target for batch inference operation.", + "type": "string", + "x-nullable": true + }, + "deploymentConfiguration": { + "description": "Properties relevant to different deployment types.", + "$ref": "#/definitions/BatchDeploymentConfiguration", + "x-nullable": true + }, + "errorThreshold": { + "format": "int32", + "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", + "default": -1, + "type": "integer" + }, + "loggingLevel": { + "description": "Logging level for batch inference operation.", + "default": "Info", + "$ref": "#/definitions/BatchLoggingLevel" + }, + "maxConcurrencyPerInstance": { + "format": "int32", + "description": "Indicates maximum number of parallelism per instance.", + "default": 1, + "type": "integer" + }, + "miniBatchSize": { + "format": "int64", + "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", + "default": 10, + "type": "integer" + }, + "model": { + "description": "Reference to the model asset for the endpoint deployment.", + "$ref": "#/definitions/AssetReferenceBase", + "x-nullable": true + }, + "outputAction": { + "description": "Indicates how the output will be organized.", + "default": "AppendRow", + "$ref": "#/definitions/BatchOutputAction" + }, + "outputFileName": { + "description": "Customized output file name for append_row output action.", + "default": "predictions.csv", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state for the endpoint deployment.", + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "resources": { + "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", + "$ref": "#/definitions/DeploymentResourceConfiguration", + "x-nullable": true + }, + "retrySettings": { + "description": "Retry Settings for the batch inference operation.\r\nIf not provided, will default to the defaults defined in BatchRetrySettings.", + "$ref": "#/definitions/BatchRetrySettings", + "x-nullable": true + } + }, + "x-ms-client-name": "BatchDeploymentProperties", + "additionalProperties": false + }, + "BatchDeploymentConfiguration": { + "description": "Properties relevant to different deployment types.", + "required": [ + "deploymentConfigurationType" + ], + "type": "object", + "properties": { + "deploymentConfigurationType": { + "description": "[Required] The type of the deployment", + "$ref": "#/definitions/BatchDeploymentConfigurationType" + } + }, + "discriminator": "deploymentConfigurationType" + }, + "BatchDeploymentConfigurationType": { + "description": "The enumerated property types for batch deployments.", + "enum": [ + "Model", + "PipelineComponent" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchDeploymentConfigurationType", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "Model" + }, + { + "value": "PipelineComponent" + } ] - } }, - { - "in": "query", - "name": "stage", - "description": "data stage", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionBaseResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Data Version Base.": { - "$ref": "./examples/Workspace/DataVersionBase/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}": { - "delete": { - "tags": [ - "DataVersion" - ], - "summary": "Delete version.", - "operationId": "DataVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Data Version Base.": { - "$ref": "./examples/Workspace/DataVersionBase/delete.json" - } - } - }, - "get": { - "tags": [ - "DataVersion" - ], - "summary": "Get version.", - "operationId": "DataVersions_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": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "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/DataVersionBaseResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Data Version Base.": { - "$ref": "./examples/Workspace/DataVersionBase/get.json" - } - } - }, - "put": { - "tags": [ - "DataVersion" - ], - "summary": "Create or update version.", - "operationId": "DataVersions_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": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataVersionBaseResource" - } - } - ], - "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/DataVersionBaseResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataVersionBaseResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Data Version Base.": { - "$ref": "./examples/Workspace/DataVersionBase/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": { - "get": { - "tags": [ - "Datastore" - ], - "summary": "List datastores.", - "operationId": "Datastores_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/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": "count", - "description": "Maximum number of results to return.", - "type": "integer", - "format": "int32", - "default": 30 - }, - { - "in": "query", - "name": "isDefault", - "description": "Filter down to the workspace default datastore.", - "type": "boolean" - }, - { - "in": "query", - "name": "names", - "description": "Names of datastores to return.", - "type": "array", - "items": { - "type": "string" - } - }, - { - "in": "query", - "name": "searchText", - "description": "Text to search for in the datastore names.", - "type": "string" - }, - { - "in": "query", - "name": "orderBy", - "description": "Order by property (createdtime | modifiedtime | name).", - "type": "string" - }, - { - "in": "query", - "name": "orderByAsc", - "description": "Order by property in ascending order.", - "type": "boolean", - "default": false - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DatastoreResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List datastores.": { - "$ref": "./examples/Datastore/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": { - "delete": { - "tags": [ - "Datastore" - ], - "summary": "Delete datastore.", - "operationId": "Datastores_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Datastore name.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete datastore.": { - "$ref": "./examples/Datastore/delete.json" - } - } - }, - "get": { - "tags": [ - "Datastore" - ], - "summary": "Get datastore.", - "operationId": "Datastores_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Datastore name.", - "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/DatastoreResource" - } - } - }, - "x-ms-examples": { - "Get datastore.": { - "$ref": "./examples/Datastore/get.json" - } - } - }, - "put": { - "tags": [ - "Datastore" - ], - "summary": "Create or update datastore.", - "operationId": "Datastores_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Datastore 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": "skipValidation", - "description": "Flag to skip validation.", - "type": "boolean", - "default": false - }, - { - "in": "body", - "name": "body", - "description": "Datastore entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DatastoreResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/DatastoreResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DatastoreResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate datastore (AzureBlob w/ AccountKey).": { - "$ref": "./examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json" + "additionalProperties": false + }, + "BatchDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "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" + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/BatchDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + } + }, + "x-ms-client-name": "BatchDeployment", + "additionalProperties": false + }, + "BatchDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of BatchDeployment objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } }, - "CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).": { - "$ref": "./examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json" + "additionalProperties": false + }, + "BatchEndpoint": { + "description": "Batch endpoint configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointPropertiesBase" + } + ], + "properties": { + "defaults": { + "description": "Default values for Batch Endpoint.", + "$ref": "#/definitions/BatchEndpointDefaults", + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the endpoint.", + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } }, - "CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).": { - "$ref": "./examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json" + "x-ms-client-name": "BatchEndpointProperties", + "additionalProperties": false + }, + "BatchEndpointDefaults": { + "description": "Batch endpoint default values", + "type": "object", + "properties": { + "deploymentName": { + "description": "Name of the deployment that will be default for the endpoint.\r\nThis deployment will end up getting 100% traffic when the endpoint scoring URL is invoked.", + "type": "string", + "x-nullable": true + } }, - "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { - "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets": { - "post": { - "tags": [ - "Datastore" - ], - "summary": "Get datastore secrets.", - "operationId": "Datastores_ListSecrets", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Datastore name.", - "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": { - "description": "Base definition for datastore secrets.", - "$ref": "#/definitions/DatastoreSecrets" - } - } - }, - "x-ms-examples": { - "Get datastore secrets.": { - "$ref": "./examples/Datastore/listSecrets.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments": { - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "List environment containers.", - "operationId": "EnvironmentContainers_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": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + "additionalProperties": false + }, + "BatchEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "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" + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/BatchEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + } + }, + "x-ms-client-name": "BatchEndpoint", + "additionalProperties": false + }, + "BatchEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of BatchEndpoint objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "BatchLoggingLevel": { + "description": "Log verbosity for batch inferencing.\r\nIncreasing verbosity order for logging is : Warning, Info and Debug.\r\nThe default value is Info.", + "enum": [ + "Info", + "Warning", + "Debug" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchLoggingLevel", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "Info" + }, + { + "value": "Warning" + }, + { + "value": "Debug" + } ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Environment Container.": { - "$ref": "./examples/Workspace/EnvironmentContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}": { - "delete": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Delete container.", - "operationId": "EnvironmentContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container 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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Environment Container.": { - "$ref": "./examples/Workspace/EnvironmentContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Get container.", - "operationId": "EnvironmentContainers_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": "Container 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", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Environment Container.": { - "$ref": "./examples/Workspace/EnvironmentContainer/get.json" - } - } - }, - "put": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Create or update container.", - "operationId": "EnvironmentContainers_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": "Container name. This is case-sensitive.", - "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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - ], - "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/EnvironmentContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Environment Container.": { - "$ref": "./examples/Workspace/EnvironmentContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions": { - "get": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "List versions.", - "operationId": "EnvironmentVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container name. This is case-sensitive.", - "required": true, - "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": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "BatchOutputAction": { + "description": "Enum to determine how batch inferencing will handle output", + "enum": [ + "SummaryOnly", + "AppendRow" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchOutputAction", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "SummaryOnly" + }, + { + "value": "AppendRow" + } ] - } }, - { - "in": "query", - "name": "stage", - "description": "Stage for including/excluding (for example) archived entities. Takes priority over listViewType", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Environment Version.": { - "$ref": "./examples/Workspace/EnvironmentVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}": { - "delete": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Delete version.", - "operationId": "EnvironmentVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Environment Version.": { - "$ref": "./examples/Workspace/EnvironmentVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Get version.", - "operationId": "EnvironmentVersions_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": "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/EnvironmentVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Environment Version.": { - "$ref": "./examples/Workspace/EnvironmentVersion/get.json" - } - } - }, - "put": { - "tags": [ - "EnvironmentVersion" - ], - "summary": "Creates or updates an EnvironmentVersion.", - "operationId": "EnvironmentVersions_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": "Name of EnvironmentVersion. 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 of EnvironmentVersion.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "Definition of EnvironmentVersion.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentVersionResource" - } - } - ], - "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/EnvironmentVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Environment Version.": { - "$ref": "./examples/Workspace/EnvironmentVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets": { - "get": { - "tags": [ - "FeaturesetContainer" - ], - "summary": "List featurestore entity containers.", - "operationId": "FeaturesetContainers_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": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + "additionalProperties": false + }, + "BatchPipelineComponentDeploymentConfiguration": { + "description": "Properties for a Batch Pipeline Component Deployment.", + "required": [ + "deploymentConfigurationType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/BatchDeploymentConfiguration" + } + ], + "properties": { + "componentId": { + "description": "The ARM id of the component to be run.", + "$ref": "#/definitions/IdAssetReference", + "x-nullable": true + }, + "description": { + "description": "The description which will be applied to the job.", + "type": "string", + "x-nullable": true + }, + "settings": { + "description": "Run-time settings for the pipeline job.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "tags": { + "description": "The tags which will be applied to the job.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + } + }, + "x-ms-discriminator-value": "PipelineComponent", + "additionalProperties": false + }, + "BatchRetrySettings": { + "description": "Retry settings for a batch inference operation.", + "type": "object", + "properties": { + "maxRetries": { + "format": "int32", + "description": "Maximum retry count for a mini-batch", + "default": 3, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", + "default": "PT30S", + "type": "string" + } + }, + "additionalProperties": false + }, + "BayesianSamplingAlgorithm": { + "description": "Defines a Sampling Algorithm that generates values based on previous values", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SamplingAlgorithm" + } + ], + "x-ms-discriminator-value": "Bayesian", + "additionalProperties": false + }, + "BlobReferenceForConsumptionDto": { + "type": "object", + "properties": { + "blobUri": { + "format": "uri", + "description": "Blob URI path for client to upload data.\r\nExample: https://blob.windows.core.net/Container/Path", + "type": "string", + "x-nullable": true + }, + "credential": { + "description": "Credential info to access storage account", + "$ref": "#/definitions/PendingUploadCredentialDto", + "x-nullable": true + }, + "storageAccountArmId": { + "description": "Arm ID of the storage account to use", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "BlockedTransformers": { + "description": "Enum for all classification models supported by AutoML.", + "enum": [ + "TextTargetEncoder", + "OneHotEncoder", + "CatTargetEncoder", + "TfIdf", + "WoETargetEncoder", + "LabelEncoder", + "WordEmbedding", + "NaiveBayes", + "CountVectorizer", + "HashOneHotEncoder" + ], + "type": "string", + "x-ms-enum": { + "name": "BlockedTransformers", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "TextTargetEncoder", + "description": "Target encoding for text data." + }, + { + "value": "OneHotEncoder", + "description": "Ohe hot encoding creates a binary feature transformation." + }, + { + "value": "CatTargetEncoder", + "description": "Target encoding for categorical data." + }, + { + "value": "TfIdf", + "description": "Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents." + }, + { + "value": "WoETargetEncoder", + "description": "Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)/P(0) to create weights." + }, + { + "value": "LabelEncoder", + "description": "Label encoder converts labels/categorical variables in a numerical form." + }, + { + "value": "WordEmbedding", + "description": "Word embedding helps represents words or phrases as a vector, or a series of numbers." + }, + { + "value": "NaiveBayes", + "description": "Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed." + }, + { + "value": "CountVectorizer", + "description": "Count Vectorizer converts a collection of text documents to a matrix of token counts." + }, + { + "value": "HashOneHotEncoder", + "description": "Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features." + } ] - } - }, - { - "in": "query", - "name": "pageSize", - "description": "page size", - "type": "integer", - "format": "int32", - "default": 20 - }, - { - "in": "query", - "name": "name", - "description": "name for the featureset", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "description for the feature set", - "type": "string" - }, - { - "in": "query", - "name": "createdBy", - "description": "createdBy user name", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturesetContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Featureset Container.": { - "$ref": "./examples/Workspace/FeaturesetContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features": { - "get": { - "tags": [ - "Feature" - ], - "summary": "List Features.", - "operationId": "Features_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": "featuresetName", - "description": "Featureset name. This is case-sensitive.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "featuresetVersion", - "description": "Featureset 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": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "featureName", - "description": "feature name.", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "Description of the featureset.", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeatureResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Feature.": { - "$ref": "./examples/Feature/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{featuresetName}/versions/{featuresetVersion}/features/{featureName}": { - "get": { - "tags": [ - "Feature" - ], - "summary": "Get feature.", - "operationId": "Features_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": "featuresetName", - "description": "Feature set name. This is case-sensitive.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "featuresetVersion", - "description": "Feature set version identifier. This is case-sensitive.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "featureName", - "description": "Feature Name. This is case-sensitive.", - "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": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeatureResource" - } - } - }, - "x-ms-examples": { - "Get Feature.": { - "$ref": "./examples/Feature/get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}": { - "delete": { - "tags": [ - "FeaturesetContainer" - ], - "summary": "Delete container.", - "operationId": "FeaturesetContainers_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": "Container 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" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Featureset Container.": { - "$ref": "./examples/Workspace/FeaturesetContainer/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "FeaturesetContainer" - ], - "summary": "Get container.", - "operationId": "FeaturesetContainers_GetEntity", - "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": "Container 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", - "schema": { - "$ref": "#/definitions/FeaturesetContainerResource" - } - } - }, - "x-ms-examples": { - "GetEntity Workspace Featureset Container.": { - "$ref": "./examples/Workspace/FeaturesetContainer/getEntity.json" - } - } - }, - "put": { - "tags": [ - "FeaturesetContainer" - ], - "summary": "Create or update container.", - "operationId": "FeaturesetContainers_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": "Container name. This is case-sensitive.", - "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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/FeaturesetContainerResource" - } - } - ], - "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/FeaturesetContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FeaturesetContainerResource" - }, - "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 Featureset Container.": { - "$ref": "./examples/Workspace/FeaturesetContainer/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}/featuresets/{name}/versions": { - "get": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "List versions.", - "operationId": "FeaturesetVersions_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": "name", - "description": "Featureset name. This is case-sensitive.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "BuildContext": { + "description": "Configuration settings for Docker build context", + "required": [ + "contextUri" + ], + "type": "object", + "properties": { + "contextUri": { + "description": "[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\r\n", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "dockerfilePath": { + "description": "Path to the Dockerfile in the build context.\r\n", + "default": "Dockerfile", + "type": "string", + "example": "prod/Dockerfile", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "CategoricalDataDriftMetric": { + "enum": [ + "JensenShannonDistance", + "PopulationStabilityIndex", + "PearsonsChiSquaredTest" + ], + "type": "string", + "x-ms-enum": { + "name": "CategoricalDataDriftMetric", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "JensenShannonDistance", + "description": "The Jensen Shannon Distance (JSD) metric." + }, + { + "value": "PopulationStabilityIndex", + "description": "The Population Stability Index (PSI) metric." + }, + { + "value": "PearsonsChiSquaredTest", + "description": "The Pearsons Chi Squared Test metric." + } ] - } - }, - { - "in": "query", - "name": "pageSize", - "description": "page size", - "type": "integer", - "format": "int32", - "default": 20 - }, - { - "in": "query", - "name": "versionName", - "description": "name for the featureset version", - "type": "string" - }, - { - "in": "query", - "name": "version", - "description": "featureset version", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "description for the feature set version", - "type": "string" - }, - { - "in": "query", - "name": "createdBy", - "description": "createdBy user name", - "type": "string" - }, - { - "in": "query", - "name": "stage", - "description": "Specifies the featurestore stage", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturesetVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featuresets/{name}/versions/{version}": { - "delete": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "Delete version.", - "operationId": "FeaturesetVersions_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": "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" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "Get version.", - "operationId": "FeaturesetVersions_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": "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/FeaturesetVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/get.json" - } - } - }, - "put": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "Create or update version.", - "operationId": "FeaturesetVersions_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": "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": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/FeaturesetVersionResource" - } - } - ], - "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/FeaturesetVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FeaturesetVersionResource" - }, - "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 Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/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}/featuresets/{name}/versions/{version}/backfill": { - "post": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "Backfill.", - "operationId": "FeaturesetVersions_Backfill", - "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": "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" - }, - { - "in": "body", - "name": "body", - "description": "Feature set version backfill request entity.", - "required": true, - "schema": { - "$ref": "#/definitions/FeaturesetVersionBackfillRequest" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturesetJob" - } - }, - "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": { - "Backfill Workspace Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/backfill.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}/featuresets/{name}/versions/{version}/listMaterializationJobs": { - "post": { - "tags": [ - "FeaturesetVersion" - ], - "summary": "List materialization Jobs.", - "operationId": "FeaturesetVersions_ListMaterializationJobs", - "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": "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" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "filters", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "featureWindowStart", - "description": "Start time of the feature window to filter materialization jobs.", - "type": "string" - }, - { - "in": "query", - "name": "featureWindowEnd", - "description": "End time of the feature window to filter materialization jobs.", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturesetJobArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "ListMaterializationJobs Workspace Featureset Version.": { - "$ref": "./examples/Workspace/FeaturesetVersion/listMaterializationJobs.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities": { - "get": { - "tags": [ - "FeaturestoreEntityContainer" - ], - "summary": "List featurestore entity containers.", - "operationId": "FeaturestoreEntityContainers_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": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "CategoricalDataDriftMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataDriftMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The categorical data drift metric to calculate.", + "$ref": "#/definitions/CategoricalDataDriftMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Categorical", + "additionalProperties": false + }, + "CategoricalDataQualityMetric": { + "enum": [ + "NullValueRate", + "DataTypeErrorRate", + "OutOfBoundsRate" + ], + "type": "string", + "x-ms-enum": { + "name": "CategoricalDataQualityMetric", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "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." + } ] - } - }, - { - "in": "query", - "name": "pageSize", - "description": "page size", - "type": "integer", - "format": "int32", - "default": 20 - }, - { - "in": "query", - "name": "name", - "description": "name for the featurestore entity", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "description for the featurestore entity", - "type": "string" - }, - { - "in": "query", - "name": "createdBy", - "description": "createdBy user name", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturestoreEntityContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Featurestore Entity Container.": { - "$ref": "./examples/Workspace/FeaturestoreEntityContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}": { - "delete": { - "tags": [ - "FeaturestoreEntityContainer" - ], - "summary": "Delete container.", - "operationId": "FeaturestoreEntityContainers_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": "Container 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" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Featurestore Entity Container.": { - "$ref": "./examples/Workspace/FeaturestoreEntityContainer/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "FeaturestoreEntityContainer" - ], - "summary": "Get container.", - "operationId": "FeaturestoreEntityContainers_GetEntity", - "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": "Container 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", - "schema": { - "$ref": "#/definitions/FeaturestoreEntityContainerResource" - } - } - }, - "x-ms-examples": { - "GetEntity Workspace Featurestore Entity Container.": { - "$ref": "./examples/Workspace/FeaturestoreEntityContainer/getEntity.json" - } - } - }, - "put": { - "tags": [ - "FeaturestoreEntityContainer" - ], - "summary": "Create or update container.", - "operationId": "FeaturestoreEntityContainers_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": "Container name. This is case-sensitive.", - "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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/FeaturestoreEntityContainerResource" - } - } - ], - "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/FeaturestoreEntityContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FeaturestoreEntityContainerResource" - }, - "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 Featurestore Entity Container.": { - "$ref": "./examples/Workspace/FeaturestoreEntityContainer/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}/featurestoreEntities/{name}/versions": { - "get": { - "tags": [ - "FeaturestoreEntityVersion" - ], - "summary": "List versions.", - "operationId": "FeaturestoreEntityVersions_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": "name", - "description": "Feature entity name. This is case-sensitive.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "[ListViewType.ActiveOnly, ListViewType.ArchivedOnly, ListViewType.All]View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", + }, + "additionalProperties": false + }, + "CategoricalDataQualityMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataQualityMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The categorical data quality metric to calculate.", + "$ref": "#/definitions/CategoricalDataQualityMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Categorical", + "additionalProperties": false + }, + "CategoricalPredictionDriftMetric": { + "enum": [ + "JensenShannonDistance", + "PopulationStabilityIndex", + "PearsonsChiSquaredTest" + ], + "type": "string", + "x-ms-enum": { + "name": "CategoricalPredictionDriftMetric", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "JensenShannonDistance", + "description": "The Jensen Shannon Distance (JSD) metric." + }, + { + "value": "PopulationStabilityIndex", + "description": "The Population Stability Index (PSI) metric." + }, + { + "value": "PearsonsChiSquaredTest", + "description": "The Pearsons Chi Squared Test metric." + } ] - } - }, - { - "in": "query", - "name": "pageSize", - "description": "page size", - "type": "integer", - "format": "int32", - "default": 20 - }, - { - "in": "query", - "name": "versionName", - "description": "name for the featurestore entity version", - "type": "string" - }, - { - "in": "query", - "name": "version", - "description": "featurestore entity version", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "description for the feature entity version", - "type": "string" - }, - { - "in": "query", - "name": "createdBy", - "description": "createdBy user name", - "type": "string" - }, - { - "in": "query", - "name": "stage", - "description": "Specifies the featurestore stage", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/FeaturestoreEntityVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Featurestore Entity Version.": { - "$ref": "./examples/Workspace/FeaturestoreEntityVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/featurestoreEntities/{name}/versions/{version}": { - "delete": { - "tags": [ - "FeaturestoreEntityVersion" - ], - "summary": "Delete version.", - "operationId": "FeaturestoreEntityVersions_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": "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" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Featurestore Entity Version.": { - "$ref": "./examples/Workspace/FeaturestoreEntityVersion/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "FeaturestoreEntityVersion" - ], - "summary": "Get version.", - "operationId": "FeaturestoreEntityVersions_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": "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/FeaturestoreEntityVersionResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Featurestore Entity Version.": { - "$ref": "./examples/Workspace/FeaturestoreEntityVersion/get.json" - } - } - }, - "put": { - "tags": [ - "FeaturestoreEntityVersion" - ], - "summary": "Create or update version.", - "operationId": "FeaturestoreEntityVersions_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": "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": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/FeaturestoreEntityVersionResource" - } - } - ], - "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/FeaturestoreEntityVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/FeaturestoreEntityVersionResource" - }, - "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 Featurestore Entity Version.": { - "$ref": "./examples/Workspace/FeaturestoreEntityVersion/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}/jobs": { - "get": { - "tags": [ - "Job" - ], - "summary": "Lists Jobs in the workspace.", - "operationId": "Jobs_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": "jobType", - "description": "Type of job to be returned.", - "type": "string" - }, - { - "in": "query", - "name": "tag", - "description": "Jobs returned will have this tag key.", - "type": "string" - }, - { - "in": "query", - "name": "listViewType", - "description": "View type for including/excluding (for example) archived entities.", - "type": "string", - "default": "ActiveOnly", - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - } - }, - { - "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" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" - } - } - }, - "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" + "additionalProperties": false + }, + "CategoricalPredictionDriftMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PredictionDriftMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The categorical prediction drift metric to calculate.", + "$ref": "#/definitions/CategoricalPredictionDriftMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } }, - "List Pipeline Job.": { - "$ref": "./examples/Job/PipelineJob/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { - "delete": { - "tags": [ - "Job" - ], - "summary": "Deletes a Job (asynchronous).", - "operationId": "Jobs_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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" - } - }, - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Job.": { - "$ref": "./examples/Job/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "Job" - ], - "summary": "Gets a Job by name/id.", - "operationId": "Jobs_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "x-ms-examples": { - "Get Command Job.": { - "$ref": "./examples/Job/CommandJob/get.json" + "x-ms-discriminator-value": "Categorical", + "additionalProperties": false + }, + "CertificateDatastoreCredentials": { + "description": "Certificate datastore credentials configuration.", + "required": [ + "clientId", + "secrets", + "tenantId", + "thumbprint" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string", + "x-nullable": true + }, + "clientId": { + "format": "uuid", + "description": "[Required] Service principal client ID.", + "type": "string" + }, + "resourceUrl": { + "description": "Resource the service principal has access to.", + "type": "string", + "x-nullable": true + }, + "secrets": { + "description": "[Required] Service principal secrets.", + "$ref": "#/definitions/CertificateDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "[Required] ID of the tenant to which the service principal belongs.", + "type": "string" + }, + "thumbprint": { + "description": "[Required] Thumbprint of the certificate used for authentication.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } }, - "Get AutoML Job.": { - "$ref": "./examples/Job/AutoMLJob/get.json" + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "CertificateDatastoreSecrets": { + "description": "Datastore certificate secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "certificate": { + "description": "Service principal certificate.", + "type": "string", + "x-nullable": true + } }, - "Get Sweep Job.": { - "$ref": "./examples/Job/SweepJob/get.json" + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "Classification": { + "description": "Classification task in AutoML Table vertical.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TableVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "positiveLabel": { + "description": "Positive label for binary metrics calculation.", + "type": "string", + "x-nullable": true + }, + "primaryMetric": { + "description": "Primary metric for the task.", + "default": "AUCWeighted", + "$ref": "#/definitions/ClassificationPrimaryMetrics" + }, + "trainingSettings": { + "description": "Inputs for training phase for an AutoML Job.", + "$ref": "#/definitions/ClassificationTrainingSettings", + "x-nullable": true + } }, - "Get Pipeline Job.": { - "$ref": "./examples/Job/PipelineJob/get.json" - } - } - }, - "patch": { - "tags": [ - "Job" - ], - "summary": "Updates a Job.", - "operationId": "Jobs_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": "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "x-ms-examples": { - "Update Job.": { - "$ref": "./examples/Job/update.json" - } - } - }, - "put": { - "tags": [ - "Job" - ], - "summary": "Creates and executes a Job.", - "operationId": "Jobs_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": "id", - "description": "The name and identifier for the Job. This is case-sensitive.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$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", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Command Job.": { - "$ref": "./examples/Job/CommandJob/createOrUpdate.json" + "x-ms-discriminator-value": "Classification", + "additionalProperties": false + }, + "ClassificationModelPerformanceMetric": { + "enum": [ + "Accuracy", + "Precision", + "Recall" + ], + "type": "string", + "x-ms-enum": { + "name": "ClassificationModelPerformanceMetric", + "modelAsString": true, + "values": [ + { + "value": "Accuracy", + "description": "Calculates the accuracy of the model predictions." + }, + { + "value": "Precision", + "description": "Calculates the precision of the model predictions." + }, + { + "value": "Recall", + "description": "Calculates the recall of the model predictions." + } + ] }, - "CreateOrUpdate AutoML Job.": { - "$ref": "./examples/Job/AutoMLJob/createOrUpdate.json" + "additionalProperties": false + }, + "ClassificationModelPerformanceMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ModelPerformanceMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The classification model performance to calculate.", + "$ref": "#/definitions/ClassificationModelPerformanceMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } }, - "CreateOrUpdate Sweep Job.": { - "$ref": "./examples/Job/SweepJob/createOrUpdate.json" + "x-ms-discriminator-value": "Classification", + "additionalProperties": false + }, + "ClassificationModels": { + "description": "Enum for all classification models supported by AutoML.", + "enum": [ + "LogisticRegression", + "SGD", + "MultinomialNaiveBayes", + "BernoulliNaiveBayes", + "SVM", + "LinearSVM", + "KNN", + "DecisionTree", + "RandomForest", + "ExtremeRandomTrees", + "LightGBM", + "GradientBoosting", + "XGBoostClassifier" + ], + "type": "string", + "x-ms-enum": { + "name": "ClassificationModels", + "modelAsString": true, + "values": [ + { + "value": "LogisticRegression", + "description": "Logistic regression is a fundamental classification technique.\nIt belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression.\nLogistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results.\nAlthough it's essentially a method for binary classification, it can also be applied to multiclass problems." + }, + { + "value": "SGD", + "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs." + }, + { + "value": "MultinomialNaiveBayes", + "description": "The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification).\nThe multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work." + }, + { + "value": "BernoulliNaiveBayes", + "description": "Naive Bayes classifier for multivariate Bernoulli models." + }, + { + "value": "SVM", + "description": "A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems.\nAfter giving an SVM model sets of labeled training data for each category, they're able to categorize new text." + }, + { + "value": "LinearSVM", + "description": "A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems.\nAfter giving an SVM model sets of labeled training data for each category, they're able to categorize new text.\nLinear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph." + }, + { + "value": "KNN", + "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." + }, + { + "value": "DecisionTree", + "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." + }, + { + "value": "RandomForest", + "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." + }, + { + "value": "ExtremeRandomTrees", + "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." + }, + { + "value": "LightGBM", + "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." + }, + { + "value": "GradientBoosting", + "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." + }, + { + "value": "XGBoostClassifier", + "description": "XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values." + } + ] }, - "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" - } - }, - "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": [ - "LabelingJob" - ], - "summary": "Lists labeling jobs in the workspace.", - "operationId": "LabelingJobs_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": "$top", - "description": "Number of labeling jobs to return.", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Labeling Job.": { - "$ref": "./examples/LabelingJob/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { - "delete": { - "tags": [ - "LabelingJob" - ], - "summary": "Delete a labeling job.", - "operationId": "LabelingJobs_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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 LabelingJob.", - "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Labeling Job.": { - "$ref": "./examples/LabelingJob/delete.json" - } - } - }, - "get": { - "tags": [ - "LabelingJob" - ], - "summary": "Gets a labeling job by name/id.", - "operationId": "LabelingJobs_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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 LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "includeJobInstructions", - "description": "Boolean value to indicate whether to include JobInstructions in response.", - "type": "boolean", - "default": false - }, - { - "in": "query", - "name": "includeLabelCategories", - "description": "Boolean value to indicate Whether to include LabelCategories in response.", - "type": "boolean", - "default": false - } - ], - "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" - }, - { - "$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 LabelingJob.", - "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": "LabelingJob definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/LabelingJobResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/LabelingJobResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/LabelingJobResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Labeling Job.": { - "$ref": "./examples/LabelingJob/createOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "original-uri" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Export labels from a labeling job (asynchronous).", - "operationId": "LabelingJobs_ExportLabels", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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 LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "body", - "description": "The export summary.", - "required": true, - "schema": { - "$ref": "#/definitions/ExportSummary" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ExportSummary" - } - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "ExportLabels Labeling Job.": { - "$ref": "./examples/LabelingJob/exportLabels.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Pause a labeling job.", - "operationId": "LabelingJobs_Pause", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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 LabelingJob.", - "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" - } - }, - "x-ms-examples": { - "Pause Labeling Job.": { - "$ref": "./examples/LabelingJob/pause.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Resume a labeling job (asynchronous).", - "operationId": "LabelingJobs_Resume", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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 LabelingJob.", - "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" - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Resume Labeling Job.": { - "$ref": "./examples/LabelingJob/resume.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "List model containers.", - "operationId": "ModelContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/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": "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", + "additionalProperties": false + }, + "ClassificationMultilabelPrimaryMetrics": { + "description": "Primary metrics for classification multilabel tasks.", + "enum": [ + "AUCWeighted", + "Accuracy", + "NormMacroRecall", + "AveragePrecisionScoreWeighted", + "PrecisionScoreWeighted", + "IOU" + ], + "type": "string", + "x-ms-enum": { + "name": "ClassificationMultilabelPrimaryMetrics", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "AUCWeighted", + "description": "AUC is the Area under the curve.\nThis metric represents arithmetic mean of the score for each class,\nweighted by the number of true instances in each class." + }, + { + "value": "Accuracy", + "description": "Accuracy is the ratio of predictions that exactly match the true class labels." + }, + { + "value": "NormMacroRecall", + "description": "Normalized macro recall is recall macro-averaged and normalized, so that random\nperformance has a score of 0, and perfect performance has a score of 1." + }, + { + "value": "AveragePrecisionScoreWeighted", + "description": "The arithmetic mean of the average precision score for each class, weighted by\nthe number of true instances in each class." + }, + { + "value": "PrecisionScoreWeighted", + "description": "The arithmetic mean of precision for each class, weighted by number of true instances in each class." + }, + { + "value": "IOU", + "description": "Intersection Over Union. Intersection of predictions divided by union of predictions." + } ] - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { - "delete": { - "tags": [ - "ModelContainer" - ], - "summary": "Delete container.", - "operationId": "ModelContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Container 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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "Get container.", - "operationId": "ModelContainers_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": "Container 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", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "x-ms-examples": { - "Get Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/get.json" - } - } - }, - "put": { - "tags": [ - "ModelContainer" - ], - "summary": "Create or update container.", - "operationId": "ModelContainers_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": "Container name. This is case-sensitive.", - "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": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - ], - "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/ModelContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Model Container.": { - "$ref": "./examples/Workspace/ModelContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "List model versions.", - "operationId": "ModelVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "Model name. This is case-sensitive.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "version", - "description": "Model version.", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "Model description.", - "type": "string" - }, - { - "in": "query", - "name": "offset", - "description": "Number of initial results to skip.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "properties", - "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", - "type": "string" - }, - { - "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", + }, + "additionalProperties": false + }, + "ClassificationPrimaryMetrics": { + "description": "Primary metrics for classification tasks.", + "enum": [ + "AUCWeighted", + "Accuracy", + "NormMacroRecall", + "AveragePrecisionScoreWeighted", + "PrecisionScoreWeighted" + ], + "type": "string", + "x-ms-enum": { + "name": "ClassificationPrimaryMetrics", "modelAsString": true, "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } + { + "value": "AUCWeighted", + "description": "AUC is the Area under the curve.\nThis metric represents arithmetic mean of the score for each class,\nweighted by the number of true instances in each class." + }, + { + "value": "Accuracy", + "description": "Accuracy is the ratio of predictions that exactly match the true class labels." + }, + { + "value": "NormMacroRecall", + "description": "Normalized macro recall is recall macro-averaged and normalized, so that random\nperformance has a score of 0, and perfect performance has a score of 1." + }, + { + "value": "AveragePrecisionScoreWeighted", + "description": "The arithmetic mean of the average precision score for each class, weighted by\nthe number of true instances in each class." + }, + { + "value": "PrecisionScoreWeighted", + "description": "The arithmetic mean of precision for each class, weighted by number of true instances in each class." + } ] - } }, - { - "in": "query", - "name": "stage", - "description": "Model stage", - "type": "string" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { - "delete": { - "tags": [ - "ModelVersion" - ], - "summary": "Delete version.", - "operationId": "ModelVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": "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" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "Get version.", - "operationId": "ModelVersions_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": "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": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$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" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Create or update request is successful.", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Workspace Model Version.": { - "$ref": "./examples/Workspace/ModelVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}/package": { - "post": { - "tags": [ - "ModelVersion" - ], - "summary": "Model Version Package operation.", - "operationId": "ModelVersions_Package", - "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": "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", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PackageResponse" - } - }, - "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": { - "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": [ - "OnlineEndpoint" - ], - "summary": "List Online Endpoints.", - "operationId": "OnlineEndpoints_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" - }, - { - "in": "query", - "name": "name", - "description": "Name of the endpoint.", - "type": "string" - }, - { - "in": "query", - "name": "count", - "description": "Number of endpoints to be retrieved in a page of results.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "computeType", - "description": "EndpointComputeType to be filtered by.", - "type": "string", - "enum": [ - "Managed", - "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" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { - "delete": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Delete Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": { - "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" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Get Online Endpoint.", - "operationId": "OnlineEndpoints_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - } - }, - "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" - }, - { - "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" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update 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": { - "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", - "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" - }, - { - "$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", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Online Deployments.": { - "$ref": "./examples/OnlineDeployment/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { - "delete": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Delete Inference Endpoint Deployment (asynchronous).", - "operationId": "OnlineDeployments_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": { - "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 - } - } - } - }, - "x-ms-examples": { - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" + "additionalProperties": false + }, + "ClassificationTrainingSettings": { + "description": "Classification Training related configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrainingSettings" + } + ], + "properties": { + "allowedTrainingAlgorithms": { + "description": "Allowed models for classification task.", + "type": "array", + "items": { + "$ref": "#/definitions/ClassificationModels" + }, + "x-nullable": true + }, + "blockedTrainingAlgorithms": { + "description": "Blocked models for classification task.", + "type": "array", + "items": { + "$ref": "#/definitions/ClassificationModels" + }, + "x-nullable": true + } }, - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" + "additionalProperties": false + }, + "CocoExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "containerName": { + "description": "The container name to which the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "snapshotPath": { + "description": "The output path where the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } }, - "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": { - "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/OnlineDeploymentTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" + "x-ms-discriminator-value": "Coco", + "additionalProperties": false + }, + "CodeConfiguration": { + "description": "Configuration for a scoring code asset.", + "required": [ + "scoringScript" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "scoringScript": { + "description": "[Required] The script to execute on startup. eg. \"score.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } }, - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DeploymentLogs" - } - } - }, - "x-ms-examples": { - "Get Online Deployment Logs.": { - "$ref": "./examples/OnlineDeployment/getLogs.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus": { - "get": { - "tags": [ - "OnlineDeployment" - ], - "summary": "List Inference Endpoint Deployment Skus.", - "operationId": "OnlineDeployments_ListSkus", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/SkuResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Managed Online Deployment Skus.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json" + "additionalProperties": false + }, + "CodeContainer": { + "description": "Container for code asset versions.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the code container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } }, - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthKeys" - } - } - }, - "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": { - "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" - } - }, - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthToken" - } - } - }, - "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": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ScheduleResourceArmPaginatedResult" - } - } - }, - "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": { - "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" - } - }, - "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": { - "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" - } - } - }, - "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": { - "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/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" - } - } - } - }, - "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" - } - } - } - }, - "definitions": { - "AccountKeyDatastoreCredentials": { - "description": "Account key datastore credentials configuration.", - "required": [ - "secrets" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "[Required] Storage account secrets.", - "$ref": "#/definitions/AccountKeyDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "AccountKey", - "additionalProperties": false - }, - "AccountKeyDatastoreSecrets": { - "description": "Datastore account key secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "key": { - "description": "Storage account key.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "AccountKey", - "additionalProperties": false - }, - "AllFeatures": { - "required": [ - "filterType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringFeatureFilterBase" - } - ], - "x-ms-discriminator-value": "AllFeatures", - "additionalProperties": false - }, - "AllNodes": { - "description": "All nodes means the service will be running on all of the nodes of the job", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Nodes" - } - ], - "x-ms-discriminator-value": "All", - "additionalProperties": false - }, - "AmlToken": { - "description": "AML Token identity configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" - } - ], - "x-ms-discriminator-value": "AMLToken", - "additionalProperties": false - }, - "AmlTokenComputeIdentity": { - "description": "AML token compute identity definition.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitorComputeIdentityBase" - } - ], - "x-ms-discriminator-value": "AmlToken", - "additionalProperties": false - }, - "AssetBase": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "autoDeleteSetting": { - "description": "Specifies the lifecycle setting of managed data asset.", - "$ref": "#/definitions/AutoDeleteSetting", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration). For types where Stage is defined, when Stage is provided it will be used to populate IsAnonymous", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isArchived": { - "description": "Is the asset archived? For types where Stage is defined, when Stage is provided it will be used to populate IsArchived", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "AssetContainer": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "isArchived": { - "description": "Is the asset archived?", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "latestVersion": { - "description": "The latest version inside this container.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "AssetJobInput": { - "description": "Asset input type.", - "required": [ - "uri" - ], - "type": "object", - "properties": { - "mode": { - "description": "Input Asset Delivery Mode.", - "default": "ReadOnlyMount", - "$ref": "#/definitions/InputDeliveryMode", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "uri": { - "description": "[Required] Input Asset URI.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "additionalProperties": false - }, - "AssetJobOutput": { - "description": "Asset output type.", - "type": "object", - "properties": { - "assetName": { - "description": "Output Asset Name.", - "type": "string", - "x-nullable": true - }, - "assetVersion": { - "description": "Output Asset Version.", - "type": "string", - "x-nullable": true - }, - "autoDeleteSetting": { - "description": "Auto delete setting of output data asset.", - "$ref": "#/definitions/AutoDeleteSetting", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "mode": { - "description": "Output Asset Delivery Mode.", - "default": "ReadWriteMount", - "$ref": "#/definitions/OutputDeliveryMode", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "uri": { - "description": "Output Asset URI.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "AssetProvisioningState": { - "description": "Provisioning state of registry asset.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Creating", - "Updating", - "Deleting" - ], - "type": "string", - "x-ms-enum": { - "name": "AssetProvisioningState", - "modelAsString": true, - "values": [ - { - "value": "Succeeded" - }, - { - "value": "Failed" - }, - { - "value": "Canceled" - }, - { - "value": "Creating" - }, - { - "value": "Updating" - }, - { - "value": "Deleting" - } - ] - }, - "additionalProperties": false - }, - "AssetReferenceBase": { - "description": "Base definition for asset references.", - "required": [ - "referenceType" - ], - "type": "object", - "properties": { - "referenceType": { - "description": "[Required] Specifies the type of asset reference.", - "$ref": "#/definitions/ReferenceType" - } - }, - "discriminator": "referenceType" - }, - "AutoDeleteCondition": { - "enum": [ - "CreatedGreaterThan", - "LastAccessedGreaterThan" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoDeleteCondition", - "modelAsString": true, - "values": [ - { - "value": "CreatedGreaterThan" - }, - { - "value": "LastAccessedGreaterThan" - } - ] - }, - "additionalProperties": false - }, - "AutoDeleteSetting": { - "type": "object", - "properties": { - "condition": { - "description": "When to check if an asset is expired", - "default": "CreatedGreaterThan", - "$ref": "#/definitions/AutoDeleteCondition", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "value": { - "description": "Expiration condition value.", - "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "AutoForecastHorizon": { - "description": "Forecast horizon determined automatically by system.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ForecastHorizon" - } - ], - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AutoMLJob": { - "description": "AutoMLJob class.\r\nUse this class for executing AutoML tasks like Classification/Regression etc.\r\nSee TaskType enum for all the tasks supported.", - "required": [ - "taskDetails" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "environmentId": { - "description": "The ARM resource ID of the Environment specification for the job.\r\nThis is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "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 - }, - "outputs": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "queueSettings": { - "description": "Queue settings for the job", - "$ref": "#/definitions/QueueSettings", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "resources": { - "description": "Compute Resource configuration for the job.", - "default": "{}", - "$ref": "#/definitions/JobResourceConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "taskDetails": { - "description": "[Required] This represents scenario which can be one of Tables/NLP/Image", - "$ref": "#/definitions/AutoMLVertical" - } - }, - "x-ms-discriminator-value": "AutoML", - "additionalProperties": false - }, - "AutoMLVertical": { - "description": "AutoML vertical class.\r\nBase class for AutoML verticals - TableVertical/ImageVertical/NLPVertical", - "required": [ - "taskType", - "trainingData" - ], - "type": "object", - "properties": { - "logVerbosity": { - "description": "Log verbosity for the job.", - "default": "Info", - "$ref": "#/definitions/LogVerbosity" - }, - "targetColumnName": { - "description": "Target column name: This is prediction values column.\r\nAlso known as label column name in context of classification tasks.", - "type": "string", - "x-nullable": true - }, - "taskType": { - "description": "[Required] Task type for AutoMLJob.", - "$ref": "#/definitions/TaskType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "trainingData": { - "description": "[Required] Training data input.", - "$ref": "#/definitions/MLTableJobInput" - } - }, - "discriminator": "taskType" - }, - "AutoNCrossValidations": { - "description": "N-Cross validations determined automatically.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/NCrossValidations" - } - ], - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AutoRebuildSetting": { - "description": "AutoRebuild setting for the derived image", - "enum": [ - "Disabled", - "OnBaseImageUpdate" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoRebuildSetting", - "modelAsString": true, - "values": [ - { - "value": "Disabled" - }, - { - "value": "OnBaseImageUpdate" - } - ] - }, - "additionalProperties": false - }, - "AutoSeasonality": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Seasonality" - } - ], - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AutoTargetLags": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TargetLags" - } - ], - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AutoTargetRollingWindowSize": { - "description": "Target lags rolling window determined automatically.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TargetRollingWindowSize" - } - ], - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AutologgerSettings": { - "description": "Settings for Autologger.", - "required": [ - "mlflowAutologger" - ], - "type": "object", - "properties": { - "mlflowAutologger": { - "description": "[Required] Indicates whether mlflow autologger is enabled.", - "$ref": "#/definitions/MLFlowAutologgerState", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "AzMonMonitoringAlertNotificationSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase" - } - ], - "x-ms-discriminator-value": "AzureMonitor", - "additionalProperties": false - }, - "AzureBlobDatastore": { - "description": "Azure Blob datastore configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureDatastore" - }, - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "accountName": { - "description": "Storage account name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "containerName": { - "description": "Storage account container name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "serviceDataAccessAuthIdentity": { - "description": "Indicates which identity to use to authenticate service data access to customer's storage.", - "default": "None", - "$ref": "#/definitions/ServiceDataAccessAuthIdentity", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureBlob", - "additionalProperties": false - }, - "AzureDataLakeGen1Datastore": { - "description": "Azure Data Lake Gen1 datastore configuration.", - "required": [ - "storeName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureDatastore" - }, - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "serviceDataAccessAuthIdentity": { - "description": "Indicates which identity to use to authenticate service data access to customer's storage.", - "default": "None", - "$ref": "#/definitions/ServiceDataAccessAuthIdentity", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "storeName": { - "description": "[Required] Azure Data Lake store name.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureDataLakeGen1", - "additionalProperties": false - }, - "AzureDataLakeGen2Datastore": { - "description": "Azure Data Lake Gen2 datastore configuration.", - "required": [ - "accountName", - "filesystem" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureDatastore" - }, - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "accountName": { - "description": "[Required] Storage account name.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "filesystem": { - "description": "[Required] The name of the Data Lake Gen2 filesystem.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "serviceDataAccessAuthIdentity": { - "description": "Indicates which identity to use to authenticate service data access to customer's storage.", - "default": "None", - "$ref": "#/definitions/ServiceDataAccessAuthIdentity", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureDataLakeGen2", - "additionalProperties": false - }, - "AzureDatastore": { - "description": "Base definition for Azure datastore contents configuration.", - "type": "object", - "properties": { - "resourceGroup": { - "description": "Azure Resource Group name", - "type": "string", - "x-nullable": true - }, - "subscriptionId": { - "description": "Azure Subscription Id", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "AzureDevOpsWebhook": { - "description": "Webhook details specific for Azure DevOps", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Webhook" - } - ], - "x-ms-discriminator-value": "AzureDevOps", - "additionalProperties": false - }, - "AzureFileDatastore": { - "description": "Azure File datastore configuration.", - "required": [ - "accountName", - "fileShareName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AzureDatastore" - }, - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "accountName": { - "description": "[Required] Storage account name.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "fileShareName": { - "description": "[Required] The name of the Azure file share that the datastore points to.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "serviceDataAccessAuthIdentity": { - "description": "Indicates which identity to use to authenticate service data access to customer's storage.", - "default": "None", - "$ref": "#/definitions/ServiceDataAccessAuthIdentity", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureFile", - "additionalProperties": false - }, - "AzureMLBatchInferencingServer": { - "description": "Azure ML batch inferencing server configurations.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InferencingServer" - } - ], - "properties": { - "codeConfiguration": { - "description": "Code configuration for AML batch inferencing server.", - "$ref": "#/definitions/CodeConfiguration", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "AzureMLBatch", - "additionalProperties": false - }, - "AzureMLOnlineInferencingServer": { - "description": "Azure ML online inferencing configurations.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InferencingServer" - } - ], - "properties": { - "codeConfiguration": { - "description": "Code configuration for AML inferencing server.", - "$ref": "#/definitions/CodeConfiguration", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "AzureMLOnline", - "additionalProperties": false - }, - "BanditPolicy": { - "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "properties": { - "slackAmount": { - "format": "float", - "description": "Absolute distance allowed from the best performing run.", - "default": 0, - "type": "number" - }, - "slackFactor": { - "format": "float", - "description": "Ratio of the allowed distance from the best performing run.", - "default": 0, - "type": "number" - } - }, - "x-ms-discriminator-value": "Bandit", - "additionalProperties": false - }, - "BaseEnvironmentId": { - "description": "Base environment type.", - "required": [ - "resourceId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/BaseEnvironmentSource" - } - ], - "properties": { - "resourceId": { - "description": "[Required] Resource id accepting ArmId or AzureMlId.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "EnvironmentAsset", - "additionalProperties": false - }, - "BaseEnvironmentSource": { - "required": [ - "baseEnvironmentSourceType" - ], - "type": "object", - "properties": { - "baseEnvironmentSourceType": { - "description": "[Required] Base environment type.", - "$ref": "#/definitions/BaseEnvironmentSourceType" - } - }, - "discriminator": "baseEnvironmentSourceType" - }, - "BaseEnvironmentSourceType": { - "description": "Base environment type.", - "enum": [ - "EnvironmentAsset" - ], - "type": "string", - "x-ms-enum": { - "name": "BaseEnvironmentSourceType", - "modelAsString": true, - "values": [ - { - "value": "EnvironmentAsset" - } - ] - }, - "additionalProperties": false - }, - "BatchDeployment": { - "description": "Batch inference settings per deployment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointDeploymentPropertiesBase" - } - ], - "properties": { - "compute": { - "description": "Compute target for batch inference operation.", - "type": "string", - "x-nullable": true - }, - "deploymentConfiguration": { - "description": "Properties relevant to different deployment types.", - "$ref": "#/definitions/BatchDeploymentConfiguration", - "x-nullable": true - }, - "errorThreshold": { - "format": "int32", - "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", - "default": -1, - "type": "integer" - }, - "loggingLevel": { - "description": "Logging level for batch inference operation.", - "default": "Info", - "$ref": "#/definitions/BatchLoggingLevel" - }, - "maxConcurrencyPerInstance": { - "format": "int32", - "description": "Indicates maximum number of parallelism per instance.", - "default": 1, - "type": "integer" - }, - "miniBatchSize": { - "format": "int64", - "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", - "default": 10, - "type": "integer" - }, - "model": { - "description": "Reference to the model asset for the endpoint deployment.", - "$ref": "#/definitions/AssetReferenceBase", - "x-nullable": true - }, - "outputAction": { - "description": "Indicates how the output will be organized.", - "default": "AppendRow", - "$ref": "#/definitions/BatchOutputAction" - }, - "outputFileName": { - "description": "Customized output file name for append_row output action.", - "default": "predictions.csv", - "type": "string" - }, - "provisioningState": { - "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "resources": { - "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", - "$ref": "#/definitions/DeploymentResourceConfiguration", - "x-nullable": true - }, - "retrySettings": { - "description": "Retry Settings for the batch inference operation.\r\nIf not provided, will default to the defaults defined in BatchRetrySettings.", - "$ref": "#/definitions/BatchRetrySettings", - "x-nullable": true - } - }, - "x-ms-client-name": "BatchDeploymentProperties", - "additionalProperties": false - }, - "BatchDeploymentConfiguration": { - "description": "Properties relevant to different deployment types.", - "required": [ - "deploymentConfigurationType" - ], - "type": "object", - "properties": { - "deploymentConfigurationType": { - "description": "[Required] The type of the deployment", - "$ref": "#/definitions/BatchDeploymentConfigurationType" - } - }, - "discriminator": "deploymentConfigurationType" - }, - "BatchDeploymentConfigurationType": { - "description": "The enumerated property types for batch deployments.", - "enum": [ - "Model", - "PipelineComponent" - ], - "type": "string", - "x-ms-enum": { - "name": "BatchDeploymentConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "Model" - }, - { - "value": "PipelineComponent" - } - ] - }, - "additionalProperties": false - }, - "BatchDeploymentTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "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" - }, - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/BatchDeployment" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" - } - }, - "x-ms-client-name": "BatchDeployment", - "additionalProperties": false - }, - "BatchDeploymentTrackedResourceArmPaginatedResult": { - "description": "A paginated list of BatchDeployment entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of BatchDeployment objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type BatchDeployment.", - "type": "array", - "items": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - }, - "additionalProperties": false - }, - "BatchEndpoint": { - "description": "Batch endpoint configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointPropertiesBase" - } - ], - "properties": { - "defaults": { - "description": "Default values for Batch Endpoint.", - "$ref": "#/definitions/BatchEndpointDefaults", - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "BatchEndpointProperties", - "additionalProperties": false - }, - "BatchEndpointDefaults": { - "description": "Batch endpoint default values", - "type": "object", - "properties": { - "deploymentName": { - "description": "Name of the deployment that will be default for the endpoint.\r\nThis deployment will end up getting 100% traffic when the endpoint scoring URL is invoked.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "BatchEndpointTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "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" - }, - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/BatchEndpoint" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" - } - }, - "x-ms-client-name": "BatchEndpoint", - "additionalProperties": false - }, - "BatchEndpointTrackedResourceArmPaginatedResult": { - "description": "A paginated list of BatchEndpoint entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of BatchEndpoint objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type BatchEndpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - }, - "additionalProperties": false - }, - "BatchLoggingLevel": { - "description": "Log verbosity for batch inferencing.\r\nIncreasing verbosity order for logging is : Warning, Info and Debug.\r\nThe default value is Info.", - "enum": [ - "Info", - "Warning", - "Debug" - ], - "type": "string", - "x-ms-enum": { - "name": "BatchLoggingLevel", - "modelAsString": true, - "values": [ - { - "value": "Info" - }, - { - "value": "Warning" - }, - { - "value": "Debug" - } - ] - }, - "additionalProperties": false - }, - "BatchOutputAction": { - "description": "Enum to determine how batch inferencing will handle output", - "enum": [ - "SummaryOnly", - "AppendRow" - ], - "type": "string", - "x-ms-enum": { - "name": "BatchOutputAction", - "modelAsString": true, - "values": [ - { - "value": "SummaryOnly" - }, - { - "value": "AppendRow" - } - ] - }, - "additionalProperties": false - }, - "BatchPipelineComponentDeploymentConfiguration": { - "description": "Properties for a Batch Pipeline Component Deployment.", - "required": [ - "deploymentConfigurationType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/BatchDeploymentConfiguration" - } - ], - "properties": { - "componentId": { - "description": "The ARM id of the component to be run.", - "$ref": "#/definitions/IdAssetReference", - "x-nullable": true - }, - "description": { - "description": "The description which will be applied to the job.", - "type": "string", - "x-nullable": true - }, - "settings": { - "description": "Run-time settings for the pipeline job.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "The tags which will be applied to the job.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - } - }, - "x-ms-discriminator-value": "PipelineComponent", - "additionalProperties": false - }, - "BatchRetrySettings": { - "description": "Retry settings for a batch inference operation.", - "type": "object", - "properties": { - "maxRetries": { - "format": "int32", - "description": "Maximum retry count for a mini-batch", - "default": 3, - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "default": "PT30S", - "type": "string" - } - }, - "additionalProperties": false - }, - "BayesianSamplingAlgorithm": { - "description": "Defines a Sampling Algorithm that generates values based on previous values", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SamplingAlgorithm" - } - ], - "x-ms-discriminator-value": "Bayesian", - "additionalProperties": false - }, - "BlobReferenceForConsumptionDto": { - "type": "object", - "properties": { - "blobUri": { - "format": "uri", - "description": "Blob URI path for client to upload data.\r\nExample: https://blob.windows.core.net/Container/Path", - "type": "string", - "x-nullable": true - }, - "credential": { - "description": "Credential info to access storage account", - "$ref": "#/definitions/PendingUploadCredentialDto", - "x-nullable": true - }, - "storageAccountArmId": { - "description": "Arm ID of the storage account to use", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "BlockedTransformers": { - "description": "Enum for all classification models supported by AutoML.", - "enum": [ - "TextTargetEncoder", - "OneHotEncoder", - "CatTargetEncoder", - "TfIdf", - "WoETargetEncoder", - "LabelEncoder", - "WordEmbedding", - "NaiveBayes", - "CountVectorizer", - "HashOneHotEncoder" - ], - "type": "string", - "x-ms-enum": { - "name": "BlockedTransformers", - "modelAsString": true, - "values": [ - { - "value": "TextTargetEncoder", - "description": "Target encoding for text data." - }, - { - "value": "OneHotEncoder", - "description": "Ohe hot encoding creates a binary feature transformation." - }, - { - "value": "CatTargetEncoder", - "description": "Target encoding for categorical data." - }, - { - "value": "TfIdf", - "description": "Tf-Idf stands for, term-frequency times inverse document-frequency. This is a common term weighting scheme for identifying information from documents." - }, - { - "value": "WoETargetEncoder", - "description": "Weight of Evidence encoding is a technique used to encode categorical variables. It uses the natural log of the P(1)/P(0) to create weights." - }, - { - "value": "LabelEncoder", - "description": "Label encoder converts labels/categorical variables in a numerical form." - }, - { - "value": "WordEmbedding", - "description": "Word embedding helps represents words or phrases as a vector, or a series of numbers." - }, - { - "value": "NaiveBayes", - "description": "Naive Bayes is a classified that is used for classification of discrete features that are categorically distributed." - }, - { - "value": "CountVectorizer", - "description": "Count Vectorizer converts a collection of text documents to a matrix of token counts." - }, - { - "value": "HashOneHotEncoder", - "description": "Hashing One Hot Encoder can turn categorical variables into a limited number of new features. This is often used for high-cardinality categorical features." - } - ] - }, - "additionalProperties": false - }, - "BuildContext": { - "description": "Configuration settings for Docker build context", - "required": [ - "contextUri" - ], - "type": "object", - "properties": { - "contextUri": { - "description": "[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\r\n", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "dockerfilePath": { - "description": "Path to the Dockerfile in the build context.\r\n", - "default": "Dockerfile", - "type": "string", - "example": "prod/Dockerfile", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "CategoricalDataDriftMetric": { - "enum": [ - "JensenShannonDistance", - "PopulationStabilityIndex", - "PearsonsChiSquaredTest" - ], - "type": "string", - "x-ms-enum": { - "name": "CategoricalDataDriftMetric", - "modelAsString": true, - "values": [ - { - "value": "JensenShannonDistance", - "description": "The Jensen Shannon Distance (JSD) metric." - }, - { - "value": "PopulationStabilityIndex", - "description": "The Population Stability Index (PSI) metric." - }, - { - "value": "PearsonsChiSquaredTest", - "description": "The Pearsons Chi Squared Test metric." - } - ] - }, - "additionalProperties": false - }, - "CategoricalDataDriftMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataDriftMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The categorical data drift metric to calculate.", - "$ref": "#/definitions/CategoricalDataDriftMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Categorical", - "additionalProperties": false - }, - "CategoricalDataQualityMetric": { - "enum": [ - "NullValueRate", - "DataTypeErrorRate", - "OutOfBoundsRate" - ], - "type": "string", - "x-ms-enum": { - "name": "CategoricalDataQualityMetric", - "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 - }, - "CategoricalDataQualityMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataQualityMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The categorical data quality metric to calculate.", - "$ref": "#/definitions/CategoricalDataQualityMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Categorical", - "additionalProperties": false - }, - "CategoricalPredictionDriftMetric": { - "enum": [ - "JensenShannonDistance", - "PopulationStabilityIndex", - "PearsonsChiSquaredTest" - ], - "type": "string", - "x-ms-enum": { - "name": "CategoricalPredictionDriftMetric", - "modelAsString": true, - "values": [ - { - "value": "JensenShannonDistance", - "description": "The Jensen Shannon Distance (JSD) metric." - }, - { - "value": "PopulationStabilityIndex", - "description": "The Population Stability Index (PSI) metric." - }, - { - "value": "PearsonsChiSquaredTest", - "description": "The Pearsons Chi Squared Test metric." - } - ] - }, - "additionalProperties": false - }, - "CategoricalPredictionDriftMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PredictionDriftMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The categorical prediction drift metric to calculate.", - "$ref": "#/definitions/CategoricalPredictionDriftMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Categorical", - "additionalProperties": false - }, - "CertificateDatastoreCredentials": { - "description": "Certificate datastore credentials configuration.", - "required": [ - "clientId", - "secrets", - "tenantId", - "thumbprint" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "authorityUrl": { - "description": "Authority URL used for authentication.", - "type": "string", - "x-nullable": true - }, - "clientId": { - "format": "uuid", - "description": "[Required] Service principal client ID.", - "type": "string" - }, - "resourceUrl": { - "description": "Resource the service principal has access to.", - "type": "string", - "x-nullable": true - }, - "secrets": { - "description": "[Required] Service principal secrets.", - "$ref": "#/definitions/CertificateDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "tenantId": { - "format": "uuid", - "description": "[Required] ID of the tenant to which the service principal belongs.", - "type": "string" - }, - "thumbprint": { - "description": "[Required] Thumbprint of the certificate used for authentication.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "Certificate", - "additionalProperties": false - }, - "CertificateDatastoreSecrets": { - "description": "Datastore certificate secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "certificate": { - "description": "Service principal certificate.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Certificate", - "additionalProperties": false - }, - "Classification": { - "description": "Classification task in AutoML Table vertical.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TableVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "positiveLabel": { - "description": "Positive label for binary metrics calculation.", - "type": "string", - "x-nullable": true - }, - "primaryMetric": { - "description": "Primary metric for the task.", - "default": "AUCWeighted", - "$ref": "#/definitions/ClassificationPrimaryMetrics" - }, - "trainingSettings": { - "description": "Inputs for training phase for an AutoML Job.", - "$ref": "#/definitions/ClassificationTrainingSettings", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Classification", - "additionalProperties": false - }, - "ClassificationModelPerformanceMetric": { - "enum": [ - "Accuracy", - "Precision", - "Recall" - ], - "type": "string", - "x-ms-enum": { - "name": "ClassificationModelPerformanceMetric", - "modelAsString": true, - "values": [ - { - "value": "Accuracy", - "description": "Calculates the accuracy of the model predictions." - }, - { - "value": "Precision", - "description": "Calculates the precision of the model predictions." - }, - { - "value": "Recall", - "description": "Calculates the recall of the model predictions." - } - ] - }, - "additionalProperties": false - }, - "ClassificationModelPerformanceMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ModelPerformanceMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The classification model performance to calculate.", - "$ref": "#/definitions/ClassificationModelPerformanceMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Classification", - "additionalProperties": false - }, - "ClassificationModels": { - "description": "Enum for all classification models supported by AutoML.", - "enum": [ - "LogisticRegression", - "SGD", - "MultinomialNaiveBayes", - "BernoulliNaiveBayes", - "SVM", - "LinearSVM", - "KNN", - "DecisionTree", - "RandomForest", - "ExtremeRandomTrees", - "LightGBM", - "GradientBoosting", - "XGBoostClassifier" - ], - "type": "string", - "x-ms-enum": { - "name": "ClassificationModels", - "modelAsString": true, - "values": [ - { - "value": "LogisticRegression", - "description": "Logistic regression is a fundamental classification technique.\nIt belongs to the group of linear classifiers and is somewhat similar to polynomial and linear regression.\nLogistic regression is fast and relatively uncomplicated, and it's convenient for you to interpret the results.\nAlthough it's essentially a method for binary classification, it can also be applied to multiclass problems." - }, - { - "value": "SGD", - "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs." - }, - { - "value": "MultinomialNaiveBayes", - "description": "The multinomial Naive Bayes classifier is suitable for classification with discrete features (e.g., word counts for text classification).\nThe multinomial distribution normally requires integer feature counts. However, in practice, fractional counts such as tf-idf may also work." - }, - { - "value": "BernoulliNaiveBayes", - "description": "Naive Bayes classifier for multivariate Bernoulli models." - }, - { - "value": "SVM", - "description": "A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems.\nAfter giving an SVM model sets of labeled training data for each category, they're able to categorize new text." - }, - { - "value": "LinearSVM", - "description": "A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems.\nAfter giving an SVM model sets of labeled training data for each category, they're able to categorize new text.\nLinear SVM performs best when input data is linear, i.e., data can be easily classified by drawing the straight line between classified values on a plotted graph." - }, - { - "value": "KNN", - "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." - }, - { - "value": "DecisionTree", - "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." - }, - { - "value": "RandomForest", - "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." - }, - { - "value": "ExtremeRandomTrees", - "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." - }, - { - "value": "LightGBM", - "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." - }, - { - "value": "GradientBoosting", - "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." - }, - { - "value": "XGBoostClassifier", - "description": "XGBoost: Extreme Gradient Boosting Algorithm. This algorithm is used for structured data where target column values can be divided into distinct class values." - } - ] - }, - "additionalProperties": false - }, - "ClassificationMultilabelPrimaryMetrics": { - "description": "Primary metrics for classification multilabel tasks.", - "enum": [ - "AUCWeighted", - "Accuracy", - "NormMacroRecall", - "AveragePrecisionScoreWeighted", - "PrecisionScoreWeighted", - "IOU" - ], - "type": "string", - "x-ms-enum": { - "name": "ClassificationMultilabelPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "AUCWeighted", - "description": "AUC is the Area under the curve.\nThis metric represents arithmetic mean of the score for each class,\nweighted by the number of true instances in each class." - }, - { - "value": "Accuracy", - "description": "Accuracy is the ratio of predictions that exactly match the true class labels." - }, - { - "value": "NormMacroRecall", - "description": "Normalized macro recall is recall macro-averaged and normalized, so that random\nperformance has a score of 0, and perfect performance has a score of 1." - }, - { - "value": "AveragePrecisionScoreWeighted", - "description": "The arithmetic mean of the average precision score for each class, weighted by\nthe number of true instances in each class." - }, - { - "value": "PrecisionScoreWeighted", - "description": "The arithmetic mean of precision for each class, weighted by number of true instances in each class." - }, - { - "value": "IOU", - "description": "Intersection Over Union. Intersection of predictions divided by union of predictions." - } - ] - }, - "additionalProperties": false - }, - "ClassificationPrimaryMetrics": { - "description": "Primary metrics for classification tasks.", - "enum": [ - "AUCWeighted", - "Accuracy", - "NormMacroRecall", - "AveragePrecisionScoreWeighted", - "PrecisionScoreWeighted" - ], - "type": "string", - "x-ms-enum": { - "name": "ClassificationPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "AUCWeighted", - "description": "AUC is the Area under the curve.\nThis metric represents arithmetic mean of the score for each class,\nweighted by the number of true instances in each class." - }, - { - "value": "Accuracy", - "description": "Accuracy is the ratio of predictions that exactly match the true class labels." - }, - { - "value": "NormMacroRecall", - "description": "Normalized macro recall is recall macro-averaged and normalized, so that random\nperformance has a score of 0, and perfect performance has a score of 1." - }, - { - "value": "AveragePrecisionScoreWeighted", - "description": "The arithmetic mean of the average precision score for each class, weighted by\nthe number of true instances in each class." - }, - { - "value": "PrecisionScoreWeighted", - "description": "The arithmetic mean of precision for each class, weighted by number of true instances in each class." - } - ] - }, - "additionalProperties": false - }, - "ClassificationTrainingSettings": { - "description": "Classification Training related configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrainingSettings" - } - ], - "properties": { - "allowedTrainingAlgorithms": { - "description": "Allowed models for classification task.", - "type": "array", - "items": { - "$ref": "#/definitions/ClassificationModels" - }, - "x-nullable": true - }, - "blockedTrainingAlgorithms": { - "description": "Blocked models for classification task.", - "type": "array", - "items": { - "$ref": "#/definitions/ClassificationModels" - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "CocoExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "containerName": { - "description": "The container name to which the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "snapshotPath": { - "description": "The output path where the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Coco", - "additionalProperties": false - }, - "CodeConfiguration": { - "description": "Configuration for a scoring code asset.", - "required": [ - "scoringScript" - ], - "type": "object", - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "scoringScript": { - "description": "[Required] The script to execute on startup. eg. \"score.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "CodeContainer": { - "description": "Container for code asset versions.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the code container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "CodeContainerProperties", - "additionalProperties": false - }, - "CodeContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/CodeContainer" - } - }, - "x-ms-client-name": "CodeContainer", - "additionalProperties": false - }, - "CodeContainerResourceArmPaginatedResult": { - "description": "A paginated list of CodeContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of CodeContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type CodeContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "additionalProperties": false - }, - "CodeVersion": { - "description": "Code asset version details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "codeUri": { - "description": "Uri where code is located", - "type": "string", - "example": "https://blobStorage/folderName", - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the code version.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "CodeVersionProperties", - "additionalProperties": false - }, - "CodeVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/CodeVersion" - } - }, - "x-ms-client-name": "CodeVersion", - "additionalProperties": false - }, - "CodeVersionResourceArmPaginatedResult": { - "description": "A paginated list of CodeVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of CodeVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type CodeVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/CodeVersionResource" - } - } - }, - "additionalProperties": false - }, - "Collection": { - "type": "object", - "properties": { - "clientId": { - "description": "The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.", - "type": "string", - "x-nullable": true - }, - "dataCollectionMode": { - "description": "Enable or disable data collection.", - "default": "Disabled", - "$ref": "#/definitions/DataCollectionMode" - }, - "dataId": { - "description": "The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage.", - "type": "string", - "x-nullable": true - }, - "samplingRate": { - "format": "double", - "description": "The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.", - "default": 1, - "type": "number" - } - }, - "additionalProperties": false - }, - "ColumnTransformer": { - "description": "Column transformer parameters.", - "type": "object", - "properties": { - "fields": { - "description": "Fields to apply transformer logic on.", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - }, - "parameters": { - "description": "Different properties to be passed to transformer.\r\nInput expected is dictionary of key,value pairs in JSON format.", - "type": "object", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "CommandJob": { - "description": "Command job definition.", - "required": [ - "command", - "environmentId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "autologgerSettings": { - "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", - "$ref": "#/definitions/AutologgerSettings", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "command": { - "description": "[Required] The command to execute on startup of the job. eg. \"python train.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "distribution": { - "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, Ray, or null.", - "$ref": "#/definitions/DistributionConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "environmentId": { - "description": "[Required] The ARM resource ID of the Environment specification for the job.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentVariables": { - "description": "Environment variables included in the job.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "inputs": { - "description": "Mapping of input data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Command job definition.", - "$ref": "#/definitions/JobInput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "limits": { - "description": "Command Job limit.", - "$ref": "#/definitions/CommandJobLimits", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "outputs": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "parameters": { - "description": "Input parameters.", - "type": "object", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "queueSettings": { - "description": "Queue settings for the job", - "$ref": "#/definitions/QueueSettings", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "resources": { - "description": "Compute Resource configuration for the job.", - "default": "{}", - "$ref": "#/definitions/JobResourceConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Command", - "additionalProperties": false - }, - "CommandJobLimits": { - "description": "Command Job limit class.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobLimits" - } - ], - "x-ms-discriminator-value": "Command", - "additionalProperties": false - }, - "ComponentContainer": { - "description": "Component container definition.\r\n", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the component container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "ComponentContainerProperties", - "additionalProperties": false - }, - "ComponentContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/ComponentContainer" - } - }, - "x-ms-client-name": "ComponentContainer", - "additionalProperties": false - }, - "ComponentContainerResourceArmPaginatedResult": { - "description": "A paginated list of ComponentContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of ComponentContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type ComponentContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/ComponentContainerResource" - } - } - }, - "additionalProperties": false - }, - "ComponentVersion": { - "description": "Definition of a component version: defines resources that span component types.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "componentSpec": { - "description": "Defines Component definition details.\r\n", - "type": "object", - "example": { - "name": "Hello_Python_World", - "display_name": "Hello_Python_World", - "version": 1, - "type": "command", - "code": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "environment": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "command": "python hello.py" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the component version.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "stage": { - "description": "Stage in the component lifecycle", - "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "ComponentVersionProperties", - "additionalProperties": false - }, - "ComponentVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/ComponentVersion" - } - }, - "x-ms-client-name": "ComponentVersion", - "additionalProperties": false - }, - "ComponentVersionResourceArmPaginatedResult": { - "description": "A paginated list of ComponentVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of ComponentVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type ComponentVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/ComponentVersionResource" - } - } - }, - "additionalProperties": false - }, - "ContainerResourceRequirements": { - "description": "Resource requirements for each container instance within an online deployment.", - "type": "object", - "properties": { - "containerResourceLimits": { - "description": "Container resource limit info:", - "$ref": "#/definitions/ContainerResourceSettings", - "x-nullable": true - }, - "containerResourceRequests": { - "description": "Container resource request info:", - "$ref": "#/definitions/ContainerResourceSettings", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ContainerResourceSettings": { - "type": "object", - "properties": { - "cpu": { - "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "1", - "x-nullable": true - }, - "gpu": { - "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "1", - "x-nullable": true - }, - "memory": { - "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "2Gi", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ContainerType": { - "description": "The type of container to retrieve logs from.", - "enum": [ - "StorageInitializer", - "InferenceServer", - "ModelDataCollector" - ], - "type": "string", - "x-ms-enum": { - "name": "ContainerType", - "modelAsString": true, - "values": [ - { - "value": "StorageInitializer", - "description": "The container used to download models and score script." - }, - { - "value": "InferenceServer", - "description": "The container used to serve user's request." - }, - { - "value": "ModelDataCollector", - "description": "The container used to collect payload and custom logging when mdc is enabled." - } - ] - }, - "additionalProperties": false - }, - "CreateMonitorAction": { - "required": [ - "monitorDefinition" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ScheduleActionBase" - } - ], - "properties": { - "monitorDefinition": { - "description": "[Required] Defines the monitor.", - "$ref": "#/definitions/MonitorDefinition", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "CreateMonitor", - "additionalProperties": false - }, - "CredentialsType": { - "description": "Enum to determine the datastore credentials type.", - "enum": [ - "AccountKey", - "Certificate", - "None", - "Sas", - "ServicePrincipal", - "KerberosKeytab", - "KerberosPassword" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialsType", - "modelAsString": true, - "values": [ - { - "value": "AccountKey" - }, - { - "value": "Certificate" - }, - { - "value": "None" - }, - { - "value": "Sas" - }, - { - "value": "ServicePrincipal" - }, - { - "value": "KerberosKeytab" - }, - { - "value": "KerberosPassword" - } - ] - }, - "additionalProperties": false - }, - "CronTrigger": { - "required": [ - "expression" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TriggerBase" - } - ], - "properties": { - "expression": { - "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "Cron", - "additionalProperties": false - }, - "CsvExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "containerName": { - "description": "The container name to which the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "snapshotPath": { - "description": "The output path where the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "CSV", - "additionalProperties": false - }, - "CustomForecastHorizon": { - "description": "The desired maximum forecast horizon in units of time-series frequency.", - "required": [ - "value" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ForecastHorizon" - } - ], - "properties": { - "value": { - "format": "int32", - "description": "[Required] Forecast horizon value.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomInferencingServer": { - "description": "Custom inference server configurations.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InferencingServer" - } - ], - "properties": { - "inferenceConfiguration": { - "description": "Inference configuration for custom inferencing.", - "$ref": "#/definitions/OnlineInferenceConfiguration", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "properties": { - "metric": { - "description": "[Required] The user-defined metric to calculate.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "CustomModelJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "custom_model", - "additionalProperties": false - }, - "CustomModelJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "custom_model", - "additionalProperties": false - }, - "CustomMonitoringSignal": { - "required": [ - "componentId", - "metricThresholds", - "workspaceConnection" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "componentId": { - "description": "[Required] ARM resource ID of the component resource used to calculate the custom metrics.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "inputAssets": { - "description": "Monitoring assets to take as input. Key is the component input port name, value is the data asset.", - "type": "object", - "additionalProperties": { - "description": "Monitoring input data base definition.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "inputs": { - "description": "Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value.", - "type": "object", - "additionalProperties": { - "description": "Command job definition.", - "$ref": "#/definitions/JobInput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "metricThresholds": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/CustomMetricThreshold" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "workspaceConnection": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "$ref": "#/definitions/MonitoringWorkspaceConnection", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomNCrossValidations": { - "description": "N-Cross validations are specified by user.", - "required": [ - "value" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/NCrossValidations" - } - ], - "properties": { - "value": { - "format": "int32", - "description": "[Required] N-Cross validations value.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomSeasonality": { - "required": [ - "value" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Seasonality" - } - ], - "properties": { - "value": { - "format": "int32", - "description": "[Required] Seasonality value.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomTargetLags": { - "required": [ - "values" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TargetLags" - } - ], - "properties": { - "values": { - "description": "[Required] Set target lags values.", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - } - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "CustomTargetRollingWindowSize": { - "required": [ - "value" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TargetRollingWindowSize" - } - ], - "properties": { - "value": { - "format": "int32", - "description": "[Required] TargetRollingWindowSize value.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Custom", - "additionalProperties": false - }, - "DataCollectionMode": { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "DataCollectionMode", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "DataCollector": { - "required": [ - "collections" - ], - "type": "object", - "properties": { - "collections": { - "description": "[Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string.\r\nModel data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Collection", - "x-nullable": true - } - }, - "requestLogging": { - "description": "The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional.", - "$ref": "#/definitions/RequestLogging", - "x-nullable": true - }, - "rollingRate": { - "description": "When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file.\r\nIf the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/.\r\nIf it's day, all data will be collected in blob path /yyyy/MM/dd/.\r\nThe other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly.", - "default": "Hour", - "$ref": "#/definitions/RollingRateType" - } - }, - "additionalProperties": false - }, - "DataContainer": { - "description": "Container for data asset versions.", - "required": [ - "dataType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "dataType": { - "description": "[Required] Specifies the type of data.", - "$ref": "#/definitions/DataType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-client-name": "DataContainerProperties", - "additionalProperties": false - }, - "DataContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/DataContainer" - } - }, - "x-ms-client-name": "DataContainer", - "additionalProperties": false - }, - "DataContainerResourceArmPaginatedResult": { - "description": "A paginated list of DataContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of DataContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type DataContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/DataContainerResource" - } - } - }, - "additionalProperties": false - }, - "DataDriftMetricThresholdBase": { - "required": [ - "dataType" - ], - "type": "object", - "properties": { - "dataType": { - "description": "[Required] Specifies the data type of the metric threshold.", - "$ref": "#/definitions/MonitoringFeatureDataType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "discriminator": "dataType" - }, - "DataDriftMonitoringSignal": { - "required": [ - "metricThresholds", - "productionData", - "referenceData" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "dataSegment": { - "description": "The data segment used for scoping on a subset of the data population.", - "$ref": "#/definitions/MonitoringDataSegment", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "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 - }, - "features": { - "description": "The feature filter which identifies which feature to calculate drift over.", - "$ref": "#/definitions/MonitoringFeatureFilterBase", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "metricThresholds": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/DataDriftMetricThresholdBase" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "productionData": { - "description": "[Required] The data which drift will be calculated for.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "referenceData": { - "description": "[Required] The data to calculate drift against.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "DataDrift", - "additionalProperties": false - }, - "DataImport": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataVersionBase" - } - ], - "properties": { - "assetName": { - "description": "Name of the asset for data import job to create", - "type": "string", - "x-nullable": true - }, - "source": { - "description": "Source data of the asset to import from", - "$ref": "#/definitions/DataImportSource", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "uri_folder", - "additionalProperties": false - }, - "DataImportSource": { - "required": [ - "sourceType" - ], - "type": "object", - "properties": { - "connection": { - "description": "Workspace connection for data import source storage", - "type": "string", - "x-nullable": true - }, - "sourceType": { - "description": "[Required] Specifies the type of data.", - "$ref": "#/definitions/DataImportSourceType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "sourceType" - }, - "DataImportSourceType": { - "description": "Enum to determine the type of data.", - "enum": [ - "database", - "file_system" - ], - "type": "string", - "x-ms-enum": { - "name": "DataImportSourceType", - "modelAsString": true, - "values": [ - { - "value": "database" - }, - { - "value": "file_system" - } - ] - }, - "additionalProperties": false - }, - "DataPathAssetReference": { - "description": "Reference to an asset via its path in a datastore.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string", - "x-nullable": true - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "DataPath", - "additionalProperties": false - }, - "DataQualityMetricThresholdBase": { - "required": [ - "dataType" - ], - "type": "object", - "properties": { - "dataType": { - "description": "[Required] Specifies the data type of the metric threshold.", - "$ref": "#/definitions/MonitoringFeatureDataType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "discriminator": "dataType" - }, - "DataQualityMonitoringSignal": { - "required": [ - "metricThresholds", - "productionData", - "referenceData" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "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 - }, - "features": { - "description": "The features to calculate drift over.", - "$ref": "#/definitions/MonitoringFeatureFilterBase", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "metricThresholds": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/DataQualityMetricThresholdBase" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "productionData": { - "description": "[Required] The data produced by the production service which drift will be calculated for.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "referenceData": { - "description": "[Required] The data to calculate drift against.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "DataQuality", - "additionalProperties": false - }, - "DataType": { - "description": "Enum to determine the type of data.", - "enum": [ - "uri_file", - "uri_folder", - "mltable" - ], - "type": "string", - "x-ms-enum": { - "name": "DataType", - "modelAsString": true, - "values": [ - { - "value": "uri_file" - }, - { - "value": "uri_folder" - }, - { - "value": "mltable" - } - ] - }, - "additionalProperties": false - }, - "DataVersionBase": { - "description": "Data version base definition", - "required": [ - "dataType", - "dataUri" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "dataType": { - "description": "[Required] Specifies the type of data.", - "$ref": "#/definitions/DataType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "dataUri": { - "description": "[Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "intellectualProperty": { - "description": "Intellectual Property details. Used if data is an Intellectual Property.", - "$ref": "#/definitions/IntellectualProperty", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "stage": { - "description": "Stage in the data lifecycle assigned to this data asset", - "type": "string", - "x-nullable": true - } - }, - "discriminator": "dataType", - "x-ms-client-name": "DataVersionBaseProperties" - }, - "DataVersionBaseResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/DataVersionBase" - } - }, - "x-ms-client-name": "DataVersionBase", - "additionalProperties": false - }, - "DataVersionBaseResourceArmPaginatedResult": { - "description": "A paginated list of DataVersionBase entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of DataVersionBase objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type DataVersionBase.", - "type": "array", - "items": { - "$ref": "#/definitions/DataVersionBaseResource" - } - } - }, - "additionalProperties": false - }, - "DatabaseSource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataImportSource" - } - ], - "properties": { - "query": { - "description": "SQL Query statement for data import Database source", - "type": "string", - "x-nullable": true - }, - "storedProcedure": { - "description": "SQL StoredProcedure on data import Database source", - "type": "string", - "x-nullable": true - }, - "storedProcedureParams": { - "description": "SQL StoredProcedure parameters", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "x-nullable": true, - "x-ms-identifiers": [] - }, - "tableName": { - "description": "Name of the table on data import Database source", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "database", - "additionalProperties": false - }, - "DatasetExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "labeledAssetName": { - "description": "The unique name of the labeled data asset.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Dataset", - "additionalProperties": false - }, - "Datastore": { - "description": "Base definition for datastore contents configuration.", - "required": [ - "credentials", - "datastoreType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "credentials": { - "description": "[Required] Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "datastoreType": { - "description": "[Required] Storage type backing the datastore.", - "$ref": "#/definitions/DatastoreType" - }, - "intellectualProperty": { - "description": "Intellectual Property details.", - "$ref": "#/definitions/IntellectualProperty", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "isDefault": { - "description": "Readonly property to indicate if datastore is the workspace default datastore", - "type": "boolean", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "discriminator": "datastoreType", - "x-ms-client-name": "DatastoreProperties" - }, - "DatastoreCredentials": { - "description": "Base definition for datastore credentials.", - "required": [ - "credentialsType" - ], - "type": "object", - "properties": { - "credentialsType": { - "description": "[Required] Credential type used to authentication with storage.", - "$ref": "#/definitions/CredentialsType" - } - }, - "discriminator": "credentialsType" - }, - "DatastoreResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/Datastore" - } - }, - "x-ms-client-name": "Datastore", - "additionalProperties": false - }, - "DatastoreResourceArmPaginatedResult": { - "description": "A paginated list of Datastore entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of Datastore objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type Datastore.", - "type": "array", - "items": { - "$ref": "#/definitions/DatastoreResource" - } - } - }, - "additionalProperties": false - }, - "DatastoreSecrets": { - "description": "Base definition for datastore secrets.", - "required": [ - "secretsType" - ], - "type": "object", - "properties": { - "secretsType": { - "description": "[Required] Credential type used to authentication with storage.", - "$ref": "#/definitions/SecretsType" - } - }, - "discriminator": "secretsType" - }, - "DatastoreType": { - "description": "Enum to determine the datastore contents type.", - "enum": [ - "AzureBlob", - "AzureDataLakeGen1", - "AzureDataLakeGen2", - "AzureFile", - "Hdfs", - "OneLake" - ], - "type": "string", - "x-ms-enum": { - "name": "DatastoreType", - "modelAsString": true, - "values": [ - { - "value": "AzureBlob" - }, - { - "value": "AzureDataLakeGen1" - }, - { - "value": "AzureDataLakeGen2" - }, - { - "value": "AzureFile" - }, - { - "value": "Hdfs" - }, - { - "value": "OneLake" - } - ] - }, - "additionalProperties": false - }, - "DefaultScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineScaleSettings" - } - ], - "x-ms-discriminator-value": "Default", - "additionalProperties": false - }, - "DeploymentLogs": { - "type": "object", - "properties": { - "content": { - "description": "The retrieved online deployment logs.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "DeploymentLogsRequest": { - "type": "object", - "properties": { - "containerType": { + "x-ms-client-name": "CodeContainerProperties", + "additionalProperties": false + }, + "CodeContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/CodeContainer" + } + }, + "x-ms-client-name": "CodeContainer", + "additionalProperties": false + }, + "CodeContainerResourceArmPaginatedResult": { + "description": "A paginated list of CodeContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of CodeContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "additionalProperties": false + }, + "CodeVersion": { + "description": "Code asset version details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "codeUri": { + "description": "Uri where code is located", + "type": "string", + "example": "https://blobStorage/folderName", + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the code version.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "CodeVersionProperties", + "additionalProperties": false + }, + "CodeVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/CodeVersion" + } + }, + "x-ms-client-name": "CodeVersion", + "additionalProperties": false + }, + "CodeVersionResourceArmPaginatedResult": { + "description": "A paginated list of CodeVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of CodeVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "additionalProperties": false + }, + "Collection": { + "type": "object", + "properties": { + "clientId": { + "description": "The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.", + "type": "string", + "x-nullable": true + }, + "dataCollectionMode": { + "description": "Enable or disable data collection.", + "default": "Disabled", + "$ref": "#/definitions/DataCollectionMode" + }, + "dataId": { + "description": "The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage.", + "type": "string", + "x-nullable": true + }, + "samplingRate": { + "format": "double", + "description": "The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.", + "default": 1, + "type": "number" + } + }, + "additionalProperties": false + }, + "ColumnTransformer": { + "description": "Column transformer parameters.", + "type": "object", + "properties": { + "fields": { + "description": "Fields to apply transformer logic on.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "parameters": { + "description": "Different properties to be passed to transformer.\r\nInput expected is dictionary of key,value pairs in JSON format.", + "type": "object", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "CommandJob": { + "description": "Command job definition.", + "required": [ + "command", + "environmentId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "autologgerSettings": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/AutologgerSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "command": { + "description": "[Required] The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, Ray, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "environmentId": { + "description": "[Required] The ARM resource ID of the Environment specification for the job.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "inputs": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "limits": { + "description": "Command Job limit.", + "$ref": "#/definitions/CommandJobLimits", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "parameters": { + "description": "Input parameters.", + "type": "object", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "default": "{}", + "$ref": "#/definitions/JobResourceConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Command", + "additionalProperties": false + }, + "CommandJobLimits": { + "description": "Command Job limit class.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobLimits" + } + ], + "x-ms-discriminator-value": "Command", + "additionalProperties": false + }, + "ComponentContainer": { + "description": "Component container definition.\r\n", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the component container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ComponentContainerProperties", + "additionalProperties": false + }, + "ComponentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ComponentContainer" + } + }, + "x-ms-client-name": "ComponentContainer", + "additionalProperties": false + }, + "ComponentContainerResourceArmPaginatedResult": { + "description": "A paginated list of ComponentContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ComponentContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ComponentContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + }, + "additionalProperties": false + }, + "ComponentVersion": { + "description": "Definition of a component version: defines resources that span component types.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "componentSpec": { + "description": "Defines Component definition details.\r\n", + "type": "object", + "example": { + "name": "Hello_Python_World", + "display_name": "Hello_Python_World", + "version": 1, + "type": "command", + "code": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "environment": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "command": "python hello.py" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the component version.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "stage": { + "description": "Stage in the component lifecycle", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "ComponentVersionProperties", + "additionalProperties": false + }, + "ComponentVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ComponentVersion" + } + }, + "x-ms-client-name": "ComponentVersion", + "additionalProperties": false + }, + "ComponentVersionResourceArmPaginatedResult": { + "description": "A paginated list of ComponentVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ComponentVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ComponentVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + }, + "additionalProperties": false + }, + "ContainerResourceRequirements": { + "description": "Resource requirements for each container instance within an online deployment.", + "type": "object", + "properties": { + "containerResourceLimits": { + "description": "Container resource limit info:", + "$ref": "#/definitions/ContainerResourceSettings", + "x-nullable": true + }, + "containerResourceRequests": { + "description": "Container resource request info:", + "$ref": "#/definitions/ContainerResourceSettings", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ContainerResourceSettings": { + "type": "object", + "properties": { + "cpu": { + "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "1", + "x-nullable": true + }, + "gpu": { + "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "1", + "x-nullable": true + }, + "memory": { + "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "2Gi", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ContainerType": { "description": "The type of container to retrieve logs from.", - "default": "InferenceServer", - "$ref": "#/definitions/ContainerType" - }, - "tail": { - "format": "int32", - "description": "The maximum number of lines to tail.", - "type": "integer", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "DeploymentProvisioningState": { - "description": "Possible values for DeploymentProvisioningState.", - "enum": [ - "Creating", - "Deleting", - "Scaling", - "Updating", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "DeploymentProvisioningState", - "modelAsString": true, - "values": [ - { - "value": "Creating" - }, - { - "value": "Deleting" - }, - { - "value": "Scaling" - }, - { - "value": "Updating" - }, - { - "value": "Succeeded" - }, - { - "value": "Failed" - }, - { - "value": "Canceled" - } - ] - }, - "additionalProperties": false - }, - "DeploymentResourceConfiguration": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceConfiguration" - } - ], - "additionalProperties": false - }, - "DistributionConfiguration": { - "description": "Base definition for job distribution configuration.", - "required": [ - "distributionType" - ], - "type": "object", - "properties": { - "distributionType": { - "description": "[Required] Specifies the type of distribution framework.", - "$ref": "#/definitions/DistributionType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "distributionType" - }, - "DistributionType": { - "description": "Enum to determine the job distribution type.", - "enum": [ - "PyTorch", - "TensorFlow", - "Mpi", - "Ray" - ], - "type": "string", - "x-ms-enum": { - "name": "DistributionType", - "modelAsString": true, - "values": [ - { - "value": "PyTorch" - }, - { - "value": "TensorFlow" - }, - { - "value": "Mpi" - }, - { - "value": "Ray" - } - ] - }, - "additionalProperties": false - }, - "EarlyTerminationPolicy": { - "description": "Early termination policies enable canceling poor-performing runs before they complete", - "required": [ - "policyType" - ], - "type": "object", - "properties": { - "delayEvaluation": { - "format": "int32", - "description": "Number of intervals by which to delay the first evaluation.", - "default": 0, - "type": "integer" - }, - "evaluationInterval": { - "format": "int32", - "description": "Interval (number of runs) between policy evaluations.", - "default": 0, - "type": "integer" - }, - "policyType": { - "description": "[Required] Name of policy configuration", - "$ref": "#/definitions/EarlyTerminationPolicyType" - } - }, - "discriminator": "policyType" - }, - "EarlyTerminationPolicyType": { - "enum": [ - "Bandit", - "MedianStopping", - "TruncationSelection" - ], - "type": "string", - "x-ms-enum": { - "name": "EarlyTerminationPolicyType", - "modelAsString": true, - "values": [ - { - "value": "Bandit" - }, - { - "value": "MedianStopping" - }, - { - "value": "TruncationSelection" - } - ] - }, - "additionalProperties": false - }, - "EgressPublicNetworkAccessType": { - "description": "Enum to determine whether PublicNetworkAccess is Enabled or Disabled for egress of a deployment.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "EgressPublicNetworkAccessType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "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": [ - "JobCompleted", - "JobFailed", - "JobCancelled" - ], - "type": "string", - "x-ms-enum": { - "name": "EmailNotificationEnableType", - "modelAsString": true, - "values": [ - { - "value": "JobCompleted" - }, - { - "value": "JobFailed" - }, - { - "value": "JobCancelled" - } - ] - }, - "additionalProperties": false - }, - "EndpointAuthKeys": { - "description": "Keys for endpoint authentication.", - "type": "object", - "properties": { - "primaryKey": { - "description": "The primary key.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "secondaryKey": { - "description": "The secondary key.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "EndpointAuthMode": { - "description": "Enum to determine endpoint authentication mode.", - "enum": [ - "AMLToken", - "Key", - "AADToken" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointAuthMode", - "modelAsString": true, - "values": [ - { - "value": "AMLToken" - }, - { - "value": "Key" - }, - { - "value": "AADToken" - } - ] - }, - "additionalProperties": false - }, - "EndpointAuthToken": { - "description": "Service Token", - "type": "object", - "properties": { - "accessToken": { - "description": "Access token for endpoint authentication.", - "type": "string", - "x-nullable": true - }, - "expiryTimeUtc": { - "format": "int64", - "description": "Access token expiry time (UTC).", - "default": 0, - "type": "integer" - }, - "refreshAfterTimeUtc": { - "format": "int64", - "description": "Refresh access token after time (UTC).", - "default": 0, - "type": "integer" - }, - "tokenType": { - "description": "Access token type.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "EndpointComputeType": { - "description": "Enum to determine endpoint compute type.", - "enum": [ - "Managed", - "Kubernetes", - "AzureMLCompute" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointComputeType", - "modelAsString": true, - "values": [ - { - "value": "Managed" - }, - { - "value": "Kubernetes" - }, - { - "value": "AzureMLCompute" - } - ] - }, - "additionalProperties": false - }, - "EndpointDeploymentPropertiesBase": { - "description": "Base definition for endpoint deployment.", - "type": "object", - "properties": { - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration", - "x-nullable": true - }, - "description": { - "description": "Description of the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "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 - }, - "EndpointPropertiesBase": { - "description": "Inference Endpoint base definition", - "required": [ - "authMode" - ], - "type": "object", - "properties": { - "authMode": { - "description": "[Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.", - "$ref": "#/definitions/EndpointAuthMode" - }, - "description": { - "description": "Description of the inference endpoint.", - "type": "string", - "x-nullable": true - }, - "keys": { - "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", - "$ref": "#/definitions/EndpointAuthKeys", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true, - "x-nullable": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "scoringUri": { - "format": "uri", - "description": "Endpoint URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "swaggerUri": { - "format": "uri", - "description": "Endpoint Swagger URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "EndpointProvisioningState": { - "description": "State of endpoint provisioning.", - "enum": [ - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Updating", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointProvisioningState", - "modelAsString": true, - "values": [ - { - "value": "Creating" - }, - { - "value": "Deleting" - }, - { - "value": "Succeeded" - }, - { - "value": "Failed" - }, - { - "value": "Updating" - }, - { - "value": "Canceled" - } - ] - }, - "additionalProperties": false - }, - "EndpointScheduleAction": { - "required": [ - "actionType", - "endpointInvocationDefinition" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ScheduleActionBase" - } - ], - "properties": { - "endpointInvocationDefinition": { - "description": "[Required] Defines Schedule action definition details.\r\n", - "type": "object", - "example": { - "endpoint": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/hello-pipeline", - "inputs": { - "create_time": "${{creation_context.trigger_time}}" - } - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "x-ms-discriminator-value": "InvokeBatchEndpoint", - "additionalProperties": false - }, - "EnvironmentContainer": { - "description": "Container for environment specification versions.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the environment container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "EnvironmentContainerProperties", - "additionalProperties": false - }, - "EnvironmentContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/EnvironmentContainer" - } - }, - "x-ms-client-name": "EnvironmentContainer", - "additionalProperties": false - }, - "EnvironmentContainerResourceArmPaginatedResult": { - "description": "A paginated list of EnvironmentContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of EnvironmentContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type EnvironmentContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "additionalProperties": false - }, - "EnvironmentType": { - "description": "Environment type is either user created or curated by Azure ML service", - "enum": [ - "Curated", - "UserCreated" - ], - "type": "string", - "x-ms-enum": { - "name": "EnvironmentType", - "modelAsString": true, - "values": [ - { - "value": "Curated" - }, - { - "value": "UserCreated" - } - ] - }, - "additionalProperties": false - }, - "EnvironmentVersion": { - "description": "Environment version details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "autoRebuild": { - "description": "Defines if image needs to be rebuilt based on base image changes.", - "default": "Disabled", - "$ref": "#/definitions/AutoRebuildSetting", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "build": { - "description": "Configuration settings for Docker build context.", - "$ref": "#/definitions/BuildContext", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "condaFile": { - "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentType": { - "description": "Environment type is either user managed or curated by the Azure ML service\r\n", - "$ref": "#/definitions/EnvironmentType", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "image": { - "description": "Name of the image that will be used for the environment.\r\n", - "type": "string", - "example": "docker.io/tensorflow/serving:latest", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "inferenceConfig": { - "description": "Defines configuration specific to inference.", - "$ref": "#/definitions/InferenceContainerProperties", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "intellectualProperty": { - "description": "Intellectual Property details. Used if environment is an Intellectual Property.", - "$ref": "#/definitions/IntellectualProperty", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "osType": { - "description": "The OS type of the environment.", - "default": "Linux", - "$ref": "#/definitions/OperatingSystemType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "provisioningState": { - "description": "Provisioning state for the environment version.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "stage": { - "description": "Stage in the environment lifecycle assigned to this environment", - "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "EnvironmentVersionProperties", - "additionalProperties": false - }, - "EnvironmentVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/EnvironmentVersion" - } - }, - "x-ms-client-name": "EnvironmentVersion", - "additionalProperties": false - }, - "EnvironmentVersionResourceArmPaginatedResult": { - "description": "A paginated list of EnvironmentVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of EnvironmentVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type EnvironmentVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVersionResource" - } - } - }, - "additionalProperties": false - }, - "ExportFormatType": { - "description": "The format of exported labels.", - "enum": [ - "Dataset", - "Coco", - "CSV" - ], - "type": "string", - "x-ms-enum": { - "name": "ExportFormatType", - "modelAsString": true, - "values": [ - { - "value": "Dataset" - }, - { - "value": "Coco" - }, - { - "value": "CSV" - } - ] - }, - "additionalProperties": false - }, - "ExportSummary": { - "required": [ - "format" - ], - "type": "object", - "properties": { - "endDateTime": { - "format": "date-time", - "description": "The time when the export was completed.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "exportedRowCount": { - "format": "int64", - "description": "The total number of labeled datapoints exported.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "format": { - "description": "[Required] The format of exported labels, also as the discriminator.", - "$ref": "#/definitions/ExportFormatType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "labelingJobId": { - "description": "Name and identifier of the job containing exported labels.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "startDateTime": { - "format": "date-time", - "description": "The time when the export was requested.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "discriminator": "format" - }, - "Feature": { - "description": "Dto object representing feature", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "dataType": { - "description": "Specifies type", - "default": "String", - "$ref": "#/definitions/FeatureDataType" - }, - "featureName": { - "description": "Specifies name", - "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "FeatureProperties", - "additionalProperties": false - }, - "FeatureAttributionDriftMonitoringSignal": { - "required": [ - "metricThreshold", - "productionData", - "referenceData" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "metricThreshold": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "$ref": "#/definitions/FeatureAttributionMetricThreshold", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "productionData": { - "description": "[Required] The data which drift will be calculated for.", - "type": "array", - "items": { - "description": "Monitoring input data base definition.", - "$ref": "#/definitions/MonitoringInputDataBase" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "referenceData": { - "description": "[Required] The data to calculate drift against.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "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" - ], - "type": "object", - "properties": { - "metric": { - "description": "[Required] The feature attribution metric to calculate.", - "$ref": "#/definitions/FeatureAttributionMetric", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "FeatureDataType": { - "enum": [ - "String", - "Integer", - "Long", - "Float", - "Double", - "Binary", - "Datetime", - "Boolean" - ], - "type": "string", - "x-ms-enum": { - "name": "FeatureDataType", - "modelAsString": true, - "values": [ - { - "value": "String" - }, - { - "value": "Integer" - }, - { - "value": "Long" - }, - { - "value": "Float" - }, - { - "value": "Double" - }, - { - "value": "Binary" - }, - { - "value": "Datetime" - }, - { - "value": "Boolean" - } - ] - }, - "additionalProperties": false - }, - "FeatureLags": { - "description": "Flag for generating lags for the numeric features.", - "enum": [ - "None", - "Auto" - ], - "type": "string", - "x-ms-enum": { - "name": "FeatureLags", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No feature lags generated." - }, - { - "value": "Auto", - "description": "System auto-generates feature lags." - } - ] - }, - "additionalProperties": false - }, - "FeatureResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/Feature" - } - }, - "x-ms-client-name": "Feature", - "additionalProperties": false - }, - "FeatureResourceArmPaginatedResult": { - "description": "A paginated list of Feature entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of Feature objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type Feature.", - "type": "array", - "items": { - "$ref": "#/definitions/FeatureResource" - } - } - }, - "additionalProperties": false - }, - "FeatureSubset": { - "required": [ - "features", - "filterType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringFeatureFilterBase" - } - ], - "properties": { - "features": { - "description": "[Required] The list of features to include.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "FeatureSubset", - "additionalProperties": false - }, - "FeatureWindow": { - "description": "Specifies the feature window", - "type": "object", - "properties": { - "featureWindowEnd": { - "format": "date-time", - "description": "Specifies the feature window end time", - "type": "string", - "x-nullable": true - }, - "featureWindowStart": { - "format": "date-time", - "description": "Specifies the feature window start time", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "FeaturesetContainer": { - "description": "Dto object representing feature set", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the featureset container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "FeaturesetContainerProperties", - "additionalProperties": false - }, - "FeaturesetContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/FeaturesetContainer" - } - }, - "x-ms-client-name": "FeaturesetContainer", - "additionalProperties": false - }, - "FeaturesetContainerResourceArmPaginatedResult": { - "description": "A paginated list of FeaturesetContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of FeaturesetContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type FeaturesetContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/FeaturesetContainerResource" - } - } - }, - "additionalProperties": false - }, - "FeaturesetJob": { - "description": "Dto object representing the feature set job", - "type": "object", - "properties": { - "createdDate": { - "format": "date-time", - "description": "Specifies the created date", - "type": "string", - "x-nullable": true - }, - "displayName": { - "description": "Specifies the display name", - "type": "string", - "x-nullable": true - }, - "duration": { - "format": "duration", - "description": "Specifies the duration", - "type": "string", - "x-nullable": true - }, - "experimentId": { - "description": "Specifies the experiment id", - "type": "string", - "x-nullable": true - }, - "featureWindow": { - "description": "Specifies the backfill feature window to be materialized", - "$ref": "#/definitions/FeatureWindow", - "x-nullable": true - }, - "jobId": { - "description": "Specifies the job id", - "type": "string", - "x-nullable": true - }, - "status": { - "description": "Specifies the job status", - "default": "Unknown", - "$ref": "#/definitions/JobStatus" - }, - "tags": { - "description": "Specifies the tags if any", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "type": { - "description": "Specifies the feature store job type", - "default": "RecurrentMaterialization", - "$ref": "#/definitions/FeaturestoreJobType" - } - }, - "additionalProperties": false - }, - "FeaturesetJobArmPaginatedResult": { - "description": "A paginated list of FeaturesetJob entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of FeaturesetJob objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type FeaturesetJob.", - "type": "array", - "items": { - "$ref": "#/definitions/FeaturesetJob" - }, - "x-ms-identifiers": [] - } - }, - "additionalProperties": false - }, - "FeaturesetSpecification": { - "description": "Dto object representing specification", - "type": "object", - "properties": { - "path": { - "description": "Specifies the spec path", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "FeaturesetVersion": { - "description": "Dto object representing feature set version", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "entities": { - "description": "Specifies list of entities", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - }, - "materializationSettings": { - "description": "Specifies the materialization settings", - "$ref": "#/definitions/MaterializationSettings", - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the featureset version container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "specification": { - "description": "Specifies the feature spec details", - "$ref": "#/definitions/FeaturesetSpecification", - "x-nullable": true - }, - "stage": { - "description": "Specifies the asset stage", + "enum": [ + "StorageInitializer", + "InferenceServer", + "ModelDataCollector" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "FeaturesetVersionProperties", - "additionalProperties": false - }, - "FeaturesetVersionBackfillRequest": { - "description": "Request payload for creating a backfill request for a given feature set version", - "type": "object", - "properties": { - "description": { - "description": "Specifies description", - "type": "string" - }, - "displayName": { - "description": "Specifies description", - "type": "string" - }, - "featureWindow": { - "description": "Specifies the backfill feature window to be materialized", - "$ref": "#/definitions/FeatureWindow", - "x-nullable": true - }, - "resource": { - "description": "Specifies the compute resource settings", - "$ref": "#/definitions/MaterializationComputeResource" - }, - "sparkConfiguration": { - "description": "Specifies the spark compute settings", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - }, - "tags": { - "description": "Specifies the tags", + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": true, + "values": [ + { + "value": "StorageInitializer", + "description": "The container used to download models and score script." + }, + { + "value": "InferenceServer", + "description": "The container used to serve user's request." + }, + { + "value": "ModelDataCollector", + "description": "The container used to collect payload and custom logging when mdc is enabled." + } + ] + }, + "additionalProperties": false + }, + "CreateMonitorAction": { + "required": [ + "monitorDefinition" + ], "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - } - }, - "additionalProperties": false - }, - "FeaturesetVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/FeaturesetVersion" - } - }, - "x-ms-client-name": "FeaturesetVersion", - "additionalProperties": false - }, - "FeaturesetVersionResourceArmPaginatedResult": { - "description": "A paginated list of FeaturesetVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of FeaturesetVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type FeaturesetVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/FeaturesetVersionResource" - } - } - }, - "additionalProperties": false - }, - "FeaturestoreEntityContainer": { - "description": "Dto object representing feature entity", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the featurestore entity container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "FeaturestoreEntityContainerProperties", - "additionalProperties": false - }, - "FeaturestoreEntityContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/FeaturestoreEntityContainer" - } - }, - "x-ms-client-name": "FeaturestoreEntityContainer", - "additionalProperties": false - }, - "FeaturestoreEntityContainerResourceArmPaginatedResult": { - "description": "A paginated list of FeaturestoreEntityContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type FeaturestoreEntityContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/FeaturestoreEntityContainerResource" - } - } - }, - "additionalProperties": false - }, - "FeaturestoreEntityVersion": { - "description": "Dto object representing feature entity version", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "indexColumns": { - "description": "Specifies index columns", - "type": "array", - "items": { - "$ref": "#/definitions/IndexColumn" - }, - "x-nullable": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "description": "Provisioning state for the featurestore entity version.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "stage": { - "description": "Specifies the asset stage", - "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "FeaturestoreEntityVersionProperties", - "additionalProperties": false - }, - "FeaturestoreEntityVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/FeaturestoreEntityVersion" - } - }, - "x-ms-client-name": "FeaturestoreEntityVersion", - "additionalProperties": false - }, - "FeaturestoreEntityVersionResourceArmPaginatedResult": { - "description": "A paginated list of FeaturestoreEntityVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type FeaturestoreEntityVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/FeaturestoreEntityVersionResource" - } - } - }, - "additionalProperties": false - }, - "FeaturestoreJobType": { - "enum": [ - "RecurrentMaterialization", - "BackfillMaterialization" - ], - "type": "string", - "x-ms-enum": { - "name": "FeaturestoreJobType", - "modelAsString": true, - "values": [ - { - "value": "RecurrentMaterialization" - }, - { - "value": "BackfillMaterialization" - } - ] - }, - "additionalProperties": false - }, - "FeaturizationMode": { - "description": "Featurization mode - determines data featurization mode.", - "enum": [ - "Auto", - "Custom", - "Off" - ], - "type": "string", - "x-ms-enum": { - "name": "FeaturizationMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Auto mode, system performs featurization without any custom featurization inputs." - }, - { - "value": "Custom", - "description": "Custom featurization." - }, - { - "value": "Off", - "description": "Featurization off. 'Forecasting' task cannot use this value." - } - ] - }, - "additionalProperties": false - }, - "FeaturizationSettings": { - "description": "Featurization Configuration.", - "type": "object", - "properties": { - "datasetLanguage": { - "description": "Dataset language, useful for the text data.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "FileSystemSource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataImportSource" - } - ], - "properties": { - "path": { - "description": "Path on data import FileSystem source", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "file_system", - "additionalProperties": false - }, - "FixedInputData": { - "description": "Fixed input data definition.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringInputDataBase" - } - ], - "x-ms-discriminator-value": "Fixed", - "additionalProperties": false - }, - "FlavorData": { - "type": "object", - "properties": { - "data": { - "description": "Model flavor-specific data.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ForecastHorizon": { - "description": "The desired maximum forecast horizon in units of time-series frequency.", - "required": [ - "mode" - ], - "type": "object", - "properties": { - "mode": { - "description": "[Required] Set forecast horizon value selection mode.", - "$ref": "#/definitions/ForecastHorizonMode", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mode" - }, - "ForecastHorizonMode": { - "description": "Enum to determine forecast horizon selection mode.", - "enum": [ - "Auto", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "ForecastHorizonMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Forecast horizon to be determined automatically." - }, - { - "value": "Custom", - "description": "Use the custom forecast horizon." - } - ] - }, - "additionalProperties": false - }, - "Forecasting": { - "description": "Forecasting task in AutoML Table vertical.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TableVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "forecastingSettings": { - "description": "Forecasting task specific inputs.", - "$ref": "#/definitions/ForecastingSettings", - "x-nullable": true - }, - "primaryMetric": { - "description": "Primary metric for forecasting task.", - "default": "NormalizedRootMeanSquaredError", - "$ref": "#/definitions/ForecastingPrimaryMetrics" - }, - "trainingSettings": { - "description": "Inputs for training phase for an AutoML Job.", - "$ref": "#/definitions/ForecastingTrainingSettings", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Forecasting", - "additionalProperties": false - }, - "ForecastingModels": { - "description": "Enum for all forecasting models supported by AutoML.", - "enum": [ - "AutoArima", - "Prophet", - "Naive", - "SeasonalNaive", - "Average", - "SeasonalAverage", - "ExponentialSmoothing", - "Arimax", - "TCNForecaster", - "ElasticNet", - "GradientBoosting", - "DecisionTree", - "KNN", - "LassoLars", - "SGD", - "RandomForest", - "ExtremeRandomTrees", - "LightGBM", - "XGBoostRegressor" - ], - "type": "string", - "x-ms-enum": { - "name": "ForecastingModels", - "modelAsString": true, - "values": [ - { - "value": "AutoArima", - "description": "Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions.\nThis model aims to explain data by using time series data on its past values and uses linear regression to make predictions." - }, - { - "value": "Prophet", - "description": "Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects.\nIt works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well." - }, - { - "value": "Naive", - "description": "The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data." - }, - { - "value": "SeasonalNaive", - "description": "The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data." - }, - { - "value": "Average", - "description": "The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data." - }, - { - "value": "SeasonalAverage", - "description": "The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data." - }, - { - "value": "ExponentialSmoothing", - "description": "Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component." - }, - { - "value": "Arimax", - "description": "An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms.\nThis method is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity." - }, - { - "value": "TCNForecaster", - "description": "TCNForecaster: Temporal Convolutional Networks Forecaster. //TODO: Ask forecasting team for brief intro." - }, - { - "value": "ElasticNet", - "description": "Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions." - }, - { - "value": "GradientBoosting", - "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." - }, - { - "value": "DecisionTree", - "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." - }, - { - "value": "KNN", - "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." - }, - { - "value": "LassoLars", - "description": "Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer." - }, - { - "value": "SGD", - "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs.\nIt's an inexact but powerful technique." - }, - { - "value": "RandomForest", - "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." - }, - { - "value": "ExtremeRandomTrees", - "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." - }, - { - "value": "LightGBM", - "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." - }, - { - "value": "XGBoostRegressor", - "description": "XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners." - } - ] - }, - "additionalProperties": false - }, - "ForecastingPrimaryMetrics": { - "description": "Primary metrics for Forecasting task.", - "enum": [ - "SpearmanCorrelation", - "NormalizedRootMeanSquaredError", - "R2Score", - "NormalizedMeanAbsoluteError" - ], - "type": "string", - "x-ms-enum": { - "name": "ForecastingPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "SpearmanCorrelation", - "description": "The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation." - }, - { - "value": "NormalizedRootMeanSquaredError", - "description": "The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales." - }, - { - "value": "R2Score", - "description": "The R2 score is one of the performance evaluation measures for forecasting-based machine learning models." - }, - { - "value": "NormalizedMeanAbsoluteError", - "description": "The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales." - } - ] - }, - "additionalProperties": false - }, - "ForecastingSettings": { - "description": "Forecasting specific parameters.", - "type": "object", - "properties": { - "countryOrRegionForHolidays": { - "description": "Country or region for holidays for forecasting tasks.\r\nThese should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'.", + "allOf": [ + { + "$ref": "#/definitions/ScheduleActionBase" + } + ], + "properties": { + "monitorDefinition": { + "description": "[Required] Defines the monitor.", + "$ref": "#/definitions/MonitorDefinition", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "CreateMonitor", + "additionalProperties": false + }, + "CredentialsType": { + "description": "Enum to determine the datastore credentials type.", + "enum": [ + "AccountKey", + "Certificate", + "None", + "Sas", + "ServicePrincipal", + "KerberosKeytab", + "KerberosPassword" + ], "type": "string", - "x-nullable": true - }, - "cvStepSize": { - "format": "int32", - "description": "Number of periods between the origin time of one CV fold and the next fold. For\r\nexample, if `CVStepSize` = 3 for daily data, the origin time for each fold will be\r\nthree days apart.", - "type": "integer", - "x-nullable": true - }, - "featureLags": { - "description": "Flag for generating lags for the numeric features with 'auto' or null.", - "default": "None", - "$ref": "#/definitions/FeatureLags" - }, - "featuresUnknownAtForecastTime": { - "description": "The feature columns that are available for training but unknown at the time of forecast/inference.\r\nIf features_unknown_at_forecast_time is not set, it is assumed that all the feature columns in the dataset are known at inference time.", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - }, - "forecastHorizon": { + "x-ms-enum": { + "name": "CredentialsType", + "modelAsString": true, + "values": [ + { + "value": "AccountKey" + }, + { + "value": "Certificate" + }, + { + "value": "None" + }, + { + "value": "Sas" + }, + { + "value": "ServicePrincipal" + }, + { + "value": "KerberosKeytab" + }, + { + "value": "KerberosPassword" + } + ] + }, + "additionalProperties": false + }, + "CronTrigger": { + "required": [ + "expression" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TriggerBase" + } + ], + "properties": { + "expression": { + "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Cron", + "additionalProperties": false + }, + "CsvExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "containerName": { + "description": "The container name to which the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "snapshotPath": { + "description": "The output path where the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "CSV", + "additionalProperties": false + }, + "CustomForecastHorizon": { "description": "The desired maximum forecast horizon in units of time-series frequency.", - "default": "{\"Mode\": \"Custom\", \"Value\": 1}", - "$ref": "#/definitions/ForecastHorizon" - }, - "frequency": { - "description": "When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default.", - "type": "string", - "x-nullable": true - }, - "seasonality": { - "description": "Set time series seasonality as an integer multiple of the series frequency.\r\nIf seasonality is set to 'auto', it will be inferred.", - "default": "{\"Mode\": \"Auto\"}", - "$ref": "#/definitions/Seasonality" - }, - "shortSeriesHandlingConfig": { - "description": "The parameter defining how if AutoML should handle short time series.", - "default": "Auto", - "$ref": "#/definitions/ShortSeriesHandlingConfiguration" - }, - "targetAggregateFunction": { - "description": "The function to be used to aggregate the time series target column to conform to a user specified frequency.\r\nIf the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: \"sum\", \"max\", \"min\" and \"mean\".", - "default": "None", - "$ref": "#/definitions/TargetAggregationFunction" - }, - "targetLags": { - "description": "The number of past periods to lag from the target column.", - "$ref": "#/definitions/TargetLags", - "x-nullable": true - }, - "targetRollingWindowSize": { - "description": "The number of past periods used to create a rolling window average of the target column.", - "$ref": "#/definitions/TargetRollingWindowSize", - "x-nullable": true - }, - "timeColumnName": { - "description": "The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency.", - "type": "string", - "x-nullable": true - }, - "timeSeriesIdColumnNames": { - "description": "The names of columns used to group a timeseries. It can be used to create multiple series.\r\nIf grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting.", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - }, - "useStl": { - "description": "Configure STL Decomposition of the time-series target column.", - "default": "None", - "$ref": "#/definitions/UseStl" - } - }, - "additionalProperties": false - }, - "ForecastingTrainingSettings": { - "description": "Forecasting Training related configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrainingSettings" - } - ], - "properties": { - "allowedTrainingAlgorithms": { - "description": "Allowed models for forecasting task.", - "type": "array", - "items": { - "$ref": "#/definitions/ForecastingModels" - }, - "x-nullable": true - }, - "blockedTrainingAlgorithms": { - "description": "Blocked models for forecasting task.", - "type": "array", - "items": { - "$ref": "#/definitions/ForecastingModels" - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "GenerationSafetyQualityMetric": { - "description": "Generation safety quality metric enum.", - "enum": [ - "AcceptableGroundednessScorePerInstance", - "AggregatedGroundednessPassRate", - "AcceptableCoherenceScorePerInstance", - "AggregatedCoherencePassRate", - "AcceptableFluencyScorePerInstance", - "AggregatedFluencyPassRate", - "AcceptableSimilarityScorePerInstance", - "AggregatedSimilarityPassRate", - "AcceptableRelevanceScorePerInstance", - "AggregatedRelevancePassRate" - ], - "type": "string", - "x-ms-enum": { - "name": "GenerationSafetyQualityMetric", - "modelAsString": true, - "values": [ - { - "value": "AcceptableGroundednessScorePerInstance" - }, - { - "value": "AggregatedGroundednessPassRate" - }, - { - "value": "AcceptableCoherenceScorePerInstance" - }, - { - "value": "AggregatedCoherencePassRate" - }, - { - "value": "AcceptableFluencyScorePerInstance" - }, - { - "value": "AggregatedFluencyPassRate" - }, - { - "value": "AcceptableSimilarityScorePerInstance" - }, - { - "value": "AggregatedSimilarityPassRate" - }, - { - "value": "AcceptableRelevanceScorePerInstance" - }, - { - "value": "AggregatedRelevancePassRate" - } - ] - }, - "additionalProperties": false - }, - "GenerationSafetyQualityMetricThreshold": { - "description": "Generation safety quality metric threshold definition.", - "required": [ - "metric" - ], - "type": "object", - "properties": { - "metric": { - "description": "[Required] Gets or sets the feature attribution metric to calculate.", - "$ref": "#/definitions/GenerationSafetyQualityMetric", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "Gets or sets the threshold value.\r\nIf null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "GenerationSafetyQualityMonitoringSignal": { - "description": "Generation safety quality monitoring signal definition.", - "required": [ - "metricThresholds", - "samplingRate" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "metricThresholds": { - "description": "[Required] Gets or sets the metrics to calculate and the corresponding thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/GenerationSafetyQualityMetricThreshold" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "productionData": { - "description": "Gets or sets the target 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-ms-identifiers": [] - }, - "samplingRate": { - "format": "double", - "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", - "type": "number", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "workspaceConnectionId": { - "description": "Gets or sets the workspace connection ID used to connect to the content generation endpoint.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "GenerationSafetyQuality", - "additionalProperties": false - }, - "GenerationTokenStatisticsMetric": { - "description": "Generation token statistics metric enum.", - "enum": [ - "TotalTokenCount", - "TotalTokenCountPerGroup" - ], - "type": "string", - "x-ms-enum": { - "name": "GenerationTokenStatisticsMetric", - "modelAsString": true, - "values": [ - { - "value": "TotalTokenCount" - }, - { - "value": "TotalTokenCountPerGroup" - } - ] - }, - "additionalProperties": false - }, - "GenerationTokenStatisticsMetricThreshold": { - "description": "Generation token statistics metric threshold definition.", - "required": [ - "metric" - ], - "type": "object", - "properties": { - "metric": { - "description": "[Required] Gets or sets the feature attribution metric to calculate.", - "$ref": "#/definitions/GenerationTokenStatisticsMetric", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "Gets or sets the threshold value.\r\nIf null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "GenerationTokenStatisticsSignal": { - "description": "Generation token statistics signal definition.", - "required": [ - "metricThresholds", - "samplingRate" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "metricThresholds": { - "description": "[Required] Gets or sets the metrics to calculate and the corresponding thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/GenerationTokenStatisticsMetricThreshold" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "productionData": { - "description": "Gets or sets the target data for computing metrics.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "samplingRate": { - "format": "double", - "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", - "type": "number", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "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", - "allOf": [ - { - "$ref": "#/definitions/SamplingAlgorithm" - } - ], - "x-ms-discriminator-value": "Grid", - "additionalProperties": false - }, - "HdfsDatastore": { - "required": [ - "nameNodeAddress" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "hdfsServerCertificate": { - "description": "The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if \"Https\" protocol is selected.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "nameNodeAddress": { - "description": "[Required] IP Address or DNS HostName.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account (Https/Http).", - "default": "http", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Hdfs", - "additionalProperties": false - }, - "IdAssetReference": { - "description": "Reference to an asset via its ARM resource ID.", - "required": [ - "assetId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "assetId": { - "description": "[Required] ARM resource ID of the asset.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "Id", - "additionalProperties": false - }, - "IdentityConfiguration": { - "description": "Base definition for identity configuration.", - "required": [ - "identityType" - ], - "type": "object", - "properties": { - "identityType": { - "description": "[Required] Specifies the type of identity framework.", - "$ref": "#/definitions/IdentityConfigurationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "identityType" - }, - "IdentityConfigurationType": { - "description": "Enum to determine identity framework.", - "enum": [ - "Managed", - "AMLToken", - "UserIdentity" - ], - "type": "string", - "x-ms-enum": { - "name": "IdentityConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "Managed" - }, - { - "value": "AMLToken" - }, - { - "value": "UserIdentity" - } - ] - }, - "additionalProperties": false - }, - "ImageAnnotationType": { - "description": "Annotation type of image data.", - "enum": [ - "Classification", - "BoundingBox", - "InstanceSegmentation" - ], - "type": "string", - "x-ms-enum": { - "name": "ImageAnnotationType", - "modelAsString": true, - "values": [ - { - "value": "Classification" - }, - { - "value": "BoundingBox" - }, - { - "value": "InstanceSegmentation" - } - ] - }, - "additionalProperties": false - }, - "ImageClassification": { - "description": "Image Classification. Multi-class image classification is used when an image is classified with only a single label\r\nfrom a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ImageClassificationBase" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric to optimize for this task.", - "default": "Accuracy", - "$ref": "#/definitions/ClassificationPrimaryMetrics" - } - }, - "x-ms-discriminator-value": "ImageClassification", - "additionalProperties": false - }, - "ImageClassificationBase": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ImageVertical" - } - ], - "properties": { - "modelSettings": { - "description": "Settings used for training the model.", - "$ref": "#/definitions/ImageModelSettingsClassification", - "x-nullable": true - }, - "searchSpace": { - "description": "Search space for sampling different combinations of models and their hyperparameters.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageModelDistributionSettingsClassification" - }, - "x-nullable": true, - "x-ms-identifiers": [] - } - }, - "additionalProperties": false - }, - "ImageClassificationMultilabel": { - "description": "Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels\r\nfrom a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ImageClassificationBase" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric to optimize for this task.", - "default": "IOU", - "$ref": "#/definitions/ClassificationMultilabelPrimaryMetrics" - } - }, - "x-ms-discriminator-value": "ImageClassificationMultilabel", - "additionalProperties": false - }, - "ImageInstanceSegmentation": { - "description": "Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level,\r\ndrawing a polygon around each object in the image.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ImageObjectDetectionBase" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric to optimize for this task.", - "default": "MeanAveragePrecision", - "$ref": "#/definitions/InstanceSegmentationPrimaryMetrics" - } - }, - "x-ms-discriminator-value": "ImageInstanceSegmentation", - "additionalProperties": false - }, - "ImageLimitSettings": { - "description": "Limit settings for the AutoML job.", - "type": "object", - "properties": { - "maxConcurrentTrials": { - "format": "int32", - "description": "Maximum number of concurrent AutoML iterations.", - "default": 1, - "type": "integer" - }, - "maxTrials": { - "format": "int32", - "description": "Maximum number of AutoML iterations.", - "default": 1, - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "AutoML job timeout.", - "default": "P7D", - "type": "string" - } - }, - "additionalProperties": false - }, - "ImageModelDistributionSettings": { - "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nAll distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn)\r\nwhere distribution name can be: uniform, quniform, loguniform, etc\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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", - "properties": { - "amsGradient": { - "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.", - "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "augmentations": { - "description": "Settings for using Augmentations.", - "type": "string", - "example": "choice('hflip;mosaic;random_crop', 'mosaic')", - "x-nullable": true - }, - "beta1": { - "description": "Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", - "type": "string", - "example": "uniform(0, 1)", - "x-nullable": true - }, - "beta2": { - "description": "Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", - "type": "string", - "example": "uniform(0, 1)", - "x-nullable": true - }, - "distributed": { - "description": "Whether to use distributer training.", - "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "earlyStopping": { - "description": "Enable early stopping logic during training.", - "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "earlyStoppingDelay": { - "description": "Minimum number of epochs or validation evaluations to wait before primary metric improvement\r\nis tracked for early stopping. Must be a positive integer.", - "type": "string", - "example": "choice(1, 5)", - "x-nullable": true - }, - "earlyStoppingPatience": { - "description": "Minimum number of epochs or validation evaluations with no primary metric improvement before\r\nthe run is stopped. Must be a positive integer.", - "type": "string", - "example": "choice(1, 5)", - "x-nullable": true - }, - "enableOnnxNormalization": { - "description": "Enable normalization when exporting ONNX model.", - "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "evaluationFrequency": { - "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.", - "type": "string", - "example": "choice(1, 5)", - "x-nullable": true - }, - "gradientAccumulationStep": { - "description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.", - "type": "string", - "example": "choice(1, 5)", - "x-nullable": true - }, - "layersToFreeze": { - "description": "Number of layers to freeze for the model. Must be a positive integer.\r\nFor instance, passing 2 as value for 'seresnext' means\r\nfreezing layer0 and layer1. For a full list of models supported and details on layer freeze, please\r\nsee: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", - "type": "string", - "example": "choice(1, 2)", - "x-nullable": true - }, - "learningRate": { - "description": "Initial learning rate. Must be a float in the range [0, 1].", - "type": "string", - "example": "uniform(0.0005, 0.005)", - "x-nullable": true - }, - "learningRateScheduler": { - "description": "Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'.", - "type": "string", - "example": "choice('warmup_cosine', 'step')", - "x-nullable": true - }, - "modelName": { - "description": "Name of the model to use for training.\r\nFor more information on the available models please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", - "type": "string", - "example": "choice('seresnext', 'resnest50')", - "x-nullable": true - }, - "momentum": { - "description": "Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1].", - "type": "string", - "example": "quniform(0, 1)", - "x-nullable": true - }, - "nesterov": { - "description": "Enable nesterov when optimizer is 'sgd'.", - "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "numberOfEpochs": { - "description": "Number of training epochs. Must be a positive integer.", - "type": "string", - "example": "choice(15, 30)", - "x-nullable": true - }, - "numberOfWorkers": { - "description": "Number of data loader workers. Must be a non-negative integer.", - "type": "string", - "example": "uniform(8, 16)", - "x-nullable": true - }, - "optimizer": { - "description": "Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'.", - "type": "string", - "example": "choice('sgd', 'adam', 'adamw')", - "x-nullable": true - }, - "randomSeed": { - "description": "Random seed to be used when using deterministic training.", - "type": "string", - "example": "loguniform(0, 1)", - "x-nullable": true - }, - "stepLRGamma": { - "description": "Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1].", - "type": "string", - "example": "choice(0.1, 0.2, 0.25)", - "x-nullable": true - }, - "stepLRStepSize": { - "description": "Value of step size when learning rate scheduler is 'step'. Must be a positive integer.", - "type": "string", - "example": "choice(1, 2, 3)", - "x-nullable": true - }, - "trainingBatchSize": { - "description": "Training batch size. Must be a positive integer.", + "required": [ + "value" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ForecastHorizon" + } + ], + "properties": { + "value": { + "format": "int32", + "description": "[Required] Forecast horizon value.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomInferencingServer": { + "description": "Custom inference server configurations.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InferencingServer" + } + ], + "properties": { + "inferenceConfiguration": { + "description": "Inference configuration for custom inferencing.", + "$ref": "#/definitions/OnlineInferenceConfiguration", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "properties": { + "metric": { + "description": "[Required] The user-defined metric to calculate.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "CustomModelJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "custom_model", + "additionalProperties": false + }, + "CustomModelJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "custom_model", + "additionalProperties": false + }, + "CustomMonitoringSignal": { + "required": [ + "componentId", + "metricThresholds", + "workspaceConnection" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "componentId": { + "description": "[Required] ARM resource ID of the component resource used to calculate the custom metrics.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputAssets": { + "description": "Monitoring assets to take as input. Key is the component input port name, value is the data asset.", + "type": "object", + "additionalProperties": { + "description": "Monitoring input data base definition.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "inputs": { + "description": "Extra component parameters to take as input. Key is the component literal input port name, value is the parameter value.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "metricThresholds": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/CustomMetricThreshold" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "workspaceConnection": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "$ref": "#/definitions/MonitoringWorkspaceConnection", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomNCrossValidations": { + "description": "N-Cross validations are specified by user.", + "required": [ + "value" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NCrossValidations" + } + ], + "properties": { + "value": { + "format": "int32", + "description": "[Required] N-Cross validations value.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomSeasonality": { + "required": [ + "value" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Seasonality" + } + ], + "properties": { + "value": { + "format": "int32", + "description": "[Required] Seasonality value.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomTargetLags": { + "required": [ + "values" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TargetLags" + } + ], + "properties": { + "values": { + "description": "[Required] Set target lags values.", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + } + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "CustomTargetRollingWindowSize": { + "required": [ + "value" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TargetRollingWindowSize" + } + ], + "properties": { + "value": { + "format": "int32", + "description": "[Required] TargetRollingWindowSize value.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Custom", + "additionalProperties": false + }, + "DataCollectionMode": { + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "example": "choice(1, 2, 3)", - "x-nullable": true - }, - "validationBatchSize": { - "description": "Validation batch size. Must be a positive integer.", + "x-ms-enum": { + "name": "DataCollectionMode", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "DataCollector": { + "required": [ + "collections" + ], + "type": "object", + "properties": { + "collections": { + "description": "[Required] The collection configuration. Each collection has it own configuration to collect model data and the name of collection can be arbitrary string.\r\nModel data collector can be used for either payload logging or custom logging or both of them. Collection request and response are reserved for payload logging, others are for custom logging.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Collection", + "x-nullable": true + } + }, + "requestLogging": { + "description": "The request logging configuration for mdc, it includes advanced logging settings for all collections. It's optional.", + "$ref": "#/definitions/RequestLogging", + "x-nullable": true + }, + "rollingRate": { + "description": "When model data is collected to blob storage, we need to roll the data to different path to avoid logging all of them in a single blob file.\r\nIf the rolling rate is hour, all data will be collected in the blob path /yyyy/MM/dd/HH/.\r\nIf it's day, all data will be collected in blob path /yyyy/MM/dd/.\r\nThe other benefit of rolling path is that model monitoring ui is able to select a time range of data very quickly.", + "default": "Hour", + "$ref": "#/definitions/RollingRateType" + } + }, + "additionalProperties": false + }, + "DataContainer": { + "description": "Container for data asset versions.", + "required": [ + "dataType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "dataType": { + "description": "[Required] Specifies the type of data.", + "$ref": "#/definitions/DataType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-client-name": "DataContainerProperties", + "additionalProperties": false + }, + "DataContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/DataContainer" + } + }, + "x-ms-client-name": "DataContainer", + "additionalProperties": false + }, + "DataContainerResourceArmPaginatedResult": { + "description": "A paginated list of DataContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of DataContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type DataContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/DataContainerResource" + } + } + }, + "additionalProperties": false + }, + "DataDriftMetricThresholdBase": { + "required": [ + "dataType" + ], + "type": "object", + "properties": { + "dataType": { + "description": "[Required] Specifies the data type of the metric threshold.", + "$ref": "#/definitions/MonitoringFeatureDataType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "discriminator": "dataType" + }, + "DataDriftMonitoringSignal": { + "required": [ + "metricThresholds", + "productionData", + "referenceData" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "dataSegment": { + "description": "The data segment used for scoping on a subset of the data population.", + "$ref": "#/definitions/MonitoringDataSegment", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "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 + }, + "features": { + "description": "The feature filter which identifies which feature to calculate drift over.", + "$ref": "#/definitions/MonitoringFeatureFilterBase", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "metricThresholds": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/DataDriftMetricThresholdBase" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "productionData": { + "description": "[Required] The data which drift will be calculated for.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "referenceData": { + "description": "[Required] The data to calculate drift against.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "DataDrift", + "additionalProperties": false + }, + "DataImport": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataVersionBase" + } + ], + "properties": { + "assetName": { + "description": "Name of the asset for data import job to create", + "type": "string", + "x-nullable": true + }, + "source": { + "description": "Source data of the asset to import from", + "$ref": "#/definitions/DataImportSource", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "uri_folder", + "additionalProperties": false + }, + "DataImportSource": { + "required": [ + "sourceType" + ], + "type": "object", + "properties": { + "connection": { + "description": "Workspace connection for data import source storage", + "type": "string", + "x-nullable": true + }, + "sourceType": { + "description": "[Required] Specifies the type of data.", + "$ref": "#/definitions/DataImportSourceType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "sourceType" + }, + "DataImportSourceType": { + "description": "Enum to determine the type of data.", + "enum": [ + "database", + "file_system" + ], "type": "string", - "example": "choice(1, 2, 3)", - "x-nullable": true - }, - "warmupCosineLRCycles": { - "description": "Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1].", + "x-ms-enum": { + "name": "DataImportSourceType", + "modelAsString": true, + "values": [ + { + "value": "database" + }, + { + "value": "file_system" + } + ] + }, + "additionalProperties": false + }, + "DataPathAssetReference": { + "description": "Reference to an asset via its path in a datastore.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string", + "x-nullable": true + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "DataPath", + "additionalProperties": false + }, + "DataQualityMetricThresholdBase": { + "required": [ + "dataType" + ], + "type": "object", + "properties": { + "dataType": { + "description": "[Required] Specifies the data type of the metric threshold.", + "$ref": "#/definitions/MonitoringFeatureDataType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "discriminator": "dataType" + }, + "DataQualityMonitoringSignal": { + "required": [ + "metricThresholds", + "productionData", + "referenceData" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "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 + }, + "features": { + "description": "The features to calculate drift over.", + "$ref": "#/definitions/MonitoringFeatureFilterBase", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "metricThresholds": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/DataQualityMetricThresholdBase" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "productionData": { + "description": "[Required] The data produced by the production service which drift will be calculated for.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "referenceData": { + "description": "[Required] The data to calculate drift against.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "DataQuality", + "additionalProperties": false + }, + "DataType": { + "description": "Enum to determine the type of data.", + "enum": [ + "uri_file", + "uri_folder", + "mltable" + ], "type": "string", - "example": "uniform(0, 1)", - "x-nullable": true - }, - "warmupCosineLRWarmupEpochs": { - "description": "Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer.", + "x-ms-enum": { + "name": "DataType", + "modelAsString": true, + "values": [ + { + "value": "uri_file" + }, + { + "value": "uri_folder" + }, + { + "value": "mltable" + } + ] + }, + "additionalProperties": false + }, + "DataVersionBase": { + "description": "Data version base definition", + "required": [ + "dataType", + "dataUri" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "dataType": { + "description": "[Required] Specifies the type of data.", + "$ref": "#/definitions/DataType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "dataUri": { + "description": "[Required] Uri of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "intellectualProperty": { + "description": "Intellectual Property details. Used if data is an Intellectual Property.", + "$ref": "#/definitions/IntellectualProperty", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "stage": { + "description": "Stage in the data lifecycle assigned to this data asset", + "type": "string", + "x-nullable": true + } + }, + "discriminator": "dataType", + "x-ms-client-name": "DataVersionBaseProperties" + }, + "DataVersionBaseResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/DataVersionBase" + } + }, + "x-ms-client-name": "DataVersionBase", + "additionalProperties": false + }, + "DataVersionBaseResourceArmPaginatedResult": { + "description": "A paginated list of DataVersionBase entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of DataVersionBase objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type DataVersionBase.", + "type": "array", + "items": { + "$ref": "#/definitions/DataVersionBaseResource" + } + } + }, + "additionalProperties": false + }, + "DatabaseSource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataImportSource" + } + ], + "properties": { + "query": { + "description": "SQL Query statement for data import Database source", + "type": "string", + "x-nullable": true + }, + "storedProcedure": { + "description": "SQL StoredProcedure on data import Database source", + "type": "string", + "x-nullable": true + }, + "storedProcedureParams": { + "description": "SQL StoredProcedure parameters", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "x-nullable": true, + "x-ms-identifiers": [] + }, + "tableName": { + "description": "Name of the table on data import Database source", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "database", + "additionalProperties": false + }, + "DatasetExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "labeledAssetName": { + "description": "The unique name of the labeled data asset.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Dataset", + "additionalProperties": false + }, + "Datastore": { + "description": "Base definition for datastore contents configuration.", + "required": [ + "credentials", + "datastoreType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "credentials": { + "description": "[Required] Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "datastoreType": { + "description": "[Required] Storage type backing the datastore.", + "$ref": "#/definitions/DatastoreType" + }, + "intellectualProperty": { + "description": "Intellectual Property details.", + "$ref": "#/definitions/IntellectualProperty", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "isDefault": { + "description": "Readonly property to indicate if datastore is the workspace default datastore", + "type": "boolean", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "discriminator": "datastoreType", + "x-ms-client-name": "DatastoreProperties" + }, + "DatastoreCredentials": { + "description": "Base definition for datastore credentials.", + "required": [ + "credentialsType" + ], + "type": "object", + "properties": { + "credentialsType": { + "description": "[Required] Credential type used to authentication with storage.", + "$ref": "#/definitions/CredentialsType" + } + }, + "discriminator": "credentialsType" + }, + "DatastoreResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/Datastore" + } + }, + "x-ms-client-name": "Datastore", + "additionalProperties": false + }, + "DatastoreResourceArmPaginatedResult": { + "description": "A paginated list of Datastore entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Datastore objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type Datastore.", + "type": "array", + "items": { + "$ref": "#/definitions/DatastoreResource" + } + } + }, + "additionalProperties": false + }, + "DatastoreSecrets": { + "description": "Base definition for datastore secrets.", + "required": [ + "secretsType" + ], + "type": "object", + "properties": { + "secretsType": { + "description": "[Required] Credential type used to authentication with storage.", + "$ref": "#/definitions/SecretsType" + } + }, + "discriminator": "secretsType" + }, + "DatastoreType": { + "description": "Enum to determine the datastore contents type.", + "enum": [ + "AzureBlob", + "AzureDataLakeGen1", + "AzureDataLakeGen2", + "AzureFile", + "Hdfs", + "OneLake" + ], "type": "string", - "example": "choice(1, 2, 3)", - "x-nullable": true - }, - "weightDecay": { - "description": "Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].", + "x-ms-enum": { + "name": "DatastoreType", + "modelAsString": true, + "values": [ + { + "value": "AzureBlob" + }, + { + "value": "AzureDataLakeGen1" + }, + { + "value": "AzureDataLakeGen2" + }, + { + "value": "AzureFile" + }, + { + "value": "Hdfs" + }, + { + "value": "OneLake" + } + ] + }, + "additionalProperties": false + }, + "DefaultScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "x-ms-discriminator-value": "Default", + "additionalProperties": false + }, + "DeploymentLogs": { + "type": "object", + "properties": { + "content": { + "description": "The retrieved online deployment logs.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "DeploymentLogsRequest": { + "type": "object", + "properties": { + "containerType": { + "description": "The type of container to retrieve logs from.", + "default": "InferenceServer", + "$ref": "#/definitions/ContainerType" + }, + "tail": { + "format": "int32", + "description": "The maximum number of lines to tail.", + "type": "integer", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "DeploymentProvisioningState": { + "description": "Possible values for DeploymentProvisioningState.", + "enum": [ + "Creating", + "Deleting", + "Scaling", + "Updating", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "example": "uniform(0, 1)", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ImageModelDistributionSettingsClassification": { - "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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/ImageModelDistributionSettings" - } - ], - "properties": { - "trainingCropSize": { - "description": "Image crop size that is input to the neural network for the training dataset. Must be a positive integer.", + "x-ms-enum": { + "name": "DeploymentProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Scaling" + }, + { + "value": "Updating" + }, + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Canceled" + } + ] + }, + "additionalProperties": false + }, + "DeploymentResourceConfiguration": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceConfiguration" + } + ], + "additionalProperties": false + }, + "DistributionConfiguration": { + "description": "Base definition for job distribution configuration.", + "required": [ + "distributionType" + ], + "type": "object", + "properties": { + "distributionType": { + "description": "[Required] Specifies the type of distribution framework.", + "$ref": "#/definitions/DistributionType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "distributionType" + }, + "DistributionType": { + "description": "Enum to determine the job distribution type.", + "enum": [ + "PyTorch", + "TensorFlow", + "Mpi", + "Ray" + ], "type": "string", - "example": "choice(224, 360)", - "x-nullable": true - }, - "validationCropSize": { - "description": "Image crop size that is input to the neural network for the validation dataset. Must be a positive integer.", + "x-ms-enum": { + "name": "DistributionType", + "modelAsString": true, + "values": [ + { + "value": "PyTorch" + }, + { + "value": "TensorFlow" + }, + { + "value": "Mpi" + }, + { + "value": "Ray" + } + ] + }, + "additionalProperties": false + }, + "EarlyTerminationPolicy": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "required": [ + "policyType" + ], + "type": "object", + "properties": { + "delayEvaluation": { + "format": "int32", + "description": "Number of intervals by which to delay the first evaluation.", + "default": 0, + "type": "integer" + }, + "evaluationInterval": { + "format": "int32", + "description": "Interval (number of runs) between policy evaluations.", + "default": 0, + "type": "integer" + }, + "policyType": { + "description": "[Required] Name of policy configuration", + "$ref": "#/definitions/EarlyTerminationPolicyType" + } + }, + "discriminator": "policyType" + }, + "EarlyTerminationPolicyType": { + "enum": [ + "Bandit", + "MedianStopping", + "TruncationSelection" + ], "type": "string", - "example": "choice(224, 360)", - "x-nullable": true - }, - "validationResizeSize": { - "description": "Image size to which to resize before cropping for validation dataset. Must be a positive integer.", + "x-ms-enum": { + "name": "EarlyTerminationPolicyType", + "modelAsString": true, + "values": [ + { + "value": "Bandit" + }, + { + "value": "MedianStopping" + }, + { + "value": "TruncationSelection" + } + ] + }, + "additionalProperties": false + }, + "EgressPublicNetworkAccessType": { + "description": "Enum to determine whether PublicNetworkAccess is Enabled or Disabled for egress of a deployment.", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "example": "choice(128, 256)", - "x-nullable": true - }, - "weightedLoss": { - "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.", + "x-ms-enum": { + "name": "EgressPublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "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": [ + "JobCompleted", + "JobFailed", + "JobCancelled" + ], "type": "string", - "example": "choice(0, 1, 2)", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ImageModelDistributionSettingsObjectDetection": { - "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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/ImageModelDistributionSettings" - } - ], - "properties": { - "boxDetectionsPerImage": { - "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.", + "x-ms-enum": { + "name": "EmailNotificationEnableType", + "modelAsString": true, + "values": [ + { + "value": "JobCompleted" + }, + { + "value": "JobFailed" + }, + { + "value": "JobCancelled" + } + ] + }, + "additionalProperties": false + }, + "EndpointAuthKeys": { + "description": "Keys for endpoint authentication.", + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "EndpointAuthMode": { + "description": "Enum to determine endpoint authentication mode.", + "enum": [ + "AMLToken", + "Key", + "AADToken" + ], "type": "string", - "example": "choice(50, 100)", - "x-nullable": true - }, - "boxScoreThreshold": { - "description": "During inference, only return proposals with a classification score greater than\r\nBoxScoreThreshold. Must be a float in the range[0, 1].", + "x-ms-enum": { + "name": "EndpointAuthMode", + "modelAsString": true, + "values": [ + { + "value": "AMLToken" + }, + { + "value": "Key" + }, + { + "value": "AADToken" + } + ] + }, + "additionalProperties": false + }, + "EndpointAuthToken": { + "description": "Service Token", + "type": "object", + "properties": { + "accessToken": { + "description": "Access token for endpoint authentication.", + "type": "string", + "x-nullable": true + }, + "expiryTimeUtc": { + "format": "int64", + "description": "Access token expiry time (UTC).", + "default": 0, + "type": "integer" + }, + "refreshAfterTimeUtc": { + "format": "int64", + "description": "Refresh access token after time (UTC).", + "default": 0, + "type": "integer" + }, + "tokenType": { + "description": "Access token type.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "EndpointComputeType": { + "description": "Enum to determine endpoint compute type.", + "enum": [ + "Managed", + "Kubernetes", + "AzureMLCompute" + ], "type": "string", - "example": "uniform(0.1, 0.2)", - "x-nullable": true - }, - "imageSize": { - "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.", + "x-ms-enum": { + "name": "EndpointComputeType", + "modelAsString": true, + "values": [ + { + "value": "Managed" + }, + { + "value": "Kubernetes" + }, + { + "value": "AzureMLCompute" + } + ] + }, + "additionalProperties": false + }, + "EndpointDeploymentPropertiesBase": { + "description": "Base definition for endpoint deployment.", + "type": "object", + "properties": { + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true + }, + "description": { + "description": "Description of the endpoint deployment.", + "type": "string", + "x-nullable": true + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string", + "x-nullable": true + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "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 + }, + "EndpointPropertiesBase": { + "description": "Inference Endpoint base definition", + "required": [ + "authMode" + ], + "type": "object", + "properties": { + "authMode": { + "description": "[Required] Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.", + "$ref": "#/definitions/EndpointAuthMode" + }, + "description": { + "description": "Description of the inference endpoint.", + "type": "string", + "x-nullable": true + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true, + "x-nullable": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "EndpointProvisioningState": { + "description": "State of endpoint provisioning.", + "enum": [ + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Updating", + "Canceled" + ], "type": "string", - "example": "choice(224, 640)", - "x-nullable": true - }, - "maxSize": { - "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.", + "x-ms-enum": { + "name": "EndpointProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Updating" + }, + { + "value": "Canceled" + } + ] + }, + "additionalProperties": false + }, + "EndpointScheduleAction": { + "required": [ + "actionType", + "endpointInvocationDefinition" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ScheduleActionBase" + } + ], + "properties": { + "endpointInvocationDefinition": { + "description": "[Required] Defines Schedule action definition details.\r\n", + "type": "object", + "example": { + "endpoint": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/hello-pipeline", + "inputs": { + "create_time": "${{creation_context.trigger_time}}" + } + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "x-ms-discriminator-value": "InvokeBatchEndpoint", + "additionalProperties": false + }, + "EnvironmentContainer": { + "description": "Container for environment specification versions.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the environment container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "EnvironmentContainerProperties", + "additionalProperties": false + }, + "EnvironmentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentContainer" + } + }, + "x-ms-client-name": "EnvironmentContainer", + "additionalProperties": false + }, + "EnvironmentContainerResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of EnvironmentContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "additionalProperties": false + }, + "EnvironmentType": { + "description": "Environment type is either user created or curated by Azure ML service", + "enum": [ + "Curated", + "UserCreated" + ], "type": "string", - "example": "choice(640, 1333)", - "x-nullable": true - }, - "minSize": { - "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.", + "x-ms-enum": { + "name": "EnvironmentType", + "modelAsString": true, + "values": [ + { + "value": "Curated" + }, + { + "value": "UserCreated" + } + ] + }, + "additionalProperties": false + }, + "EnvironmentVersion": { + "description": "Environment version details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "autoRebuild": { + "description": "Defines if image needs to be rebuilt based on base image changes.", + "default": "Disabled", + "$ref": "#/definitions/AutoRebuildSetting", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "build": { + "description": "Configuration settings for Docker build context.", + "$ref": "#/definitions/BuildContext", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "condaFile": { + "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentType": { + "description": "Environment type is either user managed or curated by the Azure ML service\r\n", + "$ref": "#/definitions/EnvironmentType", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "image": { + "description": "Name of the image that will be used for the environment.\r\n", + "type": "string", + "example": "docker.io/tensorflow/serving:latest", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inferenceConfig": { + "description": "Defines configuration specific to inference.", + "$ref": "#/definitions/InferenceContainerProperties", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "intellectualProperty": { + "description": "Intellectual Property details. Used if environment is an Intellectual Property.", + "$ref": "#/definitions/IntellectualProperty", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "osType": { + "description": "The OS type of the environment.", + "default": "Linux", + "$ref": "#/definitions/OperatingSystemType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "provisioningState": { + "description": "Provisioning state for the environment version.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "stage": { + "description": "Stage in the environment lifecycle assigned to this environment", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "EnvironmentVersionProperties", + "additionalProperties": false + }, + "EnvironmentVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentVersion" + } + }, + "x-ms-client-name": "EnvironmentVersion", + "additionalProperties": false + }, + "EnvironmentVersionResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of EnvironmentVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + }, + "additionalProperties": false + }, + "ExportFormatType": { + "description": "The format of exported labels.", + "enum": [ + "Dataset", + "Coco", + "CSV" + ], "type": "string", - "example": "choice(300, 600)", - "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.", + "x-ms-enum": { + "name": "ExportFormatType", + "modelAsString": true, + "values": [ + { + "value": "Dataset" + }, + { + "value": "Coco" + }, + { + "value": "CSV" + } + ] + }, + "additionalProperties": false + }, + "ExportSummary": { + "required": [ + "format" + ], + "type": "object", + "properties": { + "endDateTime": { + "format": "date-time", + "description": "The time when the export was completed.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "exportedRowCount": { + "format": "int64", + "description": "The total number of labeled datapoints exported.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "format": { + "description": "[Required] The format of exported labels, also as the discriminator.", + "$ref": "#/definitions/ExportFormatType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "labelingJobId": { + "description": "Name and identifier of the job containing exported labels.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "startDateTime": { + "format": "date-time", + "description": "The time when the export was requested.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "discriminator": "format" + }, + "Feature": { + "description": "Dto object representing feature", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "dataType": { + "description": "Specifies type", + "default": "String", + "$ref": "#/definitions/FeatureDataType" + }, + "featureName": { + "description": "Specifies name", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "FeatureProperties", + "additionalProperties": false + }, + "FeatureAttributionDriftMonitoringSignal": { + "required": [ + "metricThreshold", + "productionData", + "referenceData" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "metricThreshold": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "$ref": "#/definitions/FeatureAttributionMetricThreshold", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "productionData": { + "description": "[Required] The data which drift will be calculated for.", + "type": "array", + "items": { + "description": "Monitoring input data base definition.", + "$ref": "#/definitions/MonitoringInputDataBase" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "referenceData": { + "description": "[Required] The data to calculate drift against.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "FeatureAttributionDrift", + "additionalProperties": false + }, + "FeatureAttributionMetric": { + "enum": [ + "NormalizedDiscountedCumulativeGain" + ], "type": "string", - "example": "choice('small', 'medium', 'large', 'xlarge')", - "x-nullable": true - }, - "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.", + "x-ms-enum": { + "name": "FeatureAttributionMetric", + "modelAsString": true, + "values": [ + { + "value": "NormalizedDiscountedCumulativeGain", + "description": "The Normalized Discounted Cumulative Gain metric." + } + ] + }, + "additionalProperties": false + }, + "FeatureAttributionMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "properties": { + "metric": { + "description": "[Required] The feature attribution metric to calculate.", + "$ref": "#/definitions/FeatureAttributionMetric", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "FeatureDataType": { + "enum": [ + "String", + "Integer", + "Long", + "Float", + "Double", + "Binary", + "Datetime", + "Boolean" + ], "type": "string", - "example": "choice(true, false)", - "x-nullable": true - }, - "nmsIouThreshold": { - "description": "IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1].", + "x-ms-enum": { + "name": "FeatureDataType", + "modelAsString": true, + "values": [ + { + "value": "String" + }, + { + "value": "Integer" + }, + { + "value": "Long" + }, + { + "value": "Float" + }, + { + "value": "Double" + }, + { + "value": "Binary" + }, + { + "value": "Datetime" + }, + { + "value": "Boolean" + } + ] + }, + "additionalProperties": false + }, + "FeatureLags": { + "description": "Flag for generating lags for the numeric features.", + "enum": [ + "None", + "Auto" + ], "type": "string", - "example": "uniform(0.1, 0.2)", - "x-nullable": true - }, - "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.", + "x-ms-enum": { + "name": "FeatureLags", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No feature lags generated." + }, + { + "value": "Auto", + "description": "System auto-generates feature lags." + } + ] + }, + "additionalProperties": false + }, + "FeatureResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/Feature" + } + }, + "x-ms-client-name": "Feature", + "additionalProperties": false + }, + "FeatureResourceArmPaginatedResult": { + "description": "A paginated list of Feature entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Feature objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type Feature.", + "type": "array", + "items": { + "$ref": "#/definitions/FeatureResource" + } + } + }, + "additionalProperties": false + }, + "FeatureSubset": { + "required": [ + "features", + "filterType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringFeatureFilterBase" + } + ], + "properties": { + "features": { + "description": "[Required] The list of features to include.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "FeatureSubset", + "additionalProperties": false + }, + "FeatureWindow": { + "description": "Specifies the feature window", + "type": "object", + "properties": { + "featureWindowEnd": { + "format": "date-time", + "description": "Specifies the feature window end time", + "type": "string", + "x-nullable": true + }, + "featureWindowStart": { + "format": "date-time", + "description": "Specifies the feature window start time", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "FeaturesetContainer": { + "description": "Dto object representing feature set", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the featureset container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "FeaturesetContainerProperties", + "additionalProperties": false + }, + "FeaturesetContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/FeaturesetContainer" + } + }, + "x-ms-client-name": "FeaturesetContainer", + "additionalProperties": false + }, + "FeaturesetContainerResourceArmPaginatedResult": { + "description": "A paginated list of FeaturesetContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of FeaturesetContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type FeaturesetContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/FeaturesetContainerResource" + } + } + }, + "additionalProperties": false + }, + "FeaturesetJob": { + "description": "Dto object representing the feature set job", + "type": "object", + "properties": { + "createdDate": { + "format": "date-time", + "description": "Specifies the created date", + "type": "string", + "x-nullable": true + }, + "displayName": { + "description": "Specifies the display name", + "type": "string", + "x-nullable": true + }, + "duration": { + "format": "duration", + "description": "Specifies the duration", + "type": "string", + "x-nullable": true + }, + "experimentId": { + "description": "Specifies the experiment id", + "type": "string", + "x-nullable": true + }, + "featureWindow": { + "description": "Specifies the backfill feature window to be materialized", + "$ref": "#/definitions/FeatureWindow", + "x-nullable": true + }, + "jobId": { + "description": "Specifies the job id", + "type": "string", + "x-nullable": true + }, + "status": { + "description": "Specifies the job status", + "default": "Unknown", + "$ref": "#/definitions/JobStatus" + }, + "tags": { + "description": "Specifies the tags if any", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "type": { + "description": "Specifies the feature store job type", + "default": "RecurrentMaterialization", + "$ref": "#/definitions/FeaturestoreJobType" + } + }, + "additionalProperties": false + }, + "FeaturesetJobArmPaginatedResult": { + "description": "A paginated list of FeaturesetJob entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of FeaturesetJob objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type FeaturesetJob.", + "type": "array", + "items": { + "$ref": "#/definitions/FeaturesetJob" + }, + "x-ms-identifiers": [] + } + }, + "additionalProperties": false + }, + "FeaturesetSpecification": { + "description": "Dto object representing specification", + "type": "object", + "properties": { + "path": { + "description": "Specifies the spec path", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "FeaturesetVersion": { + "description": "Dto object representing feature set version", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "entities": { + "description": "Specifies list of entities", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "materializationSettings": { + "description": "Specifies the materialization settings", + "$ref": "#/definitions/MaterializationSettings", + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the featureset version container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "specification": { + "description": "Specifies the feature spec details", + "$ref": "#/definitions/FeaturesetSpecification", + "x-nullable": true + }, + "stage": { + "description": "Specifies the asset stage", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "FeaturesetVersionProperties", + "additionalProperties": false + }, + "FeaturesetVersionBackfillRequest": { + "description": "Request payload for creating a backfill request for a given feature set version", + "type": "object", + "properties": { + "description": { + "description": "Specifies description", + "type": "string" + }, + "displayName": { + "description": "Specifies description", + "type": "string" + }, + "featureWindow": { + "description": "Specifies the backfill feature window to be materialized", + "$ref": "#/definitions/FeatureWindow", + "x-nullable": true + }, + "resource": { + "description": "Specifies the compute resource settings", + "$ref": "#/definitions/MaterializationComputeResource" + }, + "sparkConfiguration": { + "description": "Specifies the spark compute settings", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } + }, + "tags": { + "description": "Specifies the tags", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } + } + }, + "additionalProperties": false + }, + "FeaturesetVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/FeaturesetVersion" + } + }, + "x-ms-client-name": "FeaturesetVersion", + "additionalProperties": false + }, + "FeaturesetVersionResourceArmPaginatedResult": { + "description": "A paginated list of FeaturesetVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of FeaturesetVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type FeaturesetVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/FeaturesetVersionResource" + } + } + }, + "additionalProperties": false + }, + "FeaturestoreEntityContainer": { + "description": "Dto object representing feature entity", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the featurestore entity container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "FeaturestoreEntityContainerProperties", + "additionalProperties": false + }, + "FeaturestoreEntityContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/FeaturestoreEntityContainer" + } + }, + "x-ms-client-name": "FeaturestoreEntityContainer", + "additionalProperties": false + }, + "FeaturestoreEntityContainerResourceArmPaginatedResult": { + "description": "A paginated list of FeaturestoreEntityContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of FeaturestoreEntityContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type FeaturestoreEntityContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/FeaturestoreEntityContainerResource" + } + } + }, + "additionalProperties": false + }, + "FeaturestoreEntityVersion": { + "description": "Dto object representing feature entity version", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "indexColumns": { + "description": "Specifies index columns", + "type": "array", + "items": { + "$ref": "#/definitions/IndexColumn" + }, + "x-nullable": true, + "x-ms-identifiers": [] + }, + "provisioningState": { + "description": "Provisioning state for the featurestore entity version.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "stage": { + "description": "Specifies the asset stage", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "FeaturestoreEntityVersionProperties", + "additionalProperties": false + }, + "FeaturestoreEntityVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/FeaturestoreEntityVersion" + } + }, + "x-ms-client-name": "FeaturestoreEntityVersion", + "additionalProperties": false + }, + "FeaturestoreEntityVersionResourceArmPaginatedResult": { + "description": "A paginated list of FeaturestoreEntityVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of FeaturestoreEntityVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type FeaturestoreEntityVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/FeaturestoreEntityVersionResource" + } + } + }, + "additionalProperties": false + }, + "FeaturestoreJobType": { + "enum": [ + "RecurrentMaterialization", + "BackfillMaterialization" + ], "type": "string", - "example": "choice('3x2', '2x2')", - "x-nullable": true - }, - "tileOverlapRatio": { - "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.", + "x-ms-enum": { + "name": "FeaturestoreJobType", + "modelAsString": true, + "values": [ + { + "value": "RecurrentMaterialization" + }, + { + "value": "BackfillMaterialization" + } + ] + }, + "additionalProperties": false + }, + "FeaturizationMode": { + "description": "Featurization mode - determines data featurization mode.", + "enum": [ + "Auto", + "Custom", + "Off" + ], "type": "string", - "example": "uniform(0.1, 0.2)", - "x-nullable": true - }, - "tilePredictionsNmsThreshold": { - "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.\r\nNMS: Non-maximum suppression", + "x-ms-enum": { + "name": "FeaturizationMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Auto mode, system performs featurization without any custom featurization inputs." + }, + { + "value": "Custom", + "description": "Custom featurization." + }, + { + "value": "Off", + "description": "Featurization off. 'Forecasting' task cannot use this value." + } + ] + }, + "additionalProperties": false + }, + "FeaturizationSettings": { + "description": "Featurization Configuration.", + "type": "object", + "properties": { + "datasetLanguage": { + "description": "Dataset language, useful for the text data.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "FileSystemSource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataImportSource" + } + ], + "properties": { + "path": { + "description": "Path on data import FileSystem source", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "file_system", + "additionalProperties": false + }, + "FixedInputData": { + "description": "Fixed input data definition.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringInputDataBase" + } + ], + "x-ms-discriminator-value": "Fixed", + "additionalProperties": false + }, + "FlavorData": { + "type": "object", + "properties": { + "data": { + "description": "Model flavor-specific data.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ForecastHorizon": { + "description": "The desired maximum forecast horizon in units of time-series frequency.", + "required": [ + "mode" + ], + "type": "object", + "properties": { + "mode": { + "description": "[Required] Set forecast horizon value selection mode.", + "$ref": "#/definitions/ForecastHorizonMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mode" + }, + "ForecastHorizonMode": { + "description": "Enum to determine forecast horizon selection mode.", + "enum": [ + "Auto", + "Custom" + ], "type": "string", - "example": "uniform(0.2, 0.3)", - "x-nullable": true - }, - "validationIouThreshold": { - "description": "IOU threshold to use when computing validation metric. Must be float in the range [0, 1].", + "x-ms-enum": { + "name": "ForecastHorizonMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Forecast horizon to be determined automatically." + }, + { + "value": "Custom", + "description": "Use the custom forecast horizon." + } + ] + }, + "additionalProperties": false + }, + "Forecasting": { + "description": "Forecasting task in AutoML Table vertical.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TableVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "forecastingSettings": { + "description": "Forecasting task specific inputs.", + "$ref": "#/definitions/ForecastingSettings", + "x-nullable": true + }, + "primaryMetric": { + "description": "Primary metric for forecasting task.", + "default": "NormalizedRootMeanSquaredError", + "$ref": "#/definitions/ForecastingPrimaryMetrics" + }, + "trainingSettings": { + "description": "Inputs for training phase for an AutoML Job.", + "$ref": "#/definitions/ForecastingTrainingSettings", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Forecasting", + "additionalProperties": false + }, + "ForecastingModels": { + "description": "Enum for all forecasting models supported by AutoML.", + "enum": [ + "AutoArima", + "Prophet", + "Naive", + "SeasonalNaive", + "Average", + "SeasonalAverage", + "ExponentialSmoothing", + "Arimax", + "TCNForecaster", + "ElasticNet", + "GradientBoosting", + "DecisionTree", + "KNN", + "LassoLars", + "SGD", + "RandomForest", + "ExtremeRandomTrees", + "LightGBM", + "XGBoostRegressor" + ], "type": "string", - "example": "uniform(0.2, 0.3)", - "x-nullable": true - }, - "validationMetricType": { - "description": "Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'.", + "x-ms-enum": { + "name": "ForecastingModels", + "modelAsString": true, + "values": [ + { + "value": "AutoArima", + "description": "Auto-Autoregressive Integrated Moving Average (ARIMA) model uses time-series data and statistical analysis to interpret the data and make future predictions.\nThis model aims to explain data by using time series data on its past values and uses linear regression to make predictions." + }, + { + "value": "Prophet", + "description": "Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects.\nIt works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well." + }, + { + "value": "Naive", + "description": "The Naive forecasting model makes predictions by carrying forward the latest target value for each time-series in the training data." + }, + { + "value": "SeasonalNaive", + "description": "The Seasonal Naive forecasting model makes predictions by carrying forward the latest season of target values for each time-series in the training data." + }, + { + "value": "Average", + "description": "The Average forecasting model makes predictions by carrying forward the average of the target values for each time-series in the training data." + }, + { + "value": "SeasonalAverage", + "description": "The Seasonal Average forecasting model makes predictions by carrying forward the average value of the latest season of data for each time-series in the training data." + }, + { + "value": "ExponentialSmoothing", + "description": "Exponential smoothing is a time series forecasting method for univariate data that can be extended to support data with a systematic trend or seasonal component." + }, + { + "value": "Arimax", + "description": "An Autoregressive Integrated Moving Average with Explanatory Variable (ARIMAX) model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms.\nThis method is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity." + }, + { + "value": "TCNForecaster", + "description": "TCNForecaster: Temporal Convolutional Networks Forecaster. //TODO: Ask forecasting team for brief intro." + }, + { + "value": "ElasticNet", + "description": "Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions." + }, + { + "value": "GradientBoosting", + "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." + }, + { + "value": "DecisionTree", + "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." + }, + { + "value": "KNN", + "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." + }, + { + "value": "LassoLars", + "description": "Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer." + }, + { + "value": "SGD", + "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs.\nIt's an inexact but powerful technique." + }, + { + "value": "RandomForest", + "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." + }, + { + "value": "ExtremeRandomTrees", + "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." + }, + { + "value": "LightGBM", + "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." + }, + { + "value": "XGBoostRegressor", + "description": "XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners." + } + ] + }, + "additionalProperties": false + }, + "ForecastingPrimaryMetrics": { + "description": "Primary metrics for Forecasting task.", + "enum": [ + "SpearmanCorrelation", + "NormalizedRootMeanSquaredError", + "R2Score", + "NormalizedMeanAbsoluteError" + ], "type": "string", - "example": "choice('none', 'coco', 'voc', 'coco_voc')", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ImageModelSettings": { - "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", - "properties": { - "advancedSettings": { - "description": "Settings for advanced scenarios.", + "x-ms-enum": { + "name": "ForecastingPrimaryMetrics", + "modelAsString": true, + "values": [ + { + "value": "SpearmanCorrelation", + "description": "The Spearman's rank coefficient of correlation is a non-parametric measure of rank correlation." + }, + { + "value": "NormalizedRootMeanSquaredError", + "description": "The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales." + }, + { + "value": "R2Score", + "description": "The R2 score is one of the performance evaluation measures for forecasting-based machine learning models." + }, + { + "value": "NormalizedMeanAbsoluteError", + "description": "The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales." + } + ] + }, + "additionalProperties": false + }, + "ForecastingSettings": { + "description": "Forecasting specific parameters.", + "type": "object", + "properties": { + "countryOrRegionForHolidays": { + "description": "Country or region for holidays for forecasting tasks.\r\nThese should be ISO 3166 two-letter country/region codes, for example 'US' or 'GB'.", + "type": "string", + "x-nullable": true + }, + "cvStepSize": { + "format": "int32", + "description": "Number of periods between the origin time of one CV fold and the next fold. For\r\nexample, if `CVStepSize` = 3 for daily data, the origin time for each fold will be\r\nthree days apart.", + "type": "integer", + "x-nullable": true + }, + "featureLags": { + "description": "Flag for generating lags for the numeric features with 'auto' or null.", + "default": "None", + "$ref": "#/definitions/FeatureLags" + }, + "featuresUnknownAtForecastTime": { + "description": "The feature columns that are available for training but unknown at the time of forecast/inference.\r\nIf features_unknown_at_forecast_time is not set, it is assumed that all the feature columns in the dataset are known at inference time.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "forecastHorizon": { + "description": "The desired maximum forecast horizon in units of time-series frequency.", + "default": "{\"Mode\": \"Custom\", \"Value\": 1}", + "$ref": "#/definitions/ForecastHorizon" + }, + "frequency": { + "description": "When forecasting, this parameter represents the period with which the forecast is desired, for example daily, weekly, yearly, etc. The forecast frequency is dataset frequency by default.", + "type": "string", + "x-nullable": true + }, + "seasonality": { + "description": "Set time series seasonality as an integer multiple of the series frequency.\r\nIf seasonality is set to 'auto', it will be inferred.", + "default": "{\"Mode\": \"Auto\"}", + "$ref": "#/definitions/Seasonality" + }, + "shortSeriesHandlingConfig": { + "description": "The parameter defining how if AutoML should handle short time series.", + "default": "Auto", + "$ref": "#/definitions/ShortSeriesHandlingConfiguration" + }, + "targetAggregateFunction": { + "description": "The function to be used to aggregate the time series target column to conform to a user specified frequency.\r\nIf the TargetAggregateFunction is set i.e. not 'None', but the freq parameter is not set, the error is raised. The possible target aggregation functions are: \"sum\", \"max\", \"min\" and \"mean\".", + "default": "None", + "$ref": "#/definitions/TargetAggregationFunction" + }, + "targetLags": { + "description": "The number of past periods to lag from the target column.", + "$ref": "#/definitions/TargetLags", + "x-nullable": true + }, + "targetRollingWindowSize": { + "description": "The number of past periods used to create a rolling window average of the target column.", + "$ref": "#/definitions/TargetRollingWindowSize", + "x-nullable": true + }, + "timeColumnName": { + "description": "The name of the time column. This parameter is required when forecasting to specify the datetime column in the input data used for building the time series and inferring its frequency.", + "type": "string", + "x-nullable": true + }, + "timeSeriesIdColumnNames": { + "description": "The names of columns used to group a timeseries. It can be used to create multiple series.\r\nIf grain is not defined, the data set is assumed to be one time-series. This parameter is used with task type forecasting.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "useStl": { + "description": "Configure STL Decomposition of the time-series target column.", + "default": "None", + "$ref": "#/definitions/UseStl" + } + }, + "additionalProperties": false + }, + "ForecastingTrainingSettings": { + "description": "Forecasting Training related configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrainingSettings" + } + ], + "properties": { + "allowedTrainingAlgorithms": { + "description": "Allowed models for forecasting task.", + "type": "array", + "items": { + "$ref": "#/definitions/ForecastingModels" + }, + "x-nullable": true + }, + "blockedTrainingAlgorithms": { + "description": "Blocked models for forecasting task.", + "type": "array", + "items": { + "$ref": "#/definitions/ForecastingModels" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "GenerationSafetyQualityMetric": { + "description": "Generation safety quality metric enum.", + "enum": [ + "AcceptableGroundednessScorePerInstance", + "AggregatedGroundednessPassRate", + "AcceptableCoherenceScorePerInstance", + "AggregatedCoherencePassRate", + "AcceptableFluencyScorePerInstance", + "AggregatedFluencyPassRate", + "AcceptableSimilarityScorePerInstance", + "AggregatedSimilarityPassRate", + "AcceptableRelevanceScorePerInstance", + "AggregatedRelevancePassRate" + ], "type": "string", - "example": "key1:val1;key2;key3:val3;key4", - "x-nullable": true - }, - "amsGradient": { - "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.", - "type": "boolean", - "x-nullable": true - }, - "augmentations": { - "description": "Settings for using Augmentations.", + "x-ms-enum": { + "name": "GenerationSafetyQualityMetric", + "modelAsString": true, + "values": [ + { + "value": "AcceptableGroundednessScorePerInstance" + }, + { + "value": "AggregatedGroundednessPassRate" + }, + { + "value": "AcceptableCoherenceScorePerInstance" + }, + { + "value": "AggregatedCoherencePassRate" + }, + { + "value": "AcceptableFluencyScorePerInstance" + }, + { + "value": "AggregatedFluencyPassRate" + }, + { + "value": "AcceptableSimilarityScorePerInstance" + }, + { + "value": "AggregatedSimilarityPassRate" + }, + { + "value": "AcceptableRelevanceScorePerInstance" + }, + { + "value": "AggregatedRelevancePassRate" + } + ] + }, + "additionalProperties": false + }, + "GenerationSafetyQualityMetricThreshold": { + "description": "Generation safety quality metric threshold definition.", + "required": [ + "metric" + ], + "type": "object", + "properties": { + "metric": { + "description": "[Required] Gets or sets the feature attribution metric to calculate.", + "$ref": "#/definitions/GenerationSafetyQualityMetric", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "Gets or sets the threshold value.\r\nIf null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "GenerationSafetyQualityMonitoringSignal": { + "description": "Generation safety quality monitoring signal definition.", + "required": [ + "metricThresholds", + "samplingRate" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "metricThresholds": { + "description": "[Required] Gets or sets the metrics to calculate and the corresponding thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/GenerationSafetyQualityMetricThreshold" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "productionData": { + "description": "Gets or sets the target 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-ms-identifiers": [] + }, + "samplingRate": { + "format": "double", + "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", + "type": "number", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "workspaceConnectionId": { + "description": "Gets or sets the workspace connection ID used to connect to the content generation endpoint.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "GenerationSafetyQuality", + "additionalProperties": false + }, + "GenerationTokenStatisticsMetric": { + "description": "Generation token statistics metric enum.", + "enum": [ + "TotalTokenCount", + "TotalTokenCountPerGroup" + ], "type": "string", - "example": "hflip;mosaic;random_crop", - "x-nullable": true - }, - "beta1": { - "format": "float", - "description": "Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true - }, - "beta2": { - "format": "float", - "description": "Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true - }, - "checkpointFrequency": { - "format": "int32", - "description": "Frequency to store model checkpoints. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "checkpointModel": { - "description": "The pretrained checkpoint model for incremental training.", - "$ref": "#/definitions/MLFlowModelJobInput", - "x-nullable": true - }, - "checkpointRunId": { - "description": "The id of a previous run that has a pretrained checkpoint for incremental training.", + "x-ms-enum": { + "name": "GenerationTokenStatisticsMetric", + "modelAsString": true, + "values": [ + { + "value": "TotalTokenCount" + }, + { + "value": "TotalTokenCountPerGroup" + } + ] + }, + "additionalProperties": false + }, + "GenerationTokenStatisticsMetricThreshold": { + "description": "Generation token statistics metric threshold definition.", + "required": [ + "metric" + ], + "type": "object", + "properties": { + "metric": { + "description": "[Required] Gets or sets the feature attribution metric to calculate.", + "$ref": "#/definitions/GenerationTokenStatisticsMetric", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "Gets or sets the threshold value.\r\nIf null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "GenerationTokenStatisticsSignal": { + "description": "Generation token statistics signal definition.", + "required": [ + "metricThresholds", + "samplingRate" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "metricThresholds": { + "description": "[Required] Gets or sets the metrics to calculate and the corresponding thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/GenerationTokenStatisticsMetricThreshold" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "productionData": { + "description": "Gets or sets the target data for computing metrics.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "samplingRate": { + "format": "double", + "description": "[Required] The sample rate of the target data, should be greater than 0 and at most 1.", + "type": "number", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "GenerationTokenStatistics", + "additionalProperties": false + }, + "Goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "enum": [ + "Minimize", + "Maximize" + ], "type": "string", - "x-nullable": true - }, - "distributed": { - "description": "Whether to use distributed training.", - "type": "boolean", - "x-nullable": true - }, - "earlyStopping": { - "description": "Enable early stopping logic during training.", - "type": "boolean", - "x-nullable": true - }, - "earlyStoppingDelay": { - "format": "int32", - "description": "Minimum number of epochs or validation evaluations to wait before primary metric improvement\r\nis tracked for early stopping. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "earlyStoppingPatience": { - "format": "int32", - "description": "Minimum number of epochs or validation evaluations with no primary metric improvement before\r\nthe run is stopped. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "enableOnnxNormalization": { - "description": "Enable normalization when exporting ONNX model.", - "type": "boolean", - "x-nullable": true - }, - "evaluationFrequency": { - "format": "int32", - "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "gradientAccumulationStep": { - "format": "int32", - "description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "layersToFreeze": { - "format": "int32", - "description": "Number of layers to freeze for the model. Must be a positive integer.\r\nFor instance, passing 2 as value for 'seresnext' means\r\nfreezing layer0 and layer1. For a full list of models supported and details on layer freeze, please\r\nsee: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", - "type": "integer", - "x-nullable": true - }, - "learningRate": { - "format": "float", - "description": "Initial learning rate. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true - }, - "learningRateScheduler": { - "description": "Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'.", - "default": "None", - "$ref": "#/definitions/LearningRateScheduler" - }, - "modelName": { - "description": "Name of the model to use for training.\r\nFor more information on the available models please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "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", + "allOf": [ + { + "$ref": "#/definitions/SamplingAlgorithm" + } + ], + "x-ms-discriminator-value": "Grid", + "additionalProperties": false + }, + "HdfsDatastore": { + "required": [ + "nameNodeAddress" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "hdfsServerCertificate": { + "description": "The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if \"Https\" protocol is selected.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "nameNodeAddress": { + "description": "[Required] IP Address or DNS HostName.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account (Https/Http).", + "default": "http", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Hdfs", + "additionalProperties": false + }, + "IdAssetReference": { + "description": "Reference to an asset via its ARM resource ID.", + "required": [ + "assetId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "assetId": { + "description": "[Required] ARM resource ID of the asset.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Id", + "additionalProperties": false + }, + "IdentityConfiguration": { + "description": "Base definition for identity configuration.", + "required": [ + "identityType" + ], + "type": "object", + "properties": { + "identityType": { + "description": "[Required] Specifies the type of identity framework.", + "$ref": "#/definitions/IdentityConfigurationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "identityType" + }, + "IdentityConfigurationType": { + "description": "Enum to determine identity framework.", + "enum": [ + "Managed", + "AMLToken", + "UserIdentity" + ], "type": "string", - "x-nullable": true - }, - "momentum": { - "format": "float", - "description": "Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true - }, - "nesterov": { - "description": "Enable nesterov when optimizer is 'sgd'.", - "type": "boolean", - "x-nullable": true - }, - "numberOfEpochs": { - "format": "int32", - "description": "Number of training epochs. Must be a positive integer.", - "type": "integer", - "x-nullable": true - }, - "numberOfWorkers": { - "format": "int32", - "description": "Number of data loader workers. Must be a non-negative integer.", - "type": "integer", - "x-nullable": true - }, - "optimizer": { - "description": "Type of optimizer.", - "default": "None", - "$ref": "#/definitions/StochasticOptimizer" - }, - "randomSeed": { - "format": "int32", - "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 - }, - "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 - }, - "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", - "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" - }, - "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": "IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1].", - "type": "number", - "x-nullable": true - }, - "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.", + "x-ms-enum": { + "name": "IdentityConfigurationType", + "modelAsString": true, + "values": [ + { + "value": "Managed" + }, + { + "value": "AMLToken" + }, + { + "value": "UserIdentity" + } + ] + }, + "additionalProperties": false + }, + "ImageAnnotationType": { + "description": "Annotation type of image data.", + "enum": [ + "Classification", + "BoundingBox", + "InstanceSegmentation" + ], "type": "string", - "example": "3x2", - "x-nullable": true - }, - "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 - }, - "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 - }, - "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/ImageObjectDetectionBase" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "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 - }, - "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 - }, - "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": { + "x-ms-enum": { + "name": "ImageAnnotationType", + "modelAsString": true, + "values": [ + { + "value": "Classification" + }, + { + "value": "BoundingBox" + }, + { + "value": "InstanceSegmentation" + } + ] + }, + "additionalProperties": false + }, + "ImageClassification": { + "description": "Image Classification. Multi-class image classification is used when an image is classified with only a single label\r\nfrom a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageClassificationBase" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric to optimize for this task.", + "default": "Accuracy", + "$ref": "#/definitions/ClassificationPrimaryMetrics" + } + }, + "x-ms-discriminator-value": "ImageClassification", + "additionalProperties": false + }, + "ImageClassificationBase": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageVertical" + } + ], + "properties": { + "modelSettings": { + "description": "Settings used for training the model.", + "$ref": "#/definitions/ImageModelSettingsClassification", + "x-nullable": true + }, + "searchSpace": { + "description": "Search space for sampling different combinations of models and their hyperparameters.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageModelDistributionSettingsClassification" + }, + "x-nullable": true, + "x-ms-identifiers": [] + } + }, + "additionalProperties": false + }, + "ImageClassificationMultilabel": { + "description": "Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels\r\nfrom a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageClassificationBase" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric to optimize for this task.", + "default": "IOU", + "$ref": "#/definitions/ClassificationMultilabelPrimaryMetrics" + } + }, + "x-ms-discriminator-value": "ImageClassificationMultilabel", + "additionalProperties": false + }, + "ImageInstanceSegmentation": { + "description": "Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level,\r\ndrawing a polygon around each object in the image.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ImageObjectDetectionBase" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric to optimize for this task.", + "default": "MeanAveragePrecision", + "$ref": "#/definitions/InstanceSegmentationPrimaryMetrics" + } + }, + "x-ms-discriminator-value": "ImageInstanceSegmentation", + "additionalProperties": false + }, + "ImageLimitSettings": { + "description": "Limit settings for the AutoML job.", + "type": "object", + "properties": { + "maxConcurrentTrials": { + "format": "int32", + "description": "Maximum number of concurrent AutoML iterations.", + "default": 1, + "type": "integer" + }, + "maxTrials": { + "format": "int32", + "description": "Maximum number of AutoML iterations.", + "default": 1, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "AutoML job timeout.", + "default": "P7D", + "type": "string" + } + }, + "additionalProperties": false + }, + "ImageModelDistributionSettings": { + "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nAll distributions can be specified as distribution_name(min, max) or choice(val1, val2, ..., valn)\r\nwhere distribution name can be: uniform, quniform, loguniform, etc\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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", + "properties": { + "amsGradient": { + "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.", + "type": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "augmentations": { + "description": "Settings for using Augmentations.", + "type": "string", + "example": "choice('hflip;mosaic;random_crop', 'mosaic')", + "x-nullable": true + }, + "beta1": { + "description": "Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", + "type": "string", + "example": "uniform(0, 1)", + "x-nullable": true + }, + "beta2": { + "description": "Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", + "type": "string", + "example": "uniform(0, 1)", + "x-nullable": true + }, + "distributed": { + "description": "Whether to use distributer training.", + "type": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "earlyStopping": { + "description": "Enable early stopping logic during training.", + "type": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "earlyStoppingDelay": { + "description": "Minimum number of epochs or validation evaluations to wait before primary metric improvement\r\nis tracked for early stopping. Must be a positive integer.", + "type": "string", + "example": "choice(1, 5)", + "x-nullable": true + }, + "earlyStoppingPatience": { + "description": "Minimum number of epochs or validation evaluations with no primary metric improvement before\r\nthe run is stopped. Must be a positive integer.", + "type": "string", + "example": "choice(1, 5)", + "x-nullable": true + }, + "enableOnnxNormalization": { + "description": "Enable normalization when exporting ONNX model.", + "type": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "evaluationFrequency": { + "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.", + "type": "string", + "example": "choice(1, 5)", + "x-nullable": true + }, + "gradientAccumulationStep": { + "description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.", + "type": "string", + "example": "choice(1, 5)", + "x-nullable": true + }, + "layersToFreeze": { + "description": "Number of layers to freeze for the model. Must be a positive integer.\r\nFor instance, passing 2 as value for 'seresnext' means\r\nfreezing layer0 and layer1. For a full list of models supported and details on layer freeze, please\r\nsee: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "string", + "example": "choice(1, 2)", + "x-nullable": true + }, + "learningRate": { + "description": "Initial learning rate. Must be a float in the range [0, 1].", + "type": "string", + "example": "uniform(0.0005, 0.005)", + "x-nullable": true + }, + "learningRateScheduler": { + "description": "Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'.", + "type": "string", + "example": "choice('warmup_cosine', 'step')", + "x-nullable": true + }, + "modelName": { + "description": "Name of the model to use for training.\r\nFor more information on the available models please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "string", + "example": "choice('seresnext', 'resnest50')", + "x-nullable": true + }, + "momentum": { + "description": "Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1].", + "type": "string", + "example": "quniform(0, 1)", + "x-nullable": true + }, + "nesterov": { + "description": "Enable nesterov when optimizer is 'sgd'.", + "type": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "numberOfEpochs": { + "description": "Number of training epochs. Must be a positive integer.", + "type": "string", + "example": "choice(15, 30)", + "x-nullable": true + }, + "numberOfWorkers": { + "description": "Number of data loader workers. Must be a non-negative integer.", + "type": "string", + "example": "uniform(8, 16)", + "x-nullable": true + }, + "optimizer": { + "description": "Type of optimizer. Must be either 'sgd', 'adam', or 'adamw'.", + "type": "string", + "example": "choice('sgd', 'adam', 'adamw')", + "x-nullable": true + }, + "randomSeed": { + "description": "Random seed to be used when using deterministic training.", + "type": "string", + "example": "loguniform(0, 1)", + "x-nullable": true + }, + "stepLRGamma": { + "description": "Value of gamma when learning rate scheduler is 'step'. Must be a float in the range [0, 1].", + "type": "string", + "example": "choice(0.1, 0.2, 0.25)", + "x-nullable": true + }, + "stepLRStepSize": { + "description": "Value of step size when learning rate scheduler is 'step'. Must be a positive integer.", + "type": "string", + "example": "choice(1, 2, 3)", + "x-nullable": true + }, + "trainingBatchSize": { + "description": "Training batch size. Must be a positive integer.", + "type": "string", + "example": "choice(1, 2, 3)", + "x-nullable": true + }, + "validationBatchSize": { + "description": "Validation batch size. Must be a positive integer.", + "type": "string", + "example": "choice(1, 2, 3)", + "x-nullable": true + }, + "warmupCosineLRCycles": { + "description": "Value of cosine cycle when learning rate scheduler is 'warmup_cosine'. Must be a float in the range [0, 1].", + "type": "string", + "example": "uniform(0, 1)", + "x-nullable": true + }, + "warmupCosineLRWarmupEpochs": { + "description": "Value of warmup epochs when learning rate scheduler is 'warmup_cosine'. Must be a positive integer.", + "type": "string", + "example": "choice(1, 2, 3)", + "x-nullable": true + }, + "weightDecay": { + "description": "Value of weight decay when optimizer is 'sgd', 'adam', or 'adamw'. Must be a float in the range[0, 1].", + "type": "string", + "example": "uniform(0, 1)", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ImageModelDistributionSettingsClassification": { + "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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/ImageModelDistributionSettings" + } + ], + "properties": { + "trainingCropSize": { + "description": "Image crop size that is input to the neural network for the training dataset. Must be a positive integer.", + "type": "string", + "example": "choice(224, 360)", + "x-nullable": true + }, + "validationCropSize": { + "description": "Image crop size that is input to the neural network for the validation dataset. Must be a positive integer.", + "type": "string", + "example": "choice(224, 360)", + "x-nullable": true + }, + "validationResizeSize": { + "description": "Image size to which to resize before cropping for validation dataset. Must be a positive integer.", + "type": "string", + "example": "choice(128, 256)", + "x-nullable": true + }, + "weightedLoss": { + "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": "string", + "example": "choice(0, 1, 2)", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ImageModelDistributionSettingsObjectDetection": { + "description": "Distribution expressions to sweep over values of model settings.\r\n\r\nSome examples are:\r\n```\r\nModelName = \"choice('seresnext', 'resnest50')\";\r\nLearningRate = \"uniform(0.001, 0.01)\";\r\nLayersToFreeze = \"choice(0, 2)\";\r\n```\r\nFor more details on how to compose distribution expressions please check the documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters\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/ImageModelDistributionSettings" + } + ], + "properties": { + "boxDetectionsPerImage": { + "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": "string", + "example": "choice(50, 100)", + "x-nullable": true + }, + "boxScoreThreshold": { + "description": "During inference, only return proposals with a classification score greater than\r\nBoxScoreThreshold. Must be a float in the range[0, 1].", + "type": "string", + "example": "uniform(0.1, 0.2)", + "x-nullable": true + }, + "imageSize": { + "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": "string", + "example": "choice(224, 640)", + "x-nullable": true + }, + "maxSize": { + "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": "string", + "example": "choice(640, 1333)", + "x-nullable": true + }, + "minSize": { + "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": "string", + "example": "choice(300, 600)", + "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.", + "type": "string", + "example": "choice('small', 'medium', 'large', 'xlarge')", + "x-nullable": true + }, + "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": "string", + "example": "choice(true, false)", + "x-nullable": true + }, + "nmsIouThreshold": { + "description": "IOU threshold used during inference in NMS post processing. Must be float in the range [0, 1].", + "type": "string", + "example": "uniform(0.1, 0.2)", + "x-nullable": true + }, + "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": "choice('3x2', '2x2')", + "x-nullable": true + }, + "tileOverlapRatio": { + "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": "string", + "example": "uniform(0.1, 0.2)", + "x-nullable": true + }, + "tilePredictionsNmsThreshold": { + "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.\r\nNMS: Non-maximum suppression", + "type": "string", + "example": "uniform(0.2, 0.3)", + "x-nullable": true + }, + "validationIouThreshold": { + "description": "IOU threshold to use when computing validation metric. Must be float in the range [0, 1].", + "type": "string", + "example": "uniform(0.2, 0.3)", + "x-nullable": true + }, + "validationMetricType": { + "description": "Metric computation method to use for validation metrics. Must be 'none', 'coco', 'voc', or 'coco_voc'.", + "type": "string", + "example": "choice('none', 'coco', 'voc', 'coco_voc')", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ImageModelSettings": { + "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", + "properties": { + "advancedSettings": { + "description": "Settings for advanced scenarios.", + "type": "string", + "example": "key1:val1;key2;key3:val3;key4", + "x-nullable": true + }, + "amsGradient": { + "description": "Enable AMSGrad when optimizer is 'adam' or 'adamw'.", + "type": "boolean", + "x-nullable": true + }, + "augmentations": { + "description": "Settings for using Augmentations.", + "type": "string", + "example": "hflip;mosaic;random_crop", + "x-nullable": true + }, + "beta1": { + "format": "float", + "description": "Value of 'beta1' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "beta2": { + "format": "float", + "description": "Value of 'beta2' when optimizer is 'adam' or 'adamw'. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "checkpointFrequency": { + "format": "int32", + "description": "Frequency to store model checkpoints. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "checkpointModel": { + "description": "The pretrained checkpoint model for incremental training.", + "$ref": "#/definitions/MLFlowModelJobInput", + "x-nullable": true + }, + "checkpointRunId": { + "description": "The id of a previous run that has a pretrained checkpoint for incremental training.", + "type": "string", + "x-nullable": true + }, + "distributed": { + "description": "Whether to use distributed training.", + "type": "boolean", + "x-nullable": true + }, + "earlyStopping": { + "description": "Enable early stopping logic during training.", + "type": "boolean", + "x-nullable": true + }, + "earlyStoppingDelay": { + "format": "int32", + "description": "Minimum number of epochs or validation evaluations to wait before primary metric improvement\r\nis tracked for early stopping. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "earlyStoppingPatience": { + "format": "int32", + "description": "Minimum number of epochs or validation evaluations with no primary metric improvement before\r\nthe run is stopped. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "enableOnnxNormalization": { + "description": "Enable normalization when exporting ONNX model.", + "type": "boolean", + "x-nullable": true + }, + "evaluationFrequency": { + "format": "int32", + "description": "Frequency to evaluate validation dataset to get metric scores. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "gradientAccumulationStep": { + "format": "int32", + "description": "Gradient accumulation means running a configured number of \"GradAccumulationStep\" steps without\r\nupdating the model weights while accumulating the gradients of those steps, and then using\r\nthe accumulated gradients to compute the weight updates. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "layersToFreeze": { + "format": "int32", + "description": "Number of layers to freeze for the model. Must be a positive integer.\r\nFor instance, passing 2 as value for 'seresnext' means\r\nfreezing layer0 and layer1. For a full list of models supported and details on layer freeze, please\r\nsee: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "integer", + "x-nullable": true + }, + "learningRate": { + "format": "float", + "description": "Initial learning rate. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "learningRateScheduler": { + "description": "Type of learning rate scheduler. Must be 'warmup_cosine' or 'step'.", + "default": "None", + "$ref": "#/definitions/LearningRateScheduler" + }, + "modelName": { + "description": "Name of the model to use for training.\r\nFor more information on the available models please visit the official documentation:\r\nhttps://docs.microsoft.com/en-us/azure/machine-learning/how-to-auto-train-image-models.", + "type": "string", + "x-nullable": true + }, + "momentum": { + "format": "float", + "description": "Value of momentum when optimizer is 'sgd'. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "nesterov": { + "description": "Enable nesterov when optimizer is 'sgd'.", + "type": "boolean", + "x-nullable": true + }, + "numberOfEpochs": { + "format": "int32", + "description": "Number of training epochs. Must be a positive integer.", + "type": "integer", + "x-nullable": true + }, + "numberOfWorkers": { + "format": "int32", + "description": "Number of data loader workers. Must be a non-negative integer.", + "type": "integer", + "x-nullable": true + }, + "optimizer": { + "description": "Type of optimizer.", + "default": "None", + "$ref": "#/definitions/StochasticOptimizer" + }, + "randomSeed": { + "format": "int32", + "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 + }, + "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 + }, + "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", + "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" + }, + "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": "IOU threshold used during inference in NMS post processing. Must be a float in the range [0, 1].", + "type": "number", + "x-nullable": true + }, + "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 + }, + "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 + }, + "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 + }, + "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/ImageObjectDetectionBase" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "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 + }, + "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.", - "$ref": "#/definitions/ImageSweepSettings", - "x-nullable": true - }, - "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 - }, - "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 - }, - "InferencingServer": { - "required": [ - "serverType" - ], - "type": "object", - "properties": { - "serverType": { - "description": "[Required] Inferencing server type for various targets.", - "$ref": "#/definitions/InferencingServerType" - } - }, - "discriminator": "serverType" - }, - "InferencingServerType": { - "description": "Inferencing server type for various targets.", - "enum": [ - "AzureMLOnline", - "AzureMLBatch", - "Triton", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "InferencingServerType", - "modelAsString": true, - "values": [ - { - "value": "AzureMLOnline" - }, - { - "value": "AzureMLBatch" - }, - { - "value": "Triton" - }, - { - "value": "Custom" - } - ] - }, - "additionalProperties": false - }, - "InputDeliveryMode": { - "description": "Enum to determine the input data delivery mode.", - "enum": [ - "ReadOnlyMount", - "ReadWriteMount", - "Download", - "Direct", - "EvalMount", - "EvalDownload" - ], - "type": "string", - "x-ms-enum": { - "name": "InputDeliveryMode", - "modelAsString": true, - "values": [ - { - "value": "ReadOnlyMount" - }, - { - "value": "ReadWriteMount" - }, - { - "value": "Download" - }, - { - "value": "Direct" - }, - { - "value": "EvalMount" - }, - { - "value": "EvalDownload" - } - ] - }, - "additionalProperties": false - }, - "InputPathType": { - "description": "Input path type for package inputs.", - "enum": [ - "Url", - "PathId", - "PathVersion" - ], - "type": "string", - "x-ms-enum": { - "name": "InputPathType", - "modelAsString": true, - "values": [ - { - "value": "Url" - }, - { - "value": "PathId" - }, - { - "value": "PathVersion" - } - ] - }, - "additionalProperties": false - }, - "InstanceSegmentationPrimaryMetrics": { - "description": "Primary metrics for InstanceSegmentation tasks.", - "enum": [ - "MeanAveragePrecision" - ], - "type": "string", - "x-ms-enum": { - "name": "InstanceSegmentationPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "MeanAveragePrecision", - "description": "Mean Average Precision (MAP) is the average of AP (Average Precision).\nAP is calculated for each class and averaged to get the MAP." - } - ] - }, - "additionalProperties": false - }, - "IntellectualProperty": { - "description": "Intellectual Property details for a resource.", - "required": [ - "publisher" - ], - "type": "object", - "properties": { - "protectionLevel": { - "description": "Protection level of the Intellectual Property.", - "default": "All", - "$ref": "#/definitions/ProtectionLevel" - }, - "publisher": { - "description": "[Required] Publisher of the Intellectual Property. Must be the same as Registry publisher name.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "additionalProperties": false - }, - "JobBase": { - "description": "Base definition for a job.", - "required": [ - "jobType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "componentId": { - "description": "ARM resource ID of the component resource.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "computeId": { - "description": "ARM resource ID of the compute resource.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "displayName": { - "description": "Display name of job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "experimentName": { - "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", - "default": "Default", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "identity": { - "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.\r\nDefaults to AmlToken if null.", - "$ref": "#/definitions/IdentityConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "isArchived": { - "description": "Is the asset archived?", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "jobType": { - "description": "[Required] Specifies the type of job.", - "$ref": "#/definitions/JobType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "notificationSetting": { - "description": "Notification setting for the job", - "$ref": "#/definitions/NotificationSetting", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "secretsConfiguration": { - "description": "Configuration for secrets to be made available during runtime.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/SecretConfiguration", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "services": { - "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/JobService", - "x-nullable": true - }, - "x-nullable": true - }, - "status": { - "description": "Status of the job.", - "$ref": "#/definitions/JobStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "discriminator": "jobType", - "x-ms-client-name": "JobBaseProperties" - }, - "JobBaseResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/JobBase" - } - }, - "x-ms-client-name": "JobBase", - "additionalProperties": false - }, - "JobBaseResourceArmPaginatedResult": { - "description": "A paginated list of JobBase entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of JobBase objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type JobBase.", - "type": "array", - "items": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "additionalProperties": false - }, - "JobInput": { - "description": "Command job definition.", - "required": [ - "jobInputType" - ], - "type": "object", - "properties": { - "description": { - "description": "Description for the input.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jobInputType": { - "description": "[Required] Specifies the type of job.", - "$ref": "#/definitions/JobInputType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "jobInputType" - }, - "JobInputType": { - "description": "Enum to determine the Job Input Type.", - "enum": [ - "literal", - "uri_file", - "uri_folder", - "mltable", - "custom_model", - "mlflow_model", - "triton_model" - ], - "type": "string", - "x-ms-enum": { - "name": "JobInputType", - "modelAsString": true, - "values": [ - { - "value": "literal" - }, - { - "value": "uri_file" - }, - { - "value": "uri_folder" - }, - { - "value": "mltable" - }, - { - "value": "custom_model" - }, - { - "value": "mlflow_model" - }, - { - "value": "triton_model" - } - ] - }, - "additionalProperties": false - }, - "JobLimits": { - "required": [ - "jobLimitsType" - ], - "type": "object", - "properties": { - "jobLimitsType": { - "description": "[Required] JobLimit type.", - "$ref": "#/definitions/JobLimitsType" - }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string", - "x-nullable": true - } - }, - "discriminator": "jobLimitsType" - }, - "JobLimitsType": { - "enum": [ - "Command", - "Sweep" - ], - "type": "string", - "x-ms-enum": { - "name": "JobLimitsType", - "modelAsString": true, - "values": [ - { - "value": "Command" - }, - { - "value": "Sweep" - } - ] - }, - "additionalProperties": false - }, - "JobOutput": { - "description": "Job output definition container information on where to find job output/logs.", - "required": [ - "jobOutputType" - ], - "type": "object", - "properties": { - "description": { - "description": "Description for the output.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jobOutputType": { - "description": "[Required] Specifies the type of job.", - "$ref": "#/definitions/JobOutputType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "jobOutputType" - }, - "JobOutputType": { - "description": "Enum to determine the Job Output Type.", - "enum": [ - "uri_file", - "uri_folder", - "mltable", - "custom_model", - "mlflow_model", - "triton_model" - ], - "type": "string", - "x-ms-enum": { - "name": "JobOutputType", - "modelAsString": true, - "values": [ - { - "value": "uri_file" - }, - { - "value": "uri_folder" - }, - { - "value": "mltable" - }, - { - "value": "custom_model" - }, - { - "value": "mlflow_model" - }, - { - "value": "triton_model" - } - ] - }, - "additionalProperties": false - }, - "JobProvisioningState": { - "description": "Enum to determine the job provisioning state.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress" - ], - "type": "string", - "x-ms-enum": { - "name": "JobProvisioningState", - "modelAsString": true, - "values": [ - { - "value": "Succeeded" - }, - { - "value": "Failed" - }, - { - "value": "Canceled" - }, - { - "value": "InProgress" - } - ] - }, - "additionalProperties": false - }, - "JobResourceConfiguration": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceConfiguration" - } - ], - "properties": { - "dockerArgs": { - "description": "Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "shmSize": { - "description": "Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes).", - "default": "2g", - "pattern": "\\d+[bBkKmMgG]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "JobScheduleAction": { - "required": [ - "actionType", - "jobDefinition" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ScheduleActionBase" - } - ], - "properties": { - "jobDefinition": { - "description": "[Required] Defines Schedule action definition details.", - "$ref": "#/definitions/JobBase", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "x-ms-discriminator-value": "CreateJob", - "additionalProperties": false - }, - "JobService": { - "description": "Job endpoint definition", - "type": "object", - "properties": { - "endpoint": { - "description": "Url for endpoint.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "errorMessage": { - "description": "Any error in the service.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "jobServiceType": { - "description": "Endpoint type.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "nodes": { - "description": "Nodes that user would like to start the service on.\r\nIf Nodes is not set or set to null, the service will only be started on leader node.", - "$ref": "#/definitions/Nodes", - "x-nullable": true - }, - "port": { - "format": "int32", - "description": "Port for endpoint set by user.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "Additional properties to set on the endpoint.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "status": { - "description": "Status of endpoint.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "JobStatus": { - "description": "The status of a job.", - "enum": [ - "NotStarted", - "Starting", - "Provisioning", - "Preparing", - "Queued", - "Running", - "Finalizing", - "CancelRequested", - "Completed", - "Failed", - "Canceled", - "NotResponding", - "Paused", - "Unknown", - "Scheduled" - ], - "type": "string", - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true, - "values": [ - { - "value": "NotStarted", - "description": "Run hasn't started yet." - }, - { - "value": "Starting", - "description": "Run has started. The user has a run ID." - }, - { - "value": "Provisioning", - "description": "(Not used currently) It will be used if ES is creating the compute target." - }, - { - "value": "Preparing", - "description": "The run environment is being prepared." - }, - { - "value": "Queued", - "description": "The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready." - }, - { - "value": "Running", - "description": "The job started to run in the compute target." - }, - { - "value": "Finalizing", - "description": "Job is completed in the target. It is in output collection state now." - }, - { - "value": "CancelRequested", - "description": "Cancellation has been requested for the job." - }, - { - "value": "Completed", - "description": "Job completed successfully. This reflects that both the job itself and output collection states completed successfully" - }, - { - "value": "Failed", - "description": "Job failed." - }, - { - "value": "Canceled", - "description": "Following cancellation request, the job is now successfully canceled." - }, - { - "value": "NotResponding", - "description": "When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state.\nNotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states." - }, - { - "value": "Paused", - "description": "The job is paused by users. Some adjustment to labeling jobs can be made only in paused state." - }, - { - "value": "Unknown", - "description": "Default job status if not mapped to all other statuses" - }, - { - "value": "Scheduled", - "description": "The job is in a scheduled state. Job is not in any active state." - } - ] - }, - "additionalProperties": false - }, - "JobTier": { - "description": "Enum to determine the job tier.", - "enum": [ - "Null", - "Spot", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "JobTier", - "modelAsString": true, - "values": [ - { - "value": "Null" - }, - { - "value": "Spot" - }, - { - "value": "Basic" - }, - { - "value": "Standard" - }, - { - "value": "Premium" - } - ] - }, - "additionalProperties": false - }, - "JobType": { - "description": "Enum to determine the type of job.", - "enum": [ - "AutoML", - "Command", - "Labeling", - "Sweep", - "Pipeline", - "Spark" - ], - "type": "string", - "x-ms-enum": { - "name": "JobType", - "modelAsString": true, - "values": [ - { - "value": "AutoML" - }, - { - "value": "Command" - }, - { - "value": "Labeling" - }, - { - "value": "Sweep" - }, - { - "value": "Pipeline" - }, - { - "value": "Spark" - } - ] - }, - "additionalProperties": false - }, - "KerberosCredentials": { - "required": [ - "kerberosKdcAddress", - "kerberosPrincipal", - "kerberosRealm" - ], - "type": "object", - "properties": { - "kerberosKdcAddress": { - "description": "[Required] IP Address or DNS HostName.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "kerberosPrincipal": { - "description": "[Required] Kerberos Username", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "kerberosRealm": { - "description": "[Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "KerberosKeytabCredentials": { - "required": [ - "secrets" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/KerberosCredentials" - }, - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "[Required] Keytab secrets.", - "$ref": "#/definitions/KerberosKeytabSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "KerberosKeytab", - "additionalProperties": false - }, - "KerberosKeytabSecrets": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "kerberosKeytab": { - "description": "Kerberos keytab secret.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "KerberosKeytab", - "additionalProperties": false - }, - "KerberosPasswordCredentials": { - "required": [ - "secrets" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/KerberosCredentials" - }, - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "[Required] Kerberos password secrets.", - "$ref": "#/definitions/KerberosPasswordSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "KerberosPassword", - "additionalProperties": false - }, - "KerberosPasswordSecrets": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "kerberosPassword": { - "description": "Kerberos password secret.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "KerberosPassword", - "additionalProperties": false - }, - "KeyType": { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyType", - "modelAsString": true, - "values": [ - { - "value": "Primary" - }, - { - "value": "Secondary" - } - ] - }, - "additionalProperties": false - }, - "KubernetesOnlineDeployment": { - "description": "Properties specific to a KubernetesOnlineDeployment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineDeployment" - } - ], - "properties": { - "containerResourceRequirements": { - "description": "The resource requirements for the container (cpu and memory).", - "$ref": "#/definitions/ContainerResourceRequirements", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Kubernetes", - "additionalProperties": false - }, - "LabelCategory": { - "description": "Label category definition", - "type": "object", - "properties": { - "classes": { - "description": "Dictionary of label classes in this category.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelClass", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "displayName": { - "description": "Display name of the label category.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "multiSelect": { - "description": "Indicates whether it is allowed to select multiple classes in this category.", - "default": "Disabled", - "$ref": "#/definitions/MultiSelect", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "LabelClass": { - "description": "Label class definition", - "type": "object", - "properties": { - "displayName": { - "description": "Display name of the label class.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "subclasses": { - "description": "Dictionary of subclasses of the label class.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelClass", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "LabelingDataConfiguration": { - "description": "Labeling data configuration definition", - "type": "object", - "properties": { - "dataId": { - "description": "Resource Id of the data asset to perform labeling.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "incrementalDataRefresh": { - "description": "Indicates whether to enable incremental data refresh.", - "default": "Disabled", - "$ref": "#/definitions/IncrementalDataRefresh", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "LabelingJob": { - "description": "Labeling job definition", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "createdDateTime": { - "format": "date-time", - "description": "Created time of the job in UTC timezone.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "dataConfiguration": { - "description": "Configuration of data used in the job.", - "$ref": "#/definitions/LabelingDataConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jobInstructions": { - "description": "Labeling instructions of the job.", - "$ref": "#/definitions/LabelingJobInstructions", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "labelCategories": { - "description": "Label categories of the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelCategory", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - }, - "labelingJobMediaProperties": { - "description": "Media type specific properties in the job.", - "$ref": "#/definitions/LabelingJobMediaProperties", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "mlAssistConfiguration": { - "description": "Configuration of MLAssist feature in the job.", - "default": "{\"MLAssist\":\"Disabled\"}", - "$ref": "#/definitions/MLAssistConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "progressMetrics": { - "description": "Progress metrics of the job.", - "$ref": "#/definitions/ProgressMetrics", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "projectId": { - "format": "uuid", - "description": "Internal id of the job(Previously called project).", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "provisioningState": { - "description": "Specifies the labeling job provisioning state.", - "$ref": "#/definitions/JobProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "statusMessages": { - "description": "Status messages of the job.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusMessage" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true, - "x-ms-identifiers": [] - } - }, - "x-ms-discriminator-value": "Labeling", - "x-ms-client-name": "LabelingJobProperties", - "additionalProperties": false - }, - "LabelingJobImageProperties": { - "description": "Properties of a labeling job for image data", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LabelingJobMediaProperties" - } - ], - "properties": { - "annotationType": { - "description": "Annotation type of image labeling job.", - "default": "Classification", - "$ref": "#/definitions/ImageAnnotationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Image", - "additionalProperties": false - }, - "LabelingJobInstructions": { - "description": "Instructions for labeling job", - "type": "object", - "properties": { - "uri": { - "description": "The link to a page with detailed labeling instructions for labelers.", - "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "LabelingJobMediaProperties": { - "description": "Properties of a labeling job", - "required": [ - "mediaType" - ], - "type": "object", - "properties": { - "mediaType": { - "description": "[Required] Media type of the job.", - "$ref": "#/definitions/MediaType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mediaType" - }, - "LabelingJobResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/LabelingJob" - } - }, - "x-ms-client-name": "LabelingJob", - "additionalProperties": false - }, - "LabelingJobResourceArmPaginatedResult": { - "description": "A paginated list of LabelingJob entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of LabelingJob objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type LabelingJob.", - "type": "array", - "items": { - "$ref": "#/definitions/LabelingJobResource" - } - } - }, - "additionalProperties": false - }, - "LabelingJobTextProperties": { - "description": "Properties of a labeling job for text data", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LabelingJobMediaProperties" - } - ], - "properties": { - "annotationType": { - "description": "Annotation type of text labeling job.", - "default": "Classification", - "$ref": "#/definitions/TextAnnotationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Text", - "additionalProperties": false - }, - "LakeHouseArtifact": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OneLakeArtifact" - } - ], - "x-ms-discriminator-value": "LakeHouse", - "additionalProperties": false - }, - "LearningRateScheduler": { - "description": "Learning rate scheduler enum.", - "enum": [ - "None", - "WarmupCosine", - "Step" - ], - "type": "string", - "x-ms-enum": { - "name": "LearningRateScheduler", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No learning rate scheduler selected." - }, - { - "value": "WarmupCosine", - "description": "Cosine Annealing With Warmup." - }, - { - "value": "Step", - "description": "Step learning rate scheduler." - } - ] - }, - "additionalProperties": false - }, - "ListViewType": { - "enum": [ - "ActiveOnly", - "ArchivedOnly", - "All" - ], - "type": "string", - "x-ms-enum": { - "name": "ListViewType", - "modelAsString": true, - "values": [ - { - "value": "ActiveOnly" - }, - { - "value": "ArchivedOnly" - }, - { - "value": "All" - } - ] - }, - "additionalProperties": false - }, - "LiteralJobInput": { - "description": "Literal input type.", - "required": [ - "value" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobInput" - } - ], - "properties": { - "value": { - "description": "[Required] Literal value for the input.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "literal", - "additionalProperties": false - }, - "LogTrainingMetrics": { - "enum": [ - "Enable", - "Disable" - ], - "type": "string", - "x-ms-enum": { - "name": "LogTrainingMetrics", - "modelAsString": true, - "values": [ - { - "value": "Enable", - "description": "Enable compute and log training metrics." - }, - { - "value": "Disable", - "description": "Disable compute and log training metrics." - } - ] - }, - "additionalProperties": false - }, - "LogValidationLoss": { - "enum": [ - "Enable", - "Disable" - ], - "type": "string", - "x-ms-enum": { - "name": "LogValidationLoss", - "modelAsString": true, - "values": [ - { - "value": "Enable", - "description": "Enable compute and log validation metrics." - }, - { - "value": "Disable", - "description": "Disable compute and log validation metrics." - } - ] - }, - "additionalProperties": false - }, - "LogVerbosity": { - "description": "Enum for setting log verbosity.", - "enum": [ - "NotSet", - "Debug", - "Info", - "Warning", - "Error", - "Critical" - ], - "type": "string", - "x-ms-enum": { - "name": "LogVerbosity", - "modelAsString": true, - "values": [ - { - "value": "NotSet", - "description": "No logs emitted." - }, - { - "value": "Debug", - "description": "Debug and above log statements logged." - }, - { - "value": "Info", - "description": "Info and above log statements logged." - }, - { - "value": "Warning", - "description": "Warning and above log statements logged." - }, - { - "value": "Error", - "description": "Error and above log statements logged." - }, - { - "value": "Critical", - "description": "Only critical statements logged." - } - ] - }, - "additionalProperties": false - }, - "MLAssistConfiguration": { - "description": "Labeling MLAssist configuration definition", - "required": [ - "mlAssist" - ], - "type": "object", - "properties": { - "mlAssist": { - "description": "[Required] Indicates whether MLAssist feature is enabled.", - "$ref": "#/definitions/MLAssistConfigurationType", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "discriminator": "mlAssist" - }, - "MLAssistConfigurationDisabled": { - "description": "Labeling MLAssist configuration definition when MLAssist is disabled", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MLAssistConfiguration" - } - ], - "x-ms-discriminator-value": "Disabled", - "additionalProperties": false - }, - "MLAssistConfigurationEnabled": { - "description": "Labeling MLAssist configuration definition when MLAssist is enabled", - "required": [ - "inferencingComputeBinding", - "trainingComputeBinding" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MLAssistConfiguration" - } - ], - "properties": { - "inferencingComputeBinding": { - "description": "[Required] AML compute binding used in inferencing.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "required": [ + "samplingAlgorithm" + ], + "type": "object", + "properties": { + "earlyTermination": { + "description": "Type of early termination policy.", + "$ref": "#/definitions/EarlyTerminationPolicy", + "x-nullable": true + }, + "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 + }, + "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 + }, + "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-mutability": [ - "create", - "read", - "update" - ] - }, - "trainingComputeBinding": { - "description": "[Required] AML compute binding used in training.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "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 + }, + "InferencingServer": { + "required": [ + "serverType" + ], + "type": "object", + "properties": { + "serverType": { + "description": "[Required] Inferencing server type for various targets.", + "$ref": "#/definitions/InferencingServerType" + } + }, + "discriminator": "serverType" + }, + "InferencingServerType": { + "description": "Inferencing server type for various targets.", + "enum": [ + "AzureMLOnline", + "AzureMLBatch", + "Triton", + "Custom" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "x-ms-discriminator-value": "Enabled", - "additionalProperties": false - }, - "MLAssistConfigurationType": { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MLAssistConfigurationType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "MLFlowAutologgerState": { - "description": "Enum to determine the state of mlflow autologger.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MLFlowAutologgerState", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "MLFlowModelJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "mlflow_model", - "additionalProperties": false - }, - "MLFlowModelJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "mlflow_model", - "additionalProperties": false - }, - "MLTableData": { - "description": "MLTable data definition", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataVersionBase" - } - ], - "properties": { - "referencedUris": { - "description": "Uris referenced in the MLTable definition (required for lineage)", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "mltable", - "additionalProperties": false - }, - "MLTableJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "mltable", - "additionalProperties": false - }, - "MLTableJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "mltable", - "additionalProperties": false - }, - "ManagedComputeIdentity": { - "description": "Managed compute identity definition.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitorComputeIdentityBase" - } - ], - "properties": { - "identity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "ManagedIdentity", - "additionalProperties": false - }, - "ManagedIdentity": { - "description": "Managed identity configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" - } - ], - "properties": { - "clientId": { - "format": "uuid", - "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.", + "x-ms-enum": { + "name": "InferencingServerType", + "modelAsString": true, + "values": [ + { + "value": "AzureMLOnline" + }, + { + "value": "AzureMLBatch" + }, + { + "value": "Triton" + }, + { + "value": "Custom" + } + ] + }, + "additionalProperties": false + }, + "InputDeliveryMode": { + "description": "Enum to determine the input data delivery mode.", + "enum": [ + "ReadOnlyMount", + "ReadWriteMount", + "Download", + "Direct", + "EvalMount", + "EvalDownload" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "objectId": { - "format": "uuid", - "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.", + "x-ms-enum": { + "name": "InputDeliveryMode", + "modelAsString": true, + "values": [ + { + "value": "ReadOnlyMount" + }, + { + "value": "ReadWriteMount" + }, + { + "value": "Download" + }, + { + "value": "Direct" + }, + { + "value": "EvalMount" + }, + { + "value": "EvalDownload" + } + ] + }, + "additionalProperties": false + }, + "InputPathType": { + "description": "Input path type for package inputs.", + "enum": [ + "Url", + "PathId", + "PathVersion" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "resourceId": { - "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", + "x-ms-enum": { + "name": "InputPathType", + "modelAsString": true, + "values": [ + { + "value": "Url" + }, + { + "value": "PathId" + }, + { + "value": "PathVersion" + } + ] + }, + "additionalProperties": false + }, + "InstanceSegmentationPrimaryMetrics": { + "description": "Primary metrics for InstanceSegmentation tasks.", + "enum": [ + "MeanAveragePrecision" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, - "ManagedOnlineDeployment": { - "description": "Properties specific to a ManagedOnlineDeployment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineDeployment" - } - ], - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, - "MaterializationComputeResource": { - "description": "Dto object representing compute resource", - "type": "object", - "properties": { - "instanceType": { - "description": "Specifies the instance type", + "x-ms-enum": { + "name": "InstanceSegmentationPrimaryMetrics", + "modelAsString": true, + "values": [ + { + "value": "MeanAveragePrecision", + "description": "Mean Average Precision (MAP) is the average of AP (Average Precision).\nAP is calculated for each class and averaged to get the MAP." + } + ] + }, + "additionalProperties": false + }, + "IntellectualProperty": { + "description": "Intellectual Property details for a resource.", + "required": [ + "publisher" + ], + "type": "object", + "properties": { + "protectionLevel": { + "description": "Protection level of the Intellectual Property.", + "default": "All", + "$ref": "#/definitions/ProtectionLevel" + }, + "publisher": { + "description": "[Required] Publisher of the Intellectual Property. Must be the same as Registry publisher name.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "additionalProperties": false + }, + "JobBase": { + "description": "Base definition for a job.", + "required": [ + "jobType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "componentId": { + "description": "ARM resource ID of the component resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "computeId": { + "description": "ARM resource ID of the compute resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "displayName": { + "description": "Display name of job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "experimentName": { + "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", + "default": "Default", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "identity": { + "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.\r\nDefaults to AmlToken if null.", + "$ref": "#/definitions/IdentityConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "isArchived": { + "description": "Is the asset archived?", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "jobType": { + "description": "[Required] Specifies the type of job.", + "$ref": "#/definitions/JobType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "notificationSetting": { + "description": "Notification setting for the job", + "$ref": "#/definitions/NotificationSetting", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "secretsConfiguration": { + "description": "Configuration for secrets to be made available during runtime.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/SecretConfiguration", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "services": { + "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JobService", + "x-nullable": true + }, + "x-nullable": true + }, + "status": { + "description": "Status of the job.", + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "discriminator": "jobType", + "x-ms-client-name": "JobBaseProperties" + }, + "JobBaseResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/JobBase" + } + }, + "x-ms-client-name": "JobBase", + "additionalProperties": false + }, + "JobBaseResourceArmPaginatedResult": { + "description": "A paginated list of JobBase entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of JobBase objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type JobBase.", + "type": "array", + "items": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "additionalProperties": false + }, + "JobInput": { + "description": "Command job definition.", + "required": [ + "jobInputType" + ], + "type": "object", + "properties": { + "description": { + "description": "Description for the input.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jobInputType": { + "description": "[Required] Specifies the type of job.", + "$ref": "#/definitions/JobInputType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "jobInputType" + }, + "JobInputType": { + "description": "Enum to determine the Job Input Type.", + "enum": [ + "literal", + "uri_file", + "uri_folder", + "mltable", + "custom_model", + "mlflow_model", + "triton_model" + ], "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "MaterializationSettings": { - "type": "object", - "properties": { - "notification": { - "description": "Specifies the notification details", - "$ref": "#/definitions/NotificationSetting", - "x-nullable": true - }, - "resource": { - "description": "Specifies the compute resource settings", - "$ref": "#/definitions/MaterializationComputeResource", - "x-nullable": true - }, - "schedule": { - "description": "Specifies the schedule details", - "$ref": "#/definitions/RecurrenceTrigger", - "x-nullable": true - }, - "sparkConfiguration": { - "description": "Specifies the spark compute settings", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "storeType": { - "description": "Specifies the stores to which materialization should happen", - "default": "None", - "$ref": "#/definitions/MaterializationStoreType" - } - }, - "additionalProperties": false - }, - "MaterializationStoreType": { - "enum": [ - "None", - "Online", - "Offline", - "OnlineAndOffline" - ], - "type": "string", - "x-ms-enum": { - "name": "MaterializationStoreType", - "modelAsString": true, - "values": [ - { - "value": "None" - }, - { - "value": "Online" - }, - { - "value": "Offline" - }, - { - "value": "OnlineAndOffline" - } - ] - }, - "additionalProperties": false - }, - "MediaType": { - "description": "Media type of data asset.", - "enum": [ - "Image", - "Text" - ], - "type": "string", - "x-ms-enum": { - "name": "MediaType", - "modelAsString": true, - "values": [ - { - "value": "Image" - }, - { - "value": "Text" - } - ] - }, - "additionalProperties": false - }, - "MedianStoppingPolicy": { - "description": "Defines an early termination policy based on running averages of the primary metric of all runs", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "x-ms-discriminator-value": "MedianStopping", - "additionalProperties": false - }, - "ModelConfiguration": { - "description": "Model configuration options.", - "type": "object", - "properties": { - "mode": { - "description": "Input delivery mode for the model.", - "default": "Download", - "$ref": "#/definitions/PackageInputDeliveryMode" - }, - "mountPath": { - "description": "Relative mounting path of the model in the target image.", + "x-ms-enum": { + "name": "JobInputType", + "modelAsString": true, + "values": [ + { + "value": "literal" + }, + { + "value": "uri_file" + }, + { + "value": "uri_folder" + }, + { + "value": "mltable" + }, + { + "value": "custom_model" + }, + { + "value": "mlflow_model" + }, + { + "value": "triton_model" + } + ] + }, + "additionalProperties": false + }, + "JobLimits": { + "required": [ + "jobLimitsType" + ], + "type": "object", + "properties": { + "jobLimitsType": { + "description": "[Required] JobLimit type.", + "$ref": "#/definitions/JobLimitsType" + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", + "type": "string", + "x-nullable": true + } + }, + "discriminator": "jobLimitsType" + }, + "JobLimitsType": { + "enum": [ + "Command", + "Sweep" + ], "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ModelContainer": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetContainer" - } - ], - "properties": { - "provisioningState": { - "description": "Provisioning state for the model container.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-client-name": "ModelContainerProperties", - "additionalProperties": false - }, - "ModelContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/ModelContainer" - } - }, - "x-ms-client-name": "ModelContainer", - "additionalProperties": false - }, - "ModelContainerResourceArmPaginatedResult": { - "description": "A paginated list of ModelContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of ModelContainer objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type ModelContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "additionalProperties": false - }, - "ModelPackageInput": { - "description": "Model package input options.", - "required": [ - "inputType", - "path" - ], - "type": "object", - "properties": { - "inputType": { - "description": "[Required] Type of the input included in the target image.", - "$ref": "#/definitions/PackageInputType" - }, - "mode": { - "description": "Input delivery mode of the input.", - "default": "Copy", - "$ref": "#/definitions/PackageInputDeliveryMode" - }, - "mountPath": { - "description": "Relative mount path of the input in the target image.", + "x-ms-enum": { + "name": "JobLimitsType", + "modelAsString": true, + "values": [ + { + "value": "Command" + }, + { + "value": "Sweep" + } + ] + }, + "additionalProperties": false + }, + "JobOutput": { + "description": "Job output definition container information on where to find job output/logs.", + "required": [ + "jobOutputType" + ], + "type": "object", + "properties": { + "description": { + "description": "Description for the output.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jobOutputType": { + "description": "[Required] Specifies the type of job.", + "$ref": "#/definitions/JobOutputType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "jobOutputType" + }, + "JobOutputType": { + "description": "Enum to determine the Job Output Type.", + "enum": [ + "uri_file", + "uri_folder", + "mltable", + "custom_model", + "mlflow_model", + "triton_model" + ], "type": "string", - "x-nullable": true - }, - "path": { - "description": "[Required] Location of the input.", - "$ref": "#/definitions/PackageInputPathBase" - } - }, - "additionalProperties": false - }, - "ModelPerformanceMetricThresholdBase": { - "required": [ - "modelType" - ], - "type": "object", - "properties": { - "modelType": { - "description": "[Required] Specifies the data type of the metric threshold.", - "$ref": "#/definitions/MonitoringModelType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "discriminator": "modelType" - }, - "ModelPerformanceSignal": { - "description": "Model performance signal definition.", - "required": [ - "metricThreshold", - "productionData", - "referenceData" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "dataSegment": { - "description": "The data segment.", - "$ref": "#/definitions/MonitoringDataSegment", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "metricThreshold": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "$ref": "#/definitions/ModelPerformanceMetricThresholdBase", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "productionData": { - "description": "[Required] The data produced by the production service which drift will be calculated for.", - "type": "array", - "items": { - "description": "Monitoring input data base definition.", - "$ref": "#/definitions/MonitoringInputDataBase" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-ms-identifiers": [] - }, - "referenceData": { - "description": "[Required] The data to calculate drift against.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "ModelPerformance", - "additionalProperties": false - }, - "ModelSize": { - "description": "Image model size.", - "enum": [ - "None", - "Small", - "Medium", - "Large", - "ExtraLarge" - ], - "type": "string", - "x-ms-enum": { - "name": "ModelSize", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No value selected." - }, - { - "value": "Small", - "description": "Small size." - }, - { - "value": "Medium", - "description": "Medium size." - }, - { - "value": "Large", - "description": "Large size." - }, - { - "value": "ExtraLarge", - "description": "Extra large size." - } - ] - }, - "additionalProperties": false - }, - "ModelTaskType": { - "description": "Model task type enum.", - "enum": [ - "Classification", - "Regression", - "QuestionAnswering" - ], - "type": "string", - "x-ms-enum": { - "name": "ModelTaskType", - "modelAsString": true, - "values": [ - { - "value": "Classification" - }, - { - "value": "Regression" - }, - { - "value": "QuestionAnswering" - } - ] - }, - "additionalProperties": false - }, - "ModelVersion": { - "description": "Model asset version details.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetBase" - } - ], - "properties": { - "flavors": { - "description": "Mapping of model flavors to their properties.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/FlavorData", - "x-nullable": true - }, - "x-nullable": true - }, - "intellectualProperty": { - "description": "Intellectual Property details. Used if model is an Intellectual Property.", - "$ref": "#/definitions/IntellectualProperty", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jobName": { - "description": "Name of the training job which produced this model", + "x-ms-enum": { + "name": "JobOutputType", + "modelAsString": true, + "values": [ + { + "value": "uri_file" + }, + { + "value": "uri_folder" + }, + { + "value": "mltable" + }, + { + "value": "custom_model" + }, + { + "value": "mlflow_model" + }, + { + "value": "triton_model" + } + ] + }, + "additionalProperties": false + }, + "JobProvisioningState": { + "description": "Enum to determine the job provisioning state.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress" + ], "type": "string", - "x-nullable": true - }, - "modelType": { - "description": "The storage format for this entity. Used for NCD.", + "x-ms-enum": { + "name": "JobProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Canceled" + }, + { + "value": "InProgress" + } + ] + }, + "additionalProperties": false + }, + "JobResourceConfiguration": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceConfiguration" + } + ], + "properties": { + "dockerArgs": { + "description": "Extra arguments to pass to the Docker run command. This would override any parameters that have already been set by the system, or in this section. This parameter is only supported for Azure ML compute types.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "shmSize": { + "description": "Size of the docker container's shared memory block. This should be in the format of (number)(unit) where number as to be greater than 0 and the unit can be one of b(bytes), k(kilobytes), m(megabytes), or g(gigabytes).", + "default": "2g", + "pattern": "\\d+[bBkKmMgG]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "JobScheduleAction": { + "required": [ + "actionType", + "jobDefinition" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ScheduleActionBase" + } + ], + "properties": { + "jobDefinition": { + "description": "[Required] Defines Schedule action definition details.", + "$ref": "#/definitions/JobBase", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "x-ms-discriminator-value": "CreateJob", + "additionalProperties": false + }, + "JobService": { + "description": "Job endpoint definition", + "type": "object", + "properties": { + "endpoint": { + "description": "Url for endpoint.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "errorMessage": { + "description": "Any error in the service.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "jobServiceType": { + "description": "Endpoint type.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "nodes": { + "description": "Nodes that user would like to start the service on.\r\nIf Nodes is not set or set to null, the service will only be started on leader node.", + "$ref": "#/definitions/Nodes", + "x-nullable": true + }, + "port": { + "format": "int32", + "description": "Port for endpoint set by user.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "properties": { + "description": "Additional properties to set on the endpoint.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "status": { + "description": "Status of endpoint.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "JobStatus": { + "description": "The status of a job.", + "enum": [ + "NotStarted", + "Starting", + "Provisioning", + "Preparing", + "Queued", + "Running", + "Finalizing", + "CancelRequested", + "Completed", + "Failed", + "Canceled", + "NotResponding", + "Paused", + "Unknown", + "Scheduled" + ], "type": "string", - "x-nullable": true - }, - "modelUri": { - "description": "The URI path to the model contents.", + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true, + "values": [ + { + "value": "NotStarted", + "description": "Run hasn't started yet." + }, + { + "value": "Starting", + "description": "Run has started. The user has a run ID." + }, + { + "value": "Provisioning", + "description": "(Not used currently) It will be used if ES is creating the compute target." + }, + { + "value": "Preparing", + "description": "The run environment is being prepared." + }, + { + "value": "Queued", + "description": "The job is queued in the compute target. For example, in BatchAI the job is in queued state, while waiting for all required nodes to be ready." + }, + { + "value": "Running", + "description": "The job started to run in the compute target." + }, + { + "value": "Finalizing", + "description": "Job is completed in the target. It is in output collection state now." + }, + { + "value": "CancelRequested", + "description": "Cancellation has been requested for the job." + }, + { + "value": "Completed", + "description": "Job completed successfully. This reflects that both the job itself and output collection states completed successfully" + }, + { + "value": "Failed", + "description": "Job failed." + }, + { + "value": "Canceled", + "description": "Following cancellation request, the job is now successfully canceled." + }, + { + "value": "NotResponding", + "description": "When heartbeat is enabled, if the run isn't updating any information to RunHistory then the run goes to NotResponding state.\nNotResponding is the only state that is exempt from strict transition orders. A run can go from NotResponding to any of the previous states." + }, + { + "value": "Paused", + "description": "The job is paused by users. Some adjustment to labeling jobs can be made only in paused state." + }, + { + "value": "Unknown", + "description": "Default job status if not mapped to all other statuses" + }, + { + "value": "Scheduled", + "description": "The job is in a scheduled state. Job is not in any active state." + } + ] + }, + "additionalProperties": false + }, + "JobTier": { + "description": "Enum to determine the job tier.", + "enum": [ + "Null", + "Spot", + "Basic", + "Standard", + "Premium" + ], "type": "string", - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the model version.", - "$ref": "#/definitions/AssetProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "stage": { - "description": "Stage in the model lifecycle assigned to this model", + "x-ms-enum": { + "name": "JobTier", + "modelAsString": true, + "values": [ + { + "value": "Null" + }, + { + "value": "Spot" + }, + { + "value": "Basic" + }, + { + "value": "Standard" + }, + { + "value": "Premium" + } + ] + }, + "additionalProperties": false + }, + "JobType": { + "description": "Enum to determine the type of job.", + "enum": [ + "AutoML", + "Command", + "Labeling", + "Sweep", + "Pipeline", + "Spark" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-client-name": "ModelVersionProperties", - "additionalProperties": false - }, - "ModelVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/ModelVersion" - } - }, - "x-ms-client-name": "ModelVersion", - "additionalProperties": false - }, - "ModelVersionResourceArmPaginatedResult": { - "description": "A paginated list of ModelVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of ModelVersion objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type ModelVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "additionalProperties": false - }, - "MonitorComputeConfigurationBase": { - "description": "Monitor compute configuration base definition.", - "required": [ - "computeType" - ], - "type": "object", - "properties": { - "computeType": { - "description": "[Required] Specifies the type of signal to monitor.", - "$ref": "#/definitions/MonitorComputeType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "computeType" - }, - "MonitorComputeIdentityBase": { - "description": "Monitor compute identity base definition.", - "required": [ - "computeIdentityType" - ], - "type": "object", - "properties": { - "computeIdentityType": { - "description": "[Required] Monitor compute identity type enum.", - "$ref": "#/definitions/MonitorComputeIdentityType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "computeIdentityType" - }, - "MonitorComputeIdentityType": { - "description": "Monitor compute identity type enum.", - "enum": [ - "AmlToken", - "ManagedIdentity" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitorComputeIdentityType", - "modelAsString": true, - "values": [ - { - "value": "AmlToken", - "description": "Authenticates through user's AML token." - }, - { - "value": "ManagedIdentity", - "description": "Authenticates through a user-provided managed identity." - } - ] - }, - "additionalProperties": false - }, - "MonitorComputeType": { - "description": "Monitor compute type enum.", - "enum": [ - "ServerlessSpark" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitorComputeType", - "modelAsString": true, - "values": [ - { - "value": "ServerlessSpark", - "description": "Serverless Spark compute." - } - ] - }, - "additionalProperties": false - }, - "MonitorDefinition": { - "required": [ - "computeConfiguration", - "signals" - ], - "type": "object", - "properties": { - "alertNotificationSetting": { - "description": "The monitor's notification settings.", - "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "computeConfiguration": { - "description": "[Required] The ARM resource ID of the compute resource to run the monitoring job on.", - "$ref": "#/definitions/MonitorComputeConfigurationBase", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "monitoringTarget": { - "description": "The ARM resource ID of either the model or deployment targeted by this monitor.", - "$ref": "#/definitions/MonitoringTarget", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "signals": { - "description": "[Required] The signals to monitor.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/MonitoringSignalBase", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "MonitorServerlessSparkCompute": { - "description": "Monitor serverless spark compute definition.", - "required": [ - "computeIdentity", - "instanceType", - "runtimeVersion" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitorComputeConfigurationBase" - } - ], - "properties": { - "computeIdentity": { - "description": "[Required] The identity scheme leveraged to by the spark jobs running on serverless Spark.", - "$ref": "#/definitions/MonitorComputeIdentityBase", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "instanceType": { - "description": "[Required] The instance type running the Spark job.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "JobType", + "modelAsString": true, + "values": [ + { + "value": "AutoML" + }, + { + "value": "Command" + }, + { + "value": "Labeling" + }, + { + "value": "Sweep" + }, + { + "value": "Pipeline" + }, + { + "value": "Spark" + } + ] + }, + "additionalProperties": false + }, + "KerberosCredentials": { + "required": [ + "kerberosKdcAddress", + "kerberosPrincipal", + "kerberosRealm" + ], + "type": "object", + "properties": { + "kerberosKdcAddress": { + "description": "[Required] IP Address or DNS HostName.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "kerberosPrincipal": { + "description": "[Required] Kerberos Username", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "kerberosRealm": { + "description": "[Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "KerberosKeytabCredentials": { + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/KerberosCredentials" + }, + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "[Required] Keytab secrets.", + "$ref": "#/definitions/KerberosKeytabSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "KerberosKeytab", + "additionalProperties": false + }, + "KerberosKeytabSecrets": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "kerberosKeytab": { + "description": "Kerberos keytab secret.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "KerberosKeytab", + "additionalProperties": false + }, + "KerberosPasswordCredentials": { + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/KerberosCredentials" + }, + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "[Required] Kerberos password secrets.", + "$ref": "#/definitions/KerberosPasswordSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "KerberosPassword", + "additionalProperties": false + }, + "KerberosPasswordSecrets": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "kerberosPassword": { + "description": "Kerberos password secret.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "KerberosPassword", + "additionalProperties": false + }, + "KeyType": { + "enum": [ + "Primary", + "Secondary" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "runtimeVersion": { - "description": "[Required] The Spark runtime version.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true, + "values": [ + { + "value": "Primary" + }, + { + "value": "Secondary" + } + ] + }, + "additionalProperties": false + }, + "KubernetesOnlineDeployment": { + "description": "Properties specific to a KubernetesOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "properties": { + "containerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "$ref": "#/definitions/ContainerResourceRequirements", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Kubernetes", + "additionalProperties": false + }, + "LabelCategory": { + "description": "Label category definition", + "type": "object", + "properties": { + "classes": { + "description": "Dictionary of label classes in this category.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelClass", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "displayName": { + "description": "Display name of the label category.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "multiSelect": { + "description": "Indicates whether it is allowed to select multiple classes in this category.", + "default": "Disabled", + "$ref": "#/definitions/MultiSelect", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "LabelClass": { + "description": "Label class definition", + "type": "object", + "properties": { + "displayName": { + "description": "Display name of the label class.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "subclasses": { + "description": "Dictionary of subclasses of the label class.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelClass", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "LabelingDataConfiguration": { + "description": "Labeling data configuration definition", + "type": "object", + "properties": { + "dataId": { + "description": "Resource Id of the data asset to perform labeling.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "incrementalDataRefresh": { + "description": "Indicates whether to enable incremental data refresh.", + "default": "Disabled", + "$ref": "#/definitions/IncrementalDataRefresh", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "LabelingJob": { + "description": "Labeling job definition", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "createdDateTime": { + "format": "date-time", + "description": "Created time of the job in UTC timezone.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "dataConfiguration": { + "description": "Configuration of data used in the job.", + "$ref": "#/definitions/LabelingDataConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jobInstructions": { + "description": "Labeling instructions of the job.", + "$ref": "#/definitions/LabelingJobInstructions", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "labelCategories": { + "description": "Label categories of the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelCategory", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + }, + "labelingJobMediaProperties": { + "description": "Media type specific properties in the job.", + "$ref": "#/definitions/LabelingJobMediaProperties", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "mlAssistConfiguration": { + "description": "Configuration of MLAssist feature in the job.", + "default": "{\"MLAssist\":\"Disabled\"}", + "$ref": "#/definitions/MLAssistConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "progressMetrics": { + "description": "Progress metrics of the job.", + "$ref": "#/definitions/ProgressMetrics", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "projectId": { + "format": "uuid", + "description": "Internal id of the job(Previously called project).", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "provisioningState": { + "description": "Specifies the labeling job provisioning state.", + "$ref": "#/definitions/JobProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "statusMessages": { + "description": "Status messages of the job.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusMessage" + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true, + "x-ms-identifiers": [] + } + }, + "x-ms-discriminator-value": "Labeling", + "x-ms-client-name": "LabelingJobProperties", + "additionalProperties": false + }, + "LabelingJobImageProperties": { + "description": "Properties of a labeling job for image data", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LabelingJobMediaProperties" + } + ], + "properties": { + "annotationType": { + "description": "Annotation type of image labeling job.", + "default": "Classification", + "$ref": "#/definitions/ImageAnnotationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Image", + "additionalProperties": false + }, + "LabelingJobInstructions": { + "description": "Instructions for labeling job", + "type": "object", + "properties": { + "uri": { + "description": "The link to a page with detailed labeling instructions for labelers.", + "type": "string", + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "LabelingJobMediaProperties": { + "description": "Properties of a labeling job", + "required": [ + "mediaType" + ], + "type": "object", + "properties": { + "mediaType": { + "description": "[Required] Media type of the job.", + "$ref": "#/definitions/MediaType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mediaType" + }, + "LabelingJobResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/LabelingJob" + } + }, + "x-ms-client-name": "LabelingJob", + "additionalProperties": false + }, + "LabelingJobResourceArmPaginatedResult": { + "description": "A paginated list of LabelingJob entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of LabelingJob objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type LabelingJob.", + "type": "array", + "items": { + "$ref": "#/definitions/LabelingJobResource" + } + } + }, + "additionalProperties": false + }, + "LabelingJobTextProperties": { + "description": "Properties of a labeling job for text data", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LabelingJobMediaProperties" + } + ], + "properties": { + "annotationType": { + "description": "Annotation type of text labeling job.", + "default": "Classification", + "$ref": "#/definitions/TextAnnotationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Text", + "additionalProperties": false + }, + "LakeHouseArtifact": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OneLakeArtifact" + } + ], + "x-ms-discriminator-value": "LakeHouse", + "additionalProperties": false + }, + "LearningRateScheduler": { + "description": "Learning rate scheduler enum.", + "enum": [ + "None", + "WarmupCosine", + "Step" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "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": { - "feature": { - "description": "The feature to segment the data on.", + "x-ms-enum": { + "name": "LearningRateScheduler", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No learning rate scheduler selected." + }, + { + "value": "WarmupCosine", + "description": "Cosine Annealing With Warmup." + }, + { + "value": "Step", + "description": "Step learning rate scheduler." + } + ] + }, + "additionalProperties": false + }, + "ListViewType": { + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "values": { - "description": "Filters for only the specified values of the given segmented feature.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "MonitoringFeatureDataType": { - "enum": [ - "Numerical", - "Categorical" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringFeatureDataType", - "modelAsString": true, - "values": [ - { - "value": "Numerical", - "description": "Used for features of numerical data type." - }, - { - "value": "Categorical", - "description": "Used for features of categorical data type." - } - ] - }, - "additionalProperties": false - }, - "MonitoringFeatureFilterBase": { - "required": [ - "filterType" - ], - "type": "object", - "properties": { - "filterType": { - "description": "[Required] Specifies the feature filter to leverage when selecting features to calculate metrics over.", - "$ref": "#/definitions/MonitoringFeatureFilterType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "filterType" - }, - "MonitoringFeatureFilterType": { - "enum": [ - "AllFeatures", - "TopNByAttribution", - "FeatureSubset" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringFeatureFilterType", - "modelAsString": true, - "values": [ - { - "value": "AllFeatures", - "description": "Includes all features." - }, - { - "value": "TopNByAttribution", - "description": "Only includes the top contributing features, measured by feature attribution." - }, - { - "value": "FeatureSubset", - "description": "Includes a user-defined subset of features." - } - ] - }, - "additionalProperties": false - }, - "MonitoringInputDataBase": { - "description": "Monitoring input data base definition.", - "required": [ - "inputDataType", - "jobInputType", - "uri" - ], - "type": "object", - "properties": { - "columns": { - "description": "Mapping of column names to special uses.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "dataContext": { - "description": "The context metadata of the data source.", + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true, + "values": [ + { + "value": "ActiveOnly" + }, + { + "value": "ArchivedOnly" + }, + { + "value": "All" + } + ] + }, + "additionalProperties": false + }, + "LiteralJobInput": { + "description": "Literal input type.", + "required": [ + "value" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "value": { + "description": "[Required] Literal value for the input.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "literal", + "additionalProperties": false + }, + "LogTrainingMetrics": { + "enum": [ + "Enable", + "Disable" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "inputDataType": { - "description": "[Required] Specifies the type of signal to monitor.", - "$ref": "#/definitions/MonitoringInputDataType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "jobInputType": { - "description": "[Required] Specifies the type of job.", - "$ref": "#/definitions/JobInputType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "uri": { - "description": "[Required] Input Asset URI.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "LogTrainingMetrics", + "modelAsString": true, + "values": [ + { + "value": "Enable", + "description": "Enable compute and log training metrics." + }, + { + "value": "Disable", + "description": "Disable compute and log training metrics." + } + ] + }, + "additionalProperties": false + }, + "LogValidationLoss": { + "enum": [ + "Enable", + "Disable" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "inputDataType" - }, - "MonitoringInputDataType": { - "description": "Monitoring input data type enum.", - "enum": [ - "Static", - "Trailing", - "Fixed" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringInputDataType", - "modelAsString": true, - "values": [ - { - "value": "Static", - "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": "Fixed", - "description": "An input data with tabular format which doesn't require preprocessing." - } - ] - }, - "additionalProperties": false - }, - "MonitoringModelType": { - "enum": [ - "Classification", - "Regression" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringModelType", - "modelAsString": true, - "values": [ - { - "value": "Classification", - "description": "A model trained for classification tasks." - }, - { - "value": "Regression", - "description": "A model trained for regressions tasks." - } - ] - }, - "additionalProperties": false - }, - "MonitoringNotificationMode": { - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringNotificationMode", - "modelAsString": true, - "values": [ - { - "value": "Disabled", - "description": "Disabled notifications will not produce emails/metrics leveraged for alerting." - }, - { - "value": "Enabled", - "description": "Enabled notification will produce emails/metrics leveraged for alerting." - } - ] - }, - "additionalProperties": false - }, - "MonitoringSignalBase": { - "required": [ - "signalType" - ], - "type": "object", - "properties": { - "mode": { - "description": "The current notification mode for this signal.", - "default": "Disabled", - "$ref": "#/definitions/MonitoringNotificationMode", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "signalType": { - "description": "[Required] Specifies the type of signal to monitor.", - "$ref": "#/definitions/MonitoringSignalType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "signalType" - }, - "MonitoringSignalType": { - "enum": [ - "DataDrift", - "PredictionDrift", - "DataQuality", - "FeatureAttributionDrift", - "Custom", - "ModelPerformance", - "GenerationSafetyQuality", - "GenerationTokenStatistics" - ], - "type": "string", - "x-ms-enum": { - "name": "MonitoringSignalType", - "modelAsString": true, - "values": [ - { - "value": "DataDrift", - "description": "Tracks model input data distribution change, comparing against training data or past production data." - }, - { - "value": "PredictionDrift", - "description": "Tracks prediction result data distribution change, comparing against validation/test label data or past production data." - }, - { - "value": "DataQuality", - "description": "Tracks model input data integrity." - }, - { - "value": "FeatureAttributionDrift", - "description": "Tracks feature importance change in production, comparing against feature importance at training time." - }, - { - "value": "Custom", - "description": "Tracks a custom signal provided by users." - }, - { - "value": "ModelPerformance", - "description": "Tracks model performance based on ground truth data." - }, - { - "value": "GenerationSafetyQuality", - "description": "Tracks the safety and quality of generated content." - }, - { - "value": "GenerationTokenStatistics", - "description": "Tracks the token usage of generative endpoints." - } - ] - }, - "additionalProperties": false - }, - "MonitoringTarget": { - "description": "Monitoring target definition.", - "required": [ - "taskType" - ], - "type": "object", - "properties": { - "deploymentId": { - "description": "The ARM resource ID of either the deployment targeted by this monitor.", + "x-ms-enum": { + "name": "LogValidationLoss", + "modelAsString": true, + "values": [ + { + "value": "Enable", + "description": "Enable compute and log validation metrics." + }, + { + "value": "Disable", + "description": "Disable compute and log validation metrics." + } + ] + }, + "additionalProperties": false + }, + "LogVerbosity": { + "description": "Enum for setting log verbosity.", + "enum": [ + "NotSet", + "Debug", + "Info", + "Warning", + "Error", + "Critical" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "modelId": { - "description": "The ARM resource ID of either the model targeted by this monitor.", + "x-ms-enum": { + "name": "LogVerbosity", + "modelAsString": true, + "values": [ + { + "value": "NotSet", + "description": "No logs emitted." + }, + { + "value": "Debug", + "description": "Debug and above log statements logged." + }, + { + "value": "Info", + "description": "Info and above log statements logged." + }, + { + "value": "Warning", + "description": "Warning and above log statements logged." + }, + { + "value": "Error", + "description": "Error and above log statements logged." + }, + { + "value": "Critical", + "description": "Only critical statements logged." + } + ] + }, + "additionalProperties": false + }, + "MLAssistConfiguration": { + "description": "Labeling MLAssist configuration definition", + "required": [ + "mlAssist" + ], + "type": "object", + "properties": { + "mlAssist": { + "description": "[Required] Indicates whether MLAssist feature is enabled.", + "$ref": "#/definitions/MLAssistConfigurationType", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "discriminator": "mlAssist" + }, + "MLAssistConfigurationDisabled": { + "description": "Labeling MLAssist configuration definition when MLAssist is disabled", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MLAssistConfiguration" + } + ], + "x-ms-discriminator-value": "Disabled", + "additionalProperties": false + }, + "MLAssistConfigurationEnabled": { + "description": "Labeling MLAssist configuration definition when MLAssist is enabled", + "required": [ + "inferencingComputeBinding", + "trainingComputeBinding" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MLAssistConfiguration" + } + ], + "properties": { + "inferencingComputeBinding": { + "description": "[Required] AML compute binding used in inferencing.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "trainingComputeBinding": { + "description": "[Required] AML compute binding used in training.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "x-ms-discriminator-value": "Enabled", + "additionalProperties": false + }, + "MLAssistConfigurationType": { + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "taskType": { - "description": "[Required] The machine learning task type of the model.", - "$ref": "#/definitions/ModelTaskType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "MonitoringThreshold": { - "type": "object", - "properties": { - "value": { - "format": "double", - "description": "The threshold value. If null, the set default is dependent on the metric type.", - "type": "number", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "MonitoringWorkspaceConnection": { - "description": "Monitoring workspace connection definition.", - "type": "object", - "properties": { - "environmentVariables": { - "description": "The properties of a workspace service connection to store as environment variables in the submitted jobs.\r\nKey is workspace connection property path, name is environment variable key.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "secrets": { - "description": "The properties of a workspace service connection to store as secrets in the submitted jobs.\r\nKey is workspace connection property path, name is secret key.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "Mpi": { - "description": "MPI distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "processCountPerInstance": { - "format": "int32", - "description": "Number of processes per MPI node.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Mpi", - "additionalProperties": false - }, - "MultiSelect": { - "description": "Whether multiSelect is enabled", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "MultiSelect", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "NCrossValidations": { - "description": "N-Cross validations value.", - "required": [ - "mode" - ], - "type": "object", - "properties": { - "mode": { - "description": "[Required] Mode for determining N-Cross validations.", - "$ref": "#/definitions/NCrossValidationsMode", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mode" - }, - "NCrossValidationsMode": { - "description": "Determines how N-Cross validations value is determined.", - "enum": [ - "Auto", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "NCrossValidationsMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task." - }, - { - "value": "Custom", - "description": "Use custom N-Cross validations value." - } - ] - }, - "additionalProperties": false - }, - "NlpFixedParameters": { - "description": "Fixed training parameters that won't be swept over during AutoML NLP training.", - "type": "object", - "properties": { - "gradientAccumulationSteps": { - "format": "int32", - "description": "Number of steps to accumulate gradients over before running a backward pass.", - "type": "integer", - "x-nullable": true - }, - "learningRate": { - "format": "float", - "description": "The learning rate for the training procedure.", - "type": "number", - "x-nullable": true - }, - "learningRateScheduler": { - "description": "The type of learning rate schedule to use during the training procedure.", - "default": "None", - "$ref": "#/definitions/NlpLearningRateScheduler" - }, - "modelName": { - "description": "The name of the model to train.", + "x-ms-enum": { + "name": "MLAssistConfigurationType", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "MLFlowAutologgerState": { + "description": "Enum to determine the state of mlflow autologger.", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "x-nullable": true - }, - "numberOfEpochs": { - "format": "int32", - "description": "Number of training epochs.", - "type": "integer", - "x-nullable": true - }, - "trainingBatchSize": { - "format": "int32", - "description": "The batch size for the training procedure.", - "type": "integer", - "x-nullable": true - }, - "validationBatchSize": { - "format": "int32", - "description": "The batch size to be used during evaluation.", - "type": "integer", - "x-nullable": true - }, - "warmupRatio": { - "format": "float", - "description": "The warmup ratio, used alongside LrSchedulerType.", - "type": "number", - "x-nullable": true - }, - "weightDecay": { - "format": "float", - "description": "The weight decay for the training procedure.", - "type": "number", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "NlpLearningRateScheduler": { - "description": "Enum of learning rate schedulers that aligns with those supported by HF", - "enum": [ - "None", - "Linear", - "Cosine", - "CosineWithRestarts", - "Polynomial", - "Constant", - "ConstantWithWarmup" - ], - "type": "string", - "x-ms-enum": { - "name": "NlpLearningRateScheduler", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No learning rate schedule." - }, - { - "value": "Linear", - "description": "Linear warmup and decay." - }, - { - "value": "Cosine", - "description": "Linear warmup then cosine decay." - }, - { - "value": "CosineWithRestarts", - "description": "Linear warmup, cosine decay, then restart to initial LR." - }, - { - "value": "Polynomial", - "description": "Increase linearly then polynomially decay." - }, - { - "value": "Constant", - "description": "Constant learning rate." - }, - { - "value": "ConstantWithWarmup", - "description": "Linear warmup followed by constant value." - } - ] - }, - "additionalProperties": false - }, - "NlpParameterSubspace": { - "description": "Stringified search spaces for each parameter. See below examples.", - "type": "object", - "properties": { - "gradientAccumulationSteps": { - "description": "Number of steps to accumulate gradients over before running a backward pass.", + "x-ms-enum": { + "name": "MLFlowAutologgerState", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "MLFlowModelJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "mlflow_model", + "additionalProperties": false + }, + "MLFlowModelJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "mlflow_model", + "additionalProperties": false + }, + "MLTableData": { + "description": "MLTable data definition", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataVersionBase" + } + ], + "properties": { + "referencedUris": { + "description": "Uris referenced in the MLTable definition (required for lineage)", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "mltable", + "additionalProperties": false + }, + "MLTableJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "mltable", + "additionalProperties": false + }, + "MLTableJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "mltable", + "additionalProperties": false + }, + "ManagedComputeIdentity": { + "description": "Managed compute identity definition.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitorComputeIdentityBase" + } + ], + "properties": { + "identity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "ManagedIdentity", + "additionalProperties": false + }, + "ManagedIdentity": { + "description": "Managed identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "properties": { + "clientId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "objectId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resourceId": { + "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "ManagedOnlineDeployment": { + "description": "Properties specific to a ManagedOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "MaterializationComputeResource": { + "description": "Dto object representing compute resource", + "type": "object", + "properties": { + "instanceType": { + "description": "Specifies the instance type", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "MaterializationSettings": { + "type": "object", + "properties": { + "notification": { + "description": "Specifies the notification details", + "$ref": "#/definitions/NotificationSetting", + "x-nullable": true + }, + "resource": { + "description": "Specifies the compute resource settings", + "$ref": "#/definitions/MaterializationComputeResource", + "x-nullable": true + }, + "schedule": { + "description": "Specifies the schedule details", + "$ref": "#/definitions/RecurrenceTrigger", + "x-nullable": true + }, + "sparkConfiguration": { + "description": "Specifies the spark compute settings", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "storeType": { + "description": "Specifies the stores to which materialization should happen", + "default": "None", + "$ref": "#/definitions/MaterializationStoreType" + } + }, + "additionalProperties": false + }, + "MaterializationStoreType": { + "enum": [ + "None", + "Online", + "Offline", + "OnlineAndOffline" + ], "type": "string", - "example": "choice(1, 2)", - "x-nullable": true - }, - "learningRate": { - "description": "The learning rate for the training procedure.", + "x-ms-enum": { + "name": "MaterializationStoreType", + "modelAsString": true, + "values": [ + { + "value": "None" + }, + { + "value": "Online" + }, + { + "value": "Offline" + }, + { + "value": "OnlineAndOffline" + } + ] + }, + "additionalProperties": false + }, + "MediaType": { + "description": "Media type of data asset.", + "enum": [ + "Image", + "Text" + ], "type": "string", - "example": "uniform(5e-6, 5e-5)", - "x-nullable": true - }, - "learningRateScheduler": { - "description": "The type of learning rate schedule to use during the training procedure.", + "x-ms-enum": { + "name": "MediaType", + "modelAsString": true, + "values": [ + { + "value": "Image" + }, + { + "value": "Text" + } + ] + }, + "additionalProperties": false + }, + "MedianStoppingPolicy": { + "description": "Defines an early termination policy based on running averages of the primary metric of all runs", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "x-ms-discriminator-value": "MedianStopping", + "additionalProperties": false + }, + "ModelConfiguration": { + "description": "Model configuration options.", + "type": "object", + "properties": { + "mode": { + "description": "Input delivery mode for the model.", + "default": "Download", + "$ref": "#/definitions/PackageInputDeliveryMode" + }, + "mountPath": { + "description": "Relative mounting path of the model in the target image.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ModelContainer": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state for the model container.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-client-name": "ModelContainerProperties", + "additionalProperties": false + }, + "ModelContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ModelContainer" + } + }, + "x-ms-client-name": "ModelContainer", + "additionalProperties": false + }, + "ModelContainerResourceArmPaginatedResult": { + "description": "A paginated list of ModelContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ModelContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "additionalProperties": false + }, + "ModelPackageInput": { + "description": "Model package input options.", + "required": [ + "inputType", + "path" + ], + "type": "object", + "properties": { + "inputType": { + "description": "[Required] Type of the input included in the target image.", + "$ref": "#/definitions/PackageInputType" + }, + "mode": { + "description": "Input delivery mode of the input.", + "default": "Copy", + "$ref": "#/definitions/PackageInputDeliveryMode" + }, + "mountPath": { + "description": "Relative mount path of the input in the target image.", + "type": "string", + "x-nullable": true + }, + "path": { + "description": "[Required] Location of the input.", + "$ref": "#/definitions/PackageInputPathBase" + } + }, + "additionalProperties": false + }, + "ModelPerformanceMetricThresholdBase": { + "required": [ + "modelType" + ], + "type": "object", + "properties": { + "modelType": { + "description": "[Required] Specifies the data type of the metric threshold.", + "$ref": "#/definitions/MonitoringModelType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "discriminator": "modelType" + }, + "ModelPerformanceSignal": { + "description": "Model performance signal definition.", + "required": [ + "metricThreshold", + "productionData", + "referenceData" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "dataSegment": { + "description": "The data segment.", + "$ref": "#/definitions/MonitoringDataSegment", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "metricThreshold": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "$ref": "#/definitions/ModelPerformanceMetricThresholdBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "productionData": { + "description": "[Required] The data produced by the production service which drift will be calculated for.", + "type": "array", + "items": { + "description": "Monitoring input data base definition.", + "$ref": "#/definitions/MonitoringInputDataBase" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-ms-identifiers": [] + }, + "referenceData": { + "description": "[Required] The data to calculate drift against.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "ModelPerformance", + "additionalProperties": false + }, + "ModelSize": { + "description": "Image model size.", + "enum": [ + "None", + "Small", + "Medium", + "Large", + "ExtraLarge" + ], "type": "string", - "example": "choice('linear', 'cosine')", - "x-nullable": true - }, - "modelName": { - "description": "The name of the model to train.", + "x-ms-enum": { + "name": "ModelSize", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No value selected." + }, + { + "value": "Small", + "description": "Small size." + }, + { + "value": "Medium", + "description": "Medium size." + }, + { + "value": "Large", + "description": "Large size." + }, + { + "value": "ExtraLarge", + "description": "Extra large size." + } + ] + }, + "additionalProperties": false + }, + "ModelTaskType": { + "description": "Model task type enum.", + "enum": [ + "Classification", + "Regression", + "QuestionAnswering" + ], "type": "string", - "example": "choice('bert-base-cased', 'roberta-base')", - "x-nullable": true - }, - "numberOfEpochs": { - "description": "Number of training epochs.", + "x-ms-enum": { + "name": "ModelTaskType", + "modelAsString": true, + "values": [ + { + "value": "Classification" + }, + { + "value": "Regression" + }, + { + "value": "QuestionAnswering" + } + ] + }, + "additionalProperties": false + }, + "ModelVersion": { + "description": "Model asset version details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], + "properties": { + "flavors": { + "description": "Mapping of model flavors to their properties.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FlavorData", + "x-nullable": true + }, + "x-nullable": true + }, + "intellectualProperty": { + "description": "Intellectual Property details. Used if model is an Intellectual Property.", + "$ref": "#/definitions/IntellectualProperty", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jobName": { + "description": "Name of the training job which produced this model", + "type": "string", + "x-nullable": true + }, + "modelType": { + "description": "The storage format for this entity. Used for NCD.", + "type": "string", + "x-nullable": true + }, + "modelUri": { + "description": "The URI path to the model contents.", + "type": "string", + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the model version.", + "$ref": "#/definitions/AssetProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "stage": { + "description": "Stage in the model lifecycle assigned to this model", + "type": "string", + "x-nullable": true + } + }, + "x-ms-client-name": "ModelVersionProperties", + "additionalProperties": false + }, + "ModelVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/ModelVersion" + } + }, + "x-ms-client-name": "ModelVersion", + "additionalProperties": false + }, + "ModelVersionResourceArmPaginatedResult": { + "description": "A paginated list of ModelVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ModelVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "additionalProperties": false + }, + "MonitorComputeConfigurationBase": { + "description": "Monitor compute configuration base definition.", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "computeType": { + "description": "[Required] Specifies the type of signal to monitor.", + "$ref": "#/definitions/MonitorComputeType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "computeType" + }, + "MonitorComputeIdentityBase": { + "description": "Monitor compute identity base definition.", + "required": [ + "computeIdentityType" + ], + "type": "object", + "properties": { + "computeIdentityType": { + "description": "[Required] Monitor compute identity type enum.", + "$ref": "#/definitions/MonitorComputeIdentityType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "computeIdentityType" + }, + "MonitorComputeIdentityType": { + "description": "Monitor compute identity type enum.", + "enum": [ + "AmlToken", + "ManagedIdentity" + ], "type": "string", - "example": "choice(3, 4)", - "x-nullable": true - }, - "trainingBatchSize": { - "description": "The batch size for the training procedure.", + "x-ms-enum": { + "name": "MonitorComputeIdentityType", + "modelAsString": true, + "values": [ + { + "value": "AmlToken", + "description": "Authenticates through user's AML token." + }, + { + "value": "ManagedIdentity", + "description": "Authenticates through a user-provided managed identity." + } + ] + }, + "additionalProperties": false + }, + "MonitorComputeType": { + "description": "Monitor compute type enum.", + "enum": [ + "ServerlessSpark" + ], "type": "string", - "example": "choice(16, 32)", - "x-nullable": true - }, - "validationBatchSize": { - "description": "The batch size to be used during evaluation.", + "x-ms-enum": { + "name": "MonitorComputeType", + "modelAsString": true, + "values": [ + { + "value": "ServerlessSpark", + "description": "Serverless Spark compute." + } + ] + }, + "additionalProperties": false + }, + "MonitorDefinition": { + "required": [ + "computeConfiguration", + "signals" + ], + "type": "object", + "properties": { + "alertNotificationSetting": { + "description": "The monitor's notification settings.", + "$ref": "#/definitions/MonitoringAlertNotificationSettingsBase", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "computeConfiguration": { + "description": "[Required] The ARM resource ID of the compute resource to run the monitoring job on.", + "$ref": "#/definitions/MonitorComputeConfigurationBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "monitoringTarget": { + "description": "The ARM resource ID of either the model or deployment targeted by this monitor.", + "$ref": "#/definitions/MonitoringTarget", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "signals": { + "description": "[Required] The signals to monitor.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MonitoringSignalBase", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "MonitorServerlessSparkCompute": { + "description": "Monitor serverless spark compute definition.", + "required": [ + "computeIdentity", + "instanceType", + "runtimeVersion" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitorComputeConfigurationBase" + } + ], + "properties": { + "computeIdentity": { + "description": "[Required] The identity scheme leveraged to by the spark jobs running on serverless Spark.", + "$ref": "#/definitions/MonitorComputeIdentityBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "instanceType": { + "description": "[Required] The instance type running the Spark job.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "runtimeVersion": { + "description": "[Required] The Spark runtime version.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "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", - "example": "choice(16, 32)", - "x-nullable": true - }, - "warmupRatio": { - "description": "The warmup ratio, used alongside LrSchedulerType.", + "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": { + "feature": { + "description": "The feature to segment the data on.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "values": { + "description": "Filters for only the specified values of the given segmented feature.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "MonitoringFeatureDataType": { + "enum": [ + "Numerical", + "Categorical" + ], "type": "string", - "example": "uniform(0.01, 0.1)", - "x-nullable": true - }, - "weightDecay": { - "description": "The weight decay for the training procedure.", + "x-ms-enum": { + "name": "MonitoringFeatureDataType", + "modelAsString": true, + "values": [ + { + "value": "Numerical", + "description": "Used for features of numerical data type." + }, + { + "value": "Categorical", + "description": "Used for features of categorical data type." + } + ] + }, + "additionalProperties": false + }, + "MonitoringFeatureFilterBase": { + "required": [ + "filterType" + ], + "type": "object", + "properties": { + "filterType": { + "description": "[Required] Specifies the feature filter to leverage when selecting features to calculate metrics over.", + "$ref": "#/definitions/MonitoringFeatureFilterType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "filterType" + }, + "MonitoringFeatureFilterType": { + "enum": [ + "AllFeatures", + "TopNByAttribution", + "FeatureSubset" + ], "type": "string", - "example": "uniform(0.01, 0.1)", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "NlpSweepSettings": { - "description": "Model sweeping and hyperparameter tuning related settings.", - "required": [ - "samplingAlgorithm" - ], - "type": "object", - "properties": { - "earlyTermination": { - "description": "Type of early termination policy for the sweeping job.", - "$ref": "#/definitions/EarlyTerminationPolicy", - "x-nullable": true - }, - "samplingAlgorithm": { - "description": "[Required] Type of sampling algorithm.", - "$ref": "#/definitions/SamplingAlgorithmType" - } - }, - "additionalProperties": false - }, - "NlpVertical": { - "description": "Abstract class for NLP related AutoML tasks.\r\nNLP - Natural Language Processing.", - "type": "object", - "properties": { - "featurizationSettings": { - "description": "Featurization inputs needed for AutoML job.", - "$ref": "#/definitions/NlpVerticalFeaturizationSettings", - "x-nullable": true - }, - "fixedParameters": { - "description": "Model/training parameters that will remain constant throughout training.", - "$ref": "#/definitions/NlpFixedParameters", - "x-nullable": true - }, - "limitSettings": { - "description": "Execution constraints for AutoMLJob.", - "$ref": "#/definitions/NlpVerticalLimitSettings", - "x-nullable": true - }, - "searchSpace": { - "description": "Search space for sampling different combinations of models and their hyperparameters.", - "type": "array", - "items": { - "$ref": "#/definitions/NlpParameterSubspace" - }, - "x-nullable": true, - "x-ms-identifiers": [] - }, - "sweepSettings": { - "description": "Settings for model sweeping and hyperparameter tuning.", - "$ref": "#/definitions/NlpSweepSettings", - "x-nullable": true - }, - "validationData": { - "description": "Validation data inputs.", - "$ref": "#/definitions/MLTableJobInput", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "NlpVerticalFeaturizationSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/FeaturizationSettings" - } - ], - "additionalProperties": false - }, - "NlpVerticalLimitSettings": { - "description": "Job execution constraints.", - "type": "object", - "properties": { - "maxConcurrentTrials": { - "format": "int32", - "description": "Maximum Concurrent AutoML iterations.", - "default": 1, - "type": "integer" - }, - "maxNodes": { - "format": "int32", - "description": "Maximum nodes to use for the experiment.", - "default": 1, - "type": "integer" - }, - "maxTrials": { - "format": "int32", - "description": "Number of AutoML iterations.", - "default": 1, - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "AutoML job timeout.", - "default": "P7D", - "type": "string" - }, - "trialTimeout": { - "format": "duration", - "description": "Timeout for individual HD trials.", - "type": "string" - } - }, - "additionalProperties": false - }, - "Nodes": { - "description": "Abstract Nodes definition", - "required": [ - "nodesValueType" - ], - "type": "object", - "properties": { - "nodesValueType": { - "description": "[Required] Type of the Nodes value", - "$ref": "#/definitions/NodesValueType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "nodesValueType" - }, - "NodesValueType": { - "description": "The enumerated types for the nodes value", - "enum": [ - "All", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "NodesValueType", - "modelAsString": true, - "values": [ - { - "value": "All" - }, - { - "value": "Custom" - } - ] - }, - "additionalProperties": false - }, - "NoneDatastoreCredentials": { - "description": "Empty/none datastore credentials.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "x-ms-discriminator-value": "None", - "additionalProperties": false - }, - "NotificationSetting": { - "description": "Configuration for notification.", - "type": "object", - "properties": { - "emailOn": { - "description": "Send email notification to user on specified notification type", - "type": "array", - "items": { - "$ref": "#/definitions/EmailNotificationEnableType" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "emails": { - "description": "This is the email recipient list which has a limitation of 499 characters in total concat with comma separator", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "webhooks": { - "description": "Send webhook callback to a service. Key is a user-provided name for the webhook.", - "type": "object", - "additionalProperties": { - "description": "Webhook base", - "$ref": "#/definitions/Webhook", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "NumericalDataDriftMetric": { - "enum": [ - "JensenShannonDistance", - "PopulationStabilityIndex", - "NormalizedWassersteinDistance", - "TwoSampleKolmogorovSmirnovTest" - ], - "type": "string", - "x-ms-enum": { - "name": "NumericalDataDriftMetric", - "modelAsString": true, - "values": [ - { - "value": "JensenShannonDistance", - "description": "The Jensen Shannon Distance (JSD) metric." - }, - { - "value": "PopulationStabilityIndex", - "description": "The Population Stability Index (PSI) metric." - }, - { - "value": "NormalizedWassersteinDistance", - "description": "The Normalized Wasserstein Distance metric." - }, - { - "value": "TwoSampleKolmogorovSmirnovTest", - "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric." - } - ] - }, - "additionalProperties": false - }, - "NumericalDataDriftMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataDriftMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The numerical data drift metric to calculate.", - "$ref": "#/definitions/NumericalDataDriftMetric" - } - }, - "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" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataQualityMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The numerical data quality metric to calculate.", - "$ref": "#/definitions/NumericalDataQualityMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Numerical", - "additionalProperties": false - }, - "NumericalPredictionDriftMetric": { - "enum": [ - "JensenShannonDistance", - "PopulationStabilityIndex", - "NormalizedWassersteinDistance", - "TwoSampleKolmogorovSmirnovTest" - ], - "type": "string", - "x-ms-enum": { - "name": "NumericalPredictionDriftMetric", - "modelAsString": true, - "values": [ - { - "value": "JensenShannonDistance", - "description": "The Jensen Shannon Distance (JSD) metric." - }, - { - "value": "PopulationStabilityIndex", - "description": "The Population Stability Index (PSI) metric." - }, - { - "value": "NormalizedWassersteinDistance", - "description": "The Normalized Wasserstein Distance metric." - }, - { - "value": "TwoSampleKolmogorovSmirnovTest", - "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric." - } - ] - }, - "additionalProperties": false - }, - "NumericalPredictionDriftMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PredictionDriftMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The numerical prediction drift metric to calculate.", - "$ref": "#/definitions/NumericalPredictionDriftMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Numerical", - "additionalProperties": false - }, - "ObjectDetectionPrimaryMetrics": { - "description": "Primary metrics for Image ObjectDetection task.", - "enum": [ - "MeanAveragePrecision" - ], - "type": "string", - "x-ms-enum": { - "name": "ObjectDetectionPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "MeanAveragePrecision", - "description": "Mean Average Precision (MAP) is the average of AP (Average Precision).\nAP is calculated for each class and averaged to get the MAP." - } - ] - }, - "additionalProperties": false - }, - "Objective": { - "description": "Optimization objective.", - "required": [ - "goal", - "primaryMetric" - ], - "type": "object", - "properties": { - "goal": { - "description": "[Required] Defines supported metric goals for hyperparameter tuning", - "$ref": "#/definitions/Goal" - }, - "primaryMetric": { - "description": "[Required] Name of the metric to optimize.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "additionalProperties": false - }, - "OneLakeArtifact": { - "description": "OneLake artifact (data source) configuration.", - "required": [ - "artifactName", - "artifactType" - ], - "type": "object", - "properties": { - "artifactName": { - "description": "[Required] OneLake artifact name", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "MonitoringFeatureFilterType", + "modelAsString": true, + "values": [ + { + "value": "AllFeatures", + "description": "Includes all features." + }, + { + "value": "TopNByAttribution", + "description": "Only includes the top contributing features, measured by feature attribution." + }, + { + "value": "FeatureSubset", + "description": "Includes a user-defined subset of features." + } + ] + }, + "additionalProperties": false + }, + "MonitoringInputDataBase": { + "description": "Monitoring input data base definition.", + "required": [ + "inputDataType", + "jobInputType", + "uri" + ], + "type": "object", + "properties": { + "columns": { + "description": "Mapping of column names to special uses.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "dataContext": { + "description": "The context metadata of the data source.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "inputDataType": { + "description": "[Required] Specifies the type of signal to monitor.", + "$ref": "#/definitions/MonitoringInputDataType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "jobInputType": { + "description": "[Required] Specifies the type of job.", + "$ref": "#/definitions/JobInputType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "uri": { + "description": "[Required] Input Asset URI.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "inputDataType" + }, + "MonitoringInputDataType": { + "description": "Monitoring input data type enum.", + "enum": [ + "Static", + "Trailing", + "Fixed" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "artifactType": { - "description": "[Required] OneLake artifact type", - "$ref": "#/definitions/OneLakeArtifactType" - } - }, - "discriminator": "artifactType" - }, - "OneLakeArtifactType": { - "description": "Enum to determine OneLake artifact type.", - "enum": [ - "LakeHouse" - ], - "type": "string", - "x-ms-enum": { - "name": "OneLakeArtifactType", - "modelAsString": true, - "values": [ - { - "value": "LakeHouse" - } - ] - }, - "additionalProperties": false - }, - "OneLakeDatastore": { - "description": "OneLake (Trident) datastore configuration.", - "required": [ - "artifact", - "oneLakeWorkspaceName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Datastore" - } - ], - "properties": { - "artifact": { - "description": "[Required] OneLake artifact backing the datastore.", - "$ref": "#/definitions/OneLakeArtifact", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "endpoint": { - "description": "OneLake endpoint to use for the datastore.", + "x-ms-enum": { + "name": "MonitoringInputDataType", + "modelAsString": true, + "values": [ + { + "value": "Static", + "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": "Fixed", + "description": "An input data with tabular format which doesn't require preprocessing." + } + ] + }, + "additionalProperties": false + }, + "MonitoringModelType": { + "enum": [ + "Classification", + "Regression" + ], "type": "string", - "example": "data.microsoft.com", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "oneLakeWorkspaceName": { - "description": "[Required] OneLake workspace name.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "MonitoringModelType", + "modelAsString": true, + "values": [ + { + "value": "Classification", + "description": "A model trained for classification tasks." + }, + { + "value": "Regression", + "description": "A model trained for regressions tasks." + } + ] + }, + "additionalProperties": false + }, + "MonitoringNotificationMode": { + "enum": [ + "Disabled", + "Enabled" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "serviceDataAccessAuthIdentity": { - "description": "Indicates which identity to use to authenticate service data access to customer's storage.", - "default": "None", - "$ref": "#/definitions/ServiceDataAccessAuthIdentity", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "OneLake", - "additionalProperties": false - }, - "OnlineDeployment": { - "required": [ - "endpointComputeType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointDeploymentPropertiesBase" - } - ], - "properties": { - "appInsightsEnabled": { - "description": "If true, enables Application Insights logging.", - "default": false, - "type": "boolean" - }, - "dataCollector": { - "description": "The mdc configuration, we disable mdc when it's null.", - "$ref": "#/definitions/DataCollector", - "x-nullable": true - }, - "egressPublicNetworkAccess": { - "description": "If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.", - "default": "Enabled", - "$ref": "#/definitions/EgressPublicNetworkAccessType" - }, - "endpointComputeType": { - "description": "[Required] The compute type of the endpoint.", - "$ref": "#/definitions/EndpointComputeType" - }, - "instanceType": { - "description": "Compute instance type.", + "x-ms-enum": { + "name": "MonitoringNotificationMode", + "modelAsString": true, + "values": [ + { + "value": "Disabled", + "description": "Disabled notifications will not produce emails/metrics leveraged for alerting." + }, + { + "value": "Enabled", + "description": "Enabled notification will produce emails/metrics leveraged for alerting." + } + ] + }, + "additionalProperties": false + }, + "MonitoringSignalBase": { + "required": [ + "signalType" + ], + "type": "object", + "properties": { + "mode": { + "description": "The current notification mode for this signal.", + "default": "Disabled", + "$ref": "#/definitions/MonitoringNotificationMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "signalType": { + "description": "[Required] Specifies the type of signal to monitor.", + "$ref": "#/definitions/MonitoringSignalType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "signalType" + }, + "MonitoringSignalType": { + "enum": [ + "DataDrift", + "PredictionDrift", + "DataQuality", + "FeatureAttributionDrift", + "Custom", + "ModelPerformance", + "GenerationSafetyQuality", + "GenerationTokenStatistics" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "livenessProbe": { - "description": "Liveness probe monitors the health of the container regularly.", - "$ref": "#/definitions/ProbeSettings", - "x-nullable": true - }, - "model": { - "description": "The URI path to the model.", + "x-ms-enum": { + "name": "MonitoringSignalType", + "modelAsString": true, + "values": [ + { + "value": "DataDrift", + "description": "Tracks model input data distribution change, comparing against training data or past production data." + }, + { + "value": "PredictionDrift", + "description": "Tracks prediction result data distribution change, comparing against validation/test label data or past production data." + }, + { + "value": "DataQuality", + "description": "Tracks model input data integrity." + }, + { + "value": "FeatureAttributionDrift", + "description": "Tracks feature importance change in production, comparing against feature importance at training time." + }, + { + "value": "Custom", + "description": "Tracks a custom signal provided by users." + }, + { + "value": "ModelPerformance", + "description": "Tracks model performance based on ground truth data." + }, + { + "value": "GenerationSafetyQuality", + "description": "Tracks the safety and quality of generated content." + }, + { + "value": "GenerationTokenStatistics", + "description": "Tracks the token usage of generative endpoints." + } + ] + }, + "additionalProperties": false + }, + "MonitoringTarget": { + "description": "Monitoring target definition.", + "required": [ + "taskType" + ], + "type": "object", + "properties": { + "deploymentId": { + "description": "The ARM resource ID of either the deployment targeted by this monitor.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "modelId": { + "description": "The ARM resource ID of either the model targeted by this monitor.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "taskType": { + "description": "[Required] The machine learning task type of the model.", + "$ref": "#/definitions/ModelTaskType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "MonitoringThreshold": { + "type": "object", + "properties": { + "value": { + "format": "double", + "description": "The threshold value. If null, the set default is dependent on the metric type.", + "type": "number", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "MonitoringWorkspaceConnection": { + "description": "Monitoring workspace connection definition.", + "type": "object", + "properties": { + "environmentVariables": { + "description": "The properties of a workspace service connection to store as environment variables in the submitted jobs.\r\nKey is workspace connection property path, name is environment variable key.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "secrets": { + "description": "The properties of a workspace service connection to store as secrets in the submitted jobs.\r\nKey is workspace connection property path, name is secret key.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "Mpi": { + "description": "MPI distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCountPerInstance": { + "format": "int32", + "description": "Number of processes per MPI node.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Mpi", + "additionalProperties": false + }, + "MultiSelect": { + "description": "Whether multiSelect is enabled", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "x-nullable": true - }, - "modelMountPath": { - "description": "The path to mount the model in custom container.", + "x-ms-enum": { + "name": "MultiSelect", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "NCrossValidations": { + "description": "N-Cross validations value.", + "required": [ + "mode" + ], + "type": "object", + "properties": { + "mode": { + "description": "[Required] Mode for determining N-Cross validations.", + "$ref": "#/definitions/NCrossValidationsMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mode" + }, + "NCrossValidationsMode": { + "description": "Determines how N-Cross validations value is determined.", + "enum": [ + "Auto", + "Custom" + ], "type": "string", - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "readinessProbe": { - "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/ProbeSettings", - "x-nullable": true - }, - "requestSettings": { - "description": "Request settings for the deployment.", - "$ref": "#/definitions/OnlineRequestSettings", - "x-nullable": true - }, - "scaleSettings": { - "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.", - "$ref": "#/definitions/OnlineScaleSettings", - "x-nullable": true - } - }, - "discriminator": "endpointComputeType", - "x-ms-client-name": "OnlineDeploymentProperties" - }, - "OnlineDeploymentTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "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" - }, - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/OnlineDeployment" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" - } - }, - "x-ms-client-name": "OnlineDeployment", - "additionalProperties": false - }, - "OnlineDeploymentTrackedResourceArmPaginatedResult": { - "description": "A paginated list of OnlineDeployment entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of OnlineDeployment objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type OnlineDeployment.", - "type": "array", - "items": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - } - }, - "additionalProperties": false - }, - "OnlineEndpoint": { - "description": "Online endpoint configuration", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EndpointPropertiesBase" - } - ], - "properties": { - "compute": { - "description": "ARM resource ID of the compute if it exists.\r\noptional", + "x-ms-enum": { + "name": "NCrossValidationsMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Determine N-Cross validations value automatically. Supported only for 'Forecasting' AutoML task." + }, + { + "value": "Custom", + "description": "Use custom N-Cross validations value." + } + ] + }, + "additionalProperties": false + }, + "NlpFixedParameters": { + "description": "Fixed training parameters that won't be swept over during AutoML NLP training.", + "type": "object", + "properties": { + "gradientAccumulationSteps": { + "format": "int32", + "description": "Number of steps to accumulate gradients over before running a backward pass.", + "type": "integer", + "x-nullable": true + }, + "learningRate": { + "format": "float", + "description": "The learning rate for the training procedure.", + "type": "number", + "x-nullable": true + }, + "learningRateScheduler": { + "description": "The type of learning rate schedule to use during the training procedure.", + "default": "None", + "$ref": "#/definitions/NlpLearningRateScheduler" + }, + "modelName": { + "description": "The name of the model to train.", + "type": "string", + "x-nullable": true + }, + "numberOfEpochs": { + "format": "int32", + "description": "Number of training epochs.", + "type": "integer", + "x-nullable": true + }, + "trainingBatchSize": { + "format": "int32", + "description": "The batch size for the training procedure.", + "type": "integer", + "x-nullable": true + }, + "validationBatchSize": { + "format": "int32", + "description": "The batch size to be used during evaluation.", + "type": "integer", + "x-nullable": true + }, + "warmupRatio": { + "format": "float", + "description": "The warmup ratio, used alongside LrSchedulerType.", + "type": "number", + "x-nullable": true + }, + "weightDecay": { + "format": "float", + "description": "The weight decay for the training procedure.", + "type": "number", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "NlpLearningRateScheduler": { + "description": "Enum of learning rate schedulers that aligns with those supported by HF", + "enum": [ + "None", + "Linear", + "Cosine", + "CosineWithRestarts", + "Polynomial", + "Constant", + "ConstantWithWarmup" + ], "type": "string", - "x-nullable": true - }, - "mirrorTraffic": { - "description": "Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "x-nullable": true - }, - "provisioningState": { - "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "publicNetworkAccess": { - "description": "Set to \"Enabled\" for endpoints that should allow public access when Private Link is enabled.", - "default": "Enabled", - "$ref": "#/definitions/PublicNetworkAccessType" - }, - "traffic": { - "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - }, - "x-nullable": true - } - }, - "x-ms-client-name": "OnlineEndpointProperties", - "additionalProperties": false - }, - "OnlineEndpointTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "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" - }, - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/OnlineEndpoint" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" - } - }, - "x-ms-client-name": "OnlineEndpoint", - "additionalProperties": false - }, - "OnlineEndpointTrackedResourceArmPaginatedResult": { - "description": "A paginated list of OnlineEndpoint entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of OnlineEndpoint objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type OnlineEndpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - } - }, - "additionalProperties": false - }, - "OnlineInferenceConfiguration": { - "description": "Online inference configuration options.", - "type": "object", - "properties": { - "configurations": { - "description": "Additional configurations", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "entryScript": { - "description": "Entry script or command to invoke.", + "x-ms-enum": { + "name": "NlpLearningRateScheduler", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No learning rate schedule." + }, + { + "value": "Linear", + "description": "Linear warmup and decay." + }, + { + "value": "Cosine", + "description": "Linear warmup then cosine decay." + }, + { + "value": "CosineWithRestarts", + "description": "Linear warmup, cosine decay, then restart to initial LR." + }, + { + "value": "Polynomial", + "description": "Increase linearly then polynomially decay." + }, + { + "value": "Constant", + "description": "Constant learning rate." + }, + { + "value": "ConstantWithWarmup", + "description": "Linear warmup followed by constant value." + } + ] + }, + "additionalProperties": false + }, + "NlpParameterSubspace": { + "description": "Stringified search spaces for each parameter. See below examples.", + "type": "object", + "properties": { + "gradientAccumulationSteps": { + "description": "Number of steps to accumulate gradients over before running a backward pass.", + "type": "string", + "example": "choice(1, 2)", + "x-nullable": true + }, + "learningRate": { + "description": "The learning rate for the training procedure.", + "type": "string", + "example": "uniform(5e-6, 5e-5)", + "x-nullable": true + }, + "learningRateScheduler": { + "description": "The type of learning rate schedule to use during the training procedure.", + "type": "string", + "example": "choice('linear', 'cosine')", + "x-nullable": true + }, + "modelName": { + "description": "The name of the model to train.", + "type": "string", + "example": "choice('bert-base-cased', 'roberta-base')", + "x-nullable": true + }, + "numberOfEpochs": { + "description": "Number of training epochs.", + "type": "string", + "example": "choice(3, 4)", + "x-nullable": true + }, + "trainingBatchSize": { + "description": "The batch size for the training procedure.", + "type": "string", + "example": "choice(16, 32)", + "x-nullable": true + }, + "validationBatchSize": { + "description": "The batch size to be used during evaluation.", + "type": "string", + "example": "choice(16, 32)", + "x-nullable": true + }, + "warmupRatio": { + "description": "The warmup ratio, used alongside LrSchedulerType.", + "type": "string", + "example": "uniform(0.01, 0.1)", + "x-nullable": true + }, + "weightDecay": { + "description": "The weight decay for the training procedure.", + "type": "string", + "example": "uniform(0.01, 0.1)", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "NlpSweepSettings": { + "description": "Model sweeping and hyperparameter tuning related settings.", + "required": [ + "samplingAlgorithm" + ], + "type": "object", + "properties": { + "earlyTermination": { + "description": "Type of early termination policy for the sweeping job.", + "$ref": "#/definitions/EarlyTerminationPolicy", + "x-nullable": true + }, + "samplingAlgorithm": { + "description": "[Required] Type of sampling algorithm.", + "$ref": "#/definitions/SamplingAlgorithmType" + } + }, + "additionalProperties": false + }, + "NlpVertical": { + "description": "Abstract class for NLP related AutoML tasks.\r\nNLP - Natural Language Processing.", + "type": "object", + "properties": { + "featurizationSettings": { + "description": "Featurization inputs needed for AutoML job.", + "$ref": "#/definitions/NlpVerticalFeaturizationSettings", + "x-nullable": true + }, + "fixedParameters": { + "description": "Model/training parameters that will remain constant throughout training.", + "$ref": "#/definitions/NlpFixedParameters", + "x-nullable": true + }, + "limitSettings": { + "description": "Execution constraints for AutoMLJob.", + "$ref": "#/definitions/NlpVerticalLimitSettings", + "x-nullable": true + }, + "searchSpace": { + "description": "Search space for sampling different combinations of models and their hyperparameters.", + "type": "array", + "items": { + "$ref": "#/definitions/NlpParameterSubspace" + }, + "x-nullable": true, + "x-ms-identifiers": [] + }, + "sweepSettings": { + "description": "Settings for model sweeping and hyperparameter tuning.", + "$ref": "#/definitions/NlpSweepSettings", + "x-nullable": true + }, + "validationData": { + "description": "Validation data inputs.", + "$ref": "#/definitions/MLTableJobInput", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "NlpVerticalFeaturizationSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FeaturizationSettings" + } + ], + "additionalProperties": false + }, + "NlpVerticalLimitSettings": { + "description": "Job execution constraints.", + "type": "object", + "properties": { + "maxConcurrentTrials": { + "format": "int32", + "description": "Maximum Concurrent AutoML iterations.", + "default": 1, + "type": "integer" + }, + "maxNodes": { + "format": "int32", + "description": "Maximum nodes to use for the experiment.", + "default": 1, + "type": "integer" + }, + "maxTrials": { + "format": "int32", + "description": "Number of AutoML iterations.", + "default": 1, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "AutoML job timeout.", + "default": "P7D", + "type": "string" + }, + "trialTimeout": { + "format": "duration", + "description": "Timeout for individual HD trials.", + "type": "string" + } + }, + "additionalProperties": false + }, + "Nodes": { + "description": "Abstract Nodes definition", + "required": [ + "nodesValueType" + ], + "type": "object", + "properties": { + "nodesValueType": { + "description": "[Required] Type of the Nodes value", + "$ref": "#/definitions/NodesValueType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "nodesValueType" + }, + "NodesValueType": { + "description": "The enumerated types for the nodes value", + "enum": [ + "All", + "Custom" + ], "type": "string", - "x-nullable": true - }, - "livenessRoute": { - "description": "The route to check the liveness of the inference server container.", - "$ref": "#/definitions/Route", - "x-nullable": true - }, - "readinessRoute": { - "description": "The route to check the readiness of the inference server container.", - "$ref": "#/definitions/Route", - "x-nullable": true - }, - "scoringRoute": { - "description": "The port to send the scoring requests to, within the inference server container.", - "$ref": "#/definitions/Route", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "OnlineRequestSettings": { - "description": "Online deployment scoring requests configuration.", - "type": "object", - "properties": { - "maxConcurrentRequestsPerInstance": { - "format": "int32", - "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", - "default": 1, - "type": "integer" - }, - "maxQueueWait": { - "format": "duration", - "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", - "default": "PT0.5S", - "type": "string" - }, - "requestTimeout": { - "format": "duration", - "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", - "default": "PT5S", - "type": "string" - } - }, - "additionalProperties": false - }, - "OnlineScaleSettings": { - "description": "Online deployment scaling configuration.", - "required": [ - "scaleType" - ], - "type": "object", - "properties": { - "scaleType": { - "description": "[Required] Type of deployment scaling algorithm", - "$ref": "#/definitions/ScaleType" - } - }, - "discriminator": "scaleType" - }, - "OperatingSystemType": { - "description": "The type of operating system.", - "enum": [ - "Linux", - "Windows" - ], - "type": "string", - "x-ms-enum": { - "name": "OperatingSystemType", - "modelAsString": true, - "values": [ - { - "value": "Linux" - }, - { - "value": "Windows" - } - ] - }, - "additionalProperties": false - }, - "OrderString": { - "enum": [ - "CreatedAtDesc", - "CreatedAtAsc", - "UpdatedAtDesc", - "UpdatedAtAsc" - ], - "type": "string", - "x-ms-enum": { - "name": "OrderString", - "modelAsString": true, - "values": [ - { - "value": "CreatedAtDesc" - }, - { - "value": "CreatedAtAsc" - }, - { - "value": "UpdatedAtDesc" - }, - { - "value": "UpdatedAtAsc" - } - ] - }, - "additionalProperties": false - }, - "OutputDeliveryMode": { - "description": "Output data delivery mode enums.", - "enum": [ - "ReadWriteMount", - "Upload", - "Direct" - ], - "type": "string", - "x-ms-enum": { - "name": "OutputDeliveryMode", - "modelAsString": true, - "values": [ - { - "value": "ReadWriteMount" - }, - { - "value": "Upload" - }, - { - "value": "Direct" - } - ] - }, - "additionalProperties": false - }, - "OutputPathAssetReference": { - "description": "Reference to an asset via its path in a job output.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "jobId": { - "description": "ARM resource ID of the job.", + "x-ms-enum": { + "name": "NodesValueType", + "modelAsString": true, + "values": [ + { + "value": "All" + }, + { + "value": "Custom" + } + ] + }, + "additionalProperties": false + }, + "NoneDatastoreCredentials": { + "description": "Empty/none datastore credentials.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "x-ms-discriminator-value": "None", + "additionalProperties": false + }, + "NotificationSetting": { + "description": "Configuration for notification.", + "type": "object", + "properties": { + "emailOn": { + "description": "Send email notification to user on specified notification type", + "type": "array", + "items": { + "$ref": "#/definitions/EmailNotificationEnableType" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "emails": { + "description": "This is the email recipient list which has a limitation of 499 characters in total concat with comma separator", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "webhooks": { + "description": "Send webhook callback to a service. Key is a user-provided name for the webhook.", + "type": "object", + "additionalProperties": { + "description": "Webhook base", + "$ref": "#/definitions/Webhook", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "NumericalDataDriftMetric": { + "enum": [ + "JensenShannonDistance", + "PopulationStabilityIndex", + "NormalizedWassersteinDistance", + "TwoSampleKolmogorovSmirnovTest" + ], "type": "string", - "x-nullable": true - }, - "path": { - "description": "The path of the file/directory in the job output.", + "x-ms-enum": { + "name": "NumericalDataDriftMetric", + "modelAsString": true, + "values": [ + { + "value": "JensenShannonDistance", + "description": "The Jensen Shannon Distance (JSD) metric." + }, + { + "value": "PopulationStabilityIndex", + "description": "The Population Stability Index (PSI) metric." + }, + { + "value": "NormalizedWassersteinDistance", + "description": "The Normalized Wasserstein Distance metric." + }, + { + "value": "TwoSampleKolmogorovSmirnovTest", + "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric." + } + ] + }, + "additionalProperties": false + }, + "NumericalDataDriftMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataDriftMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The numerical data drift metric to calculate.", + "$ref": "#/definitions/NumericalDataDriftMetric" + } + }, + "x-ms-discriminator-value": "Numerical", + "additionalProperties": false + }, + "NumericalDataQualityMetric": { + "enum": [ + "NullValueRate", + "DataTypeErrorRate", + "OutOfBoundsRate" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "OutputPath", - "additionalProperties": false - }, - "PackageBuildState": { - "description": "Package build state returned in package response.", - "enum": [ - "NotStarted", - "Running", - "Succeeded", - "Failed" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageBuildState", - "modelAsString": true, - "values": [ - { - "value": "NotStarted" - }, - { - "value": "Running" - }, - { - "value": "Succeeded" - }, - { - "value": "Failed" - } - ] - }, - "additionalProperties": false - }, - "PackageInputDeliveryMode": { - "description": "Mounting type of the model or the inputs", - "enum": [ - "Copy", - "Download" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageInputDeliveryMode", - "modelAsString": true, - "values": [ - { - "value": "Copy" - }, - { - "value": "Download" - } - ] - }, - "additionalProperties": false - }, - "PackageInputPathBase": { - "required": [ - "inputPathType" - ], - "type": "object", - "properties": { - "inputPathType": { - "description": "[Required] Input path type for package inputs.", - "$ref": "#/definitions/InputPathType" - } - }, - "discriminator": "inputPathType" - }, - "PackageInputPathId": { - "description": "Package input path specified with a resource id.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PackageInputPathBase" - } - ], - "properties": { - "resourceId": { - "description": "Input resource id.", + "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" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataQualityMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The numerical data quality metric to calculate.", + "$ref": "#/definitions/NumericalDataQualityMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Numerical", + "additionalProperties": false + }, + "NumericalPredictionDriftMetric": { + "enum": [ + "JensenShannonDistance", + "PopulationStabilityIndex", + "NormalizedWassersteinDistance", + "TwoSampleKolmogorovSmirnovTest" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "PathId", - "additionalProperties": false - }, - "PackageInputPathUrl": { - "description": "Package input path specified as an url.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PackageInputPathBase" - } - ], - "properties": { - "url": { - "description": "Input path url.", + "x-ms-enum": { + "name": "NumericalPredictionDriftMetric", + "modelAsString": true, + "values": [ + { + "value": "JensenShannonDistance", + "description": "The Jensen Shannon Distance (JSD) metric." + }, + { + "value": "PopulationStabilityIndex", + "description": "The Population Stability Index (PSI) metric." + }, + { + "value": "NormalizedWassersteinDistance", + "description": "The Normalized Wasserstein Distance metric." + }, + { + "value": "TwoSampleKolmogorovSmirnovTest", + "description": "The Two Sample Kolmogorov-Smirnov Test (two-sample K–S) metric." + } + ] + }, + "additionalProperties": false + }, + "NumericalPredictionDriftMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PredictionDriftMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The numerical prediction drift metric to calculate.", + "$ref": "#/definitions/NumericalPredictionDriftMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Numerical", + "additionalProperties": false + }, + "ObjectDetectionPrimaryMetrics": { + "description": "Primary metrics for Image ObjectDetection task.", + "enum": [ + "MeanAveragePrecision" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Url", - "additionalProperties": false - }, - "PackageInputPathVersion": { - "description": "Package input path specified with name and version.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PackageInputPathBase" - } - ], - "properties": { - "resourceName": { - "description": "Input resource name.", + "x-ms-enum": { + "name": "ObjectDetectionPrimaryMetrics", + "modelAsString": true, + "values": [ + { + "value": "MeanAveragePrecision", + "description": "Mean Average Precision (MAP) is the average of AP (Average Precision).\nAP is calculated for each class and averaged to get the MAP." + } + ] + }, + "additionalProperties": false + }, + "Objective": { + "description": "Optimization objective.", + "required": [ + "goal", + "primaryMetric" + ], + "type": "object", + "properties": { + "goal": { + "description": "[Required] Defines supported metric goals for hyperparameter tuning", + "$ref": "#/definitions/Goal" + }, + "primaryMetric": { + "description": "[Required] Name of the metric to optimize.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "additionalProperties": false + }, + "OneLakeArtifact": { + "description": "OneLake artifact (data source) configuration.", + "required": [ + "artifactName", + "artifactType" + ], + "type": "object", + "properties": { + "artifactName": { + "description": "[Required] OneLake artifact name", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "artifactType": { + "description": "[Required] OneLake artifact type", + "$ref": "#/definitions/OneLakeArtifactType" + } + }, + "discriminator": "artifactType" + }, + "OneLakeArtifactType": { + "description": "Enum to determine OneLake artifact type.", + "enum": [ + "LakeHouse" + ], "type": "string", - "x-nullable": true - }, - "resourceVersion": { - "description": "Input resource version.", + "x-ms-enum": { + "name": "OneLakeArtifactType", + "modelAsString": true, + "values": [ + { + "value": "LakeHouse" + } + ] + }, + "additionalProperties": false + }, + "OneLakeDatastore": { + "description": "OneLake (Trident) datastore configuration.", + "required": [ + "artifact", + "oneLakeWorkspaceName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "artifact": { + "description": "[Required] OneLake artifact backing the datastore.", + "$ref": "#/definitions/OneLakeArtifact", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "OneLake endpoint to use for the datastore.", + "type": "string", + "example": "data.microsoft.com", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "oneLakeWorkspaceName": { + "description": "[Required] OneLake workspace name.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "OneLake", + "additionalProperties": false + }, + "OnlineDeployment": { + "required": [ + "endpointComputeType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointDeploymentPropertiesBase" + } + ], + "properties": { + "appInsightsEnabled": { + "description": "If true, enables Application Insights logging.", + "default": false, + "type": "boolean" + }, + "dataCollector": { + "description": "The mdc configuration, we disable mdc when it's null.", + "$ref": "#/definitions/DataCollector", + "x-nullable": true + }, + "egressPublicNetworkAccess": { + "description": "If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.", + "default": "Enabled", + "$ref": "#/definitions/EgressPublicNetworkAccessType" + }, + "endpointComputeType": { + "description": "[Required] The compute type of the endpoint.", + "$ref": "#/definitions/EndpointComputeType" + }, + "instanceType": { + "description": "Compute instance type.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "livenessProbe": { + "description": "Liveness probe monitors the health of the container regularly.", + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true + }, + "model": { + "description": "The URI path to the model.", + "type": "string", + "x-nullable": true + }, + "modelMountPath": { + "description": "The path to mount the model in custom container.", + "type": "string", + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the endpoint deployment.", + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "readinessProbe": { + "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true + }, + "requestSettings": { + "description": "Request settings for the deployment.", + "$ref": "#/definitions/OnlineRequestSettings", + "x-nullable": true + }, + "scaleSettings": { + "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.", + "$ref": "#/definitions/OnlineScaleSettings", + "x-nullable": true + } + }, + "discriminator": "endpointComputeType", + "x-ms-client-name": "OnlineDeploymentProperties" + }, + "OnlineDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "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" + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/OnlineDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + } + }, + "x-ms-client-name": "OnlineDeployment", + "additionalProperties": false + }, + "OnlineDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of OnlineDeployment objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineEndpoint": { + "description": "Online endpoint configuration", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointPropertiesBase" + } + ], + "properties": { + "compute": { + "description": "ARM resource ID of the compute if it exists.\r\noptional", + "type": "string", + "x-nullable": true + }, + "mirrorTraffic": { + "description": "Percentage of traffic to be mirrored to each deployment without using returned scoring. Traffic values need to sum to utmost 50.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "x-nullable": true + }, + "provisioningState": { + "description": "Provisioning state for the endpoint.", + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "publicNetworkAccess": { + "description": "Set to \"Enabled\" for endpoints that should allow public access when Private Link is enabled.", + "default": "Enabled", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "traffic": { + "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + }, + "x-nullable": true + } + }, + "x-ms-client-name": "OnlineEndpointProperties", + "additionalProperties": false + }, + "OnlineEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "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" + }, + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/OnlineEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + } + }, + "x-ms-client-name": "OnlineEndpoint", + "additionalProperties": false + }, + "OnlineEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of OnlineEndpoint objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineInferenceConfiguration": { + "description": "Online inference configuration options.", + "type": "object", + "properties": { + "configurations": { + "description": "Additional configurations", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "entryScript": { + "description": "Entry script or command to invoke.", + "type": "string", + "x-nullable": true + }, + "livenessRoute": { + "description": "The route to check the liveness of the inference server container.", + "$ref": "#/definitions/Route", + "x-nullable": true + }, + "readinessRoute": { + "description": "The route to check the readiness of the inference server container.", + "$ref": "#/definitions/Route", + "x-nullable": true + }, + "scoringRoute": { + "description": "The port to send the scoring requests to, within the inference server container.", + "$ref": "#/definitions/Route", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "OnlineRequestSettings": { + "description": "Online deployment scoring requests configuration.", + "type": "object", + "properties": { + "maxConcurrentRequestsPerInstance": { + "format": "int32", + "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", + "default": 1, + "type": "integer" + }, + "maxQueueWait": { + "format": "duration", + "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", + "default": "PT0.5S", + "type": "string" + }, + "requestTimeout": { + "format": "duration", + "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", + "default": "PT5S", + "type": "string" + } + }, + "additionalProperties": false + }, + "OnlineScaleSettings": { + "description": "Online deployment scaling configuration.", + "required": [ + "scaleType" + ], + "type": "object", + "properties": { + "scaleType": { + "description": "[Required] Type of deployment scaling algorithm", + "$ref": "#/definitions/ScaleType" + } + }, + "discriminator": "scaleType" + }, + "OperatingSystemType": { + "description": "The type of operating system.", + "enum": [ + "Linux", + "Windows" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "PathVersion", - "additionalProperties": false - }, - "PackageInputType": { - "description": "Type of the inputs.", - "enum": [ - "UriFile", - "UriFolder" - ], - "type": "string", - "x-ms-enum": { - "name": "PackageInputType", - "modelAsString": true, - "values": [ - { - "value": "UriFile" - }, - { - "value": "UriFolder" - } - ] - }, - "additionalProperties": false - }, - "PackageRequest": { - "description": "Model package operation request properties.", - "required": [ - "inferencingServer", - "targetEnvironmentId" - ], - "type": "object", - "properties": { - "baseEnvironmentSource": { - "description": "Base environment to start with.", - "$ref": "#/definitions/BaseEnvironmentSource", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "environmentVariables": { - "description": "Collection of environment variables.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "inferencingServer": { - "description": "[Required] Inferencing server configurations.", - "$ref": "#/definitions/InferencingServer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "inputs": { - "description": "Collection of inputs.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelPackageInput" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true, - "x-ms-identifiers": [] - }, - "modelConfiguration": { - "description": "Model configuration including the mount mode.", - "$ref": "#/definitions/ModelConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "targetEnvironmentId": { - "description": "[Required] Arm ID of the target environment to be created by package operation.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "OperatingSystemType", + "modelAsString": true, + "values": [ + { + "value": "Linux" + }, + { + "value": "Windows" + } + ] + }, + "additionalProperties": false + }, + "OrderString": { + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "PackageResponse": { - "description": "Package response returned after async package operation completes successfully.", - "type": "object", - "properties": { - "baseEnvironmentSource": { - "description": "Base environment to start with.", - "$ref": "#/definitions/BaseEnvironmentSource", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "buildId": { - "description": "Build id of the image build operation.", + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true, + "values": [ + { + "value": "CreatedAtDesc" + }, + { + "value": "CreatedAtAsc" + }, + { + "value": "UpdatedAtDesc" + }, + { + "value": "UpdatedAtAsc" + } + ] + }, + "additionalProperties": false + }, + "OutputDeliveryMode": { + "description": "Output data delivery mode enums.", + "enum": [ + "ReadWriteMount", + "Upload", + "Direct" + ], "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "buildState": { - "description": "Build state of the image build operation.", - "$ref": "#/definitions/PackageBuildState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "environmentVariables": { - "description": "Collection of environment variables.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "inferencingServer": { - "description": "Inferencing server configurations.", - "$ref": "#/definitions/InferencingServer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "inputs": { - "description": "Collection of inputs.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelPackageInput" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true, - "x-ms-identifiers": [] - }, - "logUrl": { - "description": "Log url of the image build operation.", + "x-ms-enum": { + "name": "OutputDeliveryMode", + "modelAsString": true, + "values": [ + { + "value": "ReadWriteMount" + }, + { + "value": "Upload" + }, + { + "value": "Direct" + } + ] + }, + "additionalProperties": false + }, + "OutputPathAssetReference": { + "description": "Reference to an asset via its path in a job output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "jobId": { + "description": "ARM resource ID of the job.", + "type": "string", + "x-nullable": true + }, + "path": { + "description": "The path of the file/directory in the job output.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "OutputPath", + "additionalProperties": false + }, + "PackageBuildState": { + "description": "Package build state returned in package response.", + "enum": [ + "NotStarted", + "Running", + "Succeeded", + "Failed" + ], "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "modelConfiguration": { - "description": "Model configuration including the mount mode.", - "$ref": "#/definitions/ModelConfiguration", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "targetEnvironmentId": { - "description": "Asset ID of the target environment created by package operation.", + "x-ms-enum": { + "name": "PackageBuildState", + "modelAsString": true, + "values": [ + { + "value": "NotStarted" + }, + { + "value": "Running" + }, + { + "value": "Succeeded" + }, + { + "value": "Failed" + } + ] + }, + "additionalProperties": false + }, + "PackageInputDeliveryMode": { + "description": "Mounting type of the model or the inputs", + "enum": [ + "Copy", + "Download" + ], "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialBatchDeployment": { - "description": "Mutable batch inference settings per deployment.", - "type": "object", - "properties": { - "description": { - "description": "Description of the endpoint deployment.", + "x-ms-enum": { + "name": "PackageInputDeliveryMode", + "modelAsString": true, + "values": [ + { + "value": "Copy" + }, + { + "value": "Download" + } + ] + }, + "additionalProperties": false + }, + "PackageInputPathBase": { + "required": [ + "inputPathType" + ], + "type": "object", + "properties": { + "inputPathType": { + "description": "[Required] Input path type for package inputs.", + "$ref": "#/definitions/InputPathType" + } + }, + "discriminator": "inputPathType" + }, + "PackageInputPathId": { + "description": "Package input path specified with a resource id.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PackageInputPathBase" + } + ], + "properties": { + "resourceId": { + "description": "Input resource id.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "PathId", + "additionalProperties": false + }, + "PackageInputPathUrl": { + "description": "Package input path specified as an url.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PackageInputPathBase" + } + ], + "properties": { + "url": { + "description": "Input path url.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Url", + "additionalProperties": false + }, + "PackageInputPathVersion": { + "description": "Package input path specified with name and version.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PackageInputPathBase" + } + ], + "properties": { + "resourceName": { + "description": "Input resource name.", + "type": "string", + "x-nullable": true + }, + "resourceVersion": { + "description": "Input resource version.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "PathVersion", + "additionalProperties": false + }, + "PackageInputType": { + "description": "Type of the inputs.", + "enum": [ + "UriFile", + "UriFolder" + ], "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchDeployment" - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - } - }, - "additionalProperties": false - }, - "PartialJobBase": { - "description": "Mutable base definition for a job.", - "type": "object", - "properties": { - "notificationSetting": { - "description": "Mutable notification setting for the job", - "$ref": "#/definitions/PartialNotificationSetting", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialJobBasePartialResource": { - "description": "Azure Resource Manager resource envelope strictly used in update requests.", - "type": "object", - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialJobBase" - } - }, - "additionalProperties": false - }, - "PartialManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "type": "object", - "properties": { - "type": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentityType" - }, - "userAssignedIdentities": { - "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.", + "x-ms-enum": { + "name": "PackageInputType", + "modelAsString": true, + "values": [ + { + "value": "UriFile" + }, + { + "value": "UriFolder" + } + ] + }, + "additionalProperties": false + }, + "PackageRequest": { + "description": "Model package operation request properties.", + "required": [ + "inferencingServer", + "targetEnvironmentId" + ], "type": "object", - "additionalProperties": { - "$ref": "#/definitions/PartialUserAssignedIdentity" - } - } - }, - "additionalProperties": false - }, - "PartialMinimalTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - } - }, - "additionalProperties": false - }, - "PartialMinimalTrackedResourceWithIdentity": { - "description": "Strictly used in update requests.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialMinimalTrackedResource" - } - ], - "properties": { - "identity": { + "properties": { + "baseEnvironmentSource": { + "description": "Base environment to start with.", + "$ref": "#/definitions/BaseEnvironmentSource", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "environmentVariables": { + "description": "Collection of environment variables.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "inferencingServer": { + "description": "[Required] Inferencing server configurations.", + "$ref": "#/definitions/InferencingServer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputs": { + "description": "Collection of inputs.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelPackageInput" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true, + "x-ms-identifiers": [] + }, + "modelConfiguration": { + "description": "Model configuration including the mount mode.", + "$ref": "#/definitions/ModelConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "targetEnvironmentId": { + "description": "[Required] Arm ID of the target environment to be created by package operation.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "PackageResponse": { + "description": "Package response returned after async package operation completes successfully.", + "type": "object", + "properties": { + "baseEnvironmentSource": { + "description": "Base environment to start with.", + "$ref": "#/definitions/BaseEnvironmentSource", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "buildId": { + "description": "Build id of the image build operation.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "buildState": { + "description": "Build state of the image build operation.", + "$ref": "#/definitions/PackageBuildState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "environmentVariables": { + "description": "Collection of environment variables.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "inferencingServer": { + "description": "Inferencing server configurations.", + "$ref": "#/definitions/InferencingServer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "inputs": { + "description": "Collection of inputs.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelPackageInput" + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true, + "x-ms-identifiers": [] + }, + "logUrl": { + "description": "Log url of the image build operation.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "modelConfiguration": { + "description": "Model configuration including the mount mode.", + "$ref": "#/definitions/ModelConfiguration", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "targetEnvironmentId": { + "description": "Asset ID of the target environment created by package operation.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialBatchDeployment": { + "description": "Mutable batch inference settings per deployment.", + "type": "object", + "properties": { + "description": { + "description": "Description of the endpoint deployment.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialBatchDeployment" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } + } + }, + "additionalProperties": false + }, + "PartialJobBase": { + "description": "Mutable base definition for a job.", + "type": "object", + "properties": { + "notificationSetting": { + "description": "Mutable notification setting for the job", + "$ref": "#/definitions/PartialNotificationSetting", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialJobBasePartialResource": { + "description": "Azure Resource Manager resource envelope strictly used in update requests.", + "type": "object", + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialJobBase" + } + }, + "additionalProperties": false + }, + "PartialManagedServiceIdentity": { "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "#/definitions/PartialManagedServiceIdentity" - } - }, - "additionalProperties": false - }, - "PartialMinimalTrackedResourceWithSku": { - "description": "Strictly used in update requests.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialMinimalTrackedResource" - } - ], - "properties": { - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" - } - }, - "additionalProperties": false - }, - "PartialNotificationSetting": { - "description": "Mutable configuration for notification.", - "type": "object", - "properties": { - "webhooks": { - "description": "Send webhook callback to a service. Key is a user-provided name for the webhook.", - "type": "object", - "additionalProperties": { - "description": "Webhook base", - "$ref": "#/definitions/Webhook", - "x-nullable": true - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialSku": { - "description": "Common SKU definition.", - "type": "object", - "properties": { - "capacity": { - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "type": "integer" - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" - } - }, - "additionalProperties": false - }, - "PartialUserAssignedIdentity": { - "type": "object", - "additionalProperties": false - }, - "PendingUploadCredentialDto": { - "required": [ - "credentialType" - ], - "type": "object", - "properties": { - "credentialType": { - "description": "[Required] Credential type used to authentication with storage.", - "$ref": "#/definitions/PendingUploadCredentialType" - } - }, - "discriminator": "credentialType" - }, - "PendingUploadCredentialType": { - "description": "Enum to determine the PendingUpload credentials type.", - "enum": [ - "SAS" - ], - "type": "string", - "x-ms-enum": { - "name": "PendingUploadCredentialType", - "modelAsString": true, - "values": [ - { - "value": "SAS" - } - ] - }, - "additionalProperties": false - }, - "PendingUploadRequestDto": { - "type": "object", - "properties": { - "pendingUploadId": { - "description": "If PendingUploadId = null then random guid will be used.", - "type": "string", - "x-nullable": true - }, - "pendingUploadType": { - "description": "TemporaryBlobReference is the only supported type", - "default": "TemporaryBlobReference", - "$ref": "#/definitions/PendingUploadType" - } - }, - "additionalProperties": false - }, - "PendingUploadResponseDto": { - "type": "object", - "properties": { - "blobReferenceForConsumption": { - "description": "Container level read, write, list SAS", - "$ref": "#/definitions/BlobReferenceForConsumptionDto", - "x-nullable": true - }, - "pendingUploadId": { - "description": "ID for this upload request", - "type": "string", - "x-nullable": true - }, - "pendingUploadType": { - "description": "TemporaryBlobReference is the only supported type", - "default": "TemporaryBlobReference", - "$ref": "#/definitions/PendingUploadType" - } - }, - "additionalProperties": false - }, - "PendingUploadType": { - "description": "Type of storage to use for the pending upload location", - "enum": [ - "None", - "TemporaryBlobReference" - ], - "type": "string", - "x-ms-enum": { - "name": "PendingUploadType", - "modelAsString": true, - "values": [ - { - "value": "None" - }, - { - "value": "TemporaryBlobReference" - } - ] - }, - "additionalProperties": false - }, - "PipelineJob": { - "description": "Pipeline Job definition: defines generic to MFE attributes.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "inputs": { - "description": "Inputs for the pipeline job.", - "type": "object", - "additionalProperties": { - "description": "Command job definition.", - "$ref": "#/definitions/JobInput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jobs": { - "description": "Jobs construct the Pipeline Job.", - "type": "object", - "additionalProperties": { - "type": "object", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "outputs": { - "description": "Outputs for the pipeline job", - "type": "object", - "additionalProperties": { - "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "settings": { - "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.", - "type": "object", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "sourceJobId": { - "description": "ARM resource ID of source job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Pipeline", - "additionalProperties": false - }, - "PredictionDriftMetricThresholdBase": { - "required": [ - "dataType" - ], - "type": "object", - "properties": { - "dataType": { - "description": "[Required] Specifies the data type of the metric threshold.", - "$ref": "#/definitions/MonitoringFeatureDataType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "threshold": { - "description": "The threshold value. If null, a default value will be set depending on the selected metric.", - "$ref": "#/definitions/MonitoringThreshold", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "discriminator": "dataType" - }, - "PredictionDriftMonitoringSignal": { - "required": [ - "metricThresholds", - "modelType", - "productionData", - "referenceData" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringSignalBase" - } - ], - "properties": { - "metricThresholds": { - "description": "[Required] A list of metrics to calculate and their associated thresholds.", - "type": "array", - "items": { - "$ref": "#/definitions/PredictionDriftMetricThresholdBase" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "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", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "referenceData": { - "description": "[Required] The data to calculate drift against.", - "$ref": "#/definitions/MonitoringInputDataBase", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "PredictionDrift", - "additionalProperties": false - }, - "ProbeSettings": { - "description": "Deployment container liveness/readiness probe configuration.", - "type": "object", - "properties": { - "failureThreshold": { - "format": "int32", - "description": "The number of failures to allow before returning an unhealthy status.", - "default": 30, - "type": "integer" - }, - "initialDelay": { - "format": "duration", - "description": "The delay before the first probe in ISO 8601 format.", - "type": "string", - "x-nullable": true - }, - "period": { - "format": "duration", - "description": "The length of time between probes in ISO 8601 format.", - "default": "PT10S", - "type": "string" - }, - "successThreshold": { - "format": "int32", - "description": "The number of successful probes before returning a healthy status.", - "default": 1, - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "The probe timeout in ISO 8601 format.", - "default": "PT2S", - "type": "string" - } - }, - "additionalProperties": false - }, - "ProgressMetrics": { - "description": "Progress metrics definition", - "type": "object", - "properties": { - "completedDatapointCount": { - "format": "int64", - "description": "The completed datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "incrementalDataLastRefreshDateTime": { - "format": "date-time", - "description": "The time of last successful incremental data refresh in UTC.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "skippedDatapointCount": { - "format": "int64", - "description": "The skipped datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "totalDatapointCount": { - "format": "int64", - "description": "The total datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ProtectionLevel": { - "description": "Protection level associated with the Intellectual Property.", - "enum": [ - "All", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ProtectionLevel", - "modelAsString": true, - "values": [ - { - "value": "All", - "description": "All means Intellectual Property is fully protected." - }, - { - "value": "None", - "description": "None means it is not an Intellectual Property." - } - ] - }, - "additionalProperties": false - }, - "PublicNetworkAccessType": { - "description": "Enum to determine whether PublicNetworkAccess is Enabled or Disabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "PublicNetworkAccessType", - "modelAsString": true, - "values": [ - { - "value": "Enabled" - }, - { - "value": "Disabled" - } - ] - }, - "additionalProperties": false - }, - "PyTorch": { - "description": "PyTorch distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "processCountPerInstance": { - "format": "int32", - "description": "Number of processes per node.", - "type": "integer", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "PyTorch", - "additionalProperties": false - }, - "QueueSettings": { - "type": "object", - "properties": { - "jobTier": { - "description": "Controls the compute job tier", - "default": "Null", - "$ref": "#/definitions/JobTier", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "priority": { - "format": "int32", - "description": "Controls the priority of the job on a compute.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "RandomSamplingAlgorithm": { - "description": "Defines a Sampling Algorithm that generates values randomly", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SamplingAlgorithm" - } - ], - "properties": { - "logbase": { - "description": "An optional positive number or e in string format to be used as base for log based random sampling", - "type": "string", - "x-nullable": true - }, - "rule": { - "description": "The specific type of random algorithm", - "default": "Random", - "$ref": "#/definitions/RandomSamplingAlgorithmRule" - }, - "seed": { - "format": "int32", - "description": "An optional integer to use as the seed for random number generation", - "type": "integer", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Random", - "additionalProperties": false - }, - "RandomSamplingAlgorithmRule": { - "description": "The specific type of random algorithm", - "enum": [ - "Random", - "Sobol" - ], - "type": "string", - "x-ms-enum": { - "name": "RandomSamplingAlgorithmRule", - "modelAsString": true, - "values": [ - { - "value": "Random" - }, - { - "value": "Sobol" - } - ] - }, - "additionalProperties": false - }, - "Ray": { - "description": "Ray distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "address": { - "description": "The address of Ray head node.", - "type": "string", - "x-nullable": true - }, - "dashboardPort": { - "format": "int32", - "description": "The port to bind the dashboard server to.", - "type": "integer", - "x-nullable": true - }, - "headNodeAdditionalArgs": { - "description": "Additional arguments passed to ray start in head node.", - "type": "string", - "x-nullable": true - }, - "includeDashboard": { - "description": "Provide this argument to start the Ray dashboard GUI.", - "type": "boolean", - "x-nullable": true - }, - "port": { - "format": "int32", - "description": "The port of the head ray process.", - "type": "integer", - "x-nullable": true - }, - "workerNodeAdditionalArgs": { - "description": "Additional arguments passed to ray start in worker node.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Ray", - "additionalProperties": false - }, - "RecurrenceFrequency": { - "description": "Enum to describe the frequency of a recurrence schedule", - "enum": [ - "Minute", - "Hour", - "Day", - "Week", - "Month" - ], - "type": "string", - "x-ms-enum": { - "name": "RecurrenceFrequency", - "modelAsString": true, - "values": [ - { - "value": "Minute", - "description": "Minute frequency" - }, - { - "value": "Hour", - "description": "Hour frequency" - }, - { - "value": "Day", - "description": "Day frequency" - }, - { - "value": "Week", - "description": "Week frequency" - }, - { - "value": "Month", - "description": "Month frequency" - } - ] - }, - "additionalProperties": false - }, - "RecurrenceSchedule": { - "required": [ - "hours", - "minutes" - ], - "type": "object", - "properties": { - "hours": { - "description": "[Required] List of hours for the schedule.", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - } - }, - "minutes": { - "description": "[Required] List of minutes for the schedule.", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - } - }, - "monthDays": { - "description": "List of month days for the schedule", - "type": "array", - "items": { - "format": "int32", - "type": "integer" - }, - "x-nullable": true - }, - "weekDays": { - "description": "List of days for the schedule.", - "type": "array", - "items": { - "$ref": "#/definitions/WeekDay" - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "RecurrenceTrigger": { - "required": [ - "frequency", - "interval" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TriggerBase" - } - ], - "properties": { - "frequency": { - "description": "[Required] The frequency to trigger schedule.", - "$ref": "#/definitions/RecurrenceFrequency" - }, - "interval": { - "format": "int32", - "description": "[Required] Specifies schedule interval in conjunction with frequency", - "type": "integer" - }, - "schedule": { - "description": "The recurrence schedule.", - "$ref": "#/definitions/RecurrenceSchedule", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Recurrence", - "additionalProperties": false - }, - "ReferenceType": { - "description": "Enum to determine which reference method to use for an asset.", - "enum": [ - "Id", - "DataPath", - "OutputPath" - ], - "type": "string", - "x-ms-enum": { - "name": "ReferenceType", - "modelAsString": true, - "values": [ - { - "value": "Id" - }, - { - "value": "DataPath" - }, - { - "value": "OutputPath" - } - ] - }, - "additionalProperties": false - }, - "RegenerateEndpointKeysRequest": { - "required": [ - "keyType" - ], - "type": "object", - "properties": { - "keyType": { - "description": "[Required] Specification for which type of key to generate. Primary or Secondary.", - "$ref": "#/definitions/KeyType", - "example": "Primary" - }, - "keyValue": { - "description": "The value the key is set to.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "Regression": { - "description": "Regression task in AutoML Table vertical.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TableVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric for regression task.", - "default": "NormalizedRootMeanSquaredError", - "$ref": "#/definitions/RegressionPrimaryMetrics" - }, - "trainingSettings": { - "description": "Inputs for training phase for an AutoML Job.", - "$ref": "#/definitions/RegressionTrainingSettings", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Regression", - "additionalProperties": false - }, - "RegressionModelPerformanceMetric": { - "enum": [ - "MeanAbsoluteError", - "RootMeanSquaredError", - "MeanSquaredError" - ], - "type": "string", - "x-ms-enum": { - "name": "RegressionModelPerformanceMetric", - "modelAsString": true, - "values": [ - { - "value": "MeanAbsoluteError", - "description": "The Mean Absolute Error (MAE) metric." - }, - { - "value": "RootMeanSquaredError", - "description": "The Root Mean Squared Error (RMSE) metric." - }, - { - "value": "MeanSquaredError", - "description": "The Mean Squared Error (MSE) metric." - } - ] - }, - "additionalProperties": false - }, - "RegressionModelPerformanceMetricThreshold": { - "required": [ - "metric" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ModelPerformanceMetricThresholdBase" - } - ], - "properties": { - "metric": { - "description": "[Required] The regression model performance metric to calculate.", - "$ref": "#/definitions/RegressionModelPerformanceMetric", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Regression", - "additionalProperties": false - }, - "RegressionModels": { - "description": "Enum for all Regression models supported by AutoML.", - "enum": [ - "ElasticNet", - "GradientBoosting", - "DecisionTree", - "KNN", - "LassoLars", - "SGD", - "RandomForest", - "ExtremeRandomTrees", - "LightGBM", - "XGBoostRegressor" - ], - "type": "string", - "x-ms-enum": { - "name": "RegressionModels", - "modelAsString": true, - "values": [ - { - "value": "ElasticNet", - "description": "Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions." - }, - { - "value": "GradientBoosting", - "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." - }, - { - "value": "DecisionTree", - "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." - }, - { - "value": "KNN", - "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." - }, - { - "value": "LassoLars", - "description": "Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer." - }, - { - "value": "SGD", - "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs.\nIt's an inexact but powerful technique." - }, - { - "value": "RandomForest", - "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." - }, - { - "value": "ExtremeRandomTrees", - "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." - }, - { - "value": "LightGBM", - "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." - }, - { - "value": "XGBoostRegressor", - "description": "XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners." - } - ] - }, - "additionalProperties": false - }, - "RegressionPrimaryMetrics": { - "description": "Primary metrics for Regression task.", - "enum": [ - "SpearmanCorrelation", - "NormalizedRootMeanSquaredError", - "R2Score", - "NormalizedMeanAbsoluteError" - ], - "type": "string", - "x-ms-enum": { - "name": "RegressionPrimaryMetrics", - "modelAsString": true, - "values": [ - { - "value": "SpearmanCorrelation", - "description": "The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation." - }, - { - "value": "NormalizedRootMeanSquaredError", - "description": "The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales." - }, - { - "value": "R2Score", - "description": "The R2 score is one of the performance evaluation measures for forecasting-based machine learning models." - }, - { - "value": "NormalizedMeanAbsoluteError", - "description": "The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales." - } - ] - }, - "additionalProperties": false - }, - "RegressionTrainingSettings": { - "description": "Regression Training related configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/TrainingSettings" - } - ], - "properties": { - "allowedTrainingAlgorithms": { - "description": "Allowed models for regression task.", - "type": "array", - "items": { - "$ref": "#/definitions/RegressionModels" - }, - "x-nullable": true - }, - "blockedTrainingAlgorithms": { - "description": "Blocked models for regression task.", - "type": "array", - "items": { - "$ref": "#/definitions/RegressionModels" - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "RequestLogging": { - "type": "object", - "properties": { - "captureHeaders": { - "description": "For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ResourceBase": { - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ResourceConfiguration": { - "type": "object", - "properties": { - "instanceCount": { - "format": "int32", - "description": "Optional number of instances or nodes used by the compute target.", - "default": 1, - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "instanceType": { - "description": "Optional type of VM used as supported by the compute target.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "locations": { - "description": "Locations where the job can run.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "maxInstanceCount": { - "format": "int32", - "description": "Optional max allowed number of instances or nodes to be used by the compute target.\r\nFor use with elastic training, currently supported by PyTorch distribution type only.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "Additional properties bag.", - "type": "object", - "additionalProperties": { - "type": "object", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "RollingRateType": { - "enum": [ - "Year", - "Month", - "Day", - "Hour", - "Minute" - ], - "type": "string", - "x-ms-enum": { - "name": "RollingRateType", - "modelAsString": true, - "values": [ - { - "value": "Year" - }, - { - "value": "Month" - }, - { - "value": "Day" - }, - { - "value": "Hour" - }, - { - "value": "Minute" - } - ] - }, - "additionalProperties": false - }, - "Route": { - "required": [ - "path", - "port" - ], - "type": "object", - "properties": { - "path": { - "description": "[Required] The path for the route.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "port": { - "format": "int32", - "description": "[Required] The port for the route.", - "type": "integer" - } - }, - "additionalProperties": false - }, - "SASCredentialDto": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PendingUploadCredentialDto" - } - ], - "properties": { - "sasUri": { - "format": "uri", - "description": "Full SAS Uri, including the storage, container/blob path and SAS token", - "type": "string", - "x-ms-secret": true, - "x-nullable": true - } - }, - "x-ms-discriminator-value": "SAS", - "additionalProperties": false - }, - "SamplingAlgorithm": { - "description": "The Sampling Algorithm used to generate hyperparameter values, along with properties to\r\nconfigure the algorithm", - "required": [ - "samplingAlgorithmType" - ], - "type": "object", - "properties": { - "samplingAlgorithmType": { - "description": "[Required] The algorithm used for generating hyperparameter values, along with configuration properties", - "$ref": "#/definitions/SamplingAlgorithmType" - } - }, - "discriminator": "samplingAlgorithmType" - }, - "SamplingAlgorithmType": { - "enum": [ - "Grid", - "Random", - "Bayesian" - ], - "type": "string", - "x-ms-enum": { - "name": "SamplingAlgorithmType", - "modelAsString": true, - "values": [ - { - "value": "Grid" - }, - { - "value": "Random" - }, - { - "value": "Bayesian" - } - ] - }, - "additionalProperties": false - }, - "SasDatastoreCredentials": { - "description": "SAS datastore credentials configuration.", - "required": [ - "secrets" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "[Required] Storage container secrets.", - "$ref": "#/definitions/SasDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "Sas", - "additionalProperties": false - }, - "SasDatastoreSecrets": { - "description": "Datastore SAS secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "sasToken": { - "description": "Storage container SAS token.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Sas", - "additionalProperties": false - }, - "ScaleType": { - "enum": [ - "Default", - "TargetUtilization" - ], - "type": "string", - "x-ms-enum": { - "name": "ScaleType", - "modelAsString": true, - "values": [ - { - "value": "Default" - }, - { - "value": "TargetUtilization" - } - ] - }, - "additionalProperties": false - }, - "Schedule": { - "description": "Base definition of a schedule", - "required": [ - "action", - "trigger" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceBase" - } - ], - "properties": { - "action": { - "description": "[Required] Specifies the action of the schedule", - "$ref": "#/definitions/ScheduleActionBase", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "displayName": { - "description": "Display name of schedule.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "isEnabled": { - "description": "Is the schedule enabled?", - "default": true, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "provisioningState": { - "description": "Provisioning state for the schedule.", - "$ref": "#/definitions/ScheduleProvisioningStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "trigger": { - "description": "[Required] Specifies the trigger details", - "$ref": "#/definitions/TriggerBase", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "x-ms-client-name": "ScheduleProperties", - "additionalProperties": false - }, - "ScheduleActionBase": { - "required": [ - "actionType" - ], - "type": "object", - "properties": { - "actionType": { - "description": "[Required] Specifies the action type of the schedule", - "$ref": "#/definitions/ScheduleActionType", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "discriminator": "actionType" - }, - "ScheduleActionType": { - "enum": [ - "CreateJob", - "InvokeBatchEndpoint", - "ImportData", - "CreateMonitor" - ], - "type": "string", - "x-ms-enum": { - "name": "ScheduleActionType", - "modelAsString": true, - "values": [ - { - "value": "CreateJob" - }, - { - "value": "InvokeBatchEndpoint" - }, - { - "value": "ImportData" - }, - { - "value": "CreateMonitor" - } - ] - }, - "additionalProperties": false - }, - "ScheduleListViewType": { - "enum": [ - "EnabledOnly", - "DisabledOnly", - "All" - ], - "type": "string", - "x-ms-enum": { - "name": "ScheduleListViewType", - "modelAsString": true, - "values": [ - { - "value": "EnabledOnly" - }, - { - "value": "DisabledOnly" - }, - { - "value": "All" - } - ] - }, - "additionalProperties": false - }, - "ScheduleProvisioningStatus": { - "enum": [ - "Creating", - "Updating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "ScheduleProvisioningStatus", - "modelAsString": true, - "values": [ - { - "value": "Creating" - }, - { - "value": "Updating" - }, - { - "value": "Deleting" - }, - { - "value": "Succeeded" - }, - { - "value": "Failed" - }, - { - "value": "Canceled" - } - ] - }, - "additionalProperties": false - }, - "ScheduleResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "[Required] Additional attributes of the entity.", - "$ref": "#/definitions/Schedule" - } - }, - "x-ms-client-name": "Schedule", - "additionalProperties": false - }, - "ScheduleResourceArmPaginatedResult": { - "description": "A paginated list of Schedule entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of Schedule objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type Schedule.", - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleResource" - } - } - }, - "additionalProperties": false - }, - "Seasonality": { - "description": "Forecasting seasonality.", - "required": [ - "mode" - ], - "type": "object", - "properties": { - "mode": { - "description": "[Required] Seasonality mode.", - "$ref": "#/definitions/SeasonalityMode", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mode" - }, - "SeasonalityMode": { - "description": "Forecasting seasonality mode.", - "enum": [ - "Auto", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "SeasonalityMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Seasonality to be determined automatically." - }, - { - "value": "Custom", - "description": "Use the custom seasonality value." - } - ] - }, - "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": [ - "AccountKey", - "Certificate", - "Sas", - "ServicePrincipal", - "KerberosPassword", - "KerberosKeytab" - ], - "type": "string", - "x-ms-enum": { - "name": "SecretsType", - "modelAsString": true, - "values": [ - { - "value": "AccountKey" - }, - { - "value": "Certificate" - }, - { - "value": "Sas" - }, - { - "value": "ServicePrincipal" - }, - { - "value": "KerberosPassword" - }, - { - "value": "KerberosKeytab" - } - ] - }, - "additionalProperties": false - }, - "ServiceDataAccessAuthIdentity": { - "enum": [ - "None", - "WorkspaceSystemAssignedIdentity", - "WorkspaceUserAssignedIdentity" - ], - "type": "string", - "x-ms-enum": { - "name": "ServiceDataAccessAuthIdentity", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "Do not use any identity for service data access." - }, - { - "value": "WorkspaceSystemAssignedIdentity", - "description": "Use the system assigned managed identity of the Workspace to authenticate service data access." - }, - { - "value": "WorkspaceUserAssignedIdentity", - "description": "Use the user assigned managed identity of the Workspace to authenticate service data access." - } - ] - }, - "additionalProperties": false - }, - "ServicePrincipalDatastoreCredentials": { - "description": "Service Principal datastore credentials configuration.", - "required": [ - "clientId", - "secrets", - "tenantId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "authorityUrl": { - "description": "Authority URL used for authentication.", - "type": "string", - "x-nullable": true - }, - "clientId": { - "format": "uuid", - "description": "[Required] Service principal client ID.", - "type": "string" - }, - "resourceUrl": { - "description": "Resource the service principal has access to.", - "type": "string", - "x-nullable": true - }, - "secrets": { - "description": "[Required] Service principal secrets.", - "$ref": "#/definitions/ServicePrincipalDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "tenantId": { - "format": "uuid", - "description": "[Required] ID of the tenant to which the service principal belongs.", - "type": "string" - } - }, - "x-ms-discriminator-value": "ServicePrincipal", - "additionalProperties": false - }, - "ServicePrincipalDatastoreSecrets": { - "description": "Datastore Service Principal secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "clientSecret": { - "description": "Service principal secret.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "ServicePrincipal", - "additionalProperties": false - }, - "ShortSeriesHandlingConfiguration": { - "description": "The parameter defining how if AutoML should handle short time series.", - "enum": [ - "None", - "Auto", - "Pad", - "Drop" - ], - "type": "string", - "x-ms-enum": { - "name": "ShortSeriesHandlingConfiguration", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "Represents no/null value." - }, - { - "value": "Auto", - "description": "Short series will be padded if there are no long series, otherwise short series will be dropped." - }, - { - "value": "Pad", - "description": "All the short series will be padded." - }, - { - "value": "Drop", - "description": "All the short series will be dropped." - } - ] - }, - "additionalProperties": false - }, - "SkuCapacity": { - "description": "SKU capacity information", - "type": "object", - "properties": { - "default": { - "format": "int32", - "description": "Gets or sets the default capacity.", - "default": 0, - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Gets or sets the maximum.", - "default": 0, - "type": "integer" - }, - "minimum": { - "format": "int32", - "description": "Gets or sets the minimum.", - "default": 0, - "type": "integer" - }, - "scaleType": { - "description": "Gets or sets the type of the scale.", - "default": "Automatic", - "$ref": "#/definitions/SkuScaleType" - } - }, - "additionalProperties": false - }, - "SkuResource": { - "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", - "type": "object", - "properties": { - "capacity": { - "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacity", - "x-nullable": true - }, - "resourceType": { - "description": "The resource type name.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "sku": { - "description": "Gets or sets the Sku.", - "$ref": "#/definitions/SkuSetting", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "SkuResourceArmPaginatedResult": { - "description": "A paginated list of SkuResource entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of SkuResource objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type SkuResource.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuResource" - }, - "x-ms-identifiers": [] - } - }, - "additionalProperties": false - }, - "SkuScaleType": { - "description": "Node scaling setting for the compute sku.", - "enum": [ - "Automatic", - "Manual", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuScaleType", - "modelAsString": true, - "values": [ - { - "value": "Automatic", - "description": "Automatically scales node count." - }, - { - "value": "Manual", - "description": "Node count scaled upon user request." - }, - { - "value": "None", - "description": "Fixed set of nodes." - } - ] - }, - "additionalProperties": false - }, - "SkuSetting": { - "description": "SkuSetting fulfills the need for stripped down SKU info in ARM contract.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "[Required] The name of the SKU. Ex - P3. It is typically a letter+number code.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "default": "Basic", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" - } - }, - "additionalProperties": false - }, - "SparkJob": { - "description": "Spark job definition.", - "required": [ - "codeId", - "entry" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "archives": { - "description": "Archive files used in the job.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "args": { - "description": "Arguments for the job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "codeId": { - "description": "[Required] ARM resource ID of the code asset.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "conf": { - "description": "Spark configured properties.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "entry": { - "description": "[Required] The entry to execute on startup of the job.", - "$ref": "#/definitions/SparkJobEntry", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentId": { - "description": "The ARM resource ID of the Environment specification for the job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "files": { - "description": "Files used in the job.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "inputs": { - "description": "Mapping of input data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Command job definition.", - "$ref": "#/definitions/JobInput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "jars": { - "description": "Jar files used in the job.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "outputs": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "pyFiles": { - "description": "Python files used in the job.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "queueSettings": { - "description": "Queue settings for the job", - "$ref": "#/definitions/QueueSettings", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "resources": { - "description": "Compute Resource configuration for the job.", - "$ref": "#/definitions/SparkResourceConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Spark", - "additionalProperties": false - }, - "SparkJobEntry": { - "description": "Spark job entry point definition.", - "required": [ - "sparkJobEntryType" - ], - "type": "object", - "properties": { - "sparkJobEntryType": { - "description": "[Required] Type of the job's entry point.", - "$ref": "#/definitions/SparkJobEntryType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "sparkJobEntryType" - }, - "SparkJobEntryType": { - "enum": [ - "SparkJobPythonEntry", - "SparkJobScalaEntry" - ], - "type": "string", - "x-ms-enum": { - "name": "SparkJobEntryType", - "modelAsString": true, - "values": [ - { - "value": "SparkJobPythonEntry" - }, - { - "value": "SparkJobScalaEntry" - } - ] - }, - "additionalProperties": false - }, - "SparkJobPythonEntry": { - "required": [ - "file" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SparkJobEntry" - } - ], - "properties": { - "file": { - "description": "[Required] Relative python file path for job entry point.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "train.py", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "SparkJobPythonEntry", - "additionalProperties": false - }, - "SparkJobScalaEntry": { - "required": [ - "className" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SparkJobEntry" - } - ], - "properties": { - "className": { - "description": "[Required] Scala class name used as entry point.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "microsoft.aml.sample.myapp", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "SparkJobScalaEntry", - "additionalProperties": false - }, - "SparkResourceConfiguration": { - "type": "object", - "properties": { - "instanceType": { - "description": "Optional type of VM used as supported by the compute target.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "runtimeVersion": { - "description": "Version of spark runtime used for the job.", - "default": "3.1", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "StackEnsembleSettings": { - "description": "Advances setting to customize StackEnsemble run.", - "type": "object", - "properties": { - "stackMetaLearnerKWargs": { - "description": "Optional parameters to pass to the initializer of the meta-learner.", - "type": "object", - "x-nullable": true - }, - "stackMetaLearnerTrainPercentage": { - "format": "double", - "description": "Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2.", - "default": 0.2, - "type": "number" - }, - "stackMetaLearnerType": { - "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.", - "default": "None", - "$ref": "#/definitions/StackMetaLearnerType" - } - }, - "additionalProperties": false - }, - "StackMetaLearnerType": { - "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.\r\nDefault meta-learners are LogisticRegression for classification tasks (or LogisticRegressionCV if cross-validation is enabled) and ElasticNet for regression/forecasting tasks (or ElasticNetCV if cross-validation is enabled).\r\nThis parameter can be one of the following strings: LogisticRegression, LogisticRegressionCV, LightGBMClassifier, ElasticNet, ElasticNetCV, LightGBMRegressor, or LinearRegression", - "enum": [ - "None", - "LogisticRegression", - "LogisticRegressionCV", - "LightGBMClassifier", - "ElasticNet", - "ElasticNetCV", - "LightGBMRegressor", - "LinearRegression" - ], - "type": "string", - "x-ms-enum": { - "name": "StackMetaLearnerType", - "modelAsString": true, - "values": [ - { - "value": "None" - }, - { - "value": "LogisticRegression", - "description": "Default meta-learners are LogisticRegression for classification tasks." - }, - { - "value": "LogisticRegressionCV", - "description": "Default meta-learners are LogisticRegression for classification task when CV is on." - }, - { - "value": "LightGBMClassifier" - }, - { - "value": "ElasticNet", - "description": "Default meta-learners are LogisticRegression for regression task." - }, - { - "value": "ElasticNetCV", - "description": "Default meta-learners are LogisticRegression for regression task when CV is on." - }, - { - "value": "LightGBMRegressor" - }, - { - "value": "LinearRegression" - } - ] - }, - "additionalProperties": false - }, - "StaticInputData": { - "description": "Static input data definition.", - "required": [ - "windowEnd", - "windowStart" - ], - "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 - }, - "windowEnd": { - "format": "date-time", - "description": "[Required] The end date of the data window.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "windowStart": { - "format": "date-time", - "description": "[Required] The start date of the data window.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Static", - "additionalProperties": false - }, - "StatusMessage": { - "description": "Active message associated with project", - "type": "object", - "properties": { - "code": { - "description": "Service-defined message code.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "createdDateTime": { - "format": "date-time", - "description": "Time in UTC at which the message was created.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "level": { - "description": "Severity level of message.", - "$ref": "#/definitions/StatusMessageLevel", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "message": { - "description": "A human-readable representation of the message code.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "StatusMessageLevel": { - "enum": [ - "Error", - "Information", - "Warning" - ], - "type": "string", - "x-ms-enum": { - "name": "StatusMessageLevel", - "modelAsString": true, - "values": [ - { - "value": "Error" - }, - { - "value": "Information" - }, - { - "value": "Warning" - } - ] - }, - "additionalProperties": false - }, - "StochasticOptimizer": { - "description": "Stochastic optimizer for image models.", - "enum": [ - "None", - "Sgd", - "Adam", - "Adamw" - ], - "type": "string", - "x-ms-enum": { - "name": "StochasticOptimizer", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No optimizer selected." - }, - { - "value": "Sgd", - "description": "Stochastic Gradient Descent optimizer." - }, - { - "value": "Adam", - "description": "Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments" - }, - { - "value": "Adamw", - "description": "AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay." - } - ] - }, - "additionalProperties": false - }, - "SweepJob": { - "description": "Sweep job definition.", - "required": [ - "objective", - "samplingAlgorithm", - "searchSpace", - "trial" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "earlyTermination": { - "description": "Early termination policies enable canceling poor-performing runs before they complete", - "$ref": "#/definitions/EarlyTerminationPolicy", - "x-nullable": true - }, - "inputs": { - "description": "Mapping of input data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Command job definition.", - "$ref": "#/definitions/JobInput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "limits": { - "description": "Sweep Job limit.", - "default": "{}", - "$ref": "#/definitions/SweepJobLimits", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "objective": { - "description": "[Required] Optimization objective.", - "$ref": "#/definitions/Objective" - }, - "outputs": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "queueSettings": { - "description": "Queue settings for the job", - "$ref": "#/definitions/QueueSettings", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "samplingAlgorithm": { - "description": "[Required] The hyperparameter sampling algorithm", - "$ref": "#/definitions/SamplingAlgorithm" - }, - "searchSpace": { - "description": "[Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", - "type": "object" - }, - "trial": { - "description": "[Required] Trial component definition.", - "$ref": "#/definitions/TrialComponent" - } - }, - "x-ms-discriminator-value": "Sweep", - "additionalProperties": false - }, - "SweepJobLimits": { - "description": "Sweep Job limit class.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobLimits" - } - ], - "properties": { - "maxConcurrentTrials": { - "format": "int32", - "description": "Sweep Job max concurrent trials.", - "type": "integer", - "x-nullable": true - }, - "maxTotalTrials": { - "format": "int32", - "description": "Sweep Job max total trials.", - "type": "integer", - "x-nullable": true - }, - "trialTimeout": { - "format": "duration", - "description": "Sweep Job Trial timeout value.", + "type": "object", + "properties": { + "type": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentityType" + }, + "userAssignedIdentities": { + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/PartialUserAssignedIdentity" + } + } + }, + "additionalProperties": false + }, + "PartialMinimalTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + } + } + }, + "additionalProperties": false + }, + "PartialMinimalTrackedResourceWithIdentity": { + "description": "Strictly used in update requests.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialMinimalTrackedResource" + } + ], + "properties": { + "identity": { + "description": "Managed service identity (system assigned and/or user assigned identities)", + "$ref": "#/definitions/PartialManagedServiceIdentity" + } + }, + "additionalProperties": false + }, + "PartialMinimalTrackedResourceWithSku": { + "description": "Strictly used in update requests.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialMinimalTrackedResource" + } + ], + "properties": { + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/PartialSku" + } + }, + "additionalProperties": false + }, + "PartialNotificationSetting": { + "description": "Mutable configuration for notification.", + "type": "object", + "properties": { + "webhooks": { + "description": "Send webhook callback to a service. Key is a user-provided name for the webhook.", + "type": "object", + "additionalProperties": { + "description": "Webhook base", + "$ref": "#/definitions/Webhook", + "x-nullable": true + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialSku": { + "description": "Common SKU definition.", + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.", + "type": "string" + }, + "tier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" + } + }, + "additionalProperties": false + }, + "PartialUserAssignedIdentity": { + "type": "object", + "additionalProperties": false + }, + "PendingUploadCredentialDto": { + "required": [ + "credentialType" + ], + "type": "object", + "properties": { + "credentialType": { + "description": "[Required] Credential type used to authentication with storage.", + "$ref": "#/definitions/PendingUploadCredentialType" + } + }, + "discriminator": "credentialType" + }, + "PendingUploadCredentialType": { + "description": "Enum to determine the PendingUpload credentials type.", + "enum": [ + "SAS" + ], "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Sweep", - "additionalProperties": false - }, - "TableFixedParameters": { - "description": "Fixed training parameters that won't be swept over during AutoML Table training.", - "type": "object", - "properties": { - "booster": { - "description": "Specify the boosting type, e.g gbdt for XGBoost.", + "x-ms-enum": { + "name": "PendingUploadCredentialType", + "modelAsString": true, + "values": [ + { + "value": "SAS" + } + ] + }, + "additionalProperties": false + }, + "PendingUploadRequestDto": { + "type": "object", + "properties": { + "pendingUploadId": { + "description": "If PendingUploadId = null then random guid will be used.", + "type": "string", + "x-nullable": true + }, + "pendingUploadType": { + "description": "TemporaryBlobReference is the only supported type", + "default": "TemporaryBlobReference", + "$ref": "#/definitions/PendingUploadType" + } + }, + "additionalProperties": false + }, + "PendingUploadResponseDto": { + "type": "object", + "properties": { + "blobReferenceForConsumption": { + "description": "Container level read, write, list SAS", + "$ref": "#/definitions/BlobReferenceForConsumptionDto", + "x-nullable": true + }, + "pendingUploadId": { + "description": "ID for this upload request", + "type": "string", + "x-nullable": true + }, + "pendingUploadType": { + "description": "TemporaryBlobReference is the only supported type", + "default": "TemporaryBlobReference", + "$ref": "#/definitions/PendingUploadType" + } + }, + "additionalProperties": false + }, + "PendingUploadType": { + "description": "Type of storage to use for the pending upload location", + "enum": [ + "None", + "TemporaryBlobReference" + ], "type": "string", - "x-nullable": true - }, - "boostingType": { - "description": "Specify the boosting type, e.g gbdt for LightGBM.", + "x-ms-enum": { + "name": "PendingUploadType", + "modelAsString": true, + "values": [ + { + "value": "None" + }, + { + "value": "TemporaryBlobReference" + } + ] + }, + "additionalProperties": false + }, + "PipelineJob": { + "description": "Pipeline Job definition: defines generic to MFE attributes.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "inputs": { + "description": "Inputs for the pipeline job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jobs": { + "description": "Jobs construct the Pipeline Job.", + "type": "object", + "additionalProperties": { + "type": "object", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "outputs": { + "description": "Outputs for the pipeline job", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "settings": { + "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.", + "type": "object", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "sourceJobId": { + "description": "ARM resource ID of source job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Pipeline", + "additionalProperties": false + }, + "PredictionDriftMetricThresholdBase": { + "required": [ + "dataType" + ], + "type": "object", + "properties": { + "dataType": { + "description": "[Required] Specifies the data type of the metric threshold.", + "$ref": "#/definitions/MonitoringFeatureDataType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "threshold": { + "description": "The threshold value. If null, a default value will be set depending on the selected metric.", + "$ref": "#/definitions/MonitoringThreshold", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "discriminator": "dataType" + }, + "PredictionDriftMonitoringSignal": { + "required": [ + "metricThresholds", + "modelType", + "productionData", + "referenceData" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringSignalBase" + } + ], + "properties": { + "metricThresholds": { + "description": "[Required] A list of metrics to calculate and their associated thresholds.", + "type": "array", + "items": { + "$ref": "#/definitions/PredictionDriftMetricThresholdBase" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "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", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "referenceData": { + "description": "[Required] The data to calculate drift against.", + "$ref": "#/definitions/MonitoringInputDataBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "PredictionDrift", + "additionalProperties": false + }, + "ProbeSettings": { + "description": "Deployment container liveness/readiness probe configuration.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "default": 30, + "type": "integer" + }, + "initialDelay": { + "format": "duration", + "description": "The delay before the first probe in ISO 8601 format.", + "type": "string", + "x-nullable": true + }, + "period": { + "format": "duration", + "description": "The length of time between probes in ISO 8601 format.", + "default": "PT10S", + "type": "string" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "default": 1, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "The probe timeout in ISO 8601 format.", + "default": "PT2S", + "type": "string" + } + }, + "additionalProperties": false + }, + "ProgressMetrics": { + "description": "Progress metrics definition", + "type": "object", + "properties": { + "completedDatapointCount": { + "format": "int64", + "description": "The completed datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "incrementalDataLastRefreshDateTime": { + "format": "date-time", + "description": "The time of last successful incremental data refresh in UTC.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "skippedDatapointCount": { + "format": "int64", + "description": "The skipped datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "totalDatapointCount": { + "format": "int64", + "description": "The total datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ProtectionLevel": { + "description": "Protection level associated with the Intellectual Property.", + "enum": [ + "All", + "None" + ], "type": "string", - "x-nullable": true - }, - "growPolicy": { - "description": "Specify the grow policy, which controls the way new nodes are added to the tree.", + "x-ms-enum": { + "name": "ProtectionLevel", + "modelAsString": true, + "values": [ + { + "value": "All", + "description": "All means Intellectual Property is fully protected." + }, + { + "value": "None", + "description": "None means it is not an Intellectual Property." + } + ] + }, + "additionalProperties": false + }, + "PublicNetworkAccessType": { + "description": "Enum to determine whether PublicNetworkAccess is Enabled or Disabled.", + "enum": [ + "Enabled", + "Disabled" + ], "type": "string", - "x-nullable": true - }, - "learningRate": { - "format": "double", - "description": "The learning rate for the training procedure.", - "type": "number", - "x-nullable": true - }, - "maxBin": { - "format": "int32", - "description": "Specify the Maximum number of discrete bins to bucket continuous features .", - "type": "integer", - "x-nullable": true - }, - "maxDepth": { - "format": "int32", - "description": "Specify the max depth to limit the tree depth explicitly.", - "type": "integer", - "x-nullable": true - }, - "maxLeaves": { - "format": "int32", - "description": "Specify the max leaves to limit the tree leaves explicitly.", - "type": "integer", - "x-nullable": true - }, - "minDataInLeaf": { - "format": "int32", - "description": "The minimum number of data per leaf.", - "type": "integer", - "x-nullable": true - }, - "minSplitGain": { - "format": "double", - "description": "Minimum loss reduction required to make a further partition on a leaf node of the tree.", - "type": "number", - "x-nullable": true - }, - "modelName": { - "description": "The name of the model to train.", + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, + "PyTorch": { + "description": "PyTorch distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCountPerInstance": { + "format": "int32", + "description": "Number of processes per node.", + "type": "integer", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "PyTorch", + "additionalProperties": false + }, + "QueueSettings": { + "type": "object", + "properties": { + "jobTier": { + "description": "Controls the compute job tier", + "default": "Null", + "$ref": "#/definitions/JobTier", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "priority": { + "format": "int32", + "description": "Controls the priority of the job on a compute.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "RandomSamplingAlgorithm": { + "description": "Defines a Sampling Algorithm that generates values randomly", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SamplingAlgorithm" + } + ], + "properties": { + "logbase": { + "description": "An optional positive number or e in string format to be used as base for log based random sampling", + "type": "string", + "x-nullable": true + }, + "rule": { + "description": "The specific type of random algorithm", + "default": "Random", + "$ref": "#/definitions/RandomSamplingAlgorithmRule" + }, + "seed": { + "format": "int32", + "description": "An optional integer to use as the seed for random number generation", + "type": "integer", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Random", + "additionalProperties": false + }, + "RandomSamplingAlgorithmRule": { + "description": "The specific type of random algorithm", + "enum": [ + "Random", + "Sobol" + ], "type": "string", - "x-nullable": true - }, - "nEstimators": { - "format": "int32", - "description": "Specify the number of trees (or rounds) in an model.", - "type": "integer", - "x-nullable": true - }, - "numLeaves": { - "format": "int32", - "description": "Specify the number of leaves.", - "type": "integer", - "x-nullable": true - }, - "preprocessorName": { - "description": "The name of the preprocessor to use.", + "x-ms-enum": { + "name": "RandomSamplingAlgorithmRule", + "modelAsString": true, + "values": [ + { + "value": "Random" + }, + { + "value": "Sobol" + } + ] + }, + "additionalProperties": false + }, + "Ray": { + "description": "Ray distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "address": { + "description": "The address of Ray head node.", + "type": "string", + "x-nullable": true + }, + "dashboardPort": { + "format": "int32", + "description": "The port to bind the dashboard server to.", + "type": "integer", + "x-nullable": true + }, + "headNodeAdditionalArgs": { + "description": "Additional arguments passed to ray start in head node.", + "type": "string", + "x-nullable": true + }, + "includeDashboard": { + "description": "Provide this argument to start the Ray dashboard GUI.", + "type": "boolean", + "x-nullable": true + }, + "port": { + "format": "int32", + "description": "The port of the head ray process.", + "type": "integer", + "x-nullable": true + }, + "workerNodeAdditionalArgs": { + "description": "Additional arguments passed to ray start in worker node.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Ray", + "additionalProperties": false + }, + "RecurrenceFrequency": { + "description": "Enum to describe the frequency of a recurrence schedule", + "enum": [ + "Minute", + "Hour", + "Day", + "Week", + "Month" + ], "type": "string", - "x-nullable": true - }, - "regAlpha": { - "format": "double", - "description": "L1 regularization term on weights.", - "type": "number", - "x-nullable": true - }, - "regLambda": { - "format": "double", - "description": "L2 regularization term on weights.", - "type": "number", - "x-nullable": true - }, - "subsample": { - "format": "double", - "description": "Subsample ratio of the training instance.", - "type": "number", - "x-nullable": true - }, - "subsampleFreq": { - "format": "double", - "description": "Frequency of subsample.", - "type": "number", - "x-nullable": true - }, - "treeMethod": { - "description": "Specify the tree method.", + "x-ms-enum": { + "name": "RecurrenceFrequency", + "modelAsString": true, + "values": [ + { + "value": "Minute", + "description": "Minute frequency" + }, + { + "value": "Hour", + "description": "Hour frequency" + }, + { + "value": "Day", + "description": "Day frequency" + }, + { + "value": "Week", + "description": "Week frequency" + }, + { + "value": "Month", + "description": "Month frequency" + } + ] + }, + "additionalProperties": false + }, + "RecurrenceSchedule": { + "required": [ + "hours", + "minutes" + ], + "type": "object", + "properties": { + "hours": { + "description": "[Required] List of hours for the schedule.", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + } + }, + "minutes": { + "description": "[Required] List of minutes for the schedule.", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + } + }, + "monthDays": { + "description": "List of month days for the schedule", + "type": "array", + "items": { + "format": "int32", + "type": "integer" + }, + "x-nullable": true + }, + "weekDays": { + "description": "List of days for the schedule.", + "type": "array", + "items": { + "$ref": "#/definitions/WeekDay" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "RecurrenceTrigger": { + "required": [ + "frequency", + "interval" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TriggerBase" + } + ], + "properties": { + "frequency": { + "description": "[Required] The frequency to trigger schedule.", + "$ref": "#/definitions/RecurrenceFrequency" + }, + "interval": { + "format": "int32", + "description": "[Required] Specifies schedule interval in conjunction with frequency", + "type": "integer" + }, + "schedule": { + "description": "The recurrence schedule.", + "$ref": "#/definitions/RecurrenceSchedule", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Recurrence", + "additionalProperties": false + }, + "ReferenceType": { + "description": "Enum to determine which reference method to use for an asset.", + "enum": [ + "Id", + "DataPath", + "OutputPath" + ], "type": "string", - "x-nullable": true - }, - "withMean": { - "description": "If true, center before scaling the data with StandardScalar.", - "default": false, - "type": "boolean" - }, - "withStd": { - "description": "If true, scaling the data with Unit Variance with StandardScalar.", - "default": false, - "type": "boolean" - } - }, - "additionalProperties": false - }, - "TableParameterSubspace": { - "type": "object", - "properties": { - "booster": { - "description": "Specify the boosting type, e.g gbdt for XGBoost.", + "x-ms-enum": { + "name": "ReferenceType", + "modelAsString": true, + "values": [ + { + "value": "Id" + }, + { + "value": "DataPath" + }, + { + "value": "OutputPath" + } + ] + }, + "additionalProperties": false + }, + "RegenerateEndpointKeysRequest": { + "required": [ + "keyType" + ], + "type": "object", + "properties": { + "keyType": { + "description": "[Required] Specification for which type of key to generate. Primary or Secondary.", + "$ref": "#/definitions/KeyType", + "example": "Primary" + }, + "keyValue": { + "description": "The value the key is set to.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "Regression": { + "description": "Regression task in AutoML Table vertical.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TableVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric for regression task.", + "default": "NormalizedRootMeanSquaredError", + "$ref": "#/definitions/RegressionPrimaryMetrics" + }, + "trainingSettings": { + "description": "Inputs for training phase for an AutoML Job.", + "$ref": "#/definitions/RegressionTrainingSettings", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Regression", + "additionalProperties": false + }, + "RegressionModelPerformanceMetric": { + "enum": [ + "MeanAbsoluteError", + "RootMeanSquaredError", + "MeanSquaredError" + ], "type": "string", - "x-nullable": true - }, - "boostingType": { - "description": "Specify the boosting type, e.g gbdt for LightGBM.", + "x-ms-enum": { + "name": "RegressionModelPerformanceMetric", + "modelAsString": true, + "values": [ + { + "value": "MeanAbsoluteError", + "description": "The Mean Absolute Error (MAE) metric." + }, + { + "value": "RootMeanSquaredError", + "description": "The Root Mean Squared Error (RMSE) metric." + }, + { + "value": "MeanSquaredError", + "description": "The Mean Squared Error (MSE) metric." + } + ] + }, + "additionalProperties": false + }, + "RegressionModelPerformanceMetricThreshold": { + "required": [ + "metric" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ModelPerformanceMetricThresholdBase" + } + ], + "properties": { + "metric": { + "description": "[Required] The regression model performance metric to calculate.", + "$ref": "#/definitions/RegressionModelPerformanceMetric", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Regression", + "additionalProperties": false + }, + "RegressionModels": { + "description": "Enum for all Regression models supported by AutoML.", + "enum": [ + "ElasticNet", + "GradientBoosting", + "DecisionTree", + "KNN", + "LassoLars", + "SGD", + "RandomForest", + "ExtremeRandomTrees", + "LightGBM", + "XGBoostRegressor" + ], "type": "string", - "x-nullable": true - }, - "growPolicy": { - "description": "Specify the grow policy, which controls the way new nodes are added to the tree.", + "x-ms-enum": { + "name": "RegressionModels", + "modelAsString": true, + "values": [ + { + "value": "ElasticNet", + "description": "Elastic net is a popular type of regularized linear regression that combines two popular penalties, specifically the L1 and L2 penalty functions." + }, + { + "value": "GradientBoosting", + "description": "The technique of transiting week learners into a strong learner is called Boosting. The gradient boosting algorithm process works on this theory of execution." + }, + { + "value": "DecisionTree", + "description": "Decision Trees are a non-parametric supervised learning method used for both classification and regression tasks.\nThe goal is to create a model that predicts the value of a target variable by learning simple decision rules inferred from the data features." + }, + { + "value": "KNN", + "description": "K-nearest neighbors (KNN) algorithm uses 'feature similarity' to predict the values of new datapoints\nwhich further means that the new data point will be assigned a value based on how closely it matches the points in the training set." + }, + { + "value": "LassoLars", + "description": "Lasso model fit with Least Angle Regression a.k.a. Lars. It is a Linear Model trained with an L1 prior as regularizer." + }, + { + "value": "SGD", + "description": "SGD: Stochastic gradient descent is an optimization algorithm often used in machine learning applications\nto find the model parameters that correspond to the best fit between predicted and actual outputs.\nIt's an inexact but powerful technique." + }, + { + "value": "RandomForest", + "description": "Random forest is a supervised learning algorithm.\nThe \"forest\" it builds, is an ensemble of decision trees, usually trained with the bagging method.\nThe general idea of the bagging method is that a combination of learning models increases the overall result." + }, + { + "value": "ExtremeRandomTrees", + "description": "Extreme Trees is an ensemble machine learning algorithm that combines the predictions from many decision trees. It is related to the widely used random forest algorithm." + }, + { + "value": "LightGBM", + "description": "LightGBM is a gradient boosting framework that uses tree based learning algorithms." + }, + { + "value": "XGBoostRegressor", + "description": "XGBoostRegressor: Extreme Gradient Boosting Regressor is a supervised machine learning model using ensemble of base learners." + } + ] + }, + "additionalProperties": false + }, + "RegressionPrimaryMetrics": { + "description": "Primary metrics for Regression task.", + "enum": [ + "SpearmanCorrelation", + "NormalizedRootMeanSquaredError", + "R2Score", + "NormalizedMeanAbsoluteError" + ], "type": "string", - "x-nullable": true - }, - "learningRate": { - "description": "The learning rate for the training procedure.", + "x-ms-enum": { + "name": "RegressionPrimaryMetrics", + "modelAsString": true, + "values": [ + { + "value": "SpearmanCorrelation", + "description": "The Spearman's rank coefficient of correlation is a nonparametric measure of rank correlation." + }, + { + "value": "NormalizedRootMeanSquaredError", + "description": "The Normalized Root Mean Squared Error (NRMSE) the RMSE facilitates the comparison between models with different scales." + }, + { + "value": "R2Score", + "description": "The R2 score is one of the performance evaluation measures for forecasting-based machine learning models." + }, + { + "value": "NormalizedMeanAbsoluteError", + "description": "The Normalized Mean Absolute Error (NMAE) is a validation metric to compare the Mean Absolute Error (MAE) of (time) series with different scales." + } + ] + }, + "additionalProperties": false + }, + "RegressionTrainingSettings": { + "description": "Regression Training related configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrainingSettings" + } + ], + "properties": { + "allowedTrainingAlgorithms": { + "description": "Allowed models for regression task.", + "type": "array", + "items": { + "$ref": "#/definitions/RegressionModels" + }, + "x-nullable": true + }, + "blockedTrainingAlgorithms": { + "description": "Blocked models for regression task.", + "type": "array", + "items": { + "$ref": "#/definitions/RegressionModels" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "RequestLogging": { + "type": "object", + "properties": { + "captureHeaders": { + "description": "For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ResourceBase": { + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string", + "x-nullable": true + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ResourceConfiguration": { + "type": "object", + "properties": { + "instanceCount": { + "format": "int32", + "description": "Optional number of instances or nodes used by the compute target.", + "default": 1, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "instanceType": { + "description": "Optional type of VM used as supported by the compute target.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "locations": { + "description": "Locations where the job can run.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "maxInstanceCount": { + "format": "int32", + "description": "Optional max allowed number of instances or nodes to be used by the compute target.\r\nFor use with elastic training, currently supported by PyTorch distribution type only.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "properties": { + "description": "Additional properties bag.", + "type": "object", + "additionalProperties": { + "type": "object", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "RollingRateType": { + "enum": [ + "Year", + "Month", + "Day", + "Hour", + "Minute" + ], "type": "string", - "x-nullable": true - }, - "maxBin": { - "description": "Specify the Maximum number of discrete bins to bucket continuous features .", + "x-ms-enum": { + "name": "RollingRateType", + "modelAsString": true, + "values": [ + { + "value": "Year" + }, + { + "value": "Month" + }, + { + "value": "Day" + }, + { + "value": "Hour" + }, + { + "value": "Minute" + } + ] + }, + "additionalProperties": false + }, + "Route": { + "required": [ + "path", + "port" + ], + "type": "object", + "properties": { + "path": { + "description": "[Required] The path for the route.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "port": { + "format": "int32", + "description": "[Required] The port for the route.", + "type": "integer" + } + }, + "additionalProperties": false + }, + "SASCredentialDto": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PendingUploadCredentialDto" + } + ], + "properties": { + "sasUri": { + "format": "uri", + "description": "Full SAS Uri, including the storage, container/blob path and SAS token", + "type": "string", + "x-ms-secret": true, + "x-nullable": true + } + }, + "x-ms-discriminator-value": "SAS", + "additionalProperties": false + }, + "SamplingAlgorithm": { + "description": "The Sampling Algorithm used to generate hyperparameter values, along with properties to\r\nconfigure the algorithm", + "required": [ + "samplingAlgorithmType" + ], + "type": "object", + "properties": { + "samplingAlgorithmType": { + "description": "[Required] The algorithm used for generating hyperparameter values, along with configuration properties", + "$ref": "#/definitions/SamplingAlgorithmType" + } + }, + "discriminator": "samplingAlgorithmType" + }, + "SamplingAlgorithmType": { + "enum": [ + "Grid", + "Random", + "Bayesian" + ], "type": "string", - "x-nullable": true - }, - "maxDepth": { - "description": "Specify the max depth to limit the tree depth explicitly.", + "x-ms-enum": { + "name": "SamplingAlgorithmType", + "modelAsString": true, + "values": [ + { + "value": "Grid" + }, + { + "value": "Random" + }, + { + "value": "Bayesian" + } + ] + }, + "additionalProperties": false + }, + "SasDatastoreCredentials": { + "description": "SAS datastore credentials configuration.", + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "[Required] Storage container secrets.", + "$ref": "#/definitions/SasDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "SasDatastoreSecrets": { + "description": "Datastore SAS secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "sasToken": { + "description": "Storage container SAS token.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "ScaleType": { + "enum": [ + "Default", + "TargetUtilization" + ], "type": "string", - "x-nullable": true - }, - "maxLeaves": { - "description": "Specify the max leaves to limit the tree leaves explicitly.", + "x-ms-enum": { + "name": "ScaleType", + "modelAsString": true, + "values": [ + { + "value": "Default" + }, + { + "value": "TargetUtilization" + } + ] + }, + "additionalProperties": false + }, + "Schedule": { + "description": "Base definition of a schedule", + "required": [ + "action", + "trigger" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "action": { + "description": "[Required] Specifies the action of the schedule", + "$ref": "#/definitions/ScheduleActionBase", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "displayName": { + "description": "Display name of schedule.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "isEnabled": { + "description": "Is the schedule enabled?", + "default": true, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "provisioningState": { + "description": "Provisioning state for the schedule.", + "$ref": "#/definitions/ScheduleProvisioningStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "trigger": { + "description": "[Required] Specifies the trigger details", + "$ref": "#/definitions/TriggerBase", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "x-ms-client-name": "ScheduleProperties", + "additionalProperties": false + }, + "ScheduleActionBase": { + "required": [ + "actionType" + ], + "type": "object", + "properties": { + "actionType": { + "description": "[Required] Specifies the action type of the schedule", + "$ref": "#/definitions/ScheduleActionType", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "discriminator": "actionType" + }, + "ScheduleActionType": { + "enum": [ + "CreateJob", + "InvokeBatchEndpoint", + "ImportData", + "CreateMonitor" + ], "type": "string", - "x-nullable": true - }, - "minDataInLeaf": { - "description": "The minimum number of data per leaf.", + "x-ms-enum": { + "name": "ScheduleActionType", + "modelAsString": true, + "values": [ + { + "value": "CreateJob" + }, + { + "value": "InvokeBatchEndpoint" + }, + { + "value": "ImportData" + }, + { + "value": "CreateMonitor" + } + ] + }, + "additionalProperties": false + }, + "ScheduleListViewType": { + "enum": [ + "EnabledOnly", + "DisabledOnly", + "All" + ], "type": "string", - "x-nullable": true - }, - "minSplitGain": { - "description": "Minimum loss reduction required to make a further partition on a leaf node of the tree.", + "x-ms-enum": { + "name": "ScheduleListViewType", + "modelAsString": true, + "values": [ + { + "value": "EnabledOnly" + }, + { + "value": "DisabledOnly" + }, + { + "value": "All" + } + ] + }, + "additionalProperties": false + }, + "ScheduleProvisioningStatus": { + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], "type": "string", - "x-nullable": true - }, - "modelName": { - "description": "The name of the model to train.", + "x-ms-enum": { + "name": "ScheduleProvisioningStatus", + "modelAsString": true, + "values": [ + { + "value": "Creating" + }, + { + "value": "Updating" + }, + { + "value": "Deleting" + }, + { + "value": "Succeeded" + }, + { + "value": "Failed" + }, + { + "value": "Canceled" + } + ] + }, + "additionalProperties": false + }, + "ScheduleResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "[Required] Additional attributes of the entity.", + "$ref": "#/definitions/Schedule" + } + }, + "x-ms-client-name": "Schedule", + "additionalProperties": false + }, + "ScheduleResourceArmPaginatedResult": { + "description": "A paginated list of Schedule entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Schedule objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type Schedule.", + "type": "array", + "items": { + "$ref": "#/definitions/ScheduleResource" + } + } + }, + "additionalProperties": false + }, + "Seasonality": { + "description": "Forecasting seasonality.", + "required": [ + "mode" + ], + "type": "object", + "properties": { + "mode": { + "description": "[Required] Seasonality mode.", + "$ref": "#/definitions/SeasonalityMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mode" + }, + "SeasonalityMode": { + "description": "Forecasting seasonality mode.", + "enum": [ + "Auto", + "Custom" + ], "type": "string", - "x-nullable": true - }, - "nEstimators": { - "description": "Specify the number of trees (or rounds) in an model.", + "x-ms-enum": { + "name": "SeasonalityMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Seasonality to be determined automatically." + }, + { + "value": "Custom", + "description": "Use the custom seasonality value." + } + ] + }, + "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": [ + "AccountKey", + "Certificate", + "Sas", + "ServicePrincipal", + "KerberosPassword", + "KerberosKeytab" + ], "type": "string", - "x-nullable": true - }, - "numLeaves": { - "description": "Specify the number of leaves.", + "x-ms-enum": { + "name": "SecretsType", + "modelAsString": true, + "values": [ + { + "value": "AccountKey" + }, + { + "value": "Certificate" + }, + { + "value": "Sas" + }, + { + "value": "ServicePrincipal" + }, + { + "value": "KerberosPassword" + }, + { + "value": "KerberosKeytab" + } + ] + }, + "additionalProperties": false + }, + "ServiceDataAccessAuthIdentity": { + "enum": [ + "None", + "WorkspaceSystemAssignedIdentity", + "WorkspaceUserAssignedIdentity" + ], "type": "string", - "x-nullable": true - }, - "preprocessorName": { - "description": "The name of the preprocessor to use.", + "x-ms-enum": { + "name": "ServiceDataAccessAuthIdentity", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Do not use any identity for service data access." + }, + { + "value": "WorkspaceSystemAssignedIdentity", + "description": "Use the system assigned managed identity of the Workspace to authenticate service data access." + }, + { + "value": "WorkspaceUserAssignedIdentity", + "description": "Use the user assigned managed identity of the Workspace to authenticate service data access." + } + ] + }, + "additionalProperties": false + }, + "ServicePrincipalDatastoreCredentials": { + "description": "Service Principal datastore credentials configuration.", + "required": [ + "clientId", + "secrets", + "tenantId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string", + "x-nullable": true + }, + "clientId": { + "format": "uuid", + "description": "[Required] Service principal client ID.", + "type": "string" + }, + "resourceUrl": { + "description": "Resource the service principal has access to.", + "type": "string", + "x-nullable": true + }, + "secrets": { + "description": "[Required] Service principal secrets.", + "$ref": "#/definitions/ServicePrincipalDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "[Required] ID of the tenant to which the service principal belongs.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "ServicePrincipalDatastoreSecrets": { + "description": "Datastore Service Principal secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "clientSecret": { + "description": "Service principal secret.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "ShortSeriesHandlingConfiguration": { + "description": "The parameter defining how if AutoML should handle short time series.", + "enum": [ + "None", + "Auto", + "Pad", + "Drop" + ], "type": "string", - "x-nullable": true - }, - "regAlpha": { - "description": "L1 regularization term on weights.", + "x-ms-enum": { + "name": "ShortSeriesHandlingConfiguration", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Represents no/null value." + }, + { + "value": "Auto", + "description": "Short series will be padded if there are no long series, otherwise short series will be dropped." + }, + { + "value": "Pad", + "description": "All the short series will be padded." + }, + { + "value": "Drop", + "description": "All the short series will be dropped." + } + ] + }, + "additionalProperties": false + }, + "SkuCapacity": { + "description": "SKU capacity information", + "type": "object", + "properties": { + "default": { + "format": "int32", + "description": "Gets or sets the default capacity.", + "default": 0, + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Gets or sets the maximum.", + "default": 0, + "type": "integer" + }, + "minimum": { + "format": "int32", + "description": "Gets or sets the minimum.", + "default": 0, + "type": "integer" + }, + "scaleType": { + "description": "Gets or sets the type of the scale.", + "default": "Automatic", + "$ref": "#/definitions/SkuScaleType" + } + }, + "additionalProperties": false + }, + "SkuResource": { + "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", + "type": "object", + "properties": { + "capacity": { + "description": "Gets or sets the Sku Capacity.", + "$ref": "#/definitions/SkuCapacity", + "x-nullable": true + }, + "resourceType": { + "description": "The resource type name.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "sku": { + "description": "Gets or sets the Sku.", + "$ref": "#/definitions/SkuSetting", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "SkuResourceArmPaginatedResult": { + "description": "A paginated list of SkuResource entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of SkuResource objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type SkuResource.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuResource" + }, + "x-ms-identifiers": [] + } + }, + "additionalProperties": false + }, + "SkuScaleType": { + "description": "Node scaling setting for the compute sku.", + "enum": [ + "Automatic", + "Manual", + "None" + ], "type": "string", - "x-nullable": true - }, - "regLambda": { - "description": "L2 regularization term on weights.", + "x-ms-enum": { + "name": "SkuScaleType", + "modelAsString": true, + "values": [ + { + "value": "Automatic", + "description": "Automatically scales node count." + }, + { + "value": "Manual", + "description": "Node count scaled upon user request." + }, + { + "value": "None", + "description": "Fixed set of nodes." + } + ] + }, + "additionalProperties": false + }, + "SkuSetting": { + "description": "SkuSetting fulfills the need for stripped down SKU info in ARM contract.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "[Required] The name of the SKU. Ex - P3. It is typically a letter+number code.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "tier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "default": "Basic", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" + } + }, + "additionalProperties": false + }, + "SparkJob": { + "description": "Spark job definition.", + "required": [ + "codeId", + "entry" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "archives": { + "description": "Archive files used in the job.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "args": { + "description": "Arguments for the job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "codeId": { + "description": "[Required] ARM resource ID of the code asset.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "conf": { + "description": "Spark configured properties.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "entry": { + "description": "[Required] The entry to execute on startup of the job.", + "$ref": "#/definitions/SparkJobEntry", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "files": { + "description": "Files used in the job.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "inputs": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "jars": { + "description": "Jar files used in the job.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "pyFiles": { + "description": "Python files used in the job.", + "type": "array", + "items": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "$ref": "#/definitions/SparkResourceConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Spark", + "additionalProperties": false + }, + "SparkJobEntry": { + "description": "Spark job entry point definition.", + "required": [ + "sparkJobEntryType" + ], + "type": "object", + "properties": { + "sparkJobEntryType": { + "description": "[Required] Type of the job's entry point.", + "$ref": "#/definitions/SparkJobEntryType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "sparkJobEntryType" + }, + "SparkJobEntryType": { + "enum": [ + "SparkJobPythonEntry", + "SparkJobScalaEntry" + ], "type": "string", - "x-nullable": true - }, - "subsample": { - "description": "Subsample ratio of the training instance.", + "x-ms-enum": { + "name": "SparkJobEntryType", + "modelAsString": true, + "values": [ + { + "value": "SparkJobPythonEntry" + }, + { + "value": "SparkJobScalaEntry" + } + ] + }, + "additionalProperties": false + }, + "SparkJobPythonEntry": { + "required": [ + "file" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SparkJobEntry" + } + ], + "properties": { + "file": { + "description": "[Required] Relative python file path for job entry point.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "train.py", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "SparkJobPythonEntry", + "additionalProperties": false + }, + "SparkJobScalaEntry": { + "required": [ + "className" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SparkJobEntry" + } + ], + "properties": { + "className": { + "description": "[Required] Scala class name used as entry point.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "microsoft.aml.sample.myapp", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "SparkJobScalaEntry", + "additionalProperties": false + }, + "SparkResourceConfiguration": { + "type": "object", + "properties": { + "instanceType": { + "description": "Optional type of VM used as supported by the compute target.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "runtimeVersion": { + "description": "Version of spark runtime used for the job.", + "default": "3.1", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "StackEnsembleSettings": { + "description": "Advances setting to customize StackEnsemble run.", + "type": "object", + "properties": { + "stackMetaLearnerKWargs": { + "description": "Optional parameters to pass to the initializer of the meta-learner.", + "type": "object", + "x-nullable": true + }, + "stackMetaLearnerTrainPercentage": { + "format": "double", + "description": "Specifies the proportion of the training set (when choosing train and validation type of training) to be reserved for training the meta-learner. Default value is 0.2.", + "default": 0.2, + "type": "number" + }, + "stackMetaLearnerType": { + "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.", + "default": "None", + "$ref": "#/definitions/StackMetaLearnerType" + } + }, + "additionalProperties": false + }, + "StackMetaLearnerType": { + "description": "The meta-learner is a model trained on the output of the individual heterogeneous models.\r\nDefault meta-learners are LogisticRegression for classification tasks (or LogisticRegressionCV if cross-validation is enabled) and ElasticNet for regression/forecasting tasks (or ElasticNetCV if cross-validation is enabled).\r\nThis parameter can be one of the following strings: LogisticRegression, LogisticRegressionCV, LightGBMClassifier, ElasticNet, ElasticNetCV, LightGBMRegressor, or LinearRegression", + "enum": [ + "None", + "LogisticRegression", + "LogisticRegressionCV", + "LightGBMClassifier", + "ElasticNet", + "ElasticNetCV", + "LightGBMRegressor", + "LinearRegression" + ], "type": "string", - "x-nullable": true - }, - "subsampleFreq": { - "description": "Frequency of subsample", + "x-ms-enum": { + "name": "StackMetaLearnerType", + "modelAsString": true, + "values": [ + { + "value": "None" + }, + { + "value": "LogisticRegression", + "description": "Default meta-learners are LogisticRegression for classification tasks." + }, + { + "value": "LogisticRegressionCV", + "description": "Default meta-learners are LogisticRegression for classification task when CV is on." + }, + { + "value": "LightGBMClassifier" + }, + { + "value": "ElasticNet", + "description": "Default meta-learners are LogisticRegression for regression task." + }, + { + "value": "ElasticNetCV", + "description": "Default meta-learners are LogisticRegression for regression task when CV is on." + }, + { + "value": "LightGBMRegressor" + }, + { + "value": "LinearRegression" + } + ] + }, + "additionalProperties": false + }, + "StaticInputData": { + "description": "Static input data definition.", + "required": [ + "windowEnd", + "windowStart" + ], + "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 + }, + "windowEnd": { + "format": "date-time", + "description": "[Required] The end date of the data window.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "windowStart": { + "format": "date-time", + "description": "[Required] The start date of the data window.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Static", + "additionalProperties": false + }, + "StatusMessage": { + "description": "Active message associated with project", + "type": "object", + "properties": { + "code": { + "description": "Service-defined message code.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "createdDateTime": { + "format": "date-time", + "description": "Time in UTC at which the message was created.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "level": { + "description": "Severity level of message.", + "$ref": "#/definitions/StatusMessageLevel", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "message": { + "description": "A human-readable representation of the message code.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, + "StatusMessageLevel": { + "enum": [ + "Error", + "Information", + "Warning" + ], "type": "string", - "x-nullable": true - }, - "treeMethod": { - "description": "Specify the tree method.", + "x-ms-enum": { + "name": "StatusMessageLevel", + "modelAsString": true, + "values": [ + { + "value": "Error" + }, + { + "value": "Information" + }, + { + "value": "Warning" + } + ] + }, + "additionalProperties": false + }, + "StochasticOptimizer": { + "description": "Stochastic optimizer for image models.", + "enum": [ + "None", + "Sgd", + "Adam", + "Adamw" + ], "type": "string", - "x-nullable": true - }, - "withMean": { - "description": "If true, center before scaling the data with StandardScalar.", + "x-ms-enum": { + "name": "StochasticOptimizer", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No optimizer selected." + }, + { + "value": "Sgd", + "description": "Stochastic Gradient Descent optimizer." + }, + { + "value": "Adam", + "description": "Adam is algorithm the optimizes stochastic objective functions based on adaptive estimates of moments" + }, + { + "value": "Adamw", + "description": "AdamW is a variant of the optimizer Adam that has an improved implementation of weight decay." + } + ] + }, + "additionalProperties": false + }, + "SweepJob": { + "description": "Sweep job definition.", + "required": [ + "objective", + "samplingAlgorithm", + "searchSpace", + "trial" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "earlyTermination": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "$ref": "#/definitions/EarlyTerminationPolicy", + "x-nullable": true + }, + "inputs": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "limits": { + "description": "Sweep Job limit.", + "default": "{}", + "$ref": "#/definitions/SweepJobLimits", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "objective": { + "description": "[Required] Optimization objective.", + "$ref": "#/definitions/Objective" + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "default": "{}", + "$ref": "#/definitions/JobResourceConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "samplingAlgorithm": { + "description": "[Required] The hyperparameter sampling algorithm", + "$ref": "#/definitions/SamplingAlgorithm" + }, + "searchSpace": { + "description": "[Required] A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", + "type": "object" + }, + "trial": { + "description": "[Required] Trial component definition.", + "$ref": "#/definitions/TrialComponent" + } + }, + "x-ms-discriminator-value": "Sweep", + "additionalProperties": false + }, + "SweepJobLimits": { + "description": "Sweep Job limit class.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobLimits" + } + ], + "properties": { + "maxConcurrentTrials": { + "format": "int32", + "description": "Sweep Job max concurrent trials.", + "type": "integer", + "x-nullable": true + }, + "maxTotalTrials": { + "format": "int32", + "description": "Sweep Job max total trials.", + "type": "integer", + "x-nullable": true + }, + "trialTimeout": { + "format": "duration", + "description": "Sweep Job Trial timeout value.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Sweep", + "additionalProperties": false + }, + "TableFixedParameters": { + "description": "Fixed training parameters that won't be swept over during AutoML Table training.", + "type": "object", + "properties": { + "booster": { + "description": "Specify the boosting type, e.g gbdt for XGBoost.", + "type": "string", + "x-nullable": true + }, + "boostingType": { + "description": "Specify the boosting type, e.g gbdt for LightGBM.", + "type": "string", + "x-nullable": true + }, + "growPolicy": { + "description": "Specify the grow policy, which controls the way new nodes are added to the tree.", + "type": "string", + "x-nullable": true + }, + "learningRate": { + "format": "double", + "description": "The learning rate for the training procedure.", + "type": "number", + "x-nullable": true + }, + "maxBin": { + "format": "int32", + "description": "Specify the Maximum number of discrete bins to bucket continuous features .", + "type": "integer", + "x-nullable": true + }, + "maxDepth": { + "format": "int32", + "description": "Specify the max depth to limit the tree depth explicitly.", + "type": "integer", + "x-nullable": true + }, + "maxLeaves": { + "format": "int32", + "description": "Specify the max leaves to limit the tree leaves explicitly.", + "type": "integer", + "x-nullable": true + }, + "minDataInLeaf": { + "format": "int32", + "description": "The minimum number of data per leaf.", + "type": "integer", + "x-nullable": true + }, + "minSplitGain": { + "format": "double", + "description": "Minimum loss reduction required to make a further partition on a leaf node of the tree.", + "type": "number", + "x-nullable": true + }, + "modelName": { + "description": "The name of the model to train.", + "type": "string", + "x-nullable": true + }, + "nEstimators": { + "format": "int32", + "description": "Specify the number of trees (or rounds) in an model.", + "type": "integer", + "x-nullable": true + }, + "numLeaves": { + "format": "int32", + "description": "Specify the number of leaves.", + "type": "integer", + "x-nullable": true + }, + "preprocessorName": { + "description": "The name of the preprocessor to use.", + "type": "string", + "x-nullable": true + }, + "regAlpha": { + "format": "double", + "description": "L1 regularization term on weights.", + "type": "number", + "x-nullable": true + }, + "regLambda": { + "format": "double", + "description": "L2 regularization term on weights.", + "type": "number", + "x-nullable": true + }, + "subsample": { + "format": "double", + "description": "Subsample ratio of the training instance.", + "type": "number", + "x-nullable": true + }, + "subsampleFreq": { + "format": "double", + "description": "Frequency of subsample.", + "type": "number", + "x-nullable": true + }, + "treeMethod": { + "description": "Specify the tree method.", + "type": "string", + "x-nullable": true + }, + "withMean": { + "description": "If true, center before scaling the data with StandardScalar.", + "default": false, + "type": "boolean" + }, + "withStd": { + "description": "If true, scaling the data with Unit Variance with StandardScalar.", + "default": false, + "type": "boolean" + } + }, + "additionalProperties": false + }, + "TableParameterSubspace": { + "type": "object", + "properties": { + "booster": { + "description": "Specify the boosting type, e.g gbdt for XGBoost.", + "type": "string", + "x-nullable": true + }, + "boostingType": { + "description": "Specify the boosting type, e.g gbdt for LightGBM.", + "type": "string", + "x-nullable": true + }, + "growPolicy": { + "description": "Specify the grow policy, which controls the way new nodes are added to the tree.", + "type": "string", + "x-nullable": true + }, + "learningRate": { + "description": "The learning rate for the training procedure.", + "type": "string", + "x-nullable": true + }, + "maxBin": { + "description": "Specify the Maximum number of discrete bins to bucket continuous features .", + "type": "string", + "x-nullable": true + }, + "maxDepth": { + "description": "Specify the max depth to limit the tree depth explicitly.", + "type": "string", + "x-nullable": true + }, + "maxLeaves": { + "description": "Specify the max leaves to limit the tree leaves explicitly.", + "type": "string", + "x-nullable": true + }, + "minDataInLeaf": { + "description": "The minimum number of data per leaf.", + "type": "string", + "x-nullable": true + }, + "minSplitGain": { + "description": "Minimum loss reduction required to make a further partition on a leaf node of the tree.", + "type": "string", + "x-nullable": true + }, + "modelName": { + "description": "The name of the model to train.", + "type": "string", + "x-nullable": true + }, + "nEstimators": { + "description": "Specify the number of trees (or rounds) in an model.", + "type": "string", + "x-nullable": true + }, + "numLeaves": { + "description": "Specify the number of leaves.", + "type": "string", + "x-nullable": true + }, + "preprocessorName": { + "description": "The name of the preprocessor to use.", + "type": "string", + "x-nullable": true + }, + "regAlpha": { + "description": "L1 regularization term on weights.", + "type": "string", + "x-nullable": true + }, + "regLambda": { + "description": "L2 regularization term on weights.", + "type": "string", + "x-nullable": true + }, + "subsample": { + "description": "Subsample ratio of the training instance.", + "type": "string", + "x-nullable": true + }, + "subsampleFreq": { + "description": "Frequency of subsample", + "type": "string", + "x-nullable": true + }, + "treeMethod": { + "description": "Specify the tree method.", + "type": "string", + "x-nullable": true + }, + "withMean": { + "description": "If true, center before scaling the data with StandardScalar.", + "type": "string", + "x-nullable": true + }, + "withStd": { + "description": "If true, scaling the data with Unit Variance with StandardScalar.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "TableSweepSettings": { + "required": [ + "samplingAlgorithm" + ], + "type": "object", + "properties": { + "earlyTermination": { + "description": "Type of early termination policy for the sweeping job.", + "$ref": "#/definitions/EarlyTerminationPolicy", + "x-nullable": true + }, + "samplingAlgorithm": { + "description": "[Required] Type of sampling algorithm.", + "$ref": "#/definitions/SamplingAlgorithmType" + } + }, + "additionalProperties": false + }, + "TableVertical": { + "description": "Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting.", + "type": "object", + "properties": { + "cvSplitColumnNames": { + "description": "Columns to use for CVSplit data.", + "type": "array", + "items": { + "type": "string" + }, + "x-nullable": true + }, + "featurizationSettings": { + "description": "Featurization inputs needed for AutoML job.", + "$ref": "#/definitions/TableVerticalFeaturizationSettings", + "x-nullable": true + }, + "fixedParameters": { + "description": "Model/training parameters that will remain constant throughout training.", + "$ref": "#/definitions/TableFixedParameters", + "x-nullable": true + }, + "limitSettings": { + "description": "Execution constraints for AutoMLJob.", + "$ref": "#/definitions/TableVerticalLimitSettings", + "x-nullable": true + }, + "nCrossValidations": { + "description": "Number of cross validation folds to be applied on training dataset\r\nwhen validation dataset is not provided.", + "$ref": "#/definitions/NCrossValidations", + "x-nullable": true + }, + "searchSpace": { + "description": "Search space for sampling different combinations of models and their hyperparameters.", + "type": "array", + "items": { + "$ref": "#/definitions/TableParameterSubspace" + }, + "x-nullable": true, + "x-ms-identifiers": [] + }, + "sweepSettings": { + "description": "Settings for model sweeping and hyperparameter tuning.", + "$ref": "#/definitions/TableSweepSettings", + "x-nullable": true + }, + "testData": { + "description": "Test data input.", + "$ref": "#/definitions/MLTableJobInput", + "x-nullable": true + }, + "testDataSize": { + "format": "double", + "description": "The fraction of test 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 + }, + "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 + }, + "weightColumnName": { + "description": "The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "TableVerticalFeaturizationSettings": { + "description": "Featurization Configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/FeaturizationSettings" + } + ], + "properties": { + "blockedTransformers": { + "description": "These transformers shall not be used in featurization.", + "type": "array", + "items": { + "$ref": "#/definitions/BlockedTransformers" + }, + "x-nullable": true + }, + "columnNameAndTypes": { + "description": "Dictionary of column name and its type (int, float, string, datetime etc).", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "enableDnnFeaturization": { + "description": "Determines whether to use Dnn based featurizers for data featurization.", + "default": false, + "type": "boolean" + }, + "mode": { + "description": "Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase.\r\nIf 'Off' is selected then no featurization is done.\r\nIf 'Custom' is selected then user can specify additional inputs to customize how featurization is done.", + "default": "Auto", + "$ref": "#/definitions/FeaturizationMode" + }, + "transformerParams": { + "description": "User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "$ref": "#/definitions/ColumnTransformer" + }, + "x-nullable": true, + "x-ms-identifiers": [] + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, + "TableVerticalLimitSettings": { + "description": "Job execution constraints.", + "type": "object", + "properties": { + "enableEarlyTermination": { + "description": "Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.", + "default": true, + "type": "boolean" + }, + "exitScore": { + "format": "double", + "description": "Exit score for the AutoML job.", + "type": "number", + "x-nullable": true + }, + "maxConcurrentTrials": { + "format": "int32", + "description": "Maximum Concurrent iterations.", + "default": 1, + "type": "integer" + }, + "maxCoresPerTrial": { + "format": "int32", + "description": "Max cores per iteration.", + "default": -1, + "type": "integer" + }, + "maxNodes": { + "format": "int32", + "description": "Maximum nodes to use for the experiment.", + "default": 1, + "type": "integer" + }, + "maxTrials": { + "format": "int32", + "description": "Number of iterations.", + "default": 1000, + "type": "integer" + }, + "sweepConcurrentTrials": { + "format": "int32", + "description": "Number of concurrent sweeping runs that user wants to trigger.", + "default": 0, + "type": "integer" + }, + "sweepTrials": { + "format": "int32", + "description": "Number of sweeping runs that user wants to trigger.", + "default": 0, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "AutoML job timeout.", + "default": "PT6H", + "type": "string" + }, + "trialTimeout": { + "format": "duration", + "description": "Iteration timeout.", + "default": "PT30M", + "type": "string" + } + }, + "additionalProperties": false + }, + "TargetAggregationFunction": { + "description": "Target aggregate function.", + "enum": [ + "None", + "Sum", + "Max", + "Min", + "Mean" + ], "type": "string", - "x-nullable": true - }, - "withStd": { - "description": "If true, scaling the data with Unit Variance with StandardScalar.", + "x-ms-enum": { + "name": "TargetAggregationFunction", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "Represent no value set." + }, + { + "value": "Sum" + }, + { + "value": "Max" + }, + { + "value": "Min" + }, + { + "value": "Mean" + } + ] + }, + "additionalProperties": false + }, + "TargetLags": { + "description": "The number of past periods to lag from the target column.", + "required": [ + "mode" + ], + "type": "object", + "properties": { + "mode": { + "description": "[Required] Set target lags mode - Auto/Custom", + "$ref": "#/definitions/TargetLagsMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mode" + }, + "TargetLagsMode": { + "description": "Target lags selection modes.", + "enum": [ + "Auto", + "Custom" + ], "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "TableSweepSettings": { - "required": [ - "samplingAlgorithm" - ], - "type": "object", - "properties": { - "earlyTermination": { - "description": "Type of early termination policy for the sweeping job.", - "$ref": "#/definitions/EarlyTerminationPolicy", - "x-nullable": true - }, - "samplingAlgorithm": { - "description": "[Required] Type of sampling algorithm.", - "$ref": "#/definitions/SamplingAlgorithmType" - } - }, - "additionalProperties": false - }, - "TableVertical": { - "description": "Abstract class for AutoML tasks that use table dataset as input - such as Classification/Regression/Forecasting.", - "type": "object", - "properties": { - "cvSplitColumnNames": { - "description": "Columns to use for CVSplit data.", - "type": "array", - "items": { - "type": "string" - }, - "x-nullable": true - }, - "featurizationSettings": { - "description": "Featurization inputs needed for AutoML job.", - "$ref": "#/definitions/TableVerticalFeaturizationSettings", - "x-nullable": true - }, - "fixedParameters": { - "description": "Model/training parameters that will remain constant throughout training.", - "$ref": "#/definitions/TableFixedParameters", - "x-nullable": true - }, - "limitSettings": { - "description": "Execution constraints for AutoMLJob.", - "$ref": "#/definitions/TableVerticalLimitSettings", - "x-nullable": true - }, - "nCrossValidations": { - "description": "Number of cross validation folds to be applied on training dataset\r\nwhen validation dataset is not provided.", - "$ref": "#/definitions/NCrossValidations", - "x-nullable": true - }, - "searchSpace": { - "description": "Search space for sampling different combinations of models and their hyperparameters.", - "type": "array", - "items": { - "$ref": "#/definitions/TableParameterSubspace" - }, - "x-nullable": true, - "x-ms-identifiers": [] - }, - "sweepSettings": { - "description": "Settings for model sweeping and hyperparameter tuning.", - "$ref": "#/definitions/TableSweepSettings", - "x-nullable": true - }, - "testData": { - "description": "Test data input.", - "$ref": "#/definitions/MLTableJobInput", - "x-nullable": true - }, - "testDataSize": { - "format": "double", - "description": "The fraction of test 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 - }, - "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 - }, - "weightColumnName": { - "description": "The name of the sample weight column. Automated ML supports a weighted column as an input, causing rows in the data to be weighted up or down.", + "x-ms-enum": { + "name": "TargetLagsMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Target lags to be determined automatically." + }, + { + "value": "Custom", + "description": "Use the custom target lags." + } + ] + }, + "additionalProperties": false + }, + "TargetRollingWindowSize": { + "description": "Forecasting target rolling window size.", + "required": [ + "mode" + ], + "type": "object", + "properties": { + "mode": { + "description": "[Required] TargetRollingWindowSiz detection mode.", + "$ref": "#/definitions/TargetRollingWindowSizeMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mode" + }, + "TargetRollingWindowSizeMode": { + "description": "Target rolling windows size mode.", + "enum": [ + "Auto", + "Custom" + ], "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "TableVerticalFeaturizationSettings": { - "description": "Featurization Configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/FeaturizationSettings" - } - ], - "properties": { - "blockedTransformers": { - "description": "These transformers shall not be used in featurization.", - "type": "array", - "items": { - "$ref": "#/definitions/BlockedTransformers" - }, - "x-nullable": true - }, - "columnNameAndTypes": { - "description": "Dictionary of column name and its type (int, float, string, datetime etc).", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "enableDnnFeaturization": { - "description": "Determines whether to use Dnn based featurizers for data featurization.", - "default": false, - "type": "boolean" - }, - "mode": { - "description": "Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase.\r\nIf 'Off' is selected then no featurization is done.\r\nIf 'Custom' is selected then user can specify additional inputs to customize how featurization is done.", - "default": "Auto", - "$ref": "#/definitions/FeaturizationMode" - }, - "transformerParams": { - "description": "User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/ColumnTransformer" - }, - "x-nullable": true, - "x-ms-identifiers": [] - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "TableVerticalLimitSettings": { - "description": "Job execution constraints.", - "type": "object", - "properties": { - "enableEarlyTermination": { - "description": "Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.", - "default": true, - "type": "boolean" - }, - "exitScore": { - "format": "double", - "description": "Exit score for the AutoML job.", - "type": "number", - "x-nullable": true - }, - "maxConcurrentTrials": { - "format": "int32", - "description": "Maximum Concurrent iterations.", - "default": 1, - "type": "integer" - }, - "maxCoresPerTrial": { - "format": "int32", - "description": "Max cores per iteration.", - "default": -1, - "type": "integer" - }, - "maxNodes": { - "format": "int32", - "description": "Maximum nodes to use for the experiment.", - "default": 1, - "type": "integer" - }, - "maxTrials": { - "format": "int32", - "description": "Number of iterations.", - "default": 1000, - "type": "integer" - }, - "sweepConcurrentTrials": { - "format": "int32", - "description": "Number of concurrent sweeping runs that user wants to trigger.", - "default": 0, - "type": "integer" - }, - "sweepTrials": { - "format": "int32", - "description": "Number of sweeping runs that user wants to trigger.", - "default": 0, - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "AutoML job timeout.", - "default": "PT6H", - "type": "string" - }, - "trialTimeout": { - "format": "duration", - "description": "Iteration timeout.", - "default": "PT30M", - "type": "string" - } - }, - "additionalProperties": false - }, - "TargetAggregationFunction": { - "description": "Target aggregate function.", - "enum": [ - "None", - "Sum", - "Max", - "Min", - "Mean" - ], - "type": "string", - "x-ms-enum": { - "name": "TargetAggregationFunction", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "Represent no value set." - }, - { - "value": "Sum" - }, - { - "value": "Max" - }, - { - "value": "Min" - }, - { - "value": "Mean" - } - ] - }, - "additionalProperties": false - }, - "TargetLags": { - "description": "The number of past periods to lag from the target column.", - "required": [ - "mode" - ], - "type": "object", - "properties": { - "mode": { - "description": "[Required] Set target lags mode - Auto/Custom", - "$ref": "#/definitions/TargetLagsMode", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mode" - }, - "TargetLagsMode": { - "description": "Target lags selection modes.", - "enum": [ - "Auto", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "TargetLagsMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Target lags to be determined automatically." - }, - { - "value": "Custom", - "description": "Use the custom target lags." - } - ] - }, - "additionalProperties": false - }, - "TargetRollingWindowSize": { - "description": "Forecasting target rolling window size.", - "required": [ - "mode" - ], - "type": "object", - "properties": { - "mode": { - "description": "[Required] TargetRollingWindowSiz detection mode.", - "$ref": "#/definitions/TargetRollingWindowSizeMode", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mode" - }, - "TargetRollingWindowSizeMode": { - "description": "Target rolling windows size mode.", - "enum": [ - "Auto", - "Custom" - ], - "type": "string", - "x-ms-enum": { - "name": "TargetRollingWindowSizeMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Determine rolling windows size automatically." - }, - { - "value": "Custom", - "description": "Use the specified rolling window size." - } - ] - }, - "additionalProperties": false - }, - "TargetUtilizationScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineScaleSettings" - } - ], - "properties": { - "maxInstances": { - "format": "int32", - "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", - "default": 1, - "type": "integer" - }, - "minInstances": { - "format": "int32", - "description": "The minimum number of instances to always be present.", - "default": 1, - "type": "integer" - }, - "pollingInterval": { - "format": "duration", - "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", - "default": "PT1S", - "type": "string" - }, - "targetUtilizationPercentage": { - "format": "int32", - "description": "Target CPU usage for the autoscaler.", - "default": 70, - "type": "integer" - } - }, - "x-ms-discriminator-value": "TargetUtilization", - "additionalProperties": false - }, - "TaskType": { - "description": "AutoMLJob Task type.", - "enum": [ - "Classification", - "Regression", - "Forecasting", - "ImageClassification", - "ImageClassificationMultilabel", - "ImageObjectDetection", - "ImageInstanceSegmentation", - "TextClassification", - "TextClassificationMultilabel", - "TextNER" - ], - "type": "string", - "x-ms-enum": { - "name": "TaskType", - "modelAsString": true, - "values": [ - { - "value": "Classification", - "description": "Classification in machine learning and statistics is a supervised learning approach in which\nthe computer program learns from the data given to it and make new observations or classifications." - }, - { - "value": "Regression", - "description": "Regression means to predict the value using the input data. Regression models are used to predict a continuous value." - }, - { - "value": "Forecasting", - "description": "Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model\nthat can be used to predict the near future values based on the inputs." - }, - { - "value": "ImageClassification", - "description": "Image Classification. Multi-class image classification is used when an image is classified with only a single label\nfrom a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'." - }, - { - "value": "ImageClassificationMultilabel", - "description": "Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels\nfrom a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'." - }, - { - "value": "ImageObjectDetection", - "description": "Image Object Detection. Object detection is used to identify objects in an image and locate each object with a\nbounding box e.g. locate all dogs and cats in an image and draw a bounding box around each." - }, - { - "value": "ImageInstanceSegmentation", - "description": "Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level,\ndrawing a polygon around each object in the image." - }, - { - "value": "TextClassification", - "description": "Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories.\nCategories are mutually exclusive." - }, - { - "value": "TextClassificationMultilabel", - "description": "Multilabel classification task assigns each sample to a group (zero or more) of target labels." - }, - { - "value": "TextNER", - "description": "Text Named Entity Recognition a.k.a. TextNER.\nNamed Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more." - } - ] - }, - "additionalProperties": false - }, - "TensorFlow": { - "description": "TensorFlow distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "parameterServerCount": { - "format": "int32", - "description": "Number of parameter server tasks.", - "default": 0, - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "workerCount": { - "format": "int32", - "description": "Number of workers. If not specified, will default to the instance count.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "x-ms-discriminator-value": "TensorFlow", - "additionalProperties": false - }, - "TextAnnotationType": { - "description": "Annotation type of text data.", - "enum": [ - "Classification", - "NamedEntityRecognition" - ], - "type": "string", - "x-ms-enum": { - "name": "TextAnnotationType", - "modelAsString": true, - "values": [ - { - "value": "Classification" - }, - { - "value": "NamedEntityRecognition" - } - ] - }, - "additionalProperties": false - }, - "TextClassification": { - "description": "Text Classification task in AutoML NLP vertical.\r\nNLP - Natural Language Processing.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/NlpVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric for Text-Classification task.", - "default": "Accuracy", - "$ref": "#/definitions/ClassificationPrimaryMetrics" - } - }, - "x-ms-discriminator-value": "TextClassification", - "additionalProperties": false - }, - "TextClassificationMultilabel": { - "description": "Text Classification Multilabel task in AutoML NLP vertical.\r\nNLP - Natural Language Processing.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/NlpVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric for Text-Classification-Multilabel task.\r\nCurrently only Accuracy is supported as primary metric, hence user need not set it explicitly.", - "$ref": "#/definitions/ClassificationMultilabelPrimaryMetrics", - "readOnly": true - } - }, - "x-ms-discriminator-value": "TextClassificationMultilabel", - "additionalProperties": false - }, - "TextNer": { - "description": "Text-NER task in AutoML NLP vertical.\r\nNER - Named Entity Recognition.\r\nNLP - Natural Language Processing.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/NlpVertical" - }, - { - "$ref": "#/definitions/AutoMLVertical" - } - ], - "properties": { - "primaryMetric": { - "description": "Primary metric for Text-NER task.\r\nOnly 'Accuracy' is supported for Text-NER, so user need not set this explicitly.", - "$ref": "#/definitions/ClassificationPrimaryMetrics", - "readOnly": true - } - }, - "x-ms-discriminator-value": "TextNER", - "additionalProperties": false - }, - "TopNFeaturesByAttribution": { - "required": [ - "filterType" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/MonitoringFeatureFilterBase" - } - ], - "properties": { - "top": { - "format": "int32", - "description": "The number of top features to include.", - "default": 10, - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "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.", + "x-ms-enum": { + "name": "TargetRollingWindowSizeMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Determine rolling windows size automatically." + }, + { + "value": "Custom", + "description": "Use the specified rolling window size." + } + ] + }, + "additionalProperties": false + }, + "TargetUtilizationScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "properties": { + "maxInstances": { + "format": "int32", + "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", + "default": 1, + "type": "integer" + }, + "minInstances": { + "format": "int32", + "description": "The minimum number of instances to always be present.", + "default": 1, + "type": "integer" + }, + "pollingInterval": { + "format": "duration", + "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", + "default": "PT1S", + "type": "string" + }, + "targetUtilizationPercentage": { + "format": "int32", + "description": "Target CPU usage for the autoscaler.", + "default": 70, + "type": "integer" + } + }, + "x-ms-discriminator-value": "TargetUtilization", + "additionalProperties": false + }, + "TaskType": { + "description": "AutoMLJob Task type.", + "enum": [ + "Classification", + "Regression", + "Forecasting", + "ImageClassification", + "ImageClassificationMultilabel", + "ImageObjectDetection", + "ImageInstanceSegmentation", + "TextClassification", + "TextClassificationMultilabel", + "TextNER" + ], "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.", + "x-ms-enum": { + "name": "TaskType", + "modelAsString": true, + "values": [ + { + "value": "Classification", + "description": "Classification in machine learning and statistics is a supervised learning approach in which\nthe computer program learns from the data given to it and make new observations or classifications." + }, + { + "value": "Regression", + "description": "Regression means to predict the value using the input data. Regression models are used to predict a continuous value." + }, + { + "value": "Forecasting", + "description": "Forecasting is a special kind of regression task that deals with time-series data and creates forecasting model\nthat can be used to predict the near future values based on the inputs." + }, + { + "value": "ImageClassification", + "description": "Image Classification. Multi-class image classification is used when an image is classified with only a single label\nfrom a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'." + }, + { + "value": "ImageClassificationMultilabel", + "description": "Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels\nfrom a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'." + }, + { + "value": "ImageObjectDetection", + "description": "Image Object Detection. Object detection is used to identify objects in an image and locate each object with a\nbounding box e.g. locate all dogs and cats in an image and draw a bounding box around each." + }, + { + "value": "ImageInstanceSegmentation", + "description": "Image Instance Segmentation. Instance segmentation is used to identify objects in an image at the pixel level,\ndrawing a polygon around each object in the image." + }, + { + "value": "TextClassification", + "description": "Text classification (also known as text tagging or text categorization) is the process of sorting texts into categories.\nCategories are mutually exclusive." + }, + { + "value": "TextClassificationMultilabel", + "description": "Multilabel classification task assigns each sample to a group (zero or more) of target labels." + }, + { + "value": "TextNER", + "description": "Text Named Entity Recognition a.k.a. TextNER.\nNamed Entity Recognition (NER) is the ability to take free-form text and identify the occurrences of entities such as people, locations, organizations, and more." + } + ] + }, + "additionalProperties": false + }, + "TensorFlow": { + "description": "TensorFlow distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "parameterServerCount": { + "format": "int32", + "description": "Number of parameter server tasks.", + "default": 0, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "workerCount": { + "format": "int32", + "description": "Number of workers. If not specified, will default to the instance count.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "x-ms-discriminator-value": "TensorFlow", + "additionalProperties": false + }, + "TextAnnotationType": { + "description": "Annotation type of text data.", + "enum": [ + "Classification", + "NamedEntityRecognition" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "windowSize": { - "format": "duration", - "description": "[Required] The size of the trailing data window.", + "x-ms-enum": { + "name": "TextAnnotationType", + "modelAsString": true, + "values": [ + { + "value": "Classification" + }, + { + "value": "NamedEntityRecognition" + } + ] + }, + "additionalProperties": false + }, + "TextClassification": { + "description": "Text Classification task in AutoML NLP vertical.\r\nNLP - Natural Language Processing.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NlpVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric for Text-Classification task.", + "default": "Accuracy", + "$ref": "#/definitions/ClassificationPrimaryMetrics" + } + }, + "x-ms-discriminator-value": "TextClassification", + "additionalProperties": false + }, + "TextClassificationMultilabel": { + "description": "Text Classification Multilabel task in AutoML NLP vertical.\r\nNLP - Natural Language Processing.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NlpVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric for Text-Classification-Multilabel task.\r\nCurrently only Accuracy is supported as primary metric, hence user need not set it explicitly.", + "$ref": "#/definitions/ClassificationMultilabelPrimaryMetrics", + "readOnly": true + } + }, + "x-ms-discriminator-value": "TextClassificationMultilabel", + "additionalProperties": false + }, + "TextNer": { + "description": "Text-NER task in AutoML NLP vertical.\r\nNER - Named Entity Recognition.\r\nNLP - Natural Language Processing.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/NlpVertical" + }, + { + "$ref": "#/definitions/AutoMLVertical" + } + ], + "properties": { + "primaryMetric": { + "description": "Primary metric for Text-NER task.\r\nOnly 'Accuracy' is supported for Text-NER, so user need not set this explicitly.", + "$ref": "#/definitions/ClassificationPrimaryMetrics", + "readOnly": true + } + }, + "x-ms-discriminator-value": "TextNER", + "additionalProperties": false + }, + "TopNFeaturesByAttribution": { + "required": [ + "filterType" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MonitoringFeatureFilterBase" + } + ], + "properties": { + "top": { + "format": "int32", + "description": "The number of top features to include.", + "default": 10, + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "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": [ + "Auto", + "Distributed", + "NonDistributed" + ], "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": [ - "Auto", - "Distributed", - "NonDistributed" - ], - "type": "string", - "x-ms-enum": { - "name": "TrainingMode", - "modelAsString": true, - "values": [ - { - "value": "Auto", - "description": "Auto mode" - }, - { - "value": "Distributed", - "description": "Distributed training mode" - }, - { - "value": "NonDistributed", - "description": "Non distributed training mode" - } - ] - }, - "additionalProperties": false - }, - "TrainingSettings": { - "description": "Training related configuration.", - "type": "object", - "properties": { - "enableDnnTraining": { - "description": "Enable recommendation of DNN models.", - "default": false, - "type": "boolean" - }, - "enableModelExplainability": { - "description": "Flag to turn on explainability on best model.", - "default": true, - "type": "boolean" - }, - "enableOnnxCompatibleModels": { - "description": "Flag for enabling onnx compatible models.", - "default": false, - "type": "boolean" - }, - "enableStackEnsemble": { - "description": "Enable stack ensemble run.", - "default": true, - "type": "boolean" - }, - "enableVoteEnsemble": { - "description": "Enable voting ensemble run.", - "default": true, - "type": "boolean" - }, - "ensembleModelDownloadTimeout": { - "format": "duration", - "description": "During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded.\r\nConfigure this parameter with a higher value than 300 secs, if more time is needed.", - "default": "PT5M", - "type": "string" - }, - "stackEnsembleSettings": { - "description": "Stack ensemble settings for stack ensemble run.", - "$ref": "#/definitions/StackEnsembleSettings", - "x-nullable": true - }, - "trainingMode": { - "description": "TrainingMode mode - Setting to 'auto' is same as setting it to 'non-distributed' for now, however in the future may result in mixed mode or heuristics based mode selection. Default is 'auto'.\r\nIf 'Distributed' then only distributed featurization is used and distributed algorithms are chosen.\r\nIf 'NonDistributed' then only non distributed algorithms are chosen.", - "default": "Auto", - "$ref": "#/definitions/TrainingMode" - } - }, - "additionalProperties": false - }, - "TrialComponent": { - "description": "Trial component definition.", - "required": [ - "command", - "environmentId" - ], - "type": "object", - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", + "x-ms-enum": { + "name": "TrainingMode", + "modelAsString": true, + "values": [ + { + "value": "Auto", + "description": "Auto mode" + }, + { + "value": "Distributed", + "description": "Distributed training mode" + }, + { + "value": "NonDistributed", + "description": "Non distributed training mode" + } + ] + }, + "additionalProperties": false + }, + "TrainingSettings": { + "description": "Training related configuration.", + "type": "object", + "properties": { + "enableDnnTraining": { + "description": "Enable recommendation of DNN models.", + "default": false, + "type": "boolean" + }, + "enableModelExplainability": { + "description": "Flag to turn on explainability on best model.", + "default": true, + "type": "boolean" + }, + "enableOnnxCompatibleModels": { + "description": "Flag for enabling onnx compatible models.", + "default": false, + "type": "boolean" + }, + "enableStackEnsemble": { + "description": "Enable stack ensemble run.", + "default": true, + "type": "boolean" + }, + "enableVoteEnsemble": { + "description": "Enable voting ensemble run.", + "default": true, + "type": "boolean" + }, + "ensembleModelDownloadTimeout": { + "format": "duration", + "description": "During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded.\r\nConfigure this parameter with a higher value than 300 secs, if more time is needed.", + "default": "PT5M", + "type": "string" + }, + "stackEnsembleSettings": { + "description": "Stack ensemble settings for stack ensemble run.", + "$ref": "#/definitions/StackEnsembleSettings", + "x-nullable": true + }, + "trainingMode": { + "description": "TrainingMode mode - Setting to 'auto' is same as setting it to 'non-distributed' for now, however in the future may result in mixed mode or heuristics based mode selection. Default is 'auto'.\r\nIf 'Distributed' then only distributed featurization is used and distributed algorithms are chosen.\r\nIf 'NonDistributed' then only non distributed algorithms are chosen.", + "default": "Auto", + "$ref": "#/definitions/TrainingMode" + } + }, + "additionalProperties": false + }, + "TrialComponent": { + "description": "Trial component definition.", + "required": [ + "command", + "environmentId" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "command": { + "description": "[Required] The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "environmentId": { + "description": "[Required] The ARM resource ID of the Environment specification for the job.", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "default": "{}", + "$ref": "#/definitions/JobResourceConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "TriggerBase": { + "required": [ + "triggerType" + ], + "type": "object", + "properties": { + "endTime": { + "description": "Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601.\r\nRecommented format would be \"2022-06-01T00:00:01\"\r\nIf not present, the schedule will run indefinitely", + "type": "string", + "x-nullable": true + }, + "startTime": { + "description": "Specifies start time of schedule in ISO 8601 format, but without a UTC offset.", + "type": "string", + "x-nullable": true + }, + "timeZone": { + "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11", + "default": "UTC", + "type": "string" + }, + "triggerType": { + "description": "[Required] ", + "$ref": "#/definitions/TriggerType", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "discriminator": "triggerType" + }, + "TriggerType": { + "enum": [ + "Recurrence", + "Cron" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "command": { - "description": "[Required] The command to execute on startup of the job. eg. \"python train.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", + "x-ms-enum": { + "name": "TriggerType", + "modelAsString": true, + "values": [ + { + "value": "Recurrence" + }, + { + "value": "Cron" + } + ] + }, + "additionalProperties": false + }, + "TritonInferencingServer": { + "description": "Triton inferencing server configurations.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InferencingServer" + } + ], + "properties": { + "inferenceConfiguration": { + "description": "Inference configuration for Triton.", + "$ref": "#/definitions/OnlineInferenceConfiguration", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Triton", + "additionalProperties": false + }, + "TritonModelJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "triton_model", + "additionalProperties": false + }, + "TritonModelJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "triton_model", + "additionalProperties": false + }, + "TruncationSelectionPolicy": { + "description": "Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "truncationPercentage": { + "format": "int32", + "description": "The percentage of runs to cancel at each evaluation interval.", + "default": 0, + "type": "integer" + } + }, + "x-ms-discriminator-value": "TruncationSelection", + "additionalProperties": false + }, + "UriFileDataVersion": { + "description": "uri-file data version entity", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataVersionBase" + } + ], + "x-ms-discriminator-value": "uri_file", + "additionalProperties": false + }, + "UriFileJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "uri_file", + "additionalProperties": false + }, + "UriFileJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "uri_file", + "additionalProperties": false + }, + "UriFolderDataVersion": { + "description": "uri-folder data version entity", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DataVersionBase" + } + ], + "x-ms-discriminator-value": "uri_folder", + "additionalProperties": false + }, + "UriFolderJobInput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobInput" + }, + { + "$ref": "#/definitions/JobInput" + } + ], + "x-ms-discriminator-value": "uri_folder", + "additionalProperties": false + }, + "UriFolderJobOutput": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetJobOutput" + }, + { + "$ref": "#/definitions/JobOutput" + } + ], + "x-ms-discriminator-value": "uri_folder", + "additionalProperties": false + }, + "UseStl": { + "description": "Configure STL Decomposition of the time-series target column.", + "enum": [ + "None", + "Season", + "SeasonTrend" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "distribution": { - "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", - "$ref": "#/definitions/DistributionConfiguration", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "environmentId": { - "description": "[Required] The ARM resource ID of the Environment specification for the job.", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "environmentVariables": { - "description": "Environment variables included in the job.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "resources": { - "description": "Compute Resource configuration for the job.", - "default": "{}", - "$ref": "#/definitions/JobResourceConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "TriggerBase": { - "required": [ - "triggerType" - ], - "type": "object", - "properties": { - "endTime": { - "description": "Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601.\r\nRecommented format would be \"2022-06-01T00:00:01\"\r\nIf not present, the schedule will run indefinitely", + "x-ms-enum": { + "name": "UseStl", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No stl decomposition." + }, + { + "value": "Season" + }, + { + "value": "SeasonTrend" + } + ] + }, + "additionalProperties": false + }, + "UserIdentity": { + "description": "User identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "x-ms-discriminator-value": "UserIdentity", + "additionalProperties": false + }, + "ValidationMetricType": { + "description": "Metric computation method to use for validation metrics in image tasks.", + "enum": [ + "None", + "Coco", + "Voc", + "CocoVoc" + ], "type": "string", - "x-nullable": true - }, - "startTime": { - "description": "Specifies start time of schedule in ISO 8601 format, but without a UTC offset.", + "x-ms-enum": { + "name": "ValidationMetricType", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "No metric." + }, + { + "value": "Coco", + "description": "Coco metric." + }, + { + "value": "Voc", + "description": "Voc metric." + }, + { + "value": "CocoVoc", + "description": "CocoVoc metric." + } + ] + }, + "additionalProperties": false + }, + "Webhook": { + "description": "Webhook base", + "required": [ + "webhookType" + ], + "type": "object", + "properties": { + "eventType": { + "description": "Send callback on a specified notification event", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "webhookType": { + "description": "[Required] Specifies the type of service to send a callback", + "$ref": "#/definitions/WebhookType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "webhookType" + }, + "WebhookType": { + "description": "Enum to determine the webhook callback service type.", + "enum": [ + "AzureDevOps" + ], "type": "string", - "x-nullable": true - }, - "timeZone": { - "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11", - "default": "UTC", - "type": "string" - }, - "triggerType": { - "description": "[Required] ", - "$ref": "#/definitions/TriggerType", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "discriminator": "triggerType" - }, - "TriggerType": { - "enum": [ - "Recurrence", - "Cron" - ], - "type": "string", - "x-ms-enum": { - "name": "TriggerType", - "modelAsString": true, - "values": [ - { - "value": "Recurrence" - }, - { - "value": "Cron" - } - ] - }, - "additionalProperties": false - }, - "TritonInferencingServer": { - "description": "Triton inferencing server configurations.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/InferencingServer" - } - ], - "properties": { - "inferenceConfiguration": { - "description": "Inference configuration for Triton.", - "$ref": "#/definitions/OnlineInferenceConfiguration", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "Triton", - "additionalProperties": false - }, - "TritonModelJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "triton_model", - "additionalProperties": false - }, - "TritonModelJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "triton_model", - "additionalProperties": false - }, - "TruncationSelectionPolicy": { - "description": "Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "properties": { - "truncationPercentage": { - "format": "int32", - "description": "The percentage of runs to cancel at each evaluation interval.", - "default": 0, - "type": "integer" - } - }, - "x-ms-discriminator-value": "TruncationSelection", - "additionalProperties": false - }, - "UriFileDataVersion": { - "description": "uri-file data version entity", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataVersionBase" - } - ], - "x-ms-discriminator-value": "uri_file", - "additionalProperties": false - }, - "UriFileJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "uri_file", - "additionalProperties": false - }, - "UriFileJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "uri_file", - "additionalProperties": false - }, - "UriFolderDataVersion": { - "description": "uri-folder data version entity", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DataVersionBase" - } - ], - "x-ms-discriminator-value": "uri_folder", - "additionalProperties": false - }, - "UriFolderJobInput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobInput" - }, - { - "$ref": "#/definitions/JobInput" - } - ], - "x-ms-discriminator-value": "uri_folder", - "additionalProperties": false - }, - "UriFolderJobOutput": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetJobOutput" - }, - { - "$ref": "#/definitions/JobOutput" - } - ], - "x-ms-discriminator-value": "uri_folder", - "additionalProperties": false - }, - "UseStl": { - "description": "Configure STL Decomposition of the time-series target column.", - "enum": [ - "None", - "Season", - "SeasonTrend" - ], - "type": "string", - "x-ms-enum": { - "name": "UseStl", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No stl decomposition." - }, - { - "value": "Season" - }, - { - "value": "SeasonTrend" - } - ] - }, - "additionalProperties": false - }, - "UserIdentity": { - "description": "User identity configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" - } - ], - "x-ms-discriminator-value": "UserIdentity", - "additionalProperties": false - }, - "ValidationMetricType": { - "description": "Metric computation method to use for validation metrics in image tasks.", - "enum": [ - "None", - "Coco", - "Voc", - "CocoVoc" - ], - "type": "string", - "x-ms-enum": { - "name": "ValidationMetricType", - "modelAsString": true, - "values": [ - { - "value": "None", - "description": "No metric." - }, - { - "value": "Coco", - "description": "Coco metric." - }, - { - "value": "Voc", - "description": "Voc metric." - }, - { - "value": "CocoVoc", - "description": "CocoVoc metric." - } - ] - }, - "additionalProperties": false - }, - "Webhook": { - "description": "Webhook base", - "required": [ - "webhookType" - ], - "type": "object", - "properties": { - "eventType": { - "description": "Send callback on a specified notification event", + "x-ms-enum": { + "name": "WebhookType", + "modelAsString": true, + "values": [ + { + "value": "AzureDevOps" + } + ] + }, + "additionalProperties": false + }, + "WeekDay": { + "description": "Enum of weekday", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ], "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "webhookType": { - "description": "[Required] Specifies the type of service to send a callback", - "$ref": "#/definitions/WebhookType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "webhookType" - }, - "WebhookType": { - "description": "Enum to determine the webhook callback service type.", - "enum": [ - "AzureDevOps" - ], - "type": "string", - "x-ms-enum": { - "name": "WebhookType", - "modelAsString": true, - "values": [ - { - "value": "AzureDevOps" - } - ] - }, - "additionalProperties": false - }, - "WeekDay": { - "description": "Enum of weekday", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "type": "string", - "x-ms-enum": { - "name": "WeekDay", - "modelAsString": true, - "values": [ - { - "value": "Monday", - "description": "Monday weekday" - }, - { - "value": "Tuesday", - "description": "Tuesday weekday" - }, - { - "value": "Wednesday", - "description": "Wednesday weekday" - }, - { - "value": "Thursday", - "description": "Thursday weekday" - }, - { - "value": "Friday", - "description": "Friday weekday" - }, - { - "value": "Saturday", - "description": "Saturday weekday" - }, - { - "value": "Sunday", - "description": "Sunday weekday" - } - ] - }, - "additionalProperties": false - } + "x-ms-enum": { + "name": "WeekDay", + "modelAsString": true, + "values": [ + { + "value": "Monday", + "description": "Monday weekday" + }, + { + "value": "Tuesday", + "description": "Tuesday weekday" + }, + { + "value": "Wednesday", + "description": "Wednesday weekday" + }, + { + "value": "Thursday", + "description": "Thursday weekday" + }, + { + "value": "Friday", + "description": "Friday weekday" + }, + { + "value": "Saturday", + "description": "Saturday weekday" + }, + { + "value": "Sunday", + "description": "Sunday weekday" + } + ] + }, + "additionalProperties": false + } }, "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow." - } + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } } }