Skip to content

Commit

Permalink
Add missing properties in appplatform preview API (Azure#10612)
Browse files Browse the repository at this point in the history
* add missing properties to 2019-05-01-preview

* update examples
  • Loading branch information
yuwzho authored and giromm2ms committed Dec 20, 2020
1 parent 140191b commit 59baa49
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,12 @@
"$ref": "#/definitions/DeploymentResource"
}
},
"202": {
"description": "Accepted. The response describes the create or update Deployment request is accepted.",
"schema": {
"$ref": "#/definitions/DeploymentResource"
}
},
"200": {
"description": "Success. The response describes the updated Deployment.",
"schema": {
Expand Down Expand Up @@ -2740,7 +2746,8 @@
"Succeeded",
"Failed",
"Creating",
"Updating"
"Updating",
"Deleting"
],
"type": "string",
"readOnly": true,
Expand Down Expand Up @@ -3156,6 +3163,10 @@
"$ref": "#/definitions/DeploymentResourceProperties",
"description": "Properties of the Deployment resource",
"x-ms-client-flatten": false
},
"sku": {
"$ref": "#/definitions/Sku",
"description": "Sku of the Deployment resource"
}
}
},
Expand All @@ -3182,7 +3193,8 @@
"Creating",
"Updating",
"Succeeded",
"Failed"
"Failed",
"Deleting"
],
"type": "string",
"readOnly": true,
Expand Down Expand Up @@ -3579,6 +3591,10 @@
"displayName": {
"description": "Localized friendly display name of the dimension",
"type": "string"
},
"toBeExportedForShoebox": {
"description": "Whether this dimension should be included for the Shoebox export scenario",
"type": "boolean"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"runtimeVersion": "Java_8"
},
"instances": null
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
}
},
"api-version": "2019-05-01-preview",
Expand Down Expand Up @@ -61,6 +66,52 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
}
},
"202": {
"body": {
"properties": {
"source": {
"type": "Source",
"relativePath": "resources/a172cedcae47474b615c54d510a5d84a8dea3032e958587430b413538be3f333-2019082605-e3095339-1723-44b7-8b5e-31b1003978bc",
"version": "1.0",
"artifactSelector": "sub-module-1"
},
"appName": "myapp",
"deploymentSettings": {
"cpu": 1,
"memoryInGB": 3,
"jvmOptions": "-Xms1G -Xmx3G",
"instanceCount": 1,
"environmentVariables": {
"env": "test"
},
"runtimeVersion": "Java_8"
},
"provisioningState": "Creating",
"status": "Starting",
"active": false,
"instances": [
{
"name": "instance1",
"status": "Starting",
"discoveryStatus": "pending"
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down Expand Up @@ -98,6 +149,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down Expand Up @@ -88,6 +93,11 @@
}
]
},
"sku": {
"name": "S0",
"tier": "Standard",
"capacity": 1
},
"type": "Microsoft.AppPlatform/Spring/apps/deployments",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/Spring/myservice/apps/myapp/deployments/mydeployment",
"name": "mydeployment"
Expand Down

0 comments on commit 59baa49

Please sign in to comment.