Microsoft Azure · Example Payload

Microsoft Azure Containers Replace Example

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Microsoft Azure Containers Replace 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

Raw ↑
{
  "operationId": "Containers_Replace",
  "method": "PUT",
  "path": "/dbs/{databaseId}/colls/{containerId}",
  "summary": "Microsoft Azure Replace a Container",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "ContainersReplaceRequestExample",
      "example": {
        "id": "abc123",
        "indexingPolicy": {
          "automatic": true,
          "indexingMode": "consistent",
          "includedPaths": [
            {}
          ],
          "excludedPaths": [
            {}
          ],
          "compositeIndexes": [
            {}
          ],
          "spatialIndexes": [
            {}
          ]
        },
        "partitionKey": {
          "paths": [
            {}
          ],
          "kind": "Hash",
          "version": 1
        },
        "uniqueKeyPolicy": {
          "uniqueKeys": [
            {}
          ]
        },
        "conflictResolutionPolicy": {
          "mode": "LastWriterWins",
          "conflictResolutionPath": "example_value",
          "conflictResolutionProcedure": "example_value"
        },
        "defaultTtl": 10
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "ContainersReplace200Example",
      "example": {
        "id": "abc123",
        "indexingPolicy": {
          "automatic": true,
          "indexingMode": "consistent",
          "includedPaths": [
            {}
          ],
          "excludedPaths": [
            {}
          ],
          "compositeIndexes": [
            {}
          ],
          "spatialIndexes": [
            {}
          ]
        },
        "partitionKey": {
          "paths": [
            {}
          ],
          "kind": "Hash",
          "version": 1
        },
        "uniqueKeyPolicy": {
          "uniqueKeys": [
            {}
          ]
        },
        "conflictResolutionPolicy": {
          "mode": "LastWriterWins",
          "conflictResolutionPath": "example_value",
          "conflictResolutionProcedure": "example_value"
        },
        "defaultTtl": 10,
        "_rid": "500123",
        "_ts": 10,
        "_self": "example_value",
        "_etag": "example_value",
        "_docs": "example_value",
        "_sprocs": "example_value",
        "_triggers": "example_value",
        "_udfs": "example_value"
      }
    },
    {
      "status": "default",
      "contentType": "application/json",
      "name": "ContainersReplacedefaultExample",
      "example": {
        "code": "example_value",
        "message": "example_value"
      }
    }
  ]
}