diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CreateOrUpdate.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CreateOrUpdate.json index 34ceb43b9012..ecbb22394027 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CreateOrUpdate.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CreateOrUpdate.json @@ -6,10 +6,6 @@ "api-version": "2018-12-01-preview", "account": { "location": "West US 2", - "sku": { - "name": "Standard", - "capacity": 4 - }, "properties": { "managedResourceGroupName": "custom-rgname" } @@ -29,6 +25,10 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", "name": "account1", "type": "Microsoft.Purview/accounts", + "sku": { + "name": "Standard", + "capacity": 1 + }, "properties": { "friendlyName": "friendly-account1", "createdBy": "client-name", @@ -57,6 +57,10 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", "name": "account1", "type": "Microsoft.Purview/accounts", + "sku": { + "name": "Standard", + "capacity": 1 + }, "properties": { "friendlyName": "friendly-account1", "createdBy": "client-name", diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Get.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Get.json index b3a3fd82f3c6..5def3b40cb5d 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Get.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Get.json @@ -21,7 +21,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListByResourceGroup.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListByResourceGroup.json index f9ecf8a7c5a2..0de6a98f41f4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListByResourceGroup.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListByResourceGroup.json @@ -22,7 +22,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", @@ -53,7 +53,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListBySubscription.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListBySubscription.json index 0be34c92e64d..e14e50c70ab0 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListBySubscription.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListBySubscription.json @@ -21,7 +21,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", @@ -52,7 +52,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Update.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Update.json index fe7a40b708c7..eb4ad3ff6117 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Update.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Update.json @@ -26,7 +26,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", @@ -76,7 +76,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "properties": { "friendlyName": "friendly-account1", diff --git a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/purview.json b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/purview.json index 19526cdbbdf5..780091bc4d16 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/purview.json +++ b/specification/purview/resource-manager/Microsoft.Purview/preview/2020-12-01-preview/purview.json @@ -970,8 +970,13 @@ "x-ms-client-flatten": true }, "sku": { - "$ref": "#/definitions/AccountSku", - "description": "Gets or sets the Sku." + "description": "Gets or sets the Sku.", + "allOf": [ + { + "$ref": "#/definitions/AccountSku" + } + ], + "readOnly": true } } }, @@ -981,7 +986,7 @@ "properties": { "capacity": { "format": "int32", - "description": "Gets or sets the sku capacity. Possible values include: 4, 16", + "description": "Gets or sets the sku capacity.", "type": "integer" }, "name": { @@ -1848,10 +1853,10 @@ } }, "parameters": { - "api-version": { - "name": "api-version", - "in": "query", - "description": "The api version to use.", + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier", "required": true, "type": "string" }, @@ -1863,6 +1868,13 @@ "type": "string", "x-ms-parameter-location": "method" }, + "api-version": { + "name": "api-version", + "in": "query", + "description": "The api version to use.", + "required": true, + "type": "string" + }, "resourceGroupName": { "name": "resourceGroupName", "in": "path", @@ -1870,13 +1882,6 @@ "required": true, "type": "string", "x-ms-parameter-location": "method" - }, - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier", - "required": true, - "type": "string" } }, "securityDefinitions": { diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json index b81b9b5de8a2..5059e1276a07 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json @@ -6,10 +6,6 @@ "api-version": "2021-07-01", "account": { "location": "West US 2", - "sku": { - "name": "Standard", - "capacity": 4 - }, "properties": { "managedResourceGroupName": "custom-rgname" } @@ -29,6 +25,10 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", "name": "account1", "type": "Microsoft.Purview/accounts", + "sku": { + "name": "Standard", + "capacity": 1 + }, "properties": { "friendlyName": "friendly-account1", "createdBy": "client-name", @@ -57,6 +57,10 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", "name": "account1", "type": "Microsoft.Purview/accounts", + "sku": { + "name": "Standard", + "capacity": 1 + }, "systemData": { "createdBy": "client-name", "createdByType": "User", diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json index 7b65c4b64f67..bf6935e61fb8 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json @@ -21,7 +21,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup.json index 33bb1e7991b2..2c1f47986260 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListByResourceGroup.json @@ -22,7 +22,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", @@ -53,7 +53,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription.json index ac105e58f0a2..b15225300477 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_ListBySubscription.json @@ -21,7 +21,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", @@ -52,7 +52,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json index c5606f1efb71..6b32233e39f4 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Update.json @@ -26,7 +26,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", @@ -76,7 +76,7 @@ "type": "Microsoft.Purview/accounts", "sku": { "name": "Standard", - "capacity": 4 + "capacity": 1 }, "systemData": { "createdBy": "client-name", diff --git a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/purview.json b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/purview.json index 0d1c5b20064f..ee7b6c4d43bc 100644 --- a/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/purview.json +++ b/specification/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/purview.json @@ -1019,8 +1019,13 @@ "x-ms-client-flatten": true }, "sku": { - "$ref": "#/definitions/AccountSku", - "description": "Gets or sets the Sku." + "description": "Gets or sets the Sku.", + "allOf": [ + { + "$ref": "#/definitions/AccountSku" + } + ], + "readOnly": true } } }, @@ -1030,7 +1035,7 @@ "properties": { "capacity": { "format": "int32", - "description": "Gets or sets the sku capacity. Possible values include: 4, 16", + "description": "Gets or sets the sku capacity.", "type": "integer" }, "name": { @@ -1916,13 +1921,12 @@ "required": true, "type": "string" }, - "accountName": { - "name": "accountName", - "in": "path", - "description": "The name of the account.", + "api-version": { + "name": "api-version", + "in": "query", + "description": "The api version to use.", "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "type": "string" }, "resourceGroupName": { "name": "resourceGroupName", @@ -1932,12 +1936,13 @@ "type": "string", "x-ms-parameter-location": "method" }, - "api-version": { - "name": "api-version", - "in": "query", - "description": "The api version to use.", + "accountName": { + "name": "accountName", + "in": "path", + "description": "The name of the account.", "required": true, - "type": "string" + "type": "string", + "x-ms-parameter-location": "method" } }, "securityDefinitions": { diff --git a/specification/purview/resource-manager/readme.python.md b/specification/purview/resource-manager/readme.python.md index 80b8442e6f94..db6dca180914 100644 --- a/specification/purview/resource-manager/readme.python.md +++ b/specification/purview/resource-manager/readme.python.md @@ -21,3 +21,8 @@ output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview/azure/mgmt/purvi basic-setup-py: true output-folder: $(python-sdks-folder)/purview/azure-mgmt-purview ``` + +``` yaml $(python) && $(track2) +modelerfour: + lenient-model-deduplication: true +```