nomad.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)
}
public static CompletableFuture<GetRegionsResult> getRegions(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: nomad:index/getRegions:getRegions
  arguments:
    # arguments dictionary

getRegions Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Regions List<string>

(list of strings) - a list of regions available in the cluster.

Id string

The provider-assigned unique ID for this managed resource.

Regions []string

(list of strings) - a list of regions available in the cluster.

id String

The provider-assigned unique ID for this managed resource.

regions List<String>

(list of strings) - a list of regions available in the cluster.

id string

The provider-assigned unique ID for this managed resource.

regions string[]

(list of strings) - a list of regions available in the cluster.

id str

The provider-assigned unique ID for this managed resource.

regions Sequence[str]

(list of strings) - a list of regions available in the cluster.

id String

The provider-assigned unique ID for this managed resource.

regions List<String>

(list of strings) - a list of regions available in the cluster.

Package Details

Repository
HashiCorp Nomad pulumi/pulumi-nomad
License
Apache-2.0
Notes

This Pulumi package is based on the nomad Terraform Provider.