Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update setActiveDeployments response body
  • Loading branch information
yuwzho committed Dec 13, 2021
commit 3a1efc7a37cff0795ad99c473203a41b3cb17998
Original file line number Diff line number Diff line change
Expand Up @@ -2939,13 +2939,13 @@
"200": {
"description": "Success. The response describes the active deployment.",
"schema": {
"$ref": "#/definitions/ActiveDeploymentCollection"
"$ref": "#/definitions/AppResource"
}
},
"202": {
"description": "Accepted. The response indicates the exiting Binding is now updating and contains a Location header to query the operation result.",
"schema": {
"$ref": "#/definitions/ActiveDeploymentCollection"
"$ref": "#/definitions/AppResource"
}
},
"default": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,51 @@
"responses": {
"200": {
"body": {
"activeDeploymentNames": [
"default"
]
"properties": {
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Succeeded",
"fqdn": "myapp.mydomain.com",
"httpsOnly": false,
"enableEndToEndTLS": false,
"temporaryDisk": {
"sizeInGB": 2,
"mountPath": "/mytemporarydisk"
},
"persistentDisk": {
"sizeInGB": 2,
"usedInGB": 1,
"mountPath": "/mypersistentdisk"
},
"customPersistentDisks": [
{
"customPersistentDiskProperties": {
"type": "AzureFileVolume",
"mountPath": "/mypath1/mypath2",
"mountOptions": [],
"shareName": "myFileShare"
},
"storageId": "myASCStorageID"
}
]
},
"systemData": {
"createdBy": "sample-user",
"createdByType": "User",
"createdAt": "2021-08-11T03:16:03.944Z",
"lastModifiedBy": "sample-user",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-11T03:17:03.944Z"
},
"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": {
Expand All @@ -25,9 +67,51 @@
"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=2022-01-01-preview"
},
"body": {
"activeDeploymentNames": [
"default"
]
"properties": {
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Updating",
"fqdn": "myapp.mydomain.com",
"httpsOnly": false,
"enableEndToEndTLS": false,
"temporaryDisk": {
"sizeInGB": 2,
"mountPath": "/mytemporarydisk"
},
"persistentDisk": {
"sizeInGB": 2,
"usedInGB": 1,
"mountPath": "/mypersistentdisk"
},
"customPersistentDisks": [
{
"customPersistentDiskProperties": {
"type": "AzureFileVolume",
"mountPath": "/mypath1/mypath2",
"mountOptions": [],
"shareName": "myFileShare"
},
"storageId": "myASCStorageID"
}
]
},
"systemData": {
"createdBy": "sample-user",
"createdByType": "User",
"createdAt": "2021-08-11T03:16:03.944Z",
"lastModifiedBy": "sample-user",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-11T03:17:03.944Z"
},
"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"
}
}
}
Expand Down