- Docs
- Reference
- API
- GCP
- compute
- GetRegions
GetRegions
Provides access to available Google Compute regions for a given project.
See more about regions and zones in the upstream docs.
Using GetRegions
function get_regions(project=None, status=None, opts=None)
The following arguments are supported:
- Project
string
Project from which to list available regions. Defaults to project declared in the provider.
- Status
string
Allows to filter list of regions based on their current status. Status can be either UP or DOWN.
Defaults to no filtering (all available regions - both UP and DOWN).
- Project
string
Project from which to list available regions. Defaults to project declared in the provider.
- Status
string
Allows to filter list of regions based on their current status. Status can be either UP or DOWN.
Defaults to no filtering (all available regions - both UP and DOWN).
- project
string
Project from which to list available regions. Defaults to project declared in the provider.
- status
string
Allows to filter list of regions based on their current status. Status can be either UP or DOWN.
Defaults to no filtering (all available regions - both UP and DOWN).
- project
str
Project from which to list available regions. Defaults to project declared in the provider.
- status
str
Allows to filter list of regions based on their current status. Status can be either UP or DOWN.
Defaults to no filtering (all available regions - both UP and DOWN).
GetRegions 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-beta Terraform Provider.