Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated SKU property to be read only #15965

Merged
merged 3 commits into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"api-version": "2018-12-01-preview",
"account": {
"location": "West US 2",
"sku": {
"name": "Standard",
"capacity": 4
},
"properties": {
"managedResourceGroupName": "custom-rgname"
}
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down Expand Up @@ -53,7 +53,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down Expand Up @@ -52,7 +52,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down Expand Up @@ -76,7 +76,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"properties": {
"friendlyName": "friendly-account1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
},
Expand All @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand All @@ -1863,20 +1868,20 @@
"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",
"description": "The resource group name.",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"subscriptionId": {
"name": "subscriptionId",
"in": "path",
"description": "The subscription identifier",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"api-version": "2021-07-01",
"account": {
"location": "West US 2",
"sku": {
"name": "Standard",
"capacity": 4
},
"properties": {
"managedResourceGroupName": "custom-rgname"
}
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down Expand Up @@ -53,7 +53,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down Expand Up @@ -52,7 +52,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down Expand Up @@ -76,7 +76,7 @@
"type": "Microsoft.Purview/accounts",
"sku": {
"name": "Standard",
"capacity": 4
"capacity": 1
},
"systemData": {
"createdBy": "client-name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
},
Expand All @@ -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": {
Expand Down Expand Up @@ -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",
Expand All @@ -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": {
Expand Down
5 changes: 5 additions & 0 deletions specification/purview/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```