Skip to content

Commit ce3cbe3

Browse files
committed
Add isLocalUserEnabled and isSftpEnabled properties; add examples for ActiveDirectoryProperties
1 parent 954cb15 commit ce3cbe3

8 files changed

+653
-8
lines changed

specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreate.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"expirationAction": "Log"
2424
},
2525
"isHnsEnabled": true,
26+
"isSftpEnabled": true,
2627
"allowBlobPublicAccess": false,
2728
"defaultToOAuthAuthentication": false,
2829
"minimumTlsVersion": "TLS1_2",
@@ -77,6 +78,7 @@
7778
"key2": "2021-03-18T04:42:22.4322836Z"
7879
},
7980
"isHnsEnabled": true,
81+
"isSftpEnabled": true,
8082
"allowBlobPublicAccess": false,
8183
"minimumTlsVersion": "TLS1_2",
8284
"allowSharedKeyAccess": true,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res9101",
5+
"accountName": "sto4445",
6+
"api-version": "2021-02-01",
7+
"parameters": {
8+
"sku": {
9+
"name": "Standard_GRS"
10+
},
11+
"kind": "Storage",
12+
"location": "eastus",
13+
"properties": {
14+
"keyPolicy": {
15+
"keyExpirationPeriodInDays": 20
16+
},
17+
"sasPolicy": {
18+
"sasExpirationPeriod": "1.15:59:59",
19+
"expirationAction": "Log"
20+
},
21+
"isHnsEnabled": true,
22+
"allowBlobPublicAccess": false,
23+
"minimumTlsVersion": "TLS1_2",
24+
"allowSharedKeyAccess": true,
25+
"allowedCopyScope": "AAD",
26+
"routingPreference": {
27+
"routingChoice": "MicrosoftRouting",
28+
"publishMicrosoftEndpoints": true,
29+
"publishInternetEndpoints": true
30+
},
31+
"encryption": {
32+
"services": {
33+
"file": {
34+
"keyType": "Account",
35+
"enabled": true
36+
},
37+
"blob": {
38+
"keyType": "Account",
39+
"enabled": true
40+
}
41+
},
42+
"requireInfrastructureEncryption": false,
43+
"keySource": "Microsoft.Storage"
44+
}
45+
},
46+
"tags": {
47+
"key1": "value1",
48+
"key2": "value2"
49+
}
50+
}
51+
},
52+
"responses": {
53+
"200": {
54+
"body": {
55+
"id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445",
56+
"kind": "Storage",
57+
"location": "eastus",
58+
"name": "sto4445",
59+
"extendedLocation": {
60+
"type": "EdgeZone",
61+
"name": "losangeles001"
62+
},
63+
"properties": {
64+
"keyPolicy": {
65+
"keyExpirationPeriodInDays": 20
66+
},
67+
"sasPolicy": {
68+
"sasExpirationPeriod": "1.15:59:59",
69+
"expirationAction": "Log"
70+
},
71+
"keyCreationTime": {
72+
"key1": "2021-03-18T04:42:22.4322836Z",
73+
"key2": "2021-03-18T04:42:22.4322836Z"
74+
},
75+
"isHnsEnabled": true,
76+
"allowBlobPublicAccess": false,
77+
"minimumTlsVersion": "TLS1_2",
78+
"allowSharedKeyAccess": true,
79+
"creationTime": "2017-05-24T13:25:33.4863236Z",
80+
"primaryEndpoints": {
81+
"web": "https://sto4445.web.core.windows.net/",
82+
"dfs": "https://sto4445.dfs.core.windows.net/",
83+
"blob": "https://sto4445.blob.core.windows.net/",
84+
"file": "https://sto4445.file.core.windows.net/",
85+
"queue": "https://sto4445.queue.core.windows.net/",
86+
"table": "https://sto4445.table.core.windows.net/",
87+
"microsoftEndpoints": {
88+
"web": "https://sto4445-microsoftrouting.web.core.windows.net/",
89+
"dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/",
90+
"blob": "https://sto4445-microsoftrouting.blob.core.windows.net/",
91+
"file": "https://sto4445-microsoftrouting.file.core.windows.net/",
92+
"queue": "https://sto4445-microsoftrouting.queue.core.windows.net/",
93+
"table": "https://sto4445-microsoftrouting.table.core.windows.net/"
94+
},
95+
"internetEndpoints": {
96+
"web": "https://sto4445-internetrouting.web.core.windows.net/",
97+
"dfs": "https://sto4445-internetrouting.dfs.core.windows.net/",
98+
"blob": "https://sto4445-internetrouting.blob.core.windows.net/",
99+
"file": "https://sto4445-internetrouting.file.core.windows.net/"
100+
}
101+
},
102+
"primaryLocation": "eastus2euap",
103+
"provisioningState": "Succeeded",
104+
"routingPreference": {
105+
"routingChoice": "MicrosoftRouting",
106+
"publishMicrosoftEndpoints": true,
107+
"publishInternetEndpoints": true
108+
},
109+
"encryption": {
110+
"services": {
111+
"file": {
112+
"keyType": "Account",
113+
"enabled": true,
114+
"lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
115+
},
116+
"blob": {
117+
"keyType": "Account",
118+
"enabled": true,
119+
"lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
120+
}
121+
},
122+
"requireInfrastructureEncryption": false,
123+
"keySource": "Microsoft.Storage"
124+
},
125+
"secondaryLocation": "centraluseuap",
126+
"statusOfPrimary": "available",
127+
"statusOfSecondary": "available",
128+
"supportsHttpsTrafficOnly": true,
129+
"allowedCopyScope": "AAD"
130+
},
131+
"sku": {
132+
"name": "Standard_GRS",
133+
"tier": "Standard"
134+
},
135+
"tags": {
136+
"key1": "value1",
137+
"key2": "value2"
138+
},
139+
"type": "Microsoft.Storage/storageAccounts"
140+
}
141+
},
142+
"202": {}
143+
}
144+
}
145+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res9101",
5+
"accountName": "sto4445",
6+
"api-version": "2021-02-01",
7+
"parameters": {
8+
"sku": {
9+
"name": "Standard_GRS"
10+
},
11+
"kind": "Storage",
12+
"location": "eastus",
13+
"properties": {
14+
"keyPolicy": {
15+
"keyExpirationPeriodInDays": 20
16+
},
17+
"sasPolicy": {
18+
"sasExpirationPeriod": "1.15:59:59",
19+
"expirationAction": "Log"
20+
},
21+
"isHnsEnabled": true,
22+
"allowBlobPublicAccess": false,
23+
"minimumTlsVersion": "TLS1_2",
24+
"allowSharedKeyAccess": true,
25+
"allowedCopyScope": "PrivateLink",
26+
"routingPreference": {
27+
"routingChoice": "MicrosoftRouting",
28+
"publishMicrosoftEndpoints": true,
29+
"publishInternetEndpoints": true
30+
},
31+
"encryption": {
32+
"services": {
33+
"file": {
34+
"keyType": "Account",
35+
"enabled": true
36+
},
37+
"blob": {
38+
"keyType": "Account",
39+
"enabled": true
40+
}
41+
},
42+
"requireInfrastructureEncryption": false,
43+
"keySource": "Microsoft.Storage"
44+
}
45+
},
46+
"tags": {
47+
"key1": "value1",
48+
"key2": "value2"
49+
}
50+
}
51+
},
52+
"responses": {
53+
"200": {
54+
"body": {
55+
"id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445",
56+
"kind": "Storage",
57+
"location": "eastus",
58+
"name": "sto4445",
59+
"extendedLocation": {
60+
"type": "EdgeZone",
61+
"name": "losangeles001"
62+
},
63+
"properties": {
64+
"keyPolicy": {
65+
"keyExpirationPeriodInDays": 20
66+
},
67+
"sasPolicy": {
68+
"sasExpirationPeriod": "1.15:59:59",
69+
"expirationAction": "Log"
70+
},
71+
"keyCreationTime": {
72+
"key1": "2021-03-18T04:42:22.4322836Z",
73+
"key2": "2021-03-18T04:42:22.4322836Z"
74+
},
75+
"isHnsEnabled": true,
76+
"allowBlobPublicAccess": false,
77+
"minimumTlsVersion": "TLS1_2",
78+
"allowSharedKeyAccess": true,
79+
"creationTime": "2017-05-24T13:25:33.4863236Z",
80+
"primaryEndpoints": {
81+
"web": "https://sto4445.web.core.windows.net/",
82+
"dfs": "https://sto4445.dfs.core.windows.net/",
83+
"blob": "https://sto4445.blob.core.windows.net/",
84+
"file": "https://sto4445.file.core.windows.net/",
85+
"queue": "https://sto4445.queue.core.windows.net/",
86+
"table": "https://sto4445.table.core.windows.net/",
87+
"microsoftEndpoints": {
88+
"web": "https://sto4445-microsoftrouting.web.core.windows.net/",
89+
"dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/",
90+
"blob": "https://sto4445-microsoftrouting.blob.core.windows.net/",
91+
"file": "https://sto4445-microsoftrouting.file.core.windows.net/",
92+
"queue": "https://sto4445-microsoftrouting.queue.core.windows.net/",
93+
"table": "https://sto4445-microsoftrouting.table.core.windows.net/"
94+
},
95+
"internetEndpoints": {
96+
"web": "https://sto4445-internetrouting.web.core.windows.net/",
97+
"dfs": "https://sto4445-internetrouting.dfs.core.windows.net/",
98+
"blob": "https://sto4445-internetrouting.blob.core.windows.net/",
99+
"file": "https://sto4445-internetrouting.file.core.windows.net/"
100+
}
101+
},
102+
"primaryLocation": "eastus2euap",
103+
"provisioningState": "Succeeded",
104+
"routingPreference": {
105+
"routingChoice": "MicrosoftRouting",
106+
"publishMicrosoftEndpoints": true,
107+
"publishInternetEndpoints": true
108+
},
109+
"encryption": {
110+
"services": {
111+
"file": {
112+
"keyType": "Account",
113+
"enabled": true,
114+
"lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
115+
},
116+
"blob": {
117+
"keyType": "Account",
118+
"enabled": true,
119+
"lastEnabledTime": "2019-12-11T20:49:31.7036140Z"
120+
}
121+
},
122+
"requireInfrastructureEncryption": false,
123+
"keySource": "Microsoft.Storage"
124+
},
125+
"secondaryLocation": "centraluseuap",
126+
"statusOfPrimary": "available",
127+
"statusOfSecondary": "available",
128+
"supportsHttpsTrafficOnly": true,
129+
"allowedCopyScope": "PrivateLink"
130+
},
131+
"sku": {
132+
"name": "Standard_GRS",
133+
"tier": "Standard"
134+
},
135+
"tags": {
136+
"key1": "value1",
137+
"key2": "value2"
138+
},
139+
"type": "Microsoft.Storage/storageAccounts"
140+
}
141+
},
142+
"202": {}
143+
}
144+
}
145+

0 commit comments

Comments
 (0)