network_policies_external_addresses
Creates, updates, deletes, gets or lists a network_policies_external_addresses
resource.
Overview
Name | network_policies_external_addresses |
Type | Resource |
Id | google.vmwareengine.network_policies_external_addresses |
Fields
The following fields are returned by SELECT
queries:
- fetch_external_addresses
Successful response
Name | Datatype | Description |
---|---|---|
externalAddresses | array | A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy. |
nextPageToken | string | A 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
fetch_external_addresses | select | projectsId , locationsId , networkPoliciesId | pageSize , pageToken | Lists 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
networkPoliciesId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- fetch_external_addresses
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 }}';