GetZones
Provides access to available Google Compute zones in a region for a given project. See more about regions and zones in the upstream docs.
Using GetZones
function getZones(args: GetZonesArgs, opts?: InvokeOptions): Promise<GetZonesResult>function get_zones(project=None, region=None, status=None, opts=None)func GetZones(ctx *Context, args *GetZonesArgs, opts ...InvokeOption) (*GetZonesResult, error)public static class GetZones {
public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Project string
Project from which to list available zones. Defaults to project declared in the provider.
- Region string
Region from which to list available zones. Defaults to region declared in the provider.
- Status string
Allows to filter list of zones based on their current status. Status can be either
UPorDOWN. Defaults to no filtering (all available zones - bothUPandDOWN).
- Project string
Project from which to list available zones. Defaults to project declared in the provider.
- Region string
Region from which to list available zones. Defaults to region declared in the provider.
- Status string
Allows to filter list of zones based on their current status. Status can be either
UPorDOWN. Defaults to no filtering (all available zones - bothUPandDOWN).
- project string
Project from which to list available zones. Defaults to project declared in the provider.
- region string
Region from which to list available zones. Defaults to region declared in the provider.
- status string
Allows to filter list of zones based on their current status. Status can be either
UPorDOWN. Defaults to no filtering (all available zones - bothUPandDOWN).
- project str
Project from which to list available zones. Defaults to project declared in the provider.
- region str
Region from which to list available zones. Defaults to region declared in the provider.
- status str
Allows to filter list of zones based on their current status. Status can be either
UPorDOWN. Defaults to no filtering (all available zones - bothUPandDOWN).
GetZones Result
The following output properties are available:
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.