1. Packages
  2. Nomad Provider
  3. API Docs
  4. ExternalVolume
Nomad v2.5.0 published on Thursday, Apr 17, 2025 by Pulumi

nomad.ExternalVolume

Explore with Pulumi AI

Example Usage

Creating a volume:

import * as pulumi from "@pulumi/pulumi";
import * as nomad from "@pulumi/nomad";

// It can sometimes be helpful to wait for a particular plugin to be available
const ebs = nomad.getPlugin({
    pluginId: "aws-ebs0",
    waitForHealthy: true,
});
const mysqlVolume = new nomad.ExternalVolume("mysql_volume", {
    type: "csi",
    pluginId: "aws-ebs0",
    volumeId: "mysql_volume",
    name: "mysql_volume",
    capacityMin: "10GiB",
    capacityMax: "20GiB",
    capabilities: [{
        accessMode: "single-node-writer",
        attachmentMode: "file-system",
    }],
    mountOptions: {
        fsType: "ext4",
    },
    topologyRequest: {
        required: {
            topologies: [
                {
                    segments: {
                        rack: "R1",
                        zone: "us-east-1a",
                    },
                },
                {
                    segments: {
                        rack: "R2",
                    },
                },
            ],
        },
    },
}, {
    dependsOn: [ebs],
});
Copy
import pulumi
import pulumi_nomad as nomad

# It can sometimes be helpful to wait for a particular plugin to be available
ebs = nomad.get_plugin(plugin_id="aws-ebs0",
    wait_for_healthy=True)
mysql_volume = nomad.ExternalVolume("mysql_volume",
    type="csi",
    plugin_id="aws-ebs0",
    volume_id="mysql_volume",
    name="mysql_volume",
    capacity_min="10GiB",
    capacity_max="20GiB",
    capabilities=[{
        "access_mode": "single-node-writer",
        "attachment_mode": "file-system",
    }],
    mount_options={
        "fs_type": "ext4",
    },
    topology_request={
        "required": {
            "topologies": [
                {
                    "segments": {
                        "rack": "R1",
                        "zone": "us-east-1a",
                    },
                },
                {
                    "segments": {
                        "rack": "R2",
                    },
                },
            ],
        },
    },
    opts = pulumi.ResourceOptions(depends_on=[ebs]))
Copy
package main

import (
	"github.com/pulumi/pulumi-nomad/sdk/v2/go/nomad"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// It can sometimes be helpful to wait for a particular plugin to be available
		ebs, err := nomad.GetPlugin(ctx, &nomad.GetPluginArgs{
			PluginId:       "aws-ebs0",
			WaitForHealthy: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = nomad.NewExternalVolume(ctx, "mysql_volume", &nomad.ExternalVolumeArgs{
			Type:        pulumi.String("csi"),
			PluginId:    pulumi.String("aws-ebs0"),
			VolumeId:    pulumi.String("mysql_volume"),
			Name:        pulumi.String("mysql_volume"),
			CapacityMin: pulumi.String("10GiB"),
			CapacityMax: pulumi.String("20GiB"),
			Capabilities: nomad.ExternalVolumeCapabilityArray{
				&nomad.ExternalVolumeCapabilityArgs{
					AccessMode:     pulumi.String("single-node-writer"),
					AttachmentMode: pulumi.String("file-system"),
				},
			},
			MountOptions: &nomad.ExternalVolumeMountOptionsArgs{
				FsType: pulumi.String("ext4"),
			},
			TopologyRequest: &nomad.ExternalVolumeTopologyRequestArgs{
				Required: &nomad.ExternalVolumeTopologyRequestRequiredArgs{
					Topologies: nomad.ExternalVolumeTopologyRequestRequiredTopologyArray{
						&nomad.ExternalVolumeTopologyRequestRequiredTopologyArgs{
							Segments: pulumi.StringMap{
								"rack": pulumi.String("R1"),
								"zone": pulumi.String("us-east-1a"),
							},
						},
						&nomad.ExternalVolumeTopologyRequestRequiredTopologyArgs{
							Segments: pulumi.StringMap{
								"rack": pulumi.String("R2"),
							},
						},
					},
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			ebs,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nomad = Pulumi.Nomad;

return await Deployment.RunAsync(() => 
{
    // It can sometimes be helpful to wait for a particular plugin to be available
    var ebs = Nomad.GetPlugin.Invoke(new()
    {
        PluginId = "aws-ebs0",
        WaitForHealthy = true,
    });

    var mysqlVolume = new Nomad.ExternalVolume("mysql_volume", new()
    {
        Type = "csi",
        PluginId = "aws-ebs0",
        VolumeId = "mysql_volume",
        Name = "mysql_volume",
        CapacityMin = "10GiB",
        CapacityMax = "20GiB",
        Capabilities = new[]
        {
            new Nomad.Inputs.ExternalVolumeCapabilityArgs
            {
                AccessMode = "single-node-writer",
                AttachmentMode = "file-system",
            },
        },
        MountOptions = new Nomad.Inputs.ExternalVolumeMountOptionsArgs
        {
            FsType = "ext4",
        },
        TopologyRequest = new Nomad.Inputs.ExternalVolumeTopologyRequestArgs
        {
            Required = new Nomad.Inputs.ExternalVolumeTopologyRequestRequiredArgs
            {
                Topologies = new[]
                {
                    new Nomad.Inputs.ExternalVolumeTopologyRequestRequiredTopologyArgs
                    {
                        Segments = 
                        {
                            { "rack", "R1" },
                            { "zone", "us-east-1a" },
                        },
                    },
                    new Nomad.Inputs.ExternalVolumeTopologyRequestRequiredTopologyArgs
                    {
                        Segments = 
                        {
                            { "rack", "R2" },
                        },
                    },
                },
            },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            ebs,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nomad.NomadFunctions;
import com.pulumi.nomad.inputs.GetPluginArgs;
import com.pulumi.nomad.ExternalVolume;
import com.pulumi.nomad.ExternalVolumeArgs;
import com.pulumi.nomad.inputs.ExternalVolumeCapabilityArgs;
import com.pulumi.nomad.inputs.ExternalVolumeMountOptionsArgs;
import com.pulumi.nomad.inputs.ExternalVolumeTopologyRequestArgs;
import com.pulumi.nomad.inputs.ExternalVolumeTopologyRequestRequiredArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        // It can sometimes be helpful to wait for a particular plugin to be available
        final var ebs = NomadFunctions.getPlugin(GetPluginArgs.builder()
            .pluginId("aws-ebs0")
            .waitForHealthy(true)
            .build());

        var mysqlVolume = new ExternalVolume("mysqlVolume", ExternalVolumeArgs.builder()
            .type("csi")
            .pluginId("aws-ebs0")
            .volumeId("mysql_volume")
            .name("mysql_volume")
            .capacityMin("10GiB")
            .capacityMax("20GiB")
            .capabilities(ExternalVolumeCapabilityArgs.builder()
                .accessMode("single-node-writer")
                .attachmentMode("file-system")
                .build())
            .mountOptions(ExternalVolumeMountOptionsArgs.builder()
                .fsType("ext4")
                .build())
            .topologyRequest(ExternalVolumeTopologyRequestArgs.builder()
                .required(ExternalVolumeTopologyRequestRequiredArgs.builder()
                    .topologies(                    
                        ExternalVolumeTopologyRequestRequiredTopologyArgs.builder()
                            .segments(Map.ofEntries(
                                Map.entry("rack", "R1"),
                                Map.entry("zone", "us-east-1a")
                            ))
                            .build(),
                        ExternalVolumeTopologyRequestRequiredTopologyArgs.builder()
                            .segments(Map.of("rack", "R2"))
                            .build())
                    .build())
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(ebs)
                .build());

    }
}
Copy
resources:
  mysqlVolume:
    type: nomad:ExternalVolume
    name: mysql_volume
    properties:
      type: csi
      pluginId: aws-ebs0
      volumeId: mysql_volume
      name: mysql_volume
      capacityMin: 10GiB
      capacityMax: 20GiB
      capabilities:
        - accessMode: single-node-writer
          attachmentMode: file-system
      mountOptions:
        fsType: ext4
      topologyRequest:
        required:
          topologies:
            - segments:
                rack: R1
                zone: us-east-1a
            - segments:
                rack: R2
    options:
      dependsOn:
        - ${ebs}
variables:
  # It can sometimes be helpful to wait for a particular plugin to be available
  ebs:
    fn::invoke:
      function: nomad:getPlugin
      arguments:
        pluginId: aws-ebs0
        waitForHealthy: true
Copy

Create ExternalVolume Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ExternalVolume(name: string, args: ExternalVolumeArgs, opts?: CustomResourceOptions);
@overload
def ExternalVolume(resource_name: str,
                   args: ExternalVolumeArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def ExternalVolume(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   capabilities: Optional[Sequence[ExternalVolumeCapabilityArgs]] = None,
                   volume_id: Optional[str] = None,
                   plugin_id: Optional[str] = None,
                   namespace: Optional[str] = None,
                   mount_options: Optional[ExternalVolumeMountOptionsArgs] = None,
                   name: Optional[str] = None,
                   clone_id: Optional[str] = None,
                   parameters: Optional[Mapping[str, str]] = None,
                   capacity_min: Optional[str] = None,
                   secrets: Optional[Mapping[str, str]] = None,
                   snapshot_id: Optional[str] = None,
                   topology_request: Optional[ExternalVolumeTopologyRequestArgs] = None,
                   type: Optional[str] = None,
                   capacity_max: Optional[str] = None)
func NewExternalVolume(ctx *Context, name string, args ExternalVolumeArgs, opts ...ResourceOption) (*ExternalVolume, error)
public ExternalVolume(string name, ExternalVolumeArgs args, CustomResourceOptions? opts = null)
public ExternalVolume(String name, ExternalVolumeArgs args)
public ExternalVolume(String name, ExternalVolumeArgs args, CustomResourceOptions options)
type: nomad:ExternalVolume
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExternalVolumeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExternalVolumeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalVolumeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalVolumeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExternalVolumeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var externalVolumeResource = new Nomad.ExternalVolume("externalVolumeResource", new()
{
    Capabilities = new[]
    {
        new Nomad.Inputs.ExternalVolumeCapabilityArgs
        {
            AccessMode = "string",
            AttachmentMode = "string",
        },
    },
    VolumeId = "string",
    PluginId = "string",
    Namespace = "string",
    MountOptions = new Nomad.Inputs.ExternalVolumeMountOptionsArgs
    {
        FsType = "string",
        MountFlags = new[]
        {
            "string",
        },
    },
    Name = "string",
    CloneId = "string",
    Parameters = 
    {
        { "string", "string" },
    },
    CapacityMin = "string",
    Secrets = 
    {
        { "string", "string" },
    },
    SnapshotId = "string",
    TopologyRequest = new Nomad.Inputs.ExternalVolumeTopologyRequestArgs
    {
        Preferred = new Nomad.Inputs.ExternalVolumeTopologyRequestPreferredArgs
        {
            Topologies = new[]
            {
                new Nomad.Inputs.ExternalVolumeTopologyRequestPreferredTopologyArgs
                {
                    Segments = 
                    {
                        { "string", "string" },
                    },
                },
            },
        },
        Required = new Nomad.Inputs.ExternalVolumeTopologyRequestRequiredArgs
        {
            Topologies = new[]
            {
                new Nomad.Inputs.ExternalVolumeTopologyRequestRequiredTopologyArgs
                {
                    Segments = 
                    {
                        { "string", "string" },
                    },
                },
            },
        },
    },
    Type = "string",
    CapacityMax = "string",
});
Copy
example, err := nomad.NewExternalVolume(ctx, "externalVolumeResource", &nomad.ExternalVolumeArgs{
	Capabilities: nomad.ExternalVolumeCapabilityArray{
		&nomad.ExternalVolumeCapabilityArgs{
			AccessMode:     pulumi.String("string"),
			AttachmentMode: pulumi.String("string"),
		},
	},
	VolumeId:  pulumi.String("string"),
	PluginId:  pulumi.String("string"),
	Namespace: pulumi.String("string"),
	MountOptions: &nomad.ExternalVolumeMountOptionsArgs{
		FsType: pulumi.String("string"),
		MountFlags: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Name:    pulumi.String("string"),
	CloneId: pulumi.String("string"),
	Parameters: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	CapacityMin: pulumi.String("string"),
	Secrets: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SnapshotId: pulumi.String("string"),
	TopologyRequest: &nomad.ExternalVolumeTopologyRequestArgs{
		Preferred: &nomad.ExternalVolumeTopologyRequestPreferredArgs{
			Topologies: nomad.ExternalVolumeTopologyRequestPreferredTopologyArray{
				&nomad.ExternalVolumeTopologyRequestPreferredTopologyArgs{
					Segments: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
			},
		},
		Required: &nomad.ExternalVolumeTopologyRequestRequiredArgs{
			Topologies: nomad.ExternalVolumeTopologyRequestRequiredTopologyArray{
				&nomad.ExternalVolumeTopologyRequestRequiredTopologyArgs{
					Segments: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
			},
		},
	},
	Type:        pulumi.String("string"),
	CapacityMax: pulumi.String("string"),
})
Copy
var externalVolumeResource = new ExternalVolume("externalVolumeResource", ExternalVolumeArgs.builder()
    .capabilities(ExternalVolumeCapabilityArgs.builder()
        .accessMode("string")
        .attachmentMode("string")
        .build())
    .volumeId("string")
    .pluginId("string")
    .namespace("string")
    .mountOptions(ExternalVolumeMountOptionsArgs.builder()
        .fsType("string")
        .mountFlags("string")
        .build())
    .name("string")
    .cloneId("string")
    .parameters(Map.of("string", "string"))
    .capacityMin("string")
    .secrets(Map.of("string", "string"))
    .snapshotId("string")
    .topologyRequest(ExternalVolumeTopologyRequestArgs.builder()
        .preferred(ExternalVolumeTopologyRequestPreferredArgs.builder()
            .topologies(ExternalVolumeTopologyRequestPreferredTopologyArgs.builder()
                .segments(Map.of("string", "string"))
                .build())
            .build())
        .required(ExternalVolumeTopologyRequestRequiredArgs.builder()
            .topologies(ExternalVolumeTopologyRequestRequiredTopologyArgs.builder()
                .segments(Map.of("string", "string"))
                .build())
            .build())
        .build())
    .type("string")
    .capacityMax("string")
    .build());
Copy
external_volume_resource = nomad.ExternalVolume("externalVolumeResource",
    capabilities=[{
        "access_mode": "string",
        "attachment_mode": "string",
    }],
    volume_id="string",
    plugin_id="string",
    namespace="string",
    mount_options={
        "fs_type": "string",
        "mount_flags": ["string"],
    },
    name="string",
    clone_id="string",
    parameters={
        "string": "string",
    },
    capacity_min="string",
    secrets={
        "string": "string",
    },
    snapshot_id="string",
    topology_request={
        "preferred": {
            "topologies": [{
                "segments": {
                    "string": "string",
                },
            }],
        },
        "required": {
            "topologies": [{
                "segments": {
                    "string": "string",
                },
            }],
        },
    },
    type="string",
    capacity_max="string")
Copy
const externalVolumeResource = new nomad.ExternalVolume("externalVolumeResource", {
    capabilities: [{
        accessMode: "string",
        attachmentMode: "string",
    }],
    volumeId: "string",
    pluginId: "string",
    namespace: "string",
    mountOptions: {
        fsType: "string",
        mountFlags: ["string"],
    },
    name: "string",
    cloneId: "string",
    parameters: {
        string: "string",
    },
    capacityMin: "string",
    secrets: {
        string: "string",
    },
    snapshotId: "string",
    topologyRequest: {
        preferred: {
            topologies: [{
                segments: {
                    string: "string",
                },
            }],
        },
        required: {
            topologies: [{
                segments: {
                    string: "string",
                },
            }],
        },
    },
    type: "string",
    capacityMax: "string",
});
Copy
type: nomad:ExternalVolume
properties:
    capabilities:
        - accessMode: string
          attachmentMode: string
    capacityMax: string
    capacityMin: string
    cloneId: string
    mountOptions:
        fsType: string
        mountFlags:
            - string
    name: string
    namespace: string
    parameters:
        string: string
    pluginId: string
    secrets:
        string: string
    snapshotId: string
    topologyRequest:
        preferred:
            topologies:
                - segments:
                    string: string
        required:
            topologies:
                - segments:
                    string: string
    type: string
    volumeId: string
Copy

ExternalVolume Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ExternalVolume resource accepts the following input properties:

Capabilities
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeCapability>
(``Capability``: <required>) - Options for validating the capability of a volume.
PluginId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
VolumeId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The unique ID of the volume.
CapacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
CapacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
CloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
MountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
Name string
(string: <required>) - The display name for the volume.
Namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
Parameters Dictionary<string, string>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
Secrets Dictionary<string, string>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
SnapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
TopologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
Type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
Capabilities
This property is required.
Changes to this property will trigger replacement.
[]ExternalVolumeCapabilityArgs
(``Capability``: <required>) - Options for validating the capability of a volume.
PluginId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
VolumeId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The unique ID of the volume.
CapacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
CapacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
CloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
MountOptions ExternalVolumeMountOptionsArgs
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
Name string
(string: <required>) - The display name for the volume.
Namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
Parameters map[string]string
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
Secrets map[string]string
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
SnapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
TopologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequestArgs
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
Type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
capabilities
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeCapability>
(``Capability``: <required>) - Options for validating the capability of a volume.
pluginId
This property is required.
Changes to this property will trigger replacement.
String
(string: <required>) - The ID of the Nomad plugin for registering this volume.
volumeId
This property is required.
Changes to this property will trigger replacement.
String
(string: <required>) - The unique ID of the volume.
capacityMax Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
mountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name String
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. String
(string: "default") - The namespace in which to register the volume.
parameters Map<String,String>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
secrets Map<String,String>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. String
(string: <required>) - The type of the volume. Currently, only csi is supported.
capabilities
This property is required.
Changes to this property will trigger replacement.
ExternalVolumeCapability[]
(``Capability``: <required>) - Options for validating the capability of a volume.
pluginId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
volumeId
This property is required.
Changes to this property will trigger replacement.
string
(string: <required>) - The unique ID of the volume.
capacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
mountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name string
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
parameters {[key: string]: string}
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
secrets {[key: string]: string}
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
capabilities
This property is required.
Changes to this property will trigger replacement.
Sequence[ExternalVolumeCapabilityArgs]
(``Capability``: <required>) - Options for validating the capability of a volume.
plugin_id
This property is required.
Changes to this property will trigger replacement.
str
(string: <required>) - The ID of the Nomad plugin for registering this volume.
volume_id
This property is required.
Changes to this property will trigger replacement.
str
(string: <required>) - The unique ID of the volume.
capacity_max Changes to this property will trigger replacement. str
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacity_min Changes to this property will trigger replacement. str
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
clone_id Changes to this property will trigger replacement. str
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
mount_options ExternalVolumeMountOptionsArgs
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name str
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. str
(string: "default") - The namespace in which to register the volume.
parameters Mapping[str, str]
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
secrets Mapping[str, str]
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshot_id Changes to this property will trigger replacement. str
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topology_request Changes to this property will trigger replacement. ExternalVolumeTopologyRequestArgs
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. str
(string: <required>) - The type of the volume. Currently, only csi is supported.
capabilities
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
(``Capability``: <required>) - Options for validating the capability of a volume.
pluginId
This property is required.
Changes to this property will trigger replacement.
String
(string: <required>) - The ID of the Nomad plugin for registering this volume.
volumeId
This property is required.
Changes to this property will trigger replacement.
String
(string: <required>) - The unique ID of the volume.
capacityMax Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
mountOptions Property Map
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name String
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. String
(string: "default") - The namespace in which to register the volume.
parameters Map<String>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
secrets Map<String>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologyRequest Changes to this property will trigger replacement. Property Map
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. String
(string: <required>) - The type of the volume. Currently, only csi is supported.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalVolume resource produces the following output properties:

controllerRequired Boolean
controllersExpected Integer
controllersHealthy Integer
id String
The provider-assigned unique ID for this managed resource.
nodesExpected Integer
nodesHealthy Integer
pluginProvider String
pluginProviderVersion String
schedulable Boolean
topologies List<ExternalVolumeTopology>
controllerRequired boolean
controllersExpected number
controllersHealthy number
id string
The provider-assigned unique ID for this managed resource.
nodesExpected number
nodesHealthy number
pluginProvider string
pluginProviderVersion string
schedulable boolean
topologies ExternalVolumeTopology[]
controllerRequired Boolean
controllersExpected Number
controllersHealthy Number
id String
The provider-assigned unique ID for this managed resource.
nodesExpected Number
nodesHealthy Number
pluginProvider String
pluginProviderVersion String
schedulable Boolean
topologies List<Property Map>

Look up Existing ExternalVolume Resource

Get an existing ExternalVolume resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ExternalVolumeState, opts?: CustomResourceOptions): ExternalVolume
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        capabilities: Optional[Sequence[ExternalVolumeCapabilityArgs]] = None,
        capacity_max: Optional[str] = None,
        capacity_min: Optional[str] = None,
        clone_id: Optional[str] = None,
        controller_required: Optional[bool] = None,
        controllers_expected: Optional[int] = None,
        controllers_healthy: Optional[int] = None,
        mount_options: Optional[ExternalVolumeMountOptionsArgs] = None,
        name: Optional[str] = None,
        namespace: Optional[str] = None,
        nodes_expected: Optional[int] = None,
        nodes_healthy: Optional[int] = None,
        parameters: Optional[Mapping[str, str]] = None,
        plugin_id: Optional[str] = None,
        plugin_provider: Optional[str] = None,
        plugin_provider_version: Optional[str] = None,
        schedulable: Optional[bool] = None,
        secrets: Optional[Mapping[str, str]] = None,
        snapshot_id: Optional[str] = None,
        topologies: Optional[Sequence[ExternalVolumeTopologyArgs]] = None,
        topology_request: Optional[ExternalVolumeTopologyRequestArgs] = None,
        type: Optional[str] = None,
        volume_id: Optional[str] = None) -> ExternalVolume
func GetExternalVolume(ctx *Context, name string, id IDInput, state *ExternalVolumeState, opts ...ResourceOption) (*ExternalVolume, error)
public static ExternalVolume Get(string name, Input<string> id, ExternalVolumeState? state, CustomResourceOptions? opts = null)
public static ExternalVolume get(String name, Output<String> id, ExternalVolumeState state, CustomResourceOptions options)
resources:  _:    type: nomad:ExternalVolume    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Capabilities Changes to this property will trigger replacement. List<ExternalVolumeCapability>
(``Capability``: <required>) - Options for validating the capability of a volume.
CapacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
CapacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
CloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
ControllerRequired bool
ControllersExpected int
ControllersHealthy int
MountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
Name string
(string: <required>) - The display name for the volume.
Namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
NodesExpected int
NodesHealthy int
Parameters Dictionary<string, string>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
PluginId Changes to this property will trigger replacement. string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
PluginProvider string
PluginProviderVersion string
Schedulable bool
Secrets Dictionary<string, string>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
SnapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
Topologies List<ExternalVolumeTopology>
TopologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
Type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
VolumeId Changes to this property will trigger replacement. string
(string: <required>) - The unique ID of the volume.
Capabilities Changes to this property will trigger replacement. []ExternalVolumeCapabilityArgs
(``Capability``: <required>) - Options for validating the capability of a volume.
CapacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
CapacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
CloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
ControllerRequired bool
ControllersExpected int
ControllersHealthy int
MountOptions ExternalVolumeMountOptionsArgs
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
Name string
(string: <required>) - The display name for the volume.
Namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
NodesExpected int
NodesHealthy int
Parameters map[string]string
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
PluginId Changes to this property will trigger replacement. string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
PluginProvider string
PluginProviderVersion string
Schedulable bool
Secrets map[string]string
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
SnapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
Topologies []ExternalVolumeTopologyArgs
TopologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequestArgs
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
Type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
VolumeId Changes to this property will trigger replacement. string
(string: <required>) - The unique ID of the volume.
capabilities Changes to this property will trigger replacement. List<ExternalVolumeCapability>
(``Capability``: <required>) - Options for validating the capability of a volume.
capacityMax Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
controllerRequired Boolean
controllersExpected Integer
controllersHealthy Integer
mountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name String
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. String
(string: "default") - The namespace in which to register the volume.
nodesExpected Integer
nodesHealthy Integer
parameters Map<String,String>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
pluginId Changes to this property will trigger replacement. String
(string: <required>) - The ID of the Nomad plugin for registering this volume.
pluginProvider String
pluginProviderVersion String
schedulable Boolean
secrets Map<String,String>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologies List<ExternalVolumeTopology>
topologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. String
(string: <required>) - The type of the volume. Currently, only csi is supported.
volumeId Changes to this property will trigger replacement. String
(string: <required>) - The unique ID of the volume.
capabilities Changes to this property will trigger replacement. ExternalVolumeCapability[]
(``Capability``: <required>) - Options for validating the capability of a volume.
capacityMax Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. string
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
controllerRequired boolean
controllersExpected number
controllersHealthy number
mountOptions ExternalVolumeMountOptions
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name string
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. string
(string: "default") - The namespace in which to register the volume.
nodesExpected number
nodesHealthy number
parameters {[key: string]: string}
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
pluginId Changes to this property will trigger replacement. string
(string: <required>) - The ID of the Nomad plugin for registering this volume.
pluginProvider string
pluginProviderVersion string
schedulable boolean
secrets {[key: string]: string}
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. string
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologies ExternalVolumeTopology[]
topologyRequest Changes to this property will trigger replacement. ExternalVolumeTopologyRequest
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. string
(string: <required>) - The type of the volume. Currently, only csi is supported.
volumeId Changes to this property will trigger replacement. string
(string: <required>) - The unique ID of the volume.
capabilities Changes to this property will trigger replacement. Sequence[ExternalVolumeCapabilityArgs]
(``Capability``: <required>) - Options for validating the capability of a volume.
capacity_max Changes to this property will trigger replacement. str
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacity_min Changes to this property will trigger replacement. str
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
clone_id Changes to this property will trigger replacement. str
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
controller_required bool
controllers_expected int
controllers_healthy int
mount_options ExternalVolumeMountOptionsArgs
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name str
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. str
(string: "default") - The namespace in which to register the volume.
nodes_expected int
nodes_healthy int
parameters Mapping[str, str]
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
plugin_id Changes to this property will trigger replacement. str
(string: <required>) - The ID of the Nomad plugin for registering this volume.
plugin_provider str
plugin_provider_version str
schedulable bool
secrets Mapping[str, str]
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshot_id Changes to this property will trigger replacement. str
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologies Sequence[ExternalVolumeTopologyArgs]
topology_request Changes to this property will trigger replacement. ExternalVolumeTopologyRequestArgs
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. str
(string: <required>) - The type of the volume. Currently, only csi is supported.
volume_id Changes to this property will trigger replacement. str
(string: <required>) - The unique ID of the volume.
capabilities Changes to this property will trigger replacement. List<Property Map>
(``Capability``: <required>) - Options for validating the capability of a volume.
capacityMax Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a maximum volume size. This may not be supported by all storage providers.
capacityMin Changes to this property will trigger replacement. String
(string: <optional>) - Option to signal a minimum volume size. This may not be supported by all storage providers.
cloneId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of an existing volume to restore. If ommited, the volume will be created from scratch. Conflicts with snapshot_id.
controllerRequired Boolean
controllersExpected Number
controllersHealthy Number
mountOptions Property Map
(block: optional) Options for mounting block-device volumes without a pre-formatted file system.
name String
(string: <required>) - The display name for the volume.
namespace Changes to this property will trigger replacement. String
(string: "default") - The namespace in which to register the volume.
nodesExpected Number
nodesHealthy Number
parameters Map<String>
(map[string]string: optional) An optional key-value map of strings passed directly to the CSI plugin to configure the volume.
pluginId Changes to this property will trigger replacement. String
(string: <required>) - The ID of the Nomad plugin for registering this volume.
pluginProvider String
pluginProviderVersion String
schedulable Boolean
secrets Map<String>
(map[string]string: optional) An optional key-value map of strings used as credentials for publishing and unpublishing volumes.
snapshotId Changes to this property will trigger replacement. String
(string: <optional>) - The external ID of a snapshot to restore. If ommited, the volume will be created from scratch. Conflicts with clone_id.
topologies List<Property Map>
topologyRequest Changes to this property will trigger replacement. Property Map
(``TopologyRequest``: <optional>) - Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
type Changes to this property will trigger replacement. String
(string: <required>) - The type of the volume. Currently, only csi is supported.
volumeId Changes to this property will trigger replacement. String
(string: <required>) - The unique ID of the volume.

Supporting Types

ExternalVolumeCapability
, ExternalVolumeCapabilityArgs

AccessMode This property is required. string
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
AttachmentMode This property is required. string
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system
AccessMode This property is required. string
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
AttachmentMode This property is required. string
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system
accessMode This property is required. String
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
attachmentMode This property is required. String
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system
accessMode This property is required. string
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
attachmentMode This property is required. string
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system
access_mode This property is required. str
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
attachment_mode This property is required. str
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system
accessMode This property is required. String
(string: <required>) - Defines whether a volume should be available concurrently. Possible values are:

  • single-node-reader-only
  • single-node-writer
  • multi-node-reader-only
  • multi-node-single-writer
  • multi-node-multi-writer
attachmentMode This property is required. String
(string: <required>) - The storage API that will be used by the volume. Possible values are:

  • block-device
  • file-system

ExternalVolumeMountOptions
, ExternalVolumeMountOptionsArgs

FsType string
(string: optional) - The file system type.
MountFlags List<string>
[]string: optional - The flags passed to mount.
FsType string
(string: optional) - The file system type.
MountFlags []string
[]string: optional - The flags passed to mount.
fsType String
(string: optional) - The file system type.
mountFlags List<String>
[]string: optional - The flags passed to mount.
fsType string
(string: optional) - The file system type.
mountFlags string[]
[]string: optional - The flags passed to mount.
fs_type str
(string: optional) - The file system type.
mount_flags Sequence[str]
[]string: optional - The flags passed to mount.
fsType String
(string: optional) - The file system type.
mountFlags List<String>
[]string: optional - The flags passed to mount.

ExternalVolumeTopology
, ExternalVolumeTopologyArgs

Segments Dictionary<string, string>

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

Segments map[string]string

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

segments Map<String,String>

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

segments {[key: string]: string}

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

segments Mapping[str, str]

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

segments Map<String>

(map[string]string) - Define the attributes for the topology request.

In addition to the above arguments, the following attributes are exported and can be referenced:

ExternalVolumeTopologyRequest
, ExternalVolumeTopologyRequestArgs

Preferred Changes to this property will trigger replacement. ExternalVolumeTopologyRequestPreferred
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
Required Changes to this property will trigger replacement. ExternalVolumeTopologyRequestRequired
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
Preferred Changes to this property will trigger replacement. ExternalVolumeTopologyRequestPreferred
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
Required Changes to this property will trigger replacement. ExternalVolumeTopologyRequestRequired
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
preferred Changes to this property will trigger replacement. ExternalVolumeTopologyRequestPreferred
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
required Changes to this property will trigger replacement. ExternalVolumeTopologyRequestRequired
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
preferred Changes to this property will trigger replacement. ExternalVolumeTopologyRequestPreferred
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
required Changes to this property will trigger replacement. ExternalVolumeTopologyRequestRequired
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
preferred Changes to this property will trigger replacement. ExternalVolumeTopologyRequestPreferred
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
required Changes to this property will trigger replacement. ExternalVolumeTopologyRequestRequired
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
preferred Changes to this property will trigger replacement. Property Map
(``Topology``: <optional>) - Preferred topologies indicate that the volume should be created in a location accessible from some of the listed topologies.
required Changes to this property will trigger replacement. Property Map
(``Topology``: <optional>) - Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.

ExternalVolumeTopologyRequestPreferred
, ExternalVolumeTopologyRequestPreferredArgs

Topologies
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeTopologyRequestPreferredTopology>
Defines the location for the volume.
Topologies
This property is required.
Changes to this property will trigger replacement.
[]ExternalVolumeTopologyRequestPreferredTopology
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeTopologyRequestPreferredTopology>
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
ExternalVolumeTopologyRequestPreferredTopology[]
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
Sequence[ExternalVolumeTopologyRequestPreferredTopology]
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
Defines the location for the volume.

ExternalVolumeTopologyRequestPreferredTopology
, ExternalVolumeTopologyRequestPreferredTopologyArgs

Segments
This property is required.
Changes to this property will trigger replacement.
Dictionary<string, string>
Define the attributes for the topology request.
Segments
This property is required.
Changes to this property will trigger replacement.
map[string]string
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Map<String,String>
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
{[key: string]: string}
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Mapping[str, str]
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Map<String>
Define the attributes for the topology request.

ExternalVolumeTopologyRequestRequired
, ExternalVolumeTopologyRequestRequiredArgs

Topologies
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeTopologyRequestRequiredTopology>
Defines the location for the volume.
Topologies
This property is required.
Changes to this property will trigger replacement.
[]ExternalVolumeTopologyRequestRequiredTopology
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
List<ExternalVolumeTopologyRequestRequiredTopology>
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
ExternalVolumeTopologyRequestRequiredTopology[]
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
Sequence[ExternalVolumeTopologyRequestRequiredTopology]
Defines the location for the volume.
topologies
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
Defines the location for the volume.

ExternalVolumeTopologyRequestRequiredTopology
, ExternalVolumeTopologyRequestRequiredTopologyArgs

Segments
This property is required.
Changes to this property will trigger replacement.
Dictionary<string, string>
Define the attributes for the topology request.
Segments
This property is required.
Changes to this property will trigger replacement.
map[string]string
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Map<String,String>
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
{[key: string]: string}
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Mapping[str, str]
Define the attributes for the topology request.
segments
This property is required.
Changes to this property will trigger replacement.
Map<String>
Define the attributes for the topology request.

Package Details

Repository
HashiCorp Nomad pulumi/pulumi-nomad
License
Apache-2.0
Notes
This Pulumi package is based on the nomad Terraform Provider.