List DRG Attachments

get

/20160918/drgAttachments

List the DrgAttachment resources for the specified compartment. You can filter the results by DRG, attached network, attachment type, DRG route table, or VCN route table. The LIST API lists DRG attachments by attachment type. It defaults to list VCN attachments, but you can request to list ALL attachments of ALL types.

Request

Supported Media Types
Query Parameters
  • The type for the network resource attached to the DRG.
    Default Value: VCN
    Allowed Values: [ "VCN", "VIRTUAL_CIRCUIT", "REMOTE_PEERING_CONNECTION", "IPSEC_TUNNEL", "FLEX_TUNNEL", "ALL" ]
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the compartment.
  • Minimum Length: 1
    Maximum Length: 255
    A filter to return only resources that match the entire display name given.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the DRG.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the DRG route table assigned to the DRG attachment.
  • Internal query parameter to filter DRG attachments on `internalType`
    Default Value: ALL
    Allowed Values: [ "GDRG_SERVICE_RESOURCE", "GDRG_MESH_RPC", "ALL" ]
  • A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
  • Minimum Value: 1
    Maximum Value: 1000
    For list pagination. The maximum number of results per page, or items to return in a paginated List call. 1 is the minimum, 1000 is the maximum.
    Default Value: 100
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the NAT policy.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.
  • Minimum Length: 1
    Maximum Length: 512
    For list pagination. The value of the opc-next-page response header from the previous List call.
    Default Value: 0
  • The optional field to sort the results by.
    Allowed Values: [ "TIMECREATED", "NAME" ]
  • The sort order to use, either ascending (ASC) or descending (DESC).
    Default Value: ASC
    Allowed Values: [ "ASC", "DESC" ]
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the VCN.
Back to Top

Response

Supported Media Types

200 Response

The list is being retrieved.
Headers
  • For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : schema
Type: array
Show Source
  • DrgAttachment
    A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, IPSec tunnel, remote peering connection, or virtual circuit.
Nested Schema : DrgAttachment
Type: object
A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, IPSec tunnel, remote peering connection, or virtual circuit.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the compartment containing the DRG attachment.
  • definedTags
    Additional Properties Allowed: additionalProperties
    Defined tags for this resource. Each key is predefined and scoped to a namespace.
  • Minimum Length: 1
    Maximum Length: 255
    A user-friendly name. Does not need to be unique, and it is changeable. Avoid entering confidential information.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the DRG.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the DRG route table that is assigned to this attachment. The DRG route table manages traffic inside the DRG.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.
  • freeformTags
    Additional Properties Allowed: additionalProperties
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
  • Minimum Length: 1
    Maximum Length: 255
    The DRG attachment's OCID.
  • Allowed Values: [ "GDRG_SERVICE_RESOURCE", "GDRG_MESH_RPC" ]
    STANDARD applies to all regional resources which are customer visible, GDRG_SERVICE_RESOURCE applies to internal resources created to back GlobalDRGAttachments, and GDRG_MESH_RPC applies to internal RPC Attachments used to facilitate GlobalDRG functionality.
  • Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.
  • Allowed Values: [ "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", "UPDATING" ]
    The DRG attachment's current state.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the DRG attachment's NAT policy.
  • DrgAttachmentNetworkDetails
    Discriminator: type
  • Minimum Length: 1
    Maximum Length: 255
    This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource. The value of this field is the OCID of the route table the DRG attachment is using. Associate a route table with a DRG attachment to access multiple VCNs.
  • The date and time the DRG attachment was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2016-08-25T21:10:29.600Z
  • Allowed Values: [ "ENABLED", "DISABLED" ]
    Indicates if transitive traffic is enabled for this DRG attachment. This field is only supported for VirtualCircuit and IPSec DRG attachments.
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.
  • zprTags
    Additional Properties Allowed: additionalProperties
    zprTags for this resource. This is unique to ZPR, and extends the defined tags to include a mode keyword as well Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
Nested Schema : definedTags
Type: object
Additional Properties Allowed
Show Source
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Nested Schema : freeformTags
Type: object
Additional Properties Allowed
Show Source
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Example: {"Department": "Finance"}
Nested Schema : DrgAttachmentNetworkDetails
Type: object
Discriminator: type
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the network attached to the DRG.
  • Allowed Values: [ "VCN", "IPSEC_TUNNEL", "VIRTUAL_CIRCUIT", "REMOTE_PEERING_CONNECTION", "FLEX_TUNNEL", "LOOPBACK", "INTERNET" ]
Nested Schema : zprTags
Type: object
Additional Properties Allowed
Show Source
zprTags for this resource. This is unique to ZPR, and extends the defined tags to include a mode keyword as well Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace. Example: `{"CostCenter": "42"}`
Nested Schema : additionalProperties
Type: object
The value of the tag. Only the String type is supported.
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Key-value pair representing a defined tag key and value, scoped to a namespace.
Nested Schema : additionalProperties
Type: object
The value of the tag.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
  • A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
  • A human-readable error string.
Back to Top