Skip to content

Commit 9f06c40

Browse files
authored
Revert "[Hub Generated] Public private branch 'yuwzho/deprecate-appplatform-api-version' (#17506)"
This reverts commit 5d23498.
1 parent 3d1ae07 commit 9f06c40

Some content is hidden

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

52 files changed

+6396
-0
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json

Lines changed: 4100 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
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": "2019-05-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+
}
89+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-05-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": "2019-05-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": "2019-05-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: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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": "2019-05-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+
"headers": {
64+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview",
65+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000/Spring/default?api-version=2019-05-01-preview"
66+
},
67+
"body": {
68+
"properties": {
69+
"public": true,
70+
"url": "myapp.myservice.azuremicroservices.io",
71+
"provisioningState": "Updating",
72+
"activeDeploymentName": "mydeployment1",
73+
"fqdn": "myapp.mydomain.com",
74+
"httpsOnly": false,
75+
"temporaryDisk": {
76+
"sizeInGB": 2,
77+
"mountPath": "/mytemporarydisk"
78+
},
79+
"persistentDisk": {
80+
"sizeInGB": 2,
81+
"usedInGB": 1,
82+
"mountPath": "/mypersistentdisk"
83+
}
84+
},
85+
"type": "Microsoft.AppPlatform/Spring/apps",
86+
"identity": {
87+
"type": "SystemAssigned",
88+
"principalId": "principalid",
89+
"tenantId": "tenantid"
90+
},
91+
"location": "eastus",
92+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp",
93+
"name": "myapp"
94+
}
95+
}
96+
}
97+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"bindingResource": {
4+
"properties": {
5+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1",
6+
"key": "xxxx",
7+
"bindingParameters": {
8+
"databaseName": "db1",
9+
"apiType": "SQL"
10+
},
11+
"generatedProperties": null,
12+
"createdAt": null,
13+
"updatedAt": null
14+
}
15+
},
16+
"api-version": "2019-05-01-preview",
17+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
18+
"resourceGroupName": "myResourceGroup",
19+
"serviceName": "myservice",
20+
"appName": "myapp",
21+
"bindingName": "mybinding"
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"properties": {
27+
"resourceName": "my-cosmosdb-1",
28+
"resourceType": "Microsoft.DocumentDB",
29+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1",
30+
"bindingParameters": {
31+
"databaseName": "db1",
32+
"apiType": "SQL"
33+
},
34+
"generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6",
35+
"createdAt": "2019-01-01T12:34:56.000Z",
36+
"updatedAt": "2019-01-01T12:34:56.000Z"
37+
},
38+
"type": "Microsoft.AppPlatform/Spring/apps/bindings",
39+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding",
40+
"name": "mybinding"
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp",
8+
"bindingName": "mybinding"
9+
},
10+
"responses": {
11+
"200": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-05-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"serviceName": "myservice",
7+
"appName": "myapp",
8+
"bindingName": "mybinding"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resourceName": "my-cosmosdb-1",
15+
"resourceType": "Microsoft.DocumentDB",
16+
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1",
17+
"bindingParameters": {
18+
"databaseName": "db1",
19+
"apiType": "SQL"
20+
},
21+
"generatedProperties": "spring.datasource.url=jdbc:mysql://localhost:3306/test\nspring.datasource.username=root\nspring.datasource.password=1****6",
22+
"createdAt": "2019-01-01T12:34:56.000Z",
23+
"updatedAt": "2019-01-01T12:34:56.000Z"
24+
},
25+
"type": "Microsoft.AppPlatform/Spring/apps/bindings",
26+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/bindings/mybinding",
27+
"name": "mybinding"
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)