-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Purview Share Test Api Specification Update - Version 2023-05-30-prev…
…iew (#23993) * changes * changes * changes * changes * changes * changes --------- Co-authored-by: faisalaltell12 <[email protected]>
- Loading branch information
1 parent
ebf1c68
commit 40a9532
Showing
31 changed files
with
3,849 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
...e/preview/2023-05-30-preview/examples/ReceivedShares_ActivateTenantEmailRegistration.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,32 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "accountName.purview.azure.com/share", | ||
"api-version": "2023-05-30-preview", | ||
"tenantEmailRegistration": { | ||
"properties": { | ||
"activationCode": "15ee7153fe0df5a3a449a897d6cec836" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"repeatability-request-id": "b470712a-ffbc-4d9f-ab99-6640db8bbcb8" | ||
}, | ||
"body": { | ||
"properties": { | ||
"activationCode": "15ee7153fe0df5a3a449a897d6cec836", | ||
"activationExpiration": "2022-08-16T22:35:17.2093506Z", | ||
"email": "[email protected]", | ||
"registrationStatus": "Activated", | ||
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", | ||
"state": "Succeeded" | ||
}, | ||
"id": "cb817140-a0cf-464f-8a82-0a9627a026ab", | ||
"type": "tenantEmailRegistration" | ||
} | ||
} | ||
} | ||
} |
115 changes: 115 additions & 0 deletions
115
...ics.Purview.Share/preview/2023-05-30-preview/examples/ReceivedShares_CreateOrReplace.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,115 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-05-30-preview", | ||
"endpoint": "accountName.purview.azure.com/share", | ||
"receivedShareId": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"receivedShare": { | ||
"properties": { | ||
"displayName": "updatedReceivedShareName", | ||
"sink": { | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"mountPath": "path" | ||
}, | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace" | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "BlobAccount", | ||
"createdAt": "2022-07-12T18:18:50.7095202Z", | ||
"sharedAt": "2022-07-12T18:17:56.1065304Z", | ||
"displayName": "updatedReceivedShareName", | ||
"state": "Succeeded", | ||
"shareStatus": "Attached", | ||
"sentShareDescription": "description", | ||
"receiverName": "Jane Doe", | ||
"receiverEmail": "[email protected]", | ||
"receiverTenantName": "Fabrikam", | ||
"senderName": "Ali Smith", | ||
"senderEmail": "[email protected]", | ||
"senderTenantName": "Contoso", | ||
"sink": { | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"location": "eastus", | ||
"mountPath": "path" | ||
}, | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "BlobAccount", | ||
"createdAt": "2022-07-12T18:18:50.7095202Z", | ||
"sharedAt": "2022-07-12T18:17:56.1065304Z", | ||
"displayName": "updatedReceivedShareName", | ||
"state": "Succeeded", | ||
"shareStatus": "Attached", | ||
"sentShareDescription": "description", | ||
"receiverName": "Jane Doe", | ||
"receiverEmail": "[email protected]", | ||
"receiverTenantName": "Fabrikam", | ||
"senderName": "Ali Smith", | ||
"senderEmail": "[email protected]", | ||
"senderTenantName": "Contoso", | ||
"sink": { | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"location": "eastus", | ||
"mountPath": "path" | ||
}, | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
} | ||
} | ||
} |
115 changes: 115 additions & 0 deletions
115
...re/preview/2023-05-30-preview/examples/ReceivedShares_CreateOrReplaceAdlsGen2Account.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,115 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-05-30-preview", | ||
"endpoint": "accountName.purview.azure.com/share", | ||
"receivedShareId": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937", | ||
"receivedShare": { | ||
"properties": { | ||
"displayName": "updatedReceivedShareNameAdls", | ||
"sink": { | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"properties": { | ||
"containerName": "receivingContainerAbc", | ||
"folder": "receivingFolderAbc", | ||
"mountPath": "pathAbc" | ||
}, | ||
"storeKind": "AdlsGen2Account" | ||
} | ||
}, | ||
"shareKind": "InPlace" | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "AdlsGen2Account", | ||
"createdAt": "2022-07-19T18:18:50.7095202Z", | ||
"displayName": "updatedReceivedShareNameAdls", | ||
"state": "Succeeded", | ||
"receiverEmail": "[email protected]", | ||
"receiverName": "John Doe", | ||
"shareStatus": "Attached", | ||
"receiverTenantName": "Fabrikam", | ||
"senderEmail": "[email protected]", | ||
"senderName": "Ali Smith", | ||
"senderTenantName": "Contoso", | ||
"sentShareDescription": "description", | ||
"sharedAt": "2022-07-18T18:17:56.1065304Z", | ||
"sink": { | ||
"storeKind": "AdlsGen2Account", | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"properties": { | ||
"containerName": "receivingContainerAbc", | ||
"folder": "receivingFolderAbc", | ||
"location": "eastus", | ||
"mountPath": "pathAbc" | ||
} | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "AdlsGen2Account", | ||
"createdAt": "2022-07-19T18:18:50.7095202Z", | ||
"displayName": "updatedReceivedShareNameAdls", | ||
"state": "Succeeded", | ||
"receiverEmail": "[email protected]", | ||
"receiverName": "John Doe", | ||
"shareStatus": "Attached", | ||
"receiverTenantName": "Fabrikam", | ||
"senderEmail": "[email protected]", | ||
"senderName": "Ali Smith", | ||
"senderTenantName": "Contoso", | ||
"sentShareDescription": "description", | ||
"sharedAt": "2022-07-18T18:17:56.1065304Z", | ||
"sink": { | ||
"storeKind": "AdlsGen2Account", | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"properties": { | ||
"containerName": "receivingContainerAbc", | ||
"folder": "receivingFolderAbc", | ||
"location": "eastus", | ||
"mountPath": "pathAbc" | ||
} | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
} | ||
} | ||
} |
115 changes: 115 additions & 0 deletions
115
....Share/preview/2023-05-30-preview/examples/ReceivedShares_CreateOrReplaceBlobAccount.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,115 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-05-30-preview", | ||
"endpoint": "accountName.purview.azure.com/share", | ||
"receivedShareId": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"receivedShare": { | ||
"properties": { | ||
"displayName": "updatedReceivedShareName", | ||
"sink": { | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"mountPath": "path" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace" | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "BlobAccount", | ||
"createdAt": "2022-07-12T18:18:50.7095202Z", | ||
"sharedAt": "2022-07-12T18:17:56.1065304Z", | ||
"displayName": "updatedReceivedShareName", | ||
"state": "Succeeded", | ||
"shareStatus": "Attached", | ||
"sentShareDescription": "description", | ||
"receiverName": "Jane Doe", | ||
"receiverEmail": "[email protected]", | ||
"receiverTenantName": "Fabrikam", | ||
"senderName": "Ali Smith", | ||
"senderEmail": "[email protected]", | ||
"senderTenantName": "Contoso", | ||
"sink": { | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"location": "eastus", | ||
"mountPath": "path" | ||
}, | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
}, | ||
"200": { | ||
"headers": { | ||
"Date": "Wed, 13 Sep 2017 18:04:32 GMT", | ||
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888", | ||
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd", | ||
"x-ms-long-running-operation": true, | ||
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-05-30-preview", | ||
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213" | ||
}, | ||
"body": { | ||
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002", | ||
"properties": { | ||
"assetLocation": "eastus", | ||
"assetStoreKind": "BlobAccount", | ||
"createdAt": "2022-07-12T18:18:50.7095202Z", | ||
"sharedAt": "2022-07-12T18:17:56.1065304Z", | ||
"displayName": "updatedReceivedShareName", | ||
"state": "Succeeded", | ||
"shareStatus": "Attached", | ||
"sentShareDescription": "description", | ||
"receiverName": "Jane Doe", | ||
"receiverEmail": "[email protected]", | ||
"receiverTenantName": "Fabrikam", | ||
"senderName": "Ali Smith", | ||
"senderEmail": "[email protected]", | ||
"senderTenantName": "Contoso", | ||
"sink": { | ||
"properties": { | ||
"containerName": "receivingContainer", | ||
"folder": "receivingFolder", | ||
"location": "eastus", | ||
"mountPath": "path" | ||
}, | ||
"storeReference": { | ||
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount", | ||
"type": "ArmResourceReference" | ||
}, | ||
"storeKind": "BlobAccount" | ||
} | ||
}, | ||
"shareKind": "InPlace", | ||
"type": "receivedShares" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.