HashiCorp Nomad

v0.2.1 published on Tuesday, Dec 7, 2021 by Pulumi

getRegions

Retrieve a list of regions available in Nomad.

Using getRegions

function getRegions(opts?: InvokeOptions): Promise<GetRegionsResult>
def get_regions(opts: Optional[InvokeOptions] = None) -> GetRegionsResult
func GetRegions(ctx *Context, opts ...InvokeOption) (*GetRegionsResult, error)

> Note: This function is named GetRegions in the Go SDK.

public static class GetRegions 
{
    public static Task<GetRegionsResult> InvokeAsync(InvokeOptions? opts = null)
}

getRegions Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Regions List<string>
Id string
The provider-assigned unique ID for this managed resource.
Regions []string
id string
The provider-assigned unique ID for this managed resource.
regions string[]
id str
The provider-assigned unique ID for this managed resource.
regions Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-nomad
License
Apache-2.0
Notes
This Pulumi package is based on the nomad Terraform Provider.