Skip to content

Commit 1eb4d38

Browse files
gavinfishWenhao ZhangXuyang Cao
authored
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (Azure#16149)
* Adds base for updating Microsoft.AppPlatform from version preview/2021-06-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Add new changes for 2021-09-01-preview * Fix some validation errors * Use collection for loadedCertificates * Fix typo * Update readme for new api version autorest generating * name update * name update again * name update again again * rename storageProperties to properties * add systemData * fix * fix lint * resolve comments * fix reference link * fix * add x-ms-secret and x-ms-mutability annotations to accountKey * fix lint Co-authored-by: Wenhao Zhang <[email protected]> Co-authored-by: Xuyang Cao <[email protected]>
1 parent 2a53041 commit 1eb4d38

File tree

66 files changed

+8654
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+8654
-2
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-09-01-preview/appplatform.json

Lines changed: 5220 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
{
2+
"parameters": {
3+
"appResource": {
4+
"properties": {
5+
"public": true,
6+
"activeDeploymentName": "mydeployment1",
7+
"fqdn": "myapp.mydomain.com",
8+
"httpsOnly": false,
9+
"enableEndToEndTLS": false,
10+
"temporaryDisk": {
11+
"sizeInGB": 2,
12+
"mountPath": "/mytemporarydisk"
13+
},
14+
"persistentDisk": {
15+
"sizeInGB": 2,
16+
"mountPath": "/mypersistentdisk"
17+
},
18+
"loadedCertificates": [
19+
{
20+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert1",
21+
"loadTrustStore": false
22+
},
23+
{
24+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert2",
25+
"loadTrustStore": true
26+
}
27+
],
28+
"customPersistentDisks": [
29+
{
30+
"customPersistentDiskProperties": {
31+
"type": "AzureFileVolume",
32+
"mountPath": "/mypath1/mypath2",
33+
"mountOptions": [
34+
"uid=0",
35+
"gid=0",
36+
"dir_mode=0777",
37+
"file_mode=0777"
38+
],
39+
"shareName": "myFileShare"
40+
},
41+
"storageId": "myASCStorageID"
42+
}
43+
]
44+
},
45+
"identity": null,
46+
"location": "eastus"
47+
},
48+
"api-version": "2021-09-01-preview",
49+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
50+
"resourceGroupName": "myResourceGroup",
51+
"serviceName": "myservice",
52+
"appName": "myapp"
53+
},
54+
"responses": {
55+
"200": {
56+
"body": {
57+
"properties": {
58+
"public": true,
59+
"url": "myapp.myservice.azuremicroservices.io",
60+
"provisioningState": "Succeeded",
61+
"activeDeploymentName": "mydeployment1",
62+
"fqdn": "myapp.mydomain.com",
63+
"httpsOnly": false,
64+
"enableEndToEndTLS": false,
65+
"temporaryDisk": {
66+
"sizeInGB": 2,
67+
"mountPath": "/mytemporarydisk"
68+
},
69+
"persistentDisk": {
70+
"sizeInGB": 2,
71+
"usedInGB": 1,
72+
"mountPath": "/mypersistentdisk"
73+
},
74+
"customPersistentDisks": [
75+
{
76+
"customPersistentDiskProperties": {
77+
"type": "AzureFileVolume",
78+
"mountPath": "/mypath1/mypath2",
79+
"mountOptions": [
80+
"uid=0",
81+
"gid=0",
82+
"dir_mode=0777",
83+
"file_mode=0777"
84+
],
85+
"shareName": "myFileShare"
86+
},
87+
"storageId": "myASCStorageID"
88+
}
89+
]
90+
},
91+
"type": "Microsoft.AppPlatform/Spring/apps",
92+
"identity": {
93+
"type": "SystemAssigned",
94+
"principalId": "principalid",
95+
"tenantId": "tenantid"
96+
},
97+
"location": "eastus",
98+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
99+
"name": "myapp"
100+
}
101+
},
102+
"201": {
103+
"body": {
104+
"properties": {
105+
"public": true,
106+
"url": "myapp.myservice.azuremicroservices.io",
107+
"provisioningState": "Creating",
108+
"activeDeploymentName": "mydeployment1",
109+
"fqdn": "myapp.mydomain.com",
110+
"httpsOnly": false,
111+
"enableEndToEndTLS": false,
112+
"temporaryDisk": {
113+
"sizeInGB": 2,
114+
"mountPath": "/mytemporarydisk"
115+
},
116+
"persistentDisk": {
117+
"sizeInGB": 2,
118+
"usedInGB": 1,
119+
"mountPath": "/mypersistentdisk"
120+
},
121+
"customPersistentDisks": [
122+
{
123+
"customPersistentDiskProperties": {
124+
"type": "AzureFileVolume",
125+
"mountPath": "/mypath1/mypath2",
126+
"mountOptions": [
127+
"uid=0",
128+
"gid=0",
129+
"dir_mode=0777",
130+
"file_mode=0777"
131+
],
132+
"shareName": "myFileShare"
133+
},
134+
"storageId": "myASCStorageID"
135+
}
136+
]
137+
},
138+
"type": "Microsoft.AppPlatform/Spring/apps",
139+
"identity": {
140+
"type": "SystemAssigned",
141+
"principalId": "principalid",
142+
"tenantId": "tenantid"
143+
},
144+
"location": "eastus",
145+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
146+
"name": "myapp"
147+
}
148+
},
149+
"202": {
150+
"body": {
151+
"properties": {
152+
"public": true,
153+
"url": "myapp.myservice.azuremicroservices.io",
154+
"provisioningState": "Updating",
155+
"activeDeploymentName": "mydeployment1",
156+
"fqdn": "myapp.mydomain.com",
157+
"httpsOnly": false,
158+
"enableEndToEndTLS": false,
159+
"temporaryDisk": {
160+
"sizeInGB": 2,
161+
"mountPath": "/mytemporarydisk"
162+
},
163+
"persistentDisk": {
164+
"sizeInGB": 2,
165+
"usedInGB": 1,
166+
"mountPath": "/mypersistentdisk"
167+
},
168+
"customPersistentDisks": [
169+
{
170+
"customPersistentDiskProperties": {
171+
"type": "AzureFileVolume",
172+
"mountPath": "/mypath1/mypath2",
173+
"mountOptions": [
174+
"uid=0",
175+
"gid=0",
176+
"dir_mode=0777",
177+
"file_mode=0777"
178+
],
179+
"shareName": "myFileShare"
180+
},
181+
"storageId": "myASCStorageID"
182+
}
183+
]
184+
},
185+
"type": "Microsoft.AppPlatform/Spring/apps",
186+
"identity": {
187+
"type": "SystemAssigned",
188+
"principalId": "principalid",
189+
"tenantId": "tenantid"
190+
},
191+
"location": "eastus",
192+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
193+
"name": "myapp"
194+
}
195+
}
196+
}
197+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"public": true,
14+
"url": "myapp.myservice.azuremicroservices.io",
15+
"provisioningState": "Succeeded",
16+
"activeDeploymentName": "mydeployment1",
17+
"fqdn": "myapp.mydomain.com",
18+
"httpsOnly": false,
19+
"enableEndToEndTLS": false,
20+
"temporaryDisk": {
21+
"sizeInGB": 2,
22+
"mountPath": "/mytemporarydisk"
23+
},
24+
"persistentDisk": {
25+
"sizeInGB": 2,
26+
"usedInGB": 1,
27+
"mountPath": "/mypersistentdisk"
28+
},
29+
"loadedCertificates": [
30+
{
31+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert1",
32+
"loadTrustStore": false
33+
},
34+
{
35+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert2",
36+
"loadTrustStore": true
37+
}
38+
],
39+
"customPersistentDisks": [
40+
{
41+
"customPersistentDiskProperties": {
42+
"type": "AzureFileVolume",
43+
"mountPath": "/mypath1/mypath2",
44+
"mountOptions": [
45+
"uid=0",
46+
"gid=0",
47+
"dir_mode=0777",
48+
"file_mode=0777"
49+
],
50+
"shareName": "myFileShare"
51+
},
52+
"storageId": "myASCStorageID"
53+
}
54+
]
55+
},
56+
"type": "Microsoft.AppPlatform/Spring/apps",
57+
"identity": {
58+
"type": "SystemAssigned",
59+
"principalId": "principalid",
60+
"tenantId": "tenantid"
61+
},
62+
"location": "eastus",
63+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
64+
"name": "myapp"
65+
}
66+
}
67+
}
68+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"relativePath": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20190801-3ed9f4a2-986b-4bbd-b833-a42dccb2f777",
13+
"uploadUrl": "https://springcloudstorageaccount.file.core.windows.net/bd172614181f42e2853f6fd90029cda8/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20190801-3ed9f4a2-986b-4bbd-b833-a42dccb2f777?sv=2018-03-28&sr=f&sig=SampleSignature&se=2019-08-01T10%3A42%3A21Z&sp=w"
14+
}
15+
}
16+
}
17+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-09-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"properties": {
14+
"public": true,
15+
"url": "myapp.myservice.azuremicroservices.io",
16+
"provisioningState": "Succeeded",
17+
"activeDeploymentName": "mydeployment1",
18+
"fqdn": "myapp.mydomain.com",
19+
"httpsOnly": false,
20+
"enableEndToEndTLS": false,
21+
"temporaryDisk": {
22+
"sizeInGB": 2,
23+
"mountPath": "/mytemporarydisk"
24+
},
25+
"persistentDisk": {
26+
"sizeInGB": 2,
27+
"usedInGB": 1,
28+
"mountPath": "/mypersistentdisk"
29+
},
30+
"loadedCertificates": [
31+
{
32+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert1",
33+
"loadTrustStore": false
34+
},
35+
{
36+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/certificates/mycert2",
37+
"loadTrustStore": true
38+
}
39+
],
40+
"customPersistentDisks": [
41+
{
42+
"customPersistentDiskProperties": {
43+
"type": "AzureFileVolume",
44+
"mountPath": "/mypath1/mypath2",
45+
"mountOptions": [
46+
"uid=0",
47+
"gid=0",
48+
"dir_mode=0777",
49+
"file_mode=0777"
50+
],
51+
"shareName": "myFileShare"
52+
},
53+
"storageId": "myASCStorageID"
54+
}
55+
]
56+
},
57+
"type": "Microsoft.AppPlatform/Spring/apps",
58+
"identity": {
59+
"type": "SystemAssigned",
60+
"principalId": "principalid",
61+
"tenantId": "tenantid"
62+
},
63+
"location": "eastus",
64+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
65+
"name": "myapp"
66+
}
67+
]
68+
}
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)