Microsoft Azure · Example Payload
Microsoft Azure Accounts Create Example
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
Microsoft Azure Accounts Create 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": "Accounts_Create",
"method": "PUT",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}",
"summary": "Microsoft Azure Create or Update a Cognitive Services Account",
"requestExamples": [
{
"contentType": "application/json",
"name": "AccountsCreateRequestExample",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"kind": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"identity": {
"principalId": "500123",
"tenantId": "500123",
"type": "None",
"userAssignedIdentities": "example_value"
},
"location": "example_value",
"tags": "example_value",
"properties": {
"provisioningState": "Accepted",
"endpoint": "example_value",
"endpoints": "example_value",
"capabilities": [
{}
],
"isMigrated": true,
"dateCreated": "example_value",
"customSubDomainName": "example_value",
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"restrictOutboundNetworkAccess": true
}
}
}
],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "AccountsCreate200Example",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"kind": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"identity": {
"principalId": "500123",
"tenantId": "500123",
"type": "None",
"userAssignedIdentities": "example_value"
},
"location": "example_value",
"tags": "example_value",
"properties": {
"provisioningState": "Accepted",
"endpoint": "example_value",
"endpoints": "example_value",
"capabilities": [
{}
],
"isMigrated": true,
"dateCreated": "example_value",
"customSubDomainName": "example_value",
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"restrictOutboundNetworkAccess": true
}
}
},
{
"status": "201",
"contentType": "application/json",
"name": "AccountsCreate201Example",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"kind": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"identity": {
"principalId": "500123",
"tenantId": "500123",
"type": "None",
"userAssignedIdentities": "example_value"
},
"location": "example_value",
"tags": "example_value",
"properties": {
"provisioningState": "Accepted",
"endpoint": "example_value",
"endpoints": "example_value",
"capabilities": [
{}
],
"isMigrated": true,
"dateCreated": "example_value",
"customSubDomainName": "example_value",
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"restrictOutboundNetworkAccess": true
}
}
},
{
"status": "202",
"contentType": "application/json",
"name": "AccountsCreate202Example",
"example": {
"id": "abc123",
"name": "Example Title",
"type": "example_value",
"etag": "example_value",
"kind": "example_value",
"sku": {
"name": "Example Title",
"tier": "Free"
},
"identity": {
"principalId": "500123",
"tenantId": "500123",
"type": "None",
"userAssignedIdentities": "example_value"
},
"location": "example_value",
"tags": "example_value",
"properties": {
"provisioningState": "Accepted",
"endpoint": "example_value",
"endpoints": "example_value",
"capabilities": [
{}
],
"isMigrated": true,
"dateCreated": "example_value",
"customSubDomainName": "example_value",
"publicNetworkAccess": "Enabled",
"disableLocalAuth": true,
"restrictOutboundNetworkAccess": true
}
}
},
{
"status": "default",
"contentType": "application/json",
"name": "AccountsCreatedefaultExample",
"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"
}
]
}
}
}
]
}