Nomad v2.3.0 published on Wednesday, Jun 5, 2024 by Pulumi
nomad.CsiVolumeRegistration
Explore with Pulumi AI
Create CsiVolumeRegistration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CsiVolumeRegistration(name: string, args: CsiVolumeRegistrationArgs, opts?: CustomResourceOptions);
@overload
def CsiVolumeRegistration(resource_name: str,
args: CsiVolumeRegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CsiVolumeRegistration(resource_name: str,
opts: Optional[ResourceOptions] = None,
external_id: Optional[str] = None,
volume_id: Optional[str] = None,
plugin_id: Optional[str] = None,
mount_options: Optional[CsiVolumeRegistrationMountOptionsArgs] = None,
deregister_on_destroy: Optional[bool] = None,
context: Optional[Mapping[str, str]] = None,
capabilities: Optional[Sequence[CsiVolumeRegistrationCapabilityArgs]] = None,
name: Optional[str] = None,
namespace: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
capacity_min: Optional[str] = None,
secrets: Optional[Mapping[str, str]] = None,
topology_request: Optional[CsiVolumeRegistrationTopologyRequestArgs] = None,
capacity_max: Optional[str] = None)
func NewCsiVolumeRegistration(ctx *Context, name string, args CsiVolumeRegistrationArgs, opts ...ResourceOption) (*CsiVolumeRegistration, error)
public CsiVolumeRegistration(string name, CsiVolumeRegistrationArgs args, CustomResourceOptions? opts = null)
public CsiVolumeRegistration(String name, CsiVolumeRegistrationArgs args)
public CsiVolumeRegistration(String name, CsiVolumeRegistrationArgs args, CustomResourceOptions options)
type: nomad:CsiVolumeRegistration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CsiVolumeRegistrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CsiVolumeRegistrationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CsiVolumeRegistrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CsiVolumeRegistrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CsiVolumeRegistrationArgs
- 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 csiVolumeRegistrationResource = new Nomad.CsiVolumeRegistration("csiVolumeRegistrationResource", new()
{
ExternalId = "string",
VolumeId = "string",
PluginId = "string",
MountOptions = new Nomad.Inputs.CsiVolumeRegistrationMountOptionsArgs
{
FsType = "string",
MountFlags = new[]
{
"string",
},
},
DeregisterOnDestroy = false,
Context =
{
{ "string", "string" },
},
Capabilities = new[]
{
new Nomad.Inputs.CsiVolumeRegistrationCapabilityArgs
{
AccessMode = "string",
AttachmentMode = "string",
},
},
Name = "string",
Namespace = "string",
Parameters =
{
{ "string", "string" },
},
CapacityMin = "string",
Secrets =
{
{ "string", "string" },
},
TopologyRequest = new Nomad.Inputs.CsiVolumeRegistrationTopologyRequestArgs
{
Required = new Nomad.Inputs.CsiVolumeRegistrationTopologyRequestRequiredArgs
{
Topologies = new[]
{
new Nomad.Inputs.CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs
{
Segments =
{
{ "string", "string" },
},
},
},
},
},
CapacityMax = "string",
});
example, err := nomad.NewCsiVolumeRegistration(ctx, "csiVolumeRegistrationResource", &nomad.CsiVolumeRegistrationArgs{
ExternalId: pulumi.String("string"),
VolumeId: pulumi.String("string"),
PluginId: pulumi.String("string"),
MountOptions: &nomad.CsiVolumeRegistrationMountOptionsArgs{
FsType: pulumi.String("string"),
MountFlags: pulumi.StringArray{
pulumi.String("string"),
},
},
DeregisterOnDestroy: pulumi.Bool(false),
Context: pulumi.StringMap{
"string": pulumi.String("string"),
},
Capabilities: nomad.CsiVolumeRegistrationCapabilityArray{
&nomad.CsiVolumeRegistrationCapabilityArgs{
AccessMode: pulumi.String("string"),
AttachmentMode: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
CapacityMin: pulumi.String("string"),
Secrets: pulumi.StringMap{
"string": pulumi.String("string"),
},
TopologyRequest: &nomad.CsiVolumeRegistrationTopologyRequestArgs{
Required: &nomad.CsiVolumeRegistrationTopologyRequestRequiredArgs{
Topologies: nomad.CsiVolumeRegistrationTopologyRequestRequiredTopologyArray{
&nomad.CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs{
Segments: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
},
},
CapacityMax: pulumi.String("string"),
})
var csiVolumeRegistrationResource = new CsiVolumeRegistration("csiVolumeRegistrationResource", CsiVolumeRegistrationArgs.builder()
.externalId("string")
.volumeId("string")
.pluginId("string")
.mountOptions(CsiVolumeRegistrationMountOptionsArgs.builder()
.fsType("string")
.mountFlags("string")
.build())
.deregisterOnDestroy(false)
.context(Map.of("string", "string"))
.capabilities(CsiVolumeRegistrationCapabilityArgs.builder()
.accessMode("string")
.attachmentMode("string")
.build())
.name("string")
.namespace("string")
.parameters(Map.of("string", "string"))
.capacityMin("string")
.secrets(Map.of("string", "string"))
.topologyRequest(CsiVolumeRegistrationTopologyRequestArgs.builder()
.required(CsiVolumeRegistrationTopologyRequestRequiredArgs.builder()
.topologies(CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs.builder()
.segments(Map.of("string", "string"))
.build())
.build())
.build())
.capacityMax("string")
.build());
csi_volume_registration_resource = nomad.CsiVolumeRegistration("csiVolumeRegistrationResource",
external_id="string",
volume_id="string",
plugin_id="string",
mount_options=nomad.CsiVolumeRegistrationMountOptionsArgs(
fs_type="string",
mount_flags=["string"],
),
deregister_on_destroy=False,
context={
"string": "string",
},
capabilities=[nomad.CsiVolumeRegistrationCapabilityArgs(
access_mode="string",
attachment_mode="string",
)],
name="string",
namespace="string",
parameters={
"string": "string",
},
capacity_min="string",
secrets={
"string": "string",
},
topology_request=nomad.CsiVolumeRegistrationTopologyRequestArgs(
required=nomad.CsiVolumeRegistrationTopologyRequestRequiredArgs(
topologies=[nomad.CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs(
segments={
"string": "string",
},
)],
),
),
capacity_max="string")
const csiVolumeRegistrationResource = new nomad.CsiVolumeRegistration("csiVolumeRegistrationResource", {
externalId: "string",
volumeId: "string",
pluginId: "string",
mountOptions: {
fsType: "string",
mountFlags: ["string"],
},
deregisterOnDestroy: false,
context: {
string: "string",
},
capabilities: [{
accessMode: "string",
attachmentMode: "string",
}],
name: "string",
namespace: "string",
parameters: {
string: "string",
},
capacityMin: "string",
secrets: {
string: "string",
},
topologyRequest: {
required: {
topologies: [{
segments: {
string: "string",
},
}],
},
},
capacityMax: "string",
});
type: nomad:CsiVolumeRegistration
properties:
capabilities:
- accessMode: string
attachmentMode: string
capacityMax: string
capacityMin: string
context:
string: string
deregisterOnDestroy: false
externalId: string
mountOptions:
fsType: string
mountFlags:
- string
name: string
namespace: string
parameters:
string: string
pluginId: string
secrets:
string: string
topologyRequest:
required:
topologies:
- segments:
string: string
volumeId: string
CsiVolumeRegistration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CsiVolumeRegistration resource accepts the following input properties:
- External
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- Plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- Volume
Id string (string: <required>)
- The unique ID of the volume.- Capabilities
List<Csi
Volume Registration Capability> (``Capability``: <required>)
- Options for validating the capability of a volume.- Capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- Capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- Context Dictionary<string, string>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- Deregister
On boolDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- Mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- Name string
(string: <required>)
- The display name for the volume.- Namespace 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.- Topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
- External
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- Plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- Volume
Id string (string: <required>)
- The unique ID of the volume.- Capabilities
[]Csi
Volume Registration Capability Args (``Capability``: <required>)
- Options for validating the capability of a volume.- Capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- Capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- Context map[string]string
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- Deregister
On boolDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- Mount
Options CsiVolume Registration Mount Options Args (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- Name string
(string: <required>)
- The display name for the volume.- Namespace 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.- Topology
Request CsiVolume Registration Topology Request Args (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
- external
Id String (string: <required>)
- The ID of the physical volume from the storage provider.- plugin
Id String (string: <required>)
- The ID of the Nomad plugin for registering this volume.- volume
Id String (string: <required>)
- The unique ID of the volume.- capabilities
List<Csi
Volume Registration Capability> (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity
Max String (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Min String (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- context Map<String,String>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- deregister
On BooleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name String
(string: <required>)
- The display name for the volume.- namespace 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.- topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
- external
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- volume
Id string (string: <required>)
- The unique ID of the volume.- capabilities
Csi
Volume Registration Capability[] (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- context {[key: string]: string}
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- deregister
On booleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name string
(string: <required>)
- The display name for the volume.- namespace 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.- topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
- external_
id str (string: <required>)
- The ID of the physical volume from the storage provider.- plugin_
id str (string: <required>)
- The ID of the Nomad plugin for registering this volume.- volume_
id str (string: <required>)
- The unique ID of the volume.- capabilities
Sequence[Csi
Volume Registration Capability Args] (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity_
max str (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity_
min str (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- context Mapping[str, str]
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- deregister_
on_ booldestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- mount_
options CsiVolume Registration Mount Options Args (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name str
(string: <required>)
- The display name for the volume.- namespace 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.- topology_
request CsiVolume Registration Topology Request Args (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
- external
Id String (string: <required>)
- The ID of the physical volume from the storage provider.- plugin
Id String (string: <required>)
- The ID of the Nomad plugin for registering this volume.- volume
Id String (string: <required>)
- The unique ID of the volume.- capabilities List<Property Map>
(``Capability``: <required>)
- Options for validating the capability of a volume.- capacity
Max String (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Min String (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- context Map<String>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- deregister
On BooleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- mount
Options Property Map (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name String
(string: <required>)
- The display name for the volume.- namespace 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.- topology
Request Property Map (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.
Outputs
All input properties are implicitly available as output properties. Additionally, the CsiVolumeRegistration resource produces the following output properties:
- Capacity int
- Capacity
Max intBytes - Capacity
Min intBytes - Controller
Required bool - Controllers
Expected int - Controllers
Healthy int - Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
Expected int - Nodes
Healthy int - Plugin
Provider string - Plugin
Provider stringVersion - Schedulable bool
- Topologies
List<Csi
Volume Registration Topology>
- Capacity int
- Capacity
Max intBytes - Capacity
Min intBytes - Controller
Required bool - Controllers
Expected int - Controllers
Healthy int - Id string
- The provider-assigned unique ID for this managed resource.
- Nodes
Expected int - Nodes
Healthy int - Plugin
Provider string - Plugin
Provider stringVersion - Schedulable bool
- Topologies
[]Csi
Volume Registration Topology
- capacity Integer
- capacity
Max IntegerBytes - capacity
Min IntegerBytes - controller
Required Boolean - controllers
Expected Integer - controllers
Healthy Integer - id String
- The provider-assigned unique ID for this managed resource.
- nodes
Expected Integer - nodes
Healthy Integer - plugin
Provider String - plugin
Provider StringVersion - schedulable Boolean
- topologies
List<Csi
Volume Registration Topology>
- capacity number
- capacity
Max numberBytes - capacity
Min numberBytes - controller
Required boolean - controllers
Expected number - controllers
Healthy number - id string
- The provider-assigned unique ID for this managed resource.
- nodes
Expected number - nodes
Healthy number - plugin
Provider string - plugin
Provider stringVersion - schedulable boolean
- topologies
Csi
Volume Registration Topology[]
- capacity int
- capacity_
max_ intbytes - capacity_
min_ intbytes - controller_
required bool - controllers_
expected int - controllers_
healthy int - id str
- The provider-assigned unique ID for this managed resource.
- nodes_
expected int - nodes_
healthy int - plugin_
provider str - plugin_
provider_ strversion - schedulable bool
- topologies
Sequence[Csi
Volume Registration Topology]
- capacity Number
- capacity
Max NumberBytes - capacity
Min NumberBytes - controller
Required Boolean - controllers
Expected Number - controllers
Healthy Number - id String
- The provider-assigned unique ID for this managed resource.
- nodes
Expected Number - nodes
Healthy Number - plugin
Provider String - plugin
Provider StringVersion - schedulable Boolean
- topologies List<Property Map>
Look up Existing CsiVolumeRegistration Resource
Get an existing CsiVolumeRegistration 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?: CsiVolumeRegistrationState, opts?: CustomResourceOptions): CsiVolumeRegistration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capabilities: Optional[Sequence[CsiVolumeRegistrationCapabilityArgs]] = None,
capacity: Optional[int] = None,
capacity_max: Optional[str] = None,
capacity_max_bytes: Optional[int] = None,
capacity_min: Optional[str] = None,
capacity_min_bytes: Optional[int] = None,
context: Optional[Mapping[str, str]] = None,
controller_required: Optional[bool] = None,
controllers_expected: Optional[int] = None,
controllers_healthy: Optional[int] = None,
deregister_on_destroy: Optional[bool] = None,
external_id: Optional[str] = None,
mount_options: Optional[CsiVolumeRegistrationMountOptionsArgs] = 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,
topologies: Optional[Sequence[CsiVolumeRegistrationTopologyArgs]] = None,
topology_request: Optional[CsiVolumeRegistrationTopologyRequestArgs] = None,
volume_id: Optional[str] = None) -> CsiVolumeRegistration
func GetCsiVolumeRegistration(ctx *Context, name string, id IDInput, state *CsiVolumeRegistrationState, opts ...ResourceOption) (*CsiVolumeRegistration, error)
public static CsiVolumeRegistration Get(string name, Input<string> id, CsiVolumeRegistrationState? state, CustomResourceOptions? opts = null)
public static CsiVolumeRegistration get(String name, Output<String> id, CsiVolumeRegistrationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Capabilities
List<Csi
Volume Registration Capability> (``Capability``: <required>)
- Options for validating the capability of a volume.- Capacity int
- Capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- Capacity
Max intBytes - Capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- Capacity
Min intBytes - Context Dictionary<string, string>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- Controller
Required bool - Controllers
Expected int - Controllers
Healthy int - Deregister
On boolDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- External
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- Mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- Name string
(string: <required>)
- The display name for the volume.- Namespace string
(string: "default")
- The namespace in which to register the volume.- Nodes
Expected int - Nodes
Healthy 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.- Plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- Plugin
Provider string - Plugin
Provider stringVersion - 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.- Topologies
List<Csi
Volume Registration Topology> - Topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- Volume
Id string (string: <required>)
- The unique ID of the volume.
- Capabilities
[]Csi
Volume Registration Capability Args (``Capability``: <required>)
- Options for validating the capability of a volume.- Capacity int
- Capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- Capacity
Max intBytes - Capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- Capacity
Min intBytes - Context map[string]string
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- Controller
Required bool - Controllers
Expected int - Controllers
Healthy int - Deregister
On boolDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- External
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- Mount
Options CsiVolume Registration Mount Options Args (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- Name string
(string: <required>)
- The display name for the volume.- Namespace string
(string: "default")
- The namespace in which to register the volume.- Nodes
Expected int - Nodes
Healthy 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.- Plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- Plugin
Provider string - Plugin
Provider stringVersion - 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.- Topologies
[]Csi
Volume Registration Topology Args - Topology
Request CsiVolume Registration Topology Request Args (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- Volume
Id string (string: <required>)
- The unique ID of the volume.
- capabilities
List<Csi
Volume Registration Capability> (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity Integer
- capacity
Max String (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Max IntegerBytes - capacity
Min String (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- capacity
Min IntegerBytes - context Map<String,String>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- controller
Required Boolean - controllers
Expected Integer - controllers
Healthy Integer - deregister
On BooleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- external
Id String (string: <required>)
- The ID of the physical volume from the storage provider.- mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name String
(string: <required>)
- The display name for the volume.- namespace String
(string: "default")
- The namespace in which to register the volume.- nodes
Expected Integer - nodes
Healthy 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.- plugin
Id String (string: <required>)
- The ID of the Nomad plugin for registering this volume.- plugin
Provider String - plugin
Provider StringVersion - 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.- topologies
List<Csi
Volume Registration Topology> - topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- volume
Id String (string: <required>)
- The unique ID of the volume.
- capabilities
Csi
Volume Registration Capability[] (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity number
- capacity
Max string (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Max numberBytes - capacity
Min string (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- capacity
Min numberBytes - context {[key: string]: string}
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- controller
Required boolean - controllers
Expected number - controllers
Healthy number - deregister
On booleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- external
Id string (string: <required>)
- The ID of the physical volume from the storage provider.- mount
Options CsiVolume Registration Mount Options (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name string
(string: <required>)
- The display name for the volume.- namespace string
(string: "default")
- The namespace in which to register the volume.- nodes
Expected number - nodes
Healthy 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.- plugin
Id string (string: <required>)
- The ID of the Nomad plugin for registering this volume.- plugin
Provider string - plugin
Provider stringVersion - 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.- topologies
Csi
Volume Registration Topology[] - topology
Request CsiVolume Registration Topology Request (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- volume
Id string (string: <required>)
- The unique ID of the volume.
- capabilities
Sequence[Csi
Volume Registration Capability Args] (``Capability``: <required>)
- Options for validating the capability of a volume.- capacity int
- capacity_
max str (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity_
max_ intbytes - capacity_
min str (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- capacity_
min_ intbytes - context Mapping[str, str]
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- controller_
required bool - controllers_
expected int - controllers_
healthy int - deregister_
on_ booldestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- external_
id str (string: <required>)
- The ID of the physical volume from the storage provider.- mount_
options CsiVolume Registration Mount Options Args (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name str
(string: <required>)
- The display name for the volume.- namespace 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 str (string: <required>)
- The ID of the Nomad plugin for registering this volume.- plugin_
provider str - plugin_
provider_ strversion - 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.- topologies
Sequence[Csi
Volume Registration Topology Args] - topology_
request CsiVolume Registration Topology Request Args (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- volume_
id str (string: <required>)
- The unique ID of the volume.
- capabilities List<Property Map>
(``Capability``: <required>)
- Options for validating the capability of a volume.- capacity Number
- capacity
Max String (string: <optional>)
- Option to signal a maximum volume size. This may not be supported by all storage providers.- capacity
Max NumberBytes - capacity
Min String (string: <optional>)
- Option to signal a minimum volume size. This may not be supported by all storage providers.- capacity
Min NumberBytes - context Map<String>
(map[string]string: <optional>)
- An optional key-value map of strings passed directly to the CSI plugin to validate the volume.- controller
Required Boolean - controllers
Expected Number - controllers
Healthy Number - deregister
On BooleanDestroy (boolean: true)
- If true, the volume will be deregistered on destroy.- external
Id String (string: <required>)
- The ID of the physical volume from the storage provider.- mount
Options Property Map (block: <optional>)
Options for mountingblock-device
volumes without a pre-formatted file system.- name String
(string: <required>)
- The display name for the volume.- namespace String
(string: "default")
- The namespace in which to register the volume.- nodes
Expected Number - nodes
Healthy 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.- plugin
Id String (string: <required>)
- The ID of the Nomad plugin for registering this volume.- plugin
Provider String - plugin
Provider StringVersion - schedulable Boolean
- secrets Map<String>
(map[string]string: <optional>)
- An optional key-value map of strings used as credentials for publishing and unpublishing volumes.- topologies List<Property Map>
- topology
Request Property Map (``TopologyRequest``: <optional>)
- Specify locations (region, zone, rack, etc.) where the provisioned volume is accessible from.- volume
Id String (string: <required>)
- The unique ID of the volume.
Supporting Types
CsiVolumeRegistrationCapability, CsiVolumeRegistrationCapabilityArgs
- Access
Mode 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
- Attachment
Mode string (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
- Access
Mode 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
- Attachment
Mode string (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
- access
Mode 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
- attachment
Mode String (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
- access
Mode 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
- attachment
Mode string (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
- access_
mode 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 str (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
- access
Mode 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
- attachment
Mode String (string: <required>)
- The storage API that will be used by the volume. Possible values are:block-device
file-system
CsiVolumeRegistrationMountOptions, CsiVolumeRegistrationMountOptionsArgs
- Fs
Type string (string: <optional>)
- The file system type.- Mount
Flags List<string> ([]string: <optional>)
- The flags passed tomount
.
- Fs
Type string (string: <optional>)
- The file system type.- Mount
Flags []string ([]string: <optional>)
- The flags passed tomount
.
- fs
Type String (string: <optional>)
- The file system type.- mount
Flags List<String> ([]string: <optional>)
- The flags passed tomount
.
- fs
Type string (string: <optional>)
- The file system type.- mount
Flags string[] ([]string: <optional>)
- The flags passed tomount
.
- fs_
type str (string: <optional>)
- The file system type.- mount_
flags Sequence[str] ([]string: <optional>)
- The flags passed tomount
.
- fs
Type String (string: <optional>)
- The file system type.- mount
Flags List<String> ([]string: <optional>)
- The flags passed tomount
.
CsiVolumeRegistrationTopology, CsiVolumeRegistrationTopologyArgs
- Segments Dictionary<string, string>
- Segments map[string]string
- segments Map<String,String>
- segments {[key: string]: string}
- segments Mapping[str, str]
- segments Map<String>
CsiVolumeRegistrationTopologyRequest, CsiVolumeRegistrationTopologyRequestArgs
- Required
Csi
Volume Registration Topology Request Required (``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
- Required
Csi
Volume Registration Topology Request Required (``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
- required
Csi
Volume Registration Topology Request Required (``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
- required
Csi
Volume Registration Topology Request Required (``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
- required
Csi
Volume Registration Topology Request Required (``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
- required Property Map
(``Topology``: <optional>)
- Required topologies indicate that the volume must be created in a location accessible from all the listed topologies.
CsiVolumeRegistrationTopologyRequestRequired, CsiVolumeRegistrationTopologyRequestRequiredArgs
- Topologies
List<Csi
Volume Registration Topology Request Required Topology> - Defines the location for the volume.
- Topologies
[]Csi
Volume Registration Topology Request Required Topology - Defines the location for the volume.
- topologies
List<Csi
Volume Registration Topology Request Required Topology> - Defines the location for the volume.
- topologies
Csi
Volume Registration Topology Request Required Topology[] - Defines the location for the volume.
- topologies
Sequence[Csi
Volume Registration Topology Request Required Topology] - Defines the location for the volume.
- topologies List<Property Map>
- Defines the location for the volume.
CsiVolumeRegistrationTopologyRequestRequiredTopology, CsiVolumeRegistrationTopologyRequestRequiredTopologyArgs
- Segments Dictionary<string, string>
- Define attributes for the topology request.
- Segments map[string]string
- Define attributes for the topology request.
- segments Map<String,String>
- Define attributes for the topology request.
- segments {[key: string]: string}
- Define attributes for the topology request.
- segments Mapping[str, str]
- Define attributes for the topology request.
- segments Map<String>
- Define 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.