Microsoft Azure · Example Payload
Microsoft Azure Deployments Createorupdate Example
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
Microsoft Azure Deployments Createorupdate Example is an example object payload from Microsoft Azure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "Deployments_CreateOrUpdate",
"method": "PUT",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}",
"summary": "Microsoft Azure Create or Update a Model Deployment",
"requestExamples": [
{
"contentType": "application/json",
"name": "DeploymentsCreateorupdateRequestExample",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"properties": {
"provisioningState": "Accepted",
"scaleSettings": {
"scaleType": "Standard",
"capacity": 10,
"activeCapacity": 10
},
"rateLimits": [
{}
],
"capabilities": "example_value",
"versionUpgradeOption": "OnceNewDefaultVersionAvailable"
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "DeploymentsCreateorupdate200Example",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"properties": {
"provisioningState": "Accepted",
"scaleSettings": {
"scaleType": "Standard",
"capacity": 10,
"activeCapacity": 10
},
"rateLimits": [
{}
],
"capabilities": "example_value",
"versionUpgradeOption": "OnceNewDefaultVersionAvailable"
}
}
},
{
"status": "201",
"contentType": "application/json",
"name": "DeploymentsCreateorupdate201Example",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"properties": {
"provisioningState": "Accepted",
"scaleSettings": {
"scaleType": "Standard",
"capacity": 10,
"activeCapacity": 10
},
"rateLimits": [
{}
],
"capabilities": "example_value",
"versionUpgradeOption": "OnceNewDefaultVersionAvailable"
}
}
},
{
"status": "default",
"contentType": "application/json",
"name": "DeploymentsCreateorupdatedefaultExample",
"example": {
"error": {
"code": "example_value",
"message": "example_value",
"target": "example_value",
"details": [
{
"code": "example_value",
"message": "example_value",
"target": "example_value"
}
],
"additionalInfo": [
{
"type": "example_value",
"info": "example_value"
}
]
}
}
}
]
}