network_usage
Creates, updates, deletes, gets or lists a network_usage resource.
Overview
| Name | network_usage |
| Type | Resource |
| Id | google.baremetalsolution.network_usage |
Fields
The following fields are returned by SELECT queries:
- list_network_usage
| Name | Datatype | Description |
|---|---|---|
networks | array | Networks with IPs. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_network_usage | select | projectsId, locationsId | List all Networks (and used IPs for each Network) in the vendor account associated with the specified project. |
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 |
|---|---|---|
locationsId | string | |
projectsId | string |
SELECT examples
- list_network_usage
List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
SELECT
networks
FROM google.baremetalsolution.network_usage
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;