Microsoft Azure · Example Payload

Microsoft Azure Certificates Create Example

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Microsoft Azure Certificates 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

Raw ↑
{
  "operationId": "Certificates_Create",
  "method": "POST",
  "path": "/certificates/{certificate-name}/create",
  "summary": "Microsoft Azure Create a Certificate",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CertificatesCreateRequestExample",
      "example": {
        "policy": {
          "id": "abc123",
          "key_props": {
            "exportable": true,
            "kty": "RSA",
            "key_size": 10,
            "reuse_key": true,
            "crv": "P-256"
          },
          "secret_props": {
            "contentType": "example_value"
          },
          "x509_props": {
            "subject": "example_value",
            "sans": {},
            "ekus": {},
            "key_usage": {},
            "validity_months": 10
          },
          "issuer": {
            "name": "Example Title",
            "cty": "example_value"
          },
          "lifetime_actions": [
            {}
          ]
        },
        "attributes": {
          "enabled": true,
          "nbf": 10,
          "exp": 10,
          "created": 10,
          "updated": 10,
          "recoveryLevel": "example_value",
          "recoverableDays": 10
        },
        "tags": "example_value"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "202",
      "contentType": "application/json",
      "name": "CertificatesCreate202Example",
      "example": {
        "id": "abc123",
        "issuer": {
          "name": "Example Title"
        },
        "csr": "example_value",
        "cancellation_requested": true,
        "status": "example_value",
        "status_details": "example_value",
        "error": {
          "code": "example_value",
          "message": "example_value"
        },
        "target": "example_value",
        "request_id": "500123"
      }
    },
    {
      "status": "default",
      "contentType": "application/json",
      "name": "CertificatesCreatedefaultExample",
      "example": {
        "error": {
          "code": "example_value",
          "message": "example_value",
          "innererror": {
            "code": "example_value",
            "innererror": "example_value"
          }
        }
      }
    }
  ]
}