{
  "terraformType": "cloud_api",
  "service": "gateway",
  "resourceType": "Api",
  "create": "CreateApi",
  "read": "GetApi",
  "update": "UpdateApi",
  "delete": "DeleteApi",
  "list": "ListApis",
  "importId": "{api_id}",
  "identifierAttrs": [
    "api_id"
  ],
  "createOnly": [
    "protocol_type"
  ],
  "computed": [
    "id",
    "api_id",
    "platform_hostname"
  ],
  "sensitive": [],
  "readSpec": {
    "calls": [
      {
        "operation": {
          "kind": "cloudJson",
          "service": "gateway",
          "operation": "GetApi",
          "target": "CloudGateway.GetApi"
        },
        "requestBindings": [
          {
            "requestPath": "apiId",
            "source": {
              "kind": "physicalId",
              "member": "api_id"
            }
          }
        ]
      }
    ],
    "resultSelector": null,
    "observedFields": [
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "apiId"
        },
        "modelField": "apiId",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "name"
        },
        "modelField": "name",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "protocolType"
        },
        "modelField": "protocolType",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "response",
          "call": 0,
          "path": "platformHostname"
        },
        "modelField": "platformHostname",
        "transform": "identity"
      }
    ],
    "readiness": null,
    "stableComputed": "preserveWhenAbsent",
    "stableComputedFields": [
      "id",
      "apiId",
      "platformHostname"
    ]
  },
  "provider": {
    "resourceKind": "api",
    "physicalId": [
      "api_id"
    ],
    "exposeRevision": true,
    "attributes": [
      {
        "name": "id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "name",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "protocol_type",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": true
      },
      {
        "name": "api_id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "platform_hostname",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      }
    ]
  },
  "updateStrategy": {
    "kind": "inPlace",
    "operation": "UpdateApi"
  }
}
