Skip to content

Commit da6dd5f

Browse files
faisalaltellfaisalaltell12kbowersoxkevinmichaelbowersox
authored andcommitted
Purview Share V2 Specs - Data plane (Azure#22316)
* add changes * clean up * clean up * Purview Share Specification Adjustments for Resources and Routes This commit makes the following updates to the specifications: - Removes /v2 from routes in the api specification. - Removes sink property from detached received share examples. * pipeline failures * Remove comma that is not needed * adjust incorrect spelling of word * commit changes * test fix * fixes * remove unneccessary files * lro headers fix * error fix * changes * changes * readme.md * changes * add security * Filter and security * push changes * changes * changes * changes * changes * Update examples * change * changes * add 202 to deletes * datetime rfc, state, route changes * CreateOrReplace rename, description enum rename --------- Co-authored-by: faisalaltell12 <[email protected]> Co-authored-by: kbowersox <[email protected]> Co-authored-by: kevinmichaelbowersox <[email protected]>
1 parent 41b0462 commit da6dd5f

30 files changed

+3725
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"endpoint": "accountName.purview.azure.com/share",
4+
"api-version": "2023-02-15-preview",
5+
"tenantEmailRegistration": {
6+
"properties": {
7+
"activationCode": "15ee7153fe0df5a3a449a897d6cec836"
8+
}
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"headers": {
14+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
15+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
16+
"repeatability-request-id": "b470712a-ffbc-4d9f-ab99-6640db8bbcb8"
17+
},
18+
"body": {
19+
"properties": {
20+
"activationCode": "15ee7153fe0df5a3a449a897d6cec836",
21+
"activationExpiration": "2022-08-16T22:35:17.2093506Z",
22+
"email": "[email protected]",
23+
"registrationStatus": "Activated",
24+
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
25+
"state": "Succeeded"
26+
},
27+
"id": "cb817140-a0cf-464f-8a82-0a9627a026ab",
28+
"type": "tenantEmailRegistration"
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-15-preview",
4+
"endpoint": "accountName.purview.azure.com/share",
5+
"receivedShareId": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
6+
"receivedShare": {
7+
"properties": {
8+
"displayName": "updatedReceivedShareName",
9+
"sink": {
10+
"properties": {
11+
"containerName": "receivingContainer",
12+
"folder": "receivingFolder",
13+
"mountPath": "path"
14+
},
15+
"storeReference": {
16+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
17+
"type": "ArmResourceReference"
18+
},
19+
"storeKind": "BlobAccount"
20+
}
21+
},
22+
"shareKind": "InPlace"
23+
}
24+
},
25+
"responses": {
26+
"201": {
27+
"headers": {
28+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
29+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
30+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
31+
"x-ms-long-running-operation": true,
32+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
33+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
34+
},
35+
"body": {
36+
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
37+
"properties": {
38+
"assetLocation": "eastus",
39+
"assetStoreKind": "BlobAccount",
40+
"createdAt": "2022-07-12T18:18:50.7095202Z",
41+
"sharedAt": "2022-07-12T18:17:56.1065304Z",
42+
"displayName": "updatedReceivedShareName",
43+
"state": "Succeeded",
44+
"shareStatus": "Attached",
45+
"sentShareDescription": "description",
46+
"receiverName": "Jane Doe",
47+
"receiverEmail": "[email protected]",
48+
"receiverTenantName": "Fabrikam",
49+
"senderName": "Ali Smith",
50+
"senderEmail": "[email protected]",
51+
"senderTenantName": "Contoso",
52+
"sink": {
53+
"properties": {
54+
"containerName": "receivingContainer",
55+
"folder": "receivingFolder",
56+
"location": "eastus",
57+
"mountPath": "path"
58+
},
59+
"storeReference": {
60+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
61+
"type": "ArmResourceReference"
62+
},
63+
"storeKind": "BlobAccount"
64+
}
65+
},
66+
"shareKind": "InPlace",
67+
"type": "receivedShares"
68+
}
69+
},
70+
"200": {
71+
"headers": {
72+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
73+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
74+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
75+
"x-ms-long-running-operation": true,
76+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
77+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
78+
},
79+
"body": {
80+
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
81+
"properties": {
82+
"assetLocation": "eastus",
83+
"assetStoreKind": "BlobAccount",
84+
"createdAt": "2022-07-12T18:18:50.7095202Z",
85+
"sharedAt": "2022-07-12T18:17:56.1065304Z",
86+
"displayName": "updatedReceivedShareName",
87+
"state": "Succeeded",
88+
"shareStatus": "Attached",
89+
"sentShareDescription": "description",
90+
"receiverName": "Jane Doe",
91+
"receiverEmail": "[email protected]",
92+
"receiverTenantName": "Fabrikam",
93+
"senderName": "Ali Smith",
94+
"senderEmail": "[email protected]",
95+
"senderTenantName": "Contoso",
96+
"sink": {
97+
"properties": {
98+
"containerName": "receivingContainer",
99+
"folder": "receivingFolder",
100+
"location": "eastus",
101+
"mountPath": "path"
102+
},
103+
"storeReference": {
104+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
105+
"type": "ArmResourceReference"
106+
},
107+
"storeKind": "BlobAccount"
108+
}
109+
},
110+
"shareKind": "InPlace",
111+
"type": "receivedShares"
112+
}
113+
}
114+
}
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-15-preview",
4+
"endpoint": "accountName.purview.azure.com/share",
5+
"receivedShareId": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937",
6+
"receivedShare": {
7+
"properties": {
8+
"displayName": "updatedReceivedShareNameAdls",
9+
"sink": {
10+
"storeReference": {
11+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount",
12+
"type": "ArmResourceReference"
13+
},
14+
"properties": {
15+
"containerName": "receivingContainerAbc",
16+
"folder": "receivingFolderAbc",
17+
"mountPath": "pathAbc"
18+
},
19+
"storeKind": "AdlsGen2Account"
20+
}
21+
},
22+
"shareKind": "InPlace"
23+
}
24+
},
25+
"responses": {
26+
"201": {
27+
"headers": {
28+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
29+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
30+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
31+
"x-ms-long-running-operation": true,
32+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
33+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
34+
},
35+
"body": {
36+
"id": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937",
37+
"properties": {
38+
"assetLocation": "eastus",
39+
"assetStoreKind": "AdlsGen2Account",
40+
"createdAt": "2022-07-19T18:18:50.7095202Z",
41+
"displayName": "updatedReceivedShareNameAdls",
42+
"state": "Succeeded",
43+
"receiverEmail": "[email protected]",
44+
"receiverName": "John Doe",
45+
"shareStatus": "Attached",
46+
"receiverTenantName": "Fabrikam",
47+
"senderEmail": "[email protected]",
48+
"senderName": "Ali Smith",
49+
"senderTenantName": "Contoso",
50+
"sentShareDescription": "description",
51+
"sharedAt": "2022-07-18T18:17:56.1065304Z",
52+
"sink": {
53+
"storeKind": "AdlsGen2Account",
54+
"storeReference": {
55+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount",
56+
"type": "ArmResourceReference"
57+
},
58+
"properties": {
59+
"containerName": "receivingContainerAbc",
60+
"folder": "receivingFolderAbc",
61+
"location": "eastus",
62+
"mountPath": "pathAbc"
63+
}
64+
}
65+
},
66+
"shareKind": "InPlace",
67+
"type": "receivedShares"
68+
}
69+
},
70+
"200": {
71+
"headers": {
72+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
73+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
74+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
75+
"x-ms-long-running-operation": true,
76+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
77+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
78+
},
79+
"body": {
80+
"id": "35E28F0E-DEA4-472F-84E4-5F1E45FB9937",
81+
"properties": {
82+
"assetLocation": "eastus",
83+
"assetStoreKind": "AdlsGen2Account",
84+
"createdAt": "2022-07-19T18:18:50.7095202Z",
85+
"displayName": "updatedReceivedShareNameAdls",
86+
"state": "Succeeded",
87+
"receiverEmail": "[email protected]",
88+
"receiverName": "John Doe",
89+
"shareStatus": "Attached",
90+
"receiverTenantName": "Fabrikam",
91+
"senderEmail": "[email protected]",
92+
"senderName": "Ali Smith",
93+
"senderTenantName": "Contoso",
94+
"sentShareDescription": "description",
95+
"sharedAt": "2022-07-18T18:17:56.1065304Z",
96+
"sink": {
97+
"storeKind": "AdlsGen2Account",
98+
"storeReference": {
99+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/adlsAccount",
100+
"type": "ArmResourceReference"
101+
},
102+
"properties": {
103+
"containerName": "receivingContainerAbc",
104+
"folder": "receivingFolderAbc",
105+
"location": "eastus",
106+
"mountPath": "pathAbc"
107+
}
108+
}
109+
},
110+
"shareKind": "InPlace",
111+
"type": "receivedShares"
112+
}
113+
}
114+
}
115+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-02-15-preview",
4+
"endpoint": "accountName.purview.azure.com/share",
5+
"receivedShareId": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
6+
"receivedShare": {
7+
"properties": {
8+
"displayName": "updatedReceivedShareName",
9+
"sink": {
10+
"storeReference": {
11+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
12+
"type": "ArmResourceReference"
13+
},
14+
"properties": {
15+
"containerName": "receivingContainer",
16+
"folder": "receivingFolder",
17+
"mountPath": "path"
18+
},
19+
"storeKind": "BlobAccount"
20+
}
21+
},
22+
"shareKind": "InPlace"
23+
}
24+
},
25+
"responses": {
26+
"201": {
27+
"headers": {
28+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
29+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
30+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
31+
"x-ms-long-running-operation": true,
32+
"Azure-AsyncOperation": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
33+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
34+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
35+
},
36+
"body": {
37+
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
38+
"properties": {
39+
"assetLocation": "eastus",
40+
"assetStoreKind": "BlobAccount",
41+
"createdAt": "2022-07-12T18:18:50.7095202Z",
42+
"sharedAt": "2022-07-12T18:17:56.1065304Z",
43+
"displayName": "updatedReceivedShareName",
44+
"state": "Succeeded",
45+
"shareStatus": "Attached",
46+
"sentShareDescription": "description",
47+
"receiverName": "Jane Doe",
48+
"receiverEmail": "[email protected]",
49+
"receiverTenantName": "Fabrikam",
50+
"senderName": "Ali Smith",
51+
"senderEmail": "[email protected]",
52+
"senderTenantName": "Contoso",
53+
"sink": {
54+
"properties": {
55+
"containerName": "receivingContainer",
56+
"folder": "receivingFolder",
57+
"location": "eastus",
58+
"mountPath": "path"
59+
},
60+
"storeReference": {
61+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
62+
"type": "ArmResourceReference"
63+
},
64+
"storeKind": "BlobAccount"
65+
}
66+
},
67+
"shareKind": "InPlace",
68+
"type": "receivedShares"
69+
}
70+
},
71+
"200": {
72+
"headers": {
73+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
74+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
75+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
76+
"x-ms-long-running-operation": true,
77+
"Azure-AsyncOperation": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
78+
"Operation-Location": "https://accountName.purview.azure.com/share/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2023-02-15-preview",
79+
"Operation-Id": "dad6baec-3a39-41df-a469-843a9ee94213"
80+
},
81+
"body": {
82+
"id": "0D67B9C8-A6C6-4990-9EDE-12EA059D3002",
83+
"properties": {
84+
"assetLocation": "eastus",
85+
"assetStoreKind": "BlobAccount",
86+
"createdAt": "2022-07-12T18:18:50.7095202Z",
87+
"sharedAt": "2022-07-12T18:17:56.1065304Z",
88+
"displayName": "updatedReceivedShareName",
89+
"state": "Succeeded",
90+
"shareStatus": "Attached",
91+
"sentShareDescription": "description",
92+
"receiverName": "Jane Doe",
93+
"receiverEmail": "[email protected]",
94+
"receiverTenantName": "Fabrikam",
95+
"senderName": "Ali Smith",
96+
"senderEmail": "[email protected]",
97+
"senderTenantName": "Contoso",
98+
"sink": {
99+
"properties": {
100+
"containerName": "receivingContainer",
101+
"folder": "receivingFolder",
102+
"location": "eastus",
103+
"mountPath": "path"
104+
},
105+
"storeReference": {
106+
"referenceName": "/subscriptions/4D8FD81D-431D-4B1D-B46C-C770CFC034FC/resourceGroups/contoso-rg/providers/Microsoft.Storage/storageAccounts/blobAccount",
107+
"type": "ArmResourceReference"
108+
},
109+
"storeKind": "BlobAccount"
110+
}
111+
},
112+
"shareKind": "InPlace",
113+
"type": "receivedShares"
114+
}
115+
}
116+
}
117+
}

0 commit comments

Comments
 (0)