{
  "terraformType": "cloud_api_domain_name",
  "service": "gateway",
  "resourceType": "ApiDomainName",
  "create": "CreateDomainName",
  "read": "GetDomainName",
  "update": null,
  "delete": "DeleteDomainName",
  "list": "ListDomainNames",
  "importId": "{hostname}",
  "identifierAttrs": [
    "hostname"
  ],
  "createOnly": [
    "hostname",
    "certificate_id"
  ],
  "computed": [
    "id",
    "status",
    "ownership_verification_status"
  ],
  "sensitive": [],
  "readSpec": {
    "calls": [
      {
        "operation": {
          "kind": "cloudJson",
          "service": "gateway",
          "operation": "GetDomainName",
          "target": "CloudGateway.GetDomainName"
        },
        "requestBindings": [
          {
            "requestPath": "hostname",
            "source": {
              "kind": "physicalId",
              "member": "hostname"
            }
          }
        ]
      }
    ],
    "resultSelector": null,
    "observedFields": [
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "hostname"
        },
        "modelField": "hostname",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "certificateId"
        },
        "modelField": "certificateId",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "apiId"
        },
        "modelField": "apiId",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "status"
        },
        "modelField": "status",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "ownershipVerificationStatus"
        },
        "modelField": "ownershipVerificationStatus",
        "transform": "identity"
      }
    ],
    "readiness": {
      "path": "status",
      "readyValues": [
        "AVAILABLE"
      ],
      "pendingValues": [
        "PENDING",
        "PENDING_CERTIFICATE",
        "PENDING_VERIFICATION"
      ]
    },
    "stableComputed": "preserveWhenAbsent",
    "stableComputedFields": [
      "id",
      "status",
      "ownershipVerificationStatus"
    ]
  },
  "provider": {
    "resourceKind": "api_domain_name",
    "physicalId": [
      "hostname"
    ],
    "exposeRevision": true,
    "attributes": [
      {
        "name": "id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "hostname",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "certificate_id",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "api_id",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "status",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "ownership_verification_status",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      }
    ]
  },
  "updateStrategy": {
    "kind": "replace"
  }
}
