subnet_cidr_utilizations
Creates, updates, deletes, gets or lists a subnet_cidr_utilizations resource.
Overview​
| Name | subnet_cidr_utilizations |
| Type | Resource |
| Id | oci.network.subnet_cidr_utilizations |
Fields​
The following fields are returned by SELECT queries:
- get
Retrieve IpInventoryCidrUtilizationCollection resource.
| Name | Datatype | Description |
|---|---|---|
compartmentId | string | Compartment of the subnet. |
count | integer (int32) | Specifies the count for the number of results for the response. |
ipInventoryCidrUtilizationSummary | array | Lists 'IpInventoryCidrUtilizationSummary` object. |
lastUpdatedTimestamp | string (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 |
message | string | Indicates the status of the data. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subnetId, region | opc-request-id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
region | string | OCI 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) |
subnetId | string | Specify the [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the subnet. |
opc-request-id | string | Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
SELECT examples​
- get
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 }}'
;