forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.AppPlatform to add versi…
…on 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>
- Loading branch information
1 parent
d0646e7
commit 7d57f68
Showing
60 changed files
with
7,205 additions
and
4 deletions.
There are no files selected for viewing
4,634 changes: 4,634 additions & 0 deletions
4,634
...atform/resource-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/appplatform.json
Large diffs are not rendered by default.
Oops, something went wrong.
119 changes: 119 additions & 0 deletions
119
...anager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"parameters": { | ||
"appResource": { | ||
"properties": { | ||
"public": true, | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"identity": null, | ||
"location": "eastus" | ||
}, | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Succeeded", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Creating", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Updating", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...source-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
.../resource-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Succeeded", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
.../Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_GetResourceUploadUrl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"relativePath": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855-20190801-3ed9f4a2-986b-4bbd-b833-a42dccb2f777", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...resource-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Succeeded", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
93 changes: 93 additions & 0 deletions
93
...source-manager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"parameters": { | ||
"appResource": { | ||
"properties": { | ||
"public": true, | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": null, | ||
"tenantId": null | ||
}, | ||
"location": "eastus" | ||
}, | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Succeeded", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"public": true, | ||
"url": "myapp.myservice.azuremicroservices.io", | ||
"provisioningState": "Updating", | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"usedInGB": 1, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"type": "Microsoft.AppPlatform/Spring/apps", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "principalid", | ||
"tenantId": "tenantid" | ||
}, | ||
"location": "eastus", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp", | ||
"name": "myapp" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...anager/Microsoft.AppPlatform/preview/2020-11-01-preview/examples/Apps_ValidateDomain.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"validatePayload": { | ||
"name": "mydomain.io" | ||
}, | ||
"api-version": "2020-11-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"isValid": false, | ||
"message": "Certificate is invalid, please check if it is a self signed cert or if it contains a suitable dns name" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.