UpCloud v0.1.0 published on Friday, Mar 14, 2025 by UpCloudLtd
upcloud.getZones
Explore with Pulumi AI
Returns a list of available UpCloud zones.
Using getZones
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getZones(args: GetZonesArgs, opts?: InvokeOptions): Promise<GetZonesResult>
function getZonesOutput(args: GetZonesOutputArgs, opts?: InvokeOptions): Output<GetZonesResult>
def get_zones(filter_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZonesResult
def get_zones_output(filter_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZonesResult]
func GetZones(ctx *Context, args *GetZonesArgs, opts ...InvokeOption) (*GetZonesResult, error)
func GetZonesOutput(ctx *Context, args *GetZonesOutputArgs, opts ...InvokeOption) GetZonesResultOutput
> Note: This function is named GetZones
in the Go SDK.
public static class GetZones
{
public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args, InvokeOptions? opts = null)
public static Output<GetZonesResult> Invoke(GetZonesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZonesResult> getZones(GetZonesArgs args, InvokeOptions options)
public static Output<GetZonesResult> getZones(GetZonesArgs args, InvokeOptions options)
fn::invoke:
function: upcloud:index/getZones:getZones
arguments:
# arguments dictionary
The following arguments are supported:
- Filter
Type string
- Filter
Type string
- filter
Type String
- filter
Type string
- filter_
type str
- filter
Type String
getZones Result
The following output properties are available:
- Id string
- Zone
Ids List<string> - Filter
Type string
- Id string
- Zone
Ids []string - Filter
Type string
- id String
- zone
Ids List<String> - filter
Type String
- id string
- zone
Ids string[] - filter
Type string
- id str
- zone_
ids Sequence[str] - filter_
type str
- id String
- zone
Ids List<String> - filter
Type String
Package Details
- Repository
- upcloud UpCloudLtd/pulumi-upcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upcloud
Terraform Provider.