HashiCorp Nomad

Pulumi Official
Package maintained by Pulumi
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)
}
public static CompletableFuture<GetNamespacesResult> getNamespaces(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: nomad:index/getNamespaces:getNamespaces
  Arguments:
    # Arguments dictionary

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 List
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]
id String

The provider-assigned unique ID for this managed resource.

namespaces List

Package Details

Repository
https://github.com/pulumi/pulumi-nomad
License
Apache-2.0
Notes

This Pulumi package is based on the nomad Terraform Provider.