Skip to main content

subnet_cidr_utilizations

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

Overview​

Namesubnet_cidr_utilizations
TypeResource
Idoci.network.subnet_cidr_utilizations

Fields​

The following fields are returned by SELECT queries:

Retrieve IpInventoryCidrUtilizationCollection resource.

NameDatatypeDescription
compartmentIdstringCompartment of the subnet.
countinteger (int32)Specifies the count for the number of results for the response.
ipInventoryCidrUtilizationSummaryarrayLists 'IpInventoryCidrUtilizationSummary` object.
lastUpdatedTimestampstring (date-time)The Timestamp of the latest update from the database in the format defined by [RFC3339](https:​//tools.ietf.org/html/rfc3339). Example: 2016-08-25T21:10:29.600Z
messagestringIndicates the status of the data.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubnetId, regionopc-request-idGets the CIDR utilization data of the specified subnet. Specify the [OCID](/iaas/Content/General/Concepts/identifiers.htm).<br />

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
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)
subnetIdstringSpecify the [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
opc-request-idstringUnique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

SELECT examples​

Gets the CIDR utilization data of the specified subnet. Specify the [OCID](/iaas/Content/General/Concepts/identifiers.htm).<br />

SELECT
compartmentId,
count,
ipInventoryCidrUtilizationSummary,
lastUpdatedTimestamp,
message
FROM oci.network.subnet_cidr_utilizations
WHERE subnetId = '{{ subnetId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;