{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-bastion-summary-schema.json",
  "title": "BastionSummary",
  "description": "Summary information for a bastion resource. A bastion provides secured, public access to target resources in the cloud that you cannot otherwise reach from the internet. A bastion resides in a public subnet and establishes the network infrastructure needed to connect a user to a target resource in a private subnet.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-bastion-api-openapi.yml#/components/schemas/BastionSummary",
  "properties": {
    "bastionType": {
      "description": "The type of bastion.",
      "type": "string"
    },
    "compartmentId": {
      "description": "The unique identifier (OCID) of the compartment where the bastion is located.",
      "type": "string"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only string, integer and boolean types are supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n",
      "type": "object"
    },
    "dnsProxyStatus": {
      "description": "The current dns proxy status of the bastion.",
      "enum": [
        "DISABLED",
        "ENABLED"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/BastionDnsProxyStatus"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
      "type": "object"
    },
    "id": {
      "description": "The unique identifier (OCID) of the bastion, which can't be changed after creation.",
      "type": "string"
    },
    "lifecycleDetails": {
      "description": "A message describing the current state in more detail.",
      "type": "string",
      "x-default-description": "null"
    },
    "lifecycleState": {
      "description": "The current state of the bastion.",
      "enum": [
        "CREATING",
        "UPDATING",
        "ACTIVE",
        "DELETING",
        "DELETED",
        "FAILED"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/BastionLifecycleState"
    },
    "name": {
      "description": "The name of the bastion, which can't be changed after creation.",
      "type": "string"
    },
    "systemTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only string, integer and boolean types are supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing system tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
        "type": "object"
      },
      "description": "Usage of system tag keys. These predefined keys are scoped to namespaces.\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n",
      "type": "object"
    },
    "targetSubnetId": {
      "description": "The unique identifier (OCID) of the subnet that the bastion connects to.",
      "type": "string"
    },
    "targetVcnId": {
      "description": "The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to.",
      "type": "string"
    },
    "timeCreated": {
      "description": "The time the bastion was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339).\nExample: `2020-01-25T21:10:29.600Z`\n",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The time the bastion was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339).\nExample: `2020-01-25T21:10:29.600Z`\n",
      "format": "date-time",
      "type": "string",
      "x-default-description": "null"
    }
  },
  "required": [
    "id",
    "name",
    "compartmentId",
    "targetVcnId",
    "targetSubnetId",
    "lifecycleState",
    "timeCreated",
    "bastionType"
  ],
  "type": "object"
}