Skip to main content

networking_topologies

Creates, updates, deletes, gets or lists a networking_topologies resource.

Overview​

Namenetworking_topologies
TypeResource
Idoci.network.networking_topologies

Fields​

The following fields are returned by SELECT queries:

The topology was successfully returned.

NameDatatypeDescription
entitiesarrayLists entities comprising the virtual network topology.
limitedEntitiesarrayLists entities that are limited during ingestion. The values for the items in the list are the entity type names of the limitedEntities. Example: vcn
relationshipsarrayLists relationships between entities in the virtual network topology.
timeCreatedstring (date-time)Records when the virtual network topology was created, in [RFC3339](https:​//tools.ietf.org/html/rfc3339) format for date and time.
typestringType of the topology object. (NETWORKING, VCN, SUBNET, PATH)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcompartmentId, regionaccessLevel, queryCompartmentSubtree, opc-request-id, if-none-match, cache-controlGets a virtual networking topology for the current region.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
compartmentIdstringThe [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
accessLevelstringValid values are ANY and ACCESSIBLE. The default is ANY. Setting this to ACCESSIBLE returns only compartments for which a user has INSPECT permissions, either directly or indirectly (permissions can be on a resource in a subcompartment). A restricted set of fields is returned for compartments in which a user has indirect INSPECT permissions. When set to ANY permissions are not checked.
cache-controlstringThe Cache-Control HTTP header holds directives (instructions) for caching in both requests and responses.
if-none-matchstringFor querying if there is a cached value on the server. The If-None-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn't have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed.
opc-request-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
queryCompartmentSubtreebooleanWhen set to true, the hierarchy of compartments is traversed and the specified compartment and its subcompartments are inspected depending on the the setting of accessLevel. Default is false.

SELECT examples​

Gets a virtual networking topology for the current region.

SELECT
entities,
limitedEntities,
relationships,
timeCreated,
type
FROM oci.network.networking_topologies
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND accessLevel = '{{ accessLevel }}'
AND queryCompartmentSubtree = '{{ queryCompartmentSubtree }}'
AND opc-request-id = '{{ opc-request-id }}'
AND if-none-match = '{{ if-none-match }}'
AND cache-control = '{{ cache-control }}'
;