forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GA API version (2021-07-01) (Azure#14937)
* Fixed swagger validation warnings for publicNetworkAccess and managedResourceGroupName - Adds default value for publicNetworkAccess property. - Adds "x-ms-mutability" attribute for managedResourceGroupName property. * Ran prettier check to fix warnings * Added GA api-version (2021-07-01) * Addressed typo * Removed AddRootCollectionAdmin API from preview version * Updated private endpoint connection approval operation as a long running operation * Fixed swagger breaking changes for long running operation * Updated long running operation for preview api-version * removed vscode settings json changes * Updated systemData and added Canceled provisioning state * Updated Go SDK output folder path Co-authored-by: Shailesh Kelkar <[email protected]>
- Loading branch information
1 parent
9b59c69
commit d1bf50c
Showing
23 changed files
with
2,996 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_AddRootCollectionAdmin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2021-07-01", | ||
"collectionAdminUpdate": { | ||
"objectId": "7e8de0e7-2bfc-4e1f-9659-2a5785e4356f" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"checkNameAvailabilityRequest": { | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts" | ||
}, | ||
"api-version": "2021-07-01", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
90 changes: 90 additions & 0 deletions
90
...esource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2021-07-01", | ||
"account": { | ||
"location": "West US 2", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"managedResourceGroupName": "custom-rgname" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Creating", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"publicNetworkAccess": "Enabled" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"systemData": { | ||
"createdBy": "client-name", | ||
"createdByType": "User", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedBy": "client-name", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-16T23:24:34.3430059Z" | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"publicNetworkAccess": "Enabled", | ||
"managedResourceGroupName": "custom-rgname", | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/custom-rgname", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/custom-rgname/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/custom-rgname/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...urview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2021-07-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2021-07-01" | ||
} | ||
}, | ||
"204": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
} | ||
} | ||
} | ||
} |
74 changes: 74 additions & 0 deletions
74
...n/purview/resource-manager/Microsoft.Purview/stable/2021-07-01/examples/Accounts_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-12345678abc", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2021-07-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-tenant-reads": "14999", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd" | ||
}, | ||
"body": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"systemData": { | ||
"createdBy": "client-name", | ||
"createdByType": "User", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"lastModifiedBy": "client-name", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-03-16T23:24:34.3430059Z" | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"privateEndpointConnections": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/baca8a88-4527-4c35-a13e-b2775ce0d7fc/resourceGroups/nrpResourceGroupName/providers/Microsoft.Network/privateEndpoints/peName" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "Please approve my connection, thanks.", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/privateEndpointConnections/peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"name": "peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"type": "Microsoft.Purview/accounts/privateEndpointConnections" | ||
} | ||
], | ||
"publicNetworkAccess": "Enabled", | ||
"managedResourceGroupName": "managed-rg-mwjotkl", | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.