usable_subnetworks
Creates, updates, deletes, gets or lists a usable_subnetworks
resource.
Overview
Name | usable_subnetworks |
Type | Resource |
Id | google.container.usable_subnetworks |
Fields
Name | Datatype | Description |
---|---|---|
ipCidrRange | string | The range of internal addresses that are owned by this subnetwork. |
network | string | Network Name. Example: projects/my-project/global/networks/my-network |
secondaryIpRanges | array | Secondary IP ranges. |
statusMessage | string | A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message. |
subnetwork | string | Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_aggregated_usable_subnetworks_list | SELECT | projectsId | Lists subnetworks that are usable for creating clusters in a project. |
SELECT
examples
Lists subnetworks that are usable for creating clusters in a project.
SELECT
ipCidrRange,
network,
secondaryIpRanges,
statusMessage,
subnetwork
FROM google.container.usable_subnetworks
WHERE projectsId = '{{ projectsId }}';