resource_ip_inventories
Creates, updates, deletes, gets or lists a resource_ip_inventories resource.
Overview​
| Name | resource_ip_inventories |
| Type | Resource |
| Id | oci.network.resource_ip_inventories |
Fields​
The following fields are returned by SELECT queries:
- get
Lists the IP Inventory data.
| Name | Datatype | Description |
|---|---|---|
compartmentsPerTenant | integer (int64) | The number of compartments per compartments per tenant. |
count | integer (int32) | Species the count for the number of results for the response. |
inventoryVcnCollection | array | Lists IpInventoryVcnSummary objects. |
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 | dataRequestId, region | opc-request-id | Gets the IpInventory resource.<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 |
|---|---|---|
dataRequestId | string | Specify the ID of the resource. |
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) |
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 IpInventory resource.<br />
SELECT
compartmentsPerTenant,
count,
inventoryVcnCollection,
lastUpdatedTimestamp,
message
FROM oci.network.resource_ip_inventories
WHERE dataRequestId = '{{ dataRequestId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;