Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.AppPlatform to add versi…
Browse files Browse the repository at this point in the history
…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
superrdean authored and mkarmark committed Jul 20, 2021
1 parent 5c61fcd commit 8376789
Show file tree
Hide file tree
Showing 55 changed files with 7,372 additions and 2 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 8376789

Please sign in to comment.