Skip to main content

network_usage

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

Overview​

Namenetwork_usage
TypeResource
Idgoogle.baremetalsolution.network_usage

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
networksarrayNetworks with IPs.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_network_usageselectprojectsId, locationsIdList 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring

SELECT examples​

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
;