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.
AzureDataShare: Adding version 2020-09-01 swagger. (Azure#12745)
* Just duplicating the files of the previous stable version 2019 into the newly created folder for version 2020-09-01 * Second Commit : Adding the actual 2020-09-01 swagger files * Fix CI Avocado errors by editing readme files * Add UserAssigned enum to 2020-09-01 * Updated systemdata in DataShare according to types.json * Change fillGapWithZero to boolean instead of string
- Loading branch information
Showing
63 changed files
with
9,789 additions
and
7 deletions.
There are no files selected for viewing
6,826 changes: 6,826 additions & 0 deletions
6,826
...ification/datashare/resource-manager/Microsoft.DataShare/stable/2020-09-01/DataShare.json
Large diffs are not rendered by default.
Oops, something went wrong.
90 changes: 90 additions & 0 deletions
90
...hare/resource-manager/Microsoft.DataShare/stable/2020-09-01/examples/Accounts_Create.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": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2020-09-01", | ||
"account": { | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"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": { | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
}, | ||
"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": { | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...hare/resource-manager/Microsoft.DataShare/stable/2020-09-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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2020-09-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": { | ||
"status": "Succeeded" | ||
} | ||
}, | ||
"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/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview" | ||
} | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...tashare/resource-manager/Microsoft.DataShare/stable/2020-09-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,46 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-12345678abc", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2020-09-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": { | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"provisioningState": "Succeeded", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...-manager/Microsoft.DataShare/stable/2020-09-01/examples/Accounts_ListByResourceGroup.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,54 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 17:33:55 GMT", | ||
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-reads": "14993", | ||
"x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"userName": "John Smith,", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
}, | ||
{ | ||
"properties": { | ||
"userName": "John Smith,", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "East US 2", | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"name": "Account2", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...e-manager/Microsoft.DataShare/stable/2020-09-01/examples/Accounts_ListBySubscription.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,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-09-01", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 17:33:55 GMT", | ||
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba", | ||
"X-Content-Type-Options": "nosniff", | ||
"x-ms-ratelimit-remaining-subscription-reads": "14993", | ||
"x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
}, | ||
{ | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"location": "East US 2", | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2", | ||
"name": "Account2", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...hare/resource-manager/Microsoft.DataShare/stable/2020-09-01/examples/Accounts_Update.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,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2020-09-01", | ||
"accountUpdateParameters": { | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
} | ||
} | ||
}, | ||
"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": { | ||
"properties": { | ||
"userName": "John Smith", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"userEmail": "johnsmith@microsoft.com" | ||
}, | ||
"location": "West US 2", | ||
"tags": { | ||
"tag1": "Red", | ||
"tag2": "White" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
}, | ||
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1", | ||
"name": "Account1", | ||
"type": "Microsoft.DataShare/accounts" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...ource-manager/Microsoft.DataShare/stable/2020-09-01/examples/ConsumerInvitations_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,38 @@ | ||
{ | ||
"parameters": { | ||
"location": "East US 2", | ||
"api-version": "2020-09-01", | ||
"invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03" | ||
}, | ||
"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": { | ||
"properties": { | ||
"location": "eastus2", | ||
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", | ||
"providerName": "John Smith", | ||
"providerEmail": "john.smith@microsoft.com", | ||
"providerTenantName": "Microsoft", | ||
"sentAt": "2019-01-15T01:45:25.6226946Z", | ||
"respondedAt": "2019-01-15T02:01:51.8953054Z", | ||
"invitationStatus": "Accepted", | ||
"description": "Some share", | ||
"termsOfUse": "Confidential", | ||
"dataSetCount": 1, | ||
"shareName": "share1", | ||
"expirationDate": "2020-08-26T22:33:24.5785265Z" | ||
}, | ||
"id": "providers/Microsoft.DataShare/locations/eastus2/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", | ||
"name": "invitation1", | ||
"type": "Microsoft.DataShare/locations/consumerInvitations" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.