-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RP Data Share to specification folder [Public Preview] (#6583)
* add data share * remove PII from examples * remove unnecessary example files
- Loading branch information
1 parent
ed53d8d
commit 5701f7d
Showing
53 changed files
with
7,841 additions
and
0 deletions.
There are no files selected for viewing
5,559 changes: 5,559 additions & 0 deletions
5,559
.../datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
Large diffs are not rendered by default.
Oops, something went wrong.
72 changes: 72 additions & 0 deletions
72
...urce-manager/Microsoft.DataShare/preview/2018-11-01-preview/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,72 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2018-11-01-preview", | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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" | ||
} | ||
}, | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...urce-manager/Microsoft.DataShare/preview/2018-11-01-preview/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": "2018-11-01-preview" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...esource-manager/Microsoft.DataShare/preview/2018-11-01-preview/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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-12345678abc", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2018-11-01-preview" | ||
}, | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...Microsoft.DataShare/preview/2018-11-01-preview/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,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-01-preview", | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
.../Microsoft.DataShare/preview/2018-11-01-preview/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,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-01-preview", | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...urce-manager/Microsoft.DataShare/preview/2018-11-01-preview/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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "Account1", | ||
"api-version": "2018-11-01-preview", | ||
"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": { | ||
"createdBy": "[email protected]", | ||
"createdAt": "2018-11-14T04:47:52.9614956Z" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ager/Microsoft.DataShare/preview/2018-11-01-preview/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,35 @@ | ||
{ | ||
"parameters": { | ||
"location": "East US 2", | ||
"api-version": "2018-11-01-preview", | ||
"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", | ||
"sender": "John Smith", | ||
"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" | ||
}, | ||
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", | ||
"name": "invitation1", | ||
"type": "Microsoft.DataShare/consumerInvitations" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...ft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.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": { | ||
"api-version": "2018-11-01-preview" | ||
}, | ||
"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": { | ||
"location": "eastus2", | ||
"invitationId": "4256e2cf-0f82-4865-961b-12f83333f487", | ||
"sender": "John Smith", | ||
"sentAt": "2019-01-15T01:45:25.6226946Z", | ||
"respondedAt": "2019-01-15T02:01:51.8953054Z", | ||
"invitationStatus": "Accepted", | ||
"description": "Some share", | ||
"termsOfUse": "Confidential", | ||
"dataSetCount": 1, | ||
"senderCompanyName": "microsoft", | ||
"shareName": "share1" | ||
}, | ||
"id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487", | ||
"name": "invitation1", | ||
"type": "Microsoft.DataShare/consumerInvitations" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.