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/2021-03-03-preview (Azure#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
- Loading branch information
1 parent
e20c15e
commit 3e36435
Showing
55 changed files
with
7,372 additions
and
2 deletions.
There are no files selected for viewing
4,658 changes: 4,658 additions & 0 deletions
4,658
...atform/resource-manager/Microsoft.AppPlatform/preview/2021-03-03-preview/appplatform.json
Large diffs are not rendered by default.
Oops, something went wrong.
123 changes: 123 additions & 0 deletions
123
...anager/Microsoft.AppPlatform/preview/2021-03-03-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,123 @@ | ||
{ | ||
"parameters": { | ||
"appResource": { | ||
"properties": { | ||
"public": true, | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"enableEndToEndTLS": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"identity": null, | ||
"location": "eastus" | ||
}, | ||
"api-version": "2021-03-03-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, | ||
"enableEndToEndTLS": 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, | ||
"enableEndToEndTLS": 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, | ||
"enableEndToEndTLS": 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/2021-03-03-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": "2021-03-03-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"serviceName": "myservice", | ||
"appName": "myapp" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
.../resource-manager/Microsoft.AppPlatform/preview/2021-03-03-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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-03-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, | ||
"enableEndToEndTLS": 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/2021-03-03-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": "2021-03-03-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" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...resource-manager/Microsoft.AppPlatform/preview/2021-03-03-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,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-03-03-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, | ||
"enableEndToEndTLS": 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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
96 changes: 96 additions & 0 deletions
96
...source-manager/Microsoft.AppPlatform/preview/2021-03-03-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,96 @@ | ||
{ | ||
"parameters": { | ||
"appResource": { | ||
"properties": { | ||
"public": true, | ||
"activeDeploymentName": "mydeployment1", | ||
"fqdn": "myapp.mydomain.com", | ||
"httpsOnly": false, | ||
"enableEndToEndTLS": false, | ||
"temporaryDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mytemporarydisk" | ||
}, | ||
"persistentDisk": { | ||
"sizeInGB": 2, | ||
"mountPath": "mypersistentdisk" | ||
} | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": null, | ||
"tenantId": null | ||
}, | ||
"location": "eastus" | ||
}, | ||
"api-version": "2021-03-03-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, | ||
"enableEndToEndTLS": 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, | ||
"enableEndToEndTLS": 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/2021-03-03-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": "2021-03-03-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.