Skip to main content

network_policies_external_addresses

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

Overview​

Namenetwork_policies_external_addresses
TypeResource
Idgoogle.vmwareengine.network_policies_external_addresses

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
externalAddressesarrayA list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
nextPageTokenstringA token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_external_addressesselectprojectsId, locationsId, networkPoliciesIdpageSize, pageTokenLists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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
networkPoliciesIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

SELECT
externalAddresses,
nextPageToken
FROM google.vmwareengine.network_policies_external_addresses
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND networkPoliciesId = '{{ networkPoliciesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;