UpCloud v0.1.0 published on Friday, Mar 14, 2025 by UpCloudLtd
upcloud.getZone
Explore with Pulumi AI
Provides details on given zone.
Using getZone
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 getZone(args: GetZoneArgs, opts?: InvokeOptions): Promise<GetZoneResult>
function getZoneOutput(args: GetZoneOutputArgs, opts?: InvokeOptions): Output<GetZoneResult>
def get_zone(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZoneResult
def get_zone_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZoneResult]
func GetZone(ctx *Context, args *GetZoneArgs, opts ...InvokeOption) (*GetZoneResult, error)
func GetZoneOutput(ctx *Context, args *GetZoneOutputArgs, opts ...InvokeOption) GetZoneResultOutput
> Note: This function is named GetZone
in the Go SDK.
public static class GetZone
{
public static Task<GetZoneResult> InvokeAsync(GetZoneArgs args, InvokeOptions? opts = null)
public static Output<GetZoneResult> Invoke(GetZoneInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
public static Output<GetZoneResult> getZone(GetZoneArgs args, InvokeOptions options)
fn::invoke:
function: upcloud:index/getZone:getZone
arguments:
# arguments dictionary
The following arguments are supported:
getZone Result
The following output properties are available:
- Description string
- Id string
- Name string
- Parent
Zone string - Public bool
- Description string
- Id string
- Name string
- Parent
Zone string - Public bool
- description String
- id String
- name String
- parent
Zone String - public_ Boolean
- description string
- id string
- name string
- parent
Zone string - public boolean
- description str
- id str
- name str
- parent_
zone str - public bool
- description String
- id String
- name String
- parent
Zone String - public Boolean
Package Details
- Repository
- upcloud UpCloudLtd/pulumi-upcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upcloud
Terraform Provider.