Skip to content

Commit

Permalink
AzureDataShare: Adding version 2020-09-01 swagger. (Azure#12745)
Browse files Browse the repository at this point in the history
* 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
ahermas authored Feb 5, 2021
1 parent a82c76c commit e1515e7
Show file tree
Hide file tree
Showing 63 changed files with 9,789 additions and 7 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit e1515e7

Please sign in to comment.