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/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
Incarnation-p-lee authored Dec 22, 2020
1 parent 5ffa05d commit d53b20d
Show file tree
Hide file tree
Showing 60 changed files with 7,205 additions and 4 deletions.

Large diffs are not rendered by default.

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

0 comments on commit d53b20d

Please sign in to comment.