Skip to content

Commit 7d57f68

Browse files
Incarnation-p-leejosuh
authored andcommitted
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2020-11-01-preview (Azure#11823)
* Adds base for updating Microsoft.AppPlatform from version stable/2020-07-01 to version 2020-11-01-preview * Updates readme * Updates API version in new specs and examples * Introduce additional change to 2020-11-01-preview. * Additional properties to monitoringSettings. * Readonly properties to requiredTraffics. Signed-off-by: Pan Li <panli@microsoft.com> * Make credscan happy. Signed-off-by: Pan Li <panli@microsoft.com>
1 parent d0646e7 commit 7d57f68

File tree

60 files changed

+7205
-4
lines changed

Some content is hidden

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

60 files changed

+7205
-4
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/appplatform.json

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