vra.BlockDevice
Explore with Pulumi AI
Creates a VMware vRealize Automation block device resource.
Example Usage
S
The following example shows how to create a block device resource.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const disk1 = new vra.BlockDevice("disk1", {
capacityInGb: 10,
projectId: _var.project_id,
persistent: true,
});
import pulumi
import pulumi_vra as vra
disk1 = vra.BlockDevice("disk1",
capacity_in_gb=10,
project_id=var["project_id"],
persistent=True)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vra.NewBlockDevice(ctx, "disk1", &vra.BlockDeviceArgs{
CapacityInGb: pulumi.Float64(10),
ProjectId: pulumi.Any(_var.Project_id),
Persistent: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() =>
{
var disk1 = new Vra.BlockDevice("disk1", new()
{
CapacityInGb = 10,
ProjectId = @var.Project_id,
Persistent = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.BlockDevice;
import com.pulumi.vra.BlockDeviceArgs;
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) {
var disk1 = new BlockDevice("disk1", BlockDeviceArgs.builder()
.capacityInGb(10)
.projectId(var_.project_id())
.persistent(true)
.build());
}
}
resources:
disk1:
type: vra:BlockDevice
properties:
capacityInGb: 10
projectId: ${var.project_id}
persistent: true
Create BlockDevice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BlockDevice(name: string, args: BlockDeviceArgs, opts?: CustomResourceOptions);
@overload
def BlockDevice(resource_name: str,
args: BlockDeviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BlockDevice(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
capacity_in_gb: Optional[float] = None,
expand_snapshots: Optional[bool] = None,
name: Optional[str] = None,
deployment_id: Optional[str] = None,
description: Optional[str] = None,
disk_content_base64: Optional[str] = None,
encrypted: Optional[bool] = None,
block_device_id: Optional[str] = None,
custom_properties: Optional[Mapping[str, str]] = None,
persistent: Optional[bool] = None,
constraints: Optional[Sequence[BlockDeviceConstraintArgs]] = None,
purge: Optional[bool] = None,
source_reference: Optional[str] = None,
tags: Optional[Sequence[BlockDeviceTagArgs]] = None,
timeouts: Optional[BlockDeviceTimeoutsArgs] = None)
func NewBlockDevice(ctx *Context, name string, args BlockDeviceArgs, opts ...ResourceOption) (*BlockDevice, error)
public BlockDevice(string name, BlockDeviceArgs args, CustomResourceOptions? opts = null)
public BlockDevice(String name, BlockDeviceArgs args)
public BlockDevice(String name, BlockDeviceArgs args, CustomResourceOptions options)
type: vra:BlockDevice
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 BlockDeviceArgs
- 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 BlockDeviceArgs
- 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 BlockDeviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BlockDeviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BlockDeviceArgs
- 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 blockDeviceResource = new Vra.BlockDevice("blockDeviceResource", new()
{
ProjectId = "string",
CapacityInGb = 0,
ExpandSnapshots = false,
Name = "string",
DeploymentId = "string",
Description = "string",
DiskContentBase64 = "string",
Encrypted = false,
BlockDeviceId = "string",
CustomProperties =
{
{ "string", "string" },
},
Persistent = false,
Constraints = new[]
{
new Vra.Inputs.BlockDeviceConstraintArgs
{
Expression = "string",
Mandatory = false,
},
},
Purge = false,
SourceReference = "string",
Tags = new[]
{
new Vra.Inputs.BlockDeviceTagArgs
{
Key = "string",
Value = "string",
},
},
Timeouts = new Vra.Inputs.BlockDeviceTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := vra.NewBlockDevice(ctx, "blockDeviceResource", &vra.BlockDeviceArgs{
ProjectId: pulumi.String("string"),
CapacityInGb: pulumi.Float64(0),
ExpandSnapshots: pulumi.Bool(false),
Name: pulumi.String("string"),
DeploymentId: pulumi.String("string"),
Description: pulumi.String("string"),
DiskContentBase64: pulumi.String("string"),
Encrypted: pulumi.Bool(false),
BlockDeviceId: pulumi.String("string"),
CustomProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
Persistent: pulumi.Bool(false),
Constraints: vra.BlockDeviceConstraintArray{
&vra.BlockDeviceConstraintArgs{
Expression: pulumi.String("string"),
Mandatory: pulumi.Bool(false),
},
},
Purge: pulumi.Bool(false),
SourceReference: pulumi.String("string"),
Tags: vra.BlockDeviceTagArray{
&vra.BlockDeviceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &vra.BlockDeviceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var blockDeviceResource = new BlockDevice("blockDeviceResource", BlockDeviceArgs.builder()
.projectId("string")
.capacityInGb(0)
.expandSnapshots(false)
.name("string")
.deploymentId("string")
.description("string")
.diskContentBase64("string")
.encrypted(false)
.blockDeviceId("string")
.customProperties(Map.of("string", "string"))
.persistent(false)
.constraints(BlockDeviceConstraintArgs.builder()
.expression("string")
.mandatory(false)
.build())
.purge(false)
.sourceReference("string")
.tags(BlockDeviceTagArgs.builder()
.key("string")
.value("string")
.build())
.timeouts(BlockDeviceTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
block_device_resource = vra.BlockDevice("blockDeviceResource",
project_id="string",
capacity_in_gb=0,
expand_snapshots=False,
name="string",
deployment_id="string",
description="string",
disk_content_base64="string",
encrypted=False,
block_device_id="string",
custom_properties={
"string": "string",
},
persistent=False,
constraints=[{
"expression": "string",
"mandatory": False,
}],
purge=False,
source_reference="string",
tags=[{
"key": "string",
"value": "string",
}],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const blockDeviceResource = new vra.BlockDevice("blockDeviceResource", {
projectId: "string",
capacityInGb: 0,
expandSnapshots: false,
name: "string",
deploymentId: "string",
description: "string",
diskContentBase64: "string",
encrypted: false,
blockDeviceId: "string",
customProperties: {
string: "string",
},
persistent: false,
constraints: [{
expression: "string",
mandatory: false,
}],
purge: false,
sourceReference: "string",
tags: [{
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: vra:BlockDevice
properties:
blockDeviceId: string
capacityInGb: 0
constraints:
- expression: string
mandatory: false
customProperties:
string: string
deploymentId: string
description: string
diskContentBase64: string
encrypted: false
expandSnapshots: false
name: string
persistent: false
projectId: string
purge: false
sourceReference: string
tags:
- key: string
value: string
timeouts:
create: string
delete: string
update: string
BlockDevice 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 BlockDevice resource accepts the following input properties:
- Capacity
In doubleGb - Capacity of block device in GB.
- Project
Id string - ID of project that current user belongs to.
- Block
Device stringId - ID of the block device snapshot.
- Constraints
List<Block
Device Constraint> - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- Custom
Properties Dictionary<string, string> - Additional custom properties that may be used to extend the machine.
- Deployment
Id string - ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Disk
Content stringBase64 - Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- Expand
Snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Persistent bool
- Indicates whether block device survives a delete action.
- Purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- Source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- List<Block
Device Tag> - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
Block
Device Timeouts
- Capacity
In float64Gb - Capacity of block device in GB.
- Project
Id string - ID of project that current user belongs to.
- Block
Device stringId - ID of the block device snapshot.
- Constraints
[]Block
Device Constraint Args - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- Custom
Properties map[string]string - Additional custom properties that may be used to extend the machine.
- Deployment
Id string - ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Disk
Content stringBase64 - Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- Expand
Snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Persistent bool
- Indicates whether block device survives a delete action.
- Purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- Source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- []Block
Device Tag Args - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
Block
Device Timeouts Args
- capacity
In DoubleGb - Capacity of block device in GB.
- project
Id String - ID of project that current user belongs to.
- block
Device StringId - ID of the block device snapshot.
- constraints
List<Block
Device Constraint> - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- custom
Properties Map<String,String> - Additional custom properties that may be used to extend the machine.
- deployment
Id String - ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content StringBase64 - Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots Boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- persistent Boolean
- Indicates whether block device survives a delete action.
- purge Boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- source
Reference String - URI to use for block device. Example:
ami-0d4cfd66
- List<Block
Device Tag> - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts
- capacity
In numberGb - Capacity of block device in GB.
- project
Id string - ID of project that current user belongs to.
- block
Device stringId - ID of the block device snapshot.
- constraints
Block
Device Constraint[] - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- custom
Properties {[key: string]: string} - Additional custom properties that may be used to extend the machine.
- deployment
Id string - ID of deployment associated with resource.
- description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content stringBase64 - Content of a disk, base64 encoded.
- encrypted boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- name string
- Human-friendly name used as an identifier in APIs that support this option.
- persistent boolean
- Indicates whether block device survives a delete action.
- purge boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- Block
Device Tag[] - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts
- capacity_
in_ floatgb - Capacity of block device in GB.
- project_
id str - ID of project that current user belongs to.
- block_
device_ strid - ID of the block device snapshot.
- constraints
Sequence[Block
Device Constraint Args] - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- custom_
properties Mapping[str, str] - Additional custom properties that may be used to extend the machine.
- deployment_
id str - ID of deployment associated with resource.
- description str
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk_
content_ strbase64 - Content of a disk, base64 encoded.
- encrypted bool
- Indicates whether block device should be encrypted or not.
- expand_
snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- name str
- Human-friendly name used as an identifier in APIs that support this option.
- persistent bool
- Indicates whether block device survives a delete action.
- purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- source_
reference str - URI to use for block device. Example:
ami-0d4cfd66
- Sequence[Block
Device Tag Args] - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts Args
- capacity
In NumberGb - Capacity of block device in GB.
- project
Id String - ID of project that current user belongs to.
- block
Device StringId - ID of the block device snapshot.
- constraints List<Property Map>
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- custom
Properties Map<String> - Additional custom properties that may be used to extend the machine.
- deployment
Id String - ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content StringBase64 - Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots Boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- persistent Boolean
- Indicates whether block device survives a delete action.
- purge Boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- source
Reference String - URI to use for block device. Example:
ami-0d4cfd66
- List<Property Map>
- Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the BlockDevice resource produces the following output properties:
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- External
Id string - External entity ID on provider side.
- External
Region stringId - External regionId of resource.
- External
Zone stringId - External zoneId of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<Block
Device Link> - HATEOAS of the entity
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Snapshots
List<Block
Device Snapshot> - Represents a machine snapshot.
- Status string
- Status of block device.
- Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- External
Id string - External entity ID on provider side.
- External
Region stringId - External regionId of resource.
- External
Zone stringId - External zoneId of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]Block
Device Link - HATEOAS of the entity
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Snapshots
[]Block
Device Snapshot Type - Represents a machine snapshot.
- Status string
- Status of block device.
- Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- external
Id String - External entity ID on provider side.
- external
Region StringId - External regionId of resource.
- external
Zone StringId - External zoneId of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<Block
Device Link> - HATEOAS of the entity
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- snapshots
List<Block
Device Snapshot> - Represents a machine snapshot.
- status String
- Status of block device.
- updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- external
Id string - External entity ID on provider side.
- external
Region stringId - External regionId of resource.
- external
Zone stringId - External zoneId of resource.
- id string
- The provider-assigned unique ID for this managed resource.
- links
Block
Device Link[] - HATEOAS of the entity
- org
Id string - ID of organization that block device snapshot belongs to.
- owner string
- Email of block device snapshot owner.
- snapshots
Block
Device Snapshot[] - Represents a machine snapshot.
- status string
- Status of block device.
- updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created_
at str - Date when entity was created. Date and time format is ISO 8601 and UTC.
- external_
id str - External entity ID on provider side.
- external_
region_ strid - External regionId of resource.
- external_
zone_ strid - External zoneId of resource.
- id str
- The provider-assigned unique ID for this managed resource.
- links
Sequence[Block
Device Link] - HATEOAS of the entity
- org_
id str - ID of organization that block device snapshot belongs to.
- owner str
- Email of block device snapshot owner.
- snapshots
Sequence[Block
Device Snapshot] - Represents a machine snapshot.
- status str
- Status of block device.
- updated_
at str - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- external
Id String - External entity ID on provider side.
- external
Region StringId - External regionId of resource.
- external
Zone StringId - External zoneId of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- HATEOAS of the entity
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- snapshots List<Property Map>
- Represents a machine snapshot.
- status String
- Status of block device.
- updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
Look up Existing BlockDevice Resource
Get an existing BlockDevice 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?: BlockDeviceState, opts?: CustomResourceOptions): BlockDevice
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
block_device_id: Optional[str] = None,
capacity_in_gb: Optional[float] = None,
constraints: Optional[Sequence[BlockDeviceConstraintArgs]] = None,
created_at: Optional[str] = None,
custom_properties: Optional[Mapping[str, str]] = None,
deployment_id: Optional[str] = None,
description: Optional[str] = None,
disk_content_base64: Optional[str] = None,
encrypted: Optional[bool] = None,
expand_snapshots: Optional[bool] = None,
external_id: Optional[str] = None,
external_region_id: Optional[str] = None,
external_zone_id: Optional[str] = None,
links: Optional[Sequence[BlockDeviceLinkArgs]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
owner: Optional[str] = None,
persistent: Optional[bool] = None,
project_id: Optional[str] = None,
purge: Optional[bool] = None,
snapshots: Optional[Sequence[BlockDeviceSnapshotArgs]] = None,
source_reference: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[BlockDeviceTagArgs]] = None,
timeouts: Optional[BlockDeviceTimeoutsArgs] = None,
updated_at: Optional[str] = None) -> BlockDevice
func GetBlockDevice(ctx *Context, name string, id IDInput, state *BlockDeviceState, opts ...ResourceOption) (*BlockDevice, error)
public static BlockDevice Get(string name, Input<string> id, BlockDeviceState? state, CustomResourceOptions? opts = null)
public static BlockDevice get(String name, Output<String> id, BlockDeviceState state, CustomResourceOptions options)
resources: _: type: vra:BlockDevice get: id: ${id}
- 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.
- Block
Device stringId - ID of the block device snapshot.
- Capacity
In doubleGb - Capacity of block device in GB.
- Constraints
List<Block
Device Constraint> - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- Custom
Properties Dictionary<string, string> - Additional custom properties that may be used to extend the machine.
- Deployment
Id string - ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Disk
Content stringBase64 - Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- Expand
Snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- External
Id string - External entity ID on provider side.
- External
Region stringId - External regionId of resource.
- External
Zone stringId - External zoneId of resource.
- Links
List<Block
Device Link> - HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Persistent bool
- Indicates whether block device survives a delete action.
- Project
Id string - ID of project that current user belongs to.
- Purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- Snapshots
List<Block
Device Snapshot> - Represents a machine snapshot.
- Source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- Status string
- Status of block device.
- List<Block
Device Tag> - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
Block
Device Timeouts - Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- Block
Device stringId - ID of the block device snapshot.
- Capacity
In float64Gb - Capacity of block device in GB.
- Constraints
[]Block
Device Constraint Args - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- Custom
Properties map[string]string - Additional custom properties that may be used to extend the machine.
- Deployment
Id string - ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Disk
Content stringBase64 - Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- Expand
Snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- External
Id string - External entity ID on provider side.
- External
Region stringId - External regionId of resource.
- External
Zone stringId - External zoneId of resource.
- Links
[]Block
Device Link Args - HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Persistent bool
- Indicates whether block device survives a delete action.
- Project
Id string - ID of project that current user belongs to.
- Purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- Snapshots
[]Block
Device Snapshot Type Args - Represents a machine snapshot.
- Source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- Status string
- Status of block device.
- []Block
Device Tag Args - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
Block
Device Timeouts Args - Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- block
Device StringId - ID of the block device snapshot.
- capacity
In DoubleGb - Capacity of block device in GB.
- constraints
List<Block
Device Constraint> - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- custom
Properties Map<String,String> - Additional custom properties that may be used to extend the machine.
- deployment
Id String - ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content StringBase64 - Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots Boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- external
Id String - External entity ID on provider side.
- external
Region StringId - External regionId of resource.
- external
Zone StringId - External zoneId of resource.
- links
List<Block
Device Link> - HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- persistent Boolean
- Indicates whether block device survives a delete action.
- project
Id String - ID of project that current user belongs to.
- purge Boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- snapshots
List<Block
Device Snapshot> - Represents a machine snapshot.
- source
Reference String - URI to use for block device. Example:
ami-0d4cfd66
- status String
- Status of block device.
- List<Block
Device Tag> - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts - updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- block
Device stringId - ID of the block device snapshot.
- capacity
In numberGb - Capacity of block device in GB.
- constraints
Block
Device Constraint[] - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- custom
Properties {[key: string]: string} - Additional custom properties that may be used to extend the machine.
- deployment
Id string - ID of deployment associated with resource.
- description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content stringBase64 - Content of a disk, base64 encoded.
- encrypted boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- external
Id string - External entity ID on provider side.
- external
Region stringId - External regionId of resource.
- external
Zone stringId - External zoneId of resource.
- links
Block
Device Link[] - HATEOAS of the entity
- name string
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id string - ID of organization that block device snapshot belongs to.
- owner string
- Email of block device snapshot owner.
- persistent boolean
- Indicates whether block device survives a delete action.
- project
Id string - ID of project that current user belongs to.
- purge boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- snapshots
Block
Device Snapshot[] - Represents a machine snapshot.
- source
Reference string - URI to use for block device. Example:
ami-0d4cfd66
- status string
- Status of block device.
- Block
Device Tag[] - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts - updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- block_
device_ strid - ID of the block device snapshot.
- capacity_
in_ floatgb - Capacity of block device in GB.
- constraints
Sequence[Block
Device Constraint Args] - Storage, network, and extensibility constraints to be applied when provisioning through the project.
- created_
at str - Date when entity was created. Date and time format is ISO 8601 and UTC.
- custom_
properties Mapping[str, str] - Additional custom properties that may be used to extend the machine.
- deployment_
id str - ID of deployment associated with resource.
- description str
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk_
content_ strbase64 - Content of a disk, base64 encoded.
- encrypted bool
- Indicates whether block device should be encrypted or not.
- expand_
snapshots bool - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- external_
id str - External entity ID on provider side.
- external_
region_ strid - External regionId of resource.
- external_
zone_ strid - External zoneId of resource.
- links
Sequence[Block
Device Link Args] - HATEOAS of the entity
- name str
- Human-friendly name used as an identifier in APIs that support this option.
- org_
id str - ID of organization that block device snapshot belongs to.
- owner str
- Email of block device snapshot owner.
- persistent bool
- Indicates whether block device survives a delete action.
- project_
id str - ID of project that current user belongs to.
- purge bool
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- snapshots
Sequence[Block
Device Snapshot Args] - Represents a machine snapshot.
- source_
reference str - URI to use for block device. Example:
ami-0d4cfd66
- status str
- Status of block device.
- Sequence[Block
Device Tag Args] - Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
Block
Device Timeouts Args - updated_
at str - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- block
Device StringId - ID of the block device snapshot.
- capacity
In NumberGb - Capacity of block device in GB.
- constraints List<Property Map>
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- custom
Properties Map<String> - Additional custom properties that may be used to extend the machine.
- deployment
Id String - ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- disk
Content StringBase64 - Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expand
Snapshots Boolean - Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- external
Id String - External entity ID on provider side.
- external
Region StringId - External regionId of resource.
- external
Zone StringId - External zoneId of resource.
- links List<Property Map>
- HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- persistent Boolean
- Indicates whether block device survives a delete action.
- project
Id String - ID of project that current user belongs to.
- purge Boolean
- Indicates if the disk must be completely destroyed or should be kept in the system. Valid only for block devices with ‘persistent’ set to true. Used to destroy the resource.
- snapshots List<Property Map>
- Represents a machine snapshot.
- source
Reference String - URI to use for block device. Example:
ami-0d4cfd66
- status String
- Status of block device.
- List<Property Map>
- Set of tag keys and values to apply to the resource instance.
Example:
[ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts Property Map
- updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
Supporting Types
BlockDeviceConstraint, BlockDeviceConstraintArgs
- Expression string
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- Mandatory bool
- Indicates whether this constraint should be strictly enforced or not.
- Expression string
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- Mandatory bool
- Indicates whether this constraint should be strictly enforced or not.
- expression String
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- mandatory Boolean
- Indicates whether this constraint should be strictly enforced or not.
- expression string
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- mandatory boolean
- Indicates whether this constraint should be strictly enforced or not.
- expression str
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- mandatory bool
- Indicates whether this constraint should be strictly enforced or not.
- expression String
- An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.
- mandatory Boolean
- Indicates whether this constraint should be strictly enforced or not.
BlockDeviceLink, BlockDeviceLinkArgs
BlockDeviceSnapshot, BlockDeviceSnapshotArgs
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Id string
- ID of the block device snapshot.
- Is
Current bool - Indicates whether snapshot on block device is current.
- Links
List<Block
Device Snapshot Link> - HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- Created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- Id string
- ID of the block device snapshot.
- Is
Current bool - Indicates whether snapshot on block device is current.
- Links
[]Block
Device Snapshot Link - HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- id String
- ID of the block device snapshot.
- is
Current Boolean - Indicates whether snapshot on block device is current.
- links
List<Block
Device Snapshot Link> - HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At string - Date when entity was created. Date and time format is ISO 8601 and UTC.
- description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- id string
- ID of the block device snapshot.
- is
Current boolean - Indicates whether snapshot on block device is current.
- links
Block
Device Snapshot Link[] - HATEOAS of the entity
- name string
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id string - ID of organization that block device snapshot belongs to.
- owner string
- Email of block device snapshot owner.
- updated
At string - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created_
at str - Date when entity was created. Date and time format is ISO 8601 and UTC.
- description str
- Describes machine within the scope of your organization and is not propagated to the cloud.
- id str
- ID of the block device snapshot.
- is_
current bool - Indicates whether snapshot on block device is current.
- links
Sequence[Block
Device Snapshot Link] - HATEOAS of the entity
- name str
- Human-friendly name used as an identifier in APIs that support this option.
- org_
id str - ID of organization that block device snapshot belongs to.
- owner str
- Email of block device snapshot owner.
- updated_
at str - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- created
At String - Date when entity was created. Date and time format is ISO 8601 and UTC.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- id String
- ID of the block device snapshot.
- is
Current Boolean - Indicates whether snapshot on block device is current.
- links List<Property Map>
- HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- org
Id String - ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- updated
At String - Date when entity was last updated. Date and time format is ISO 8601 and UTC.
BlockDeviceSnapshotLink, BlockDeviceSnapshotLinkArgs
BlockDeviceTag, BlockDeviceTagArgs
BlockDeviceTimeouts, BlockDeviceTimeoutsArgs
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vra
Terraform Provider.