Skip to content

Commit c8bc4ae

Browse files
authored
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-03-03-preview (#13256)
* Adds base for updating Microsoft.AppPlatform from version preview/2020-11-01-preview to version 2021-03-03-preview * Updates readme * Updates API version in new specs and examples * add ResourceRequest property in deploymentsettings * fix typo * fix typo * add descriptions for field resourceRequests
1 parent 3e86a06 commit c8bc4ae

File tree

55 files changed

+7372
-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.

55 files changed

+7372
-2
lines changed

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

Lines changed: 4658 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
},
19+
"identity": null,
20+
"location": "eastus"
21+
},
22+
"api-version": "2021-03-03-preview",
23+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
24+
"resourceGroupName": "myResourceGroup",
25+
"serviceName": "myservice",
26+
"appName": "myapp"
27+
},
28+
"responses": {
29+
"200": {
30+
"body": {
31+
"properties": {
32+
"public": true,
33+
"url": "myapp.myservice.azuremicroservices.io",
34+
"provisioningState": "Succeeded",
35+
"activeDeploymentName": "mydeployment1",
36+
"fqdn": "myapp.mydomain.com",
37+
"httpsOnly": false,
38+
"enableEndToEndTLS": false,
39+
"temporaryDisk": {
40+
"sizeInGB": 2,
41+
"mountPath": "mytemporarydisk"
42+
},
43+
"persistentDisk": {
44+
"sizeInGB": 2,
45+
"usedInGB": 1,
46+
"mountPath": "mypersistentdisk"
47+
}
48+
},
49+
"type": "Microsoft.AppPlatform/Spring/apps",
50+
"identity": {
51+
"type": "SystemAssigned",
52+
"principalId": "principalid",
53+
"tenantId": "tenantid"
54+
},
55+
"location": "eastus",
56+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
57+
"name": "myapp"
58+
}
59+
},
60+
"201": {
61+
"body": {
62+
"properties": {
63+
"public": true,
64+
"url": "myapp.myservice.azuremicroservices.io",
65+
"provisioningState": "Creating",
66+
"activeDeploymentName": "mydeployment1",
67+
"fqdn": "myapp.mydomain.com",
68+
"httpsOnly": false,
69+
"enableEndToEndTLS": false,
70+
"temporaryDisk": {
71+
"sizeInGB": 2,
72+
"mountPath": "mytemporarydisk"
73+
},
74+
"persistentDisk": {
75+
"sizeInGB": 2,
76+
"usedInGB": 1,
77+
"mountPath": "mypersistentdisk"
78+
}
79+
},
80+
"type": "Microsoft.AppPlatform/Spring/apps",
81+
"identity": {
82+
"type": "SystemAssigned",
83+
"principalId": "principalid",
84+
"tenantId": "tenantid"
85+
},
86+
"location": "eastus",
87+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
88+
"name": "myapp"
89+
}
90+
},
91+
"202": {
92+
"body": {
93+
"properties": {
94+
"public": true,
95+
"url": "myapp.myservice.azuremicroservices.io",
96+
"provisioningState": "Updating",
97+
"activeDeploymentName": "mydeployment1",
98+
"fqdn": "myapp.mydomain.com",
99+
"httpsOnly": false,
100+
"enableEndToEndTLS": false,
101+
"temporaryDisk": {
102+
"sizeInGB": 2,
103+
"mountPath": "mytemporarydisk"
104+
},
105+
"persistentDisk": {
106+
"sizeInGB": 2,
107+
"usedInGB": 1,
108+
"mountPath": "mypersistentdisk"
109+
}
110+
},
111+
"type": "Microsoft.AppPlatform/Spring/apps",
112+
"identity": {
113+
"type": "SystemAssigned",
114+
"principalId": "principalid",
115+
"tenantId": "tenantid"
116+
},
117+
"location": "eastus",
118+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
119+
"name": "myapp"
120+
}
121+
}
122+
}
123+
}
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-03-03-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: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-03-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+
},
30+
"type": "Microsoft.AppPlatform/Spring/apps",
31+
"identity": {
32+
"type": "SystemAssigned",
33+
"principalId": "principalid",
34+
"tenantId": "tenantid"
35+
},
36+
"location": "eastus",
37+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
38+
"name": "myapp"
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-03-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: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-03-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+
},
31+
"type": "Microsoft.AppPlatform/Spring/apps",
32+
"identity": {
33+
"type": "SystemAssigned",
34+
"principalId": "principalid",
35+
"tenantId": "tenantid"
36+
},
37+
"location": "eastus",
38+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
39+
"name": "myapp"
40+
}
41+
]
42+
}
43+
}
44+
}
45+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
},
19+
"identity": {
20+
"type": "SystemAssigned",
21+
"principalId": null,
22+
"tenantId": null
23+
},
24+
"location": "eastus"
25+
},
26+
"api-version": "2021-03-03-preview",
27+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
28+
"resourceGroupName": "myResourceGroup",
29+
"serviceName": "myservice",
30+
"appName": "myapp"
31+
},
32+
"responses": {
33+
"200": {
34+
"body": {
35+
"properties": {
36+
"public": true,
37+
"url": "myapp.myservice.azuremicroservices.io",
38+
"provisioningState": "Succeeded",
39+
"activeDeploymentName": "mydeployment1",
40+
"fqdn": "myapp.mydomain.com",
41+
"httpsOnly": false,
42+
"enableEndToEndTLS": false,
43+
"temporaryDisk": {
44+
"sizeInGB": 2,
45+
"mountPath": "mytemporarydisk"
46+
},
47+
"persistentDisk": {
48+
"sizeInGB": 2,
49+
"usedInGB": 1,
50+
"mountPath": "mypersistentdisk"
51+
}
52+
},
53+
"type": "Microsoft.AppPlatform/Spring/apps",
54+
"identity": {
55+
"type": "SystemAssigned",
56+
"principalId": "principalid",
57+
"tenantId": "tenantid"
58+
},
59+
"location": "eastus",
60+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
61+
"name": "myapp"
62+
}
63+
},
64+
"202": {
65+
"body": {
66+
"properties": {
67+
"public": true,
68+
"url": "myapp.myservice.azuremicroservices.io",
69+
"provisioningState": "Updating",
70+
"activeDeploymentName": "mydeployment1",
71+
"fqdn": "myapp.mydomain.com",
72+
"httpsOnly": false,
73+
"enableEndToEndTLS": false,
74+
"temporaryDisk": {
75+
"sizeInGB": 2,
76+
"mountPath": "mytemporarydisk"
77+
},
78+
"persistentDisk": {
79+
"sizeInGB": 2,
80+
"usedInGB": 1,
81+
"mountPath": "mypersistentdisk"
82+
}
83+
},
84+
"type": "Microsoft.AppPlatform/Spring/apps",
85+
"identity": {
86+
"type": "SystemAssigned",
87+
"principalId": "principalid",
88+
"tenantId": "tenantid"
89+
},
90+
"location": "eastus",
91+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
92+
"name": "myapp"
93+
}
94+
}
95+
}
96+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"validatePayload": {
4+
"name": "mydomain.io"
5+
},
6+
"api-version": "2021-03-03-preview",
7+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
8+
"resourceGroupName": "myResourceGroup",
9+
"serviceName": "myservice",
10+
"appName": "myapp"
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"isValid": false,
16+
"message": "Certificate is invalid, please check if it is a self signed cert or if it contains a suitable dns name"
17+
}
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)