Skip to content

Commit 1a48504

Browse files
committed
Apply the API and property changes in 2021-08-01
1 parent 6f0bfaa commit 1a48504

16 files changed

+901
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"swagger": "2.0",
33
"info": {
4-
"version": "2021-06-01",
4+
"version": "2021-08-01",
55
"title": "StorageManagementClient",
66
"description": "The Azure Storage Management API."
77
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Storage",
55
"description": "Storage Resource Provider API Common Types",
6-
"version": "2021-06-01"
6+
"version": "2021-08-01"
77
},
88
"paths": {},
99
"definitions": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"properties": {
9+
"properties": {
10+
"permissionScopes": [
11+
{
12+
"permissions": "rwd",
13+
"service": "file",
14+
"resourceName": "share1"
15+
},
16+
{
17+
"permissions": "rw",
18+
"service": "file",
19+
"resourceName": "share2"
20+
}
21+
],
22+
"homeDirectory": "homedirectory",
23+
"hasSshPassword": true,
24+
"sshAuthorizedKeys": [
25+
"@{description=description; key=ssh-rsa keykeykeykeykey=}"
26+
]
27+
}
28+
},
29+
"monitor": "true"
30+
},
31+
"responses": {
32+
"200": {
33+
"body": {
34+
"id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1",
35+
"name": "user1",
36+
"type": "Microsoft.Storage/storageAccounts/localUsers",
37+
"properties": {
38+
"permissionScopes": [
39+
{
40+
"permissions": "rwd",
41+
"service": "file",
42+
"resourceName": "share1"
43+
},
44+
{
45+
"permissions": "rw",
46+
"service": "file",
47+
"resourceName": "share2"
48+
}
49+
],
50+
"homeDirectory": "homedirectory",
51+
"sshAuthorizedKeys": [
52+
"@{description=description; key=ssh-rsa keykeykeykeykey=}"
53+
],
54+
"sid": "S-1-2-0-125132-153423-36235-1000",
55+
"sharedKey": "<REDACTED>",
56+
"hasSshPassword": true,
57+
"sshPassword": "<REDACTED>"
58+
}
59+
}
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"monitor": "true"
9+
},
10+
"responses": {
11+
"200": {}
12+
}
13+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"monitor": "true"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1",
14+
"name": "user1",
15+
"type": "Microsoft.Storage/storageAccounts/localUsers",
16+
"properties": {
17+
"permissionScopes": [
18+
{
19+
"permissions": "rwd",
20+
"service": "file",
21+
"resourceName": "share1"
22+
},
23+
{
24+
"permissions": "rw",
25+
"service": "file",
26+
"resourceName": "share2"
27+
}
28+
],
29+
"homeDirectory": "homedirectory",
30+
"sid": "S-1-2-0-125132-153423-36235-1000",
31+
"hasSharedKey": true,
32+
"hasSshKey": true,
33+
"hasSshPassword": true
34+
}
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"monitor": "true"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"sshAuthorizedKeys": [
14+
{
15+
"description": "description",
16+
"key": "ssh-rsa keykeykeykeykew="
17+
}
18+
],
19+
"sharedKey": "<REDACTED>"
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"monitor": "true"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"permissionScopes": [
14+
{
15+
"permissions": "rw",
16+
"service": "blob",
17+
"resourceName": "resourcename"
18+
}
19+
],
20+
"homeDirectory": "homedirectory",
21+
"sid": "S-1-2-0-1611657619-765561077-299387452-1001",
22+
"hasSharedKey": true,
23+
"hasSshKey": true,
24+
"hasSshPassword": true,
25+
"sshPassword": "<REDACTED>"
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"username": "user1",
7+
"api-version": "2021-08-01",
8+
"properties": {
9+
"properties": {
10+
"homeDirectory": "homedirectory2",
11+
"hasSharedKey": false,
12+
"hasSshPassword": false,
13+
"hasSshKey": false
14+
}
15+
},
16+
"monitor": "true"
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1",
22+
"name": "user1",
23+
"type": "Microsoft.Storage/storageAccounts/localUsers",
24+
"properties": {
25+
"homeDirectory": "homedirectory2",
26+
"sid": "S-1-2-0-3528686663-1788730862-2791910117-1000",
27+
"hasSharedKey": false,
28+
"hasSshPassword": false,
29+
"hasSshKey": false
30+
}
31+
}
32+
}
33+
}
34+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "res6977",
5+
"accountName": "sto2527",
6+
"api-version": "2021-08-01",
7+
"monitor": "true"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1",
15+
"name": "user1",
16+
"type": "Microsoft.Storage/storageAccounts/localUsers",
17+
"properties": {
18+
"permissionScopes": [
19+
{
20+
"permissions": "rwd",
21+
"service": "file",
22+
"resourceName": "share1"
23+
},
24+
{
25+
"permissions": "rw",
26+
"service": "file",
27+
"resourceName": "share2"
28+
}
29+
],
30+
"homeDirectory": "homedirectory",
31+
"sid": "S-1-2-0-125132-153423-36235-1000",
32+
"hasSharedKey": true,
33+
"hasSshKey": true,
34+
"hasSshPassword": true
35+
}
36+
},
37+
{
38+
"id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2",
39+
"name": "user2",
40+
"type": "Microsoft.Storage/storageAccounts/localUsers",
41+
"properties": {
42+
"permissionScopes": [
43+
{
44+
"permissions": "rw",
45+
"service": "blob",
46+
"resourceName": "resourcename"
47+
}
48+
],
49+
"sid": "S-1-2-0-533672-235636-66334-1001",
50+
"hasSharedKey": true,
51+
"hasSshKey": false,
52+
"hasSshPassword": true
53+
}
54+
}
55+
]
56+
}
57+
}
58+
}
59+
}

0 commit comments

Comments
 (0)