/
SharePut.json
72 lines (72 loc) · 2.59 KB
/
SharePut.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"parameters": {
"api-version": "2022-03-01",
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
"name": "smbshare",
"Content-Type": [
"application/json; charset=utf-8"
],
"Content-Length": [
"200"
],
"x-ms-client-request-id": [
"a93b39a3-1ff4-42b8-a56f-43368d47e37a"
],
"accept-language": [
"en-US"
],
"share": {
"properties": {
"description": "",
"shareStatus": "Online",
"monitoringStatus": "Enabled",
"azureContainerInfo": {
"storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
"accessProtocol": "SMB",
"userAccessRights": [
{
"userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
"accessType": "Change"
}
],
"dataPolicy": "Cloud"
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"description": "",
"shareStatus": "Online",
"monitoringStatus": "Disabled",
"azureContainerInfo": {
"storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
"accessProtocol": "SMB",
"userAccessRights": [
{
"userId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/users/user2",
"accessType": "Change"
}
],
"clientAccessRights": [],
"refreshDetails": {},
"shareMappings": [],
"dataPolicy": "Cloud"
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
"name": "smbshare",
"type": "dataBoxEdgeDevices/shares"
}
},
"202": {}
}
}