HashiCorp Nomad

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

getNamespaces

Retrieve a list of namespaces available in Nomad.

Using getNamespaces

function getNamespaces(opts?: InvokeOptions): Promise<GetNamespacesResult>
def get_namespaces(opts: Optional[InvokeOptions] = None) -> GetNamespacesResult
func GetNamespaces(ctx *Context, opts ...InvokeOption) (*GetNamespacesResult, error)

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

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

getNamespaces Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Namespaces List<string>
Id string
The provider-assigned unique ID for this managed resource.
Namespaces []string
id string
The provider-assigned unique ID for this managed resource.
namespaces string[]
id str
The provider-assigned unique ID for this managed resource.
namespaces 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.