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.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:
- CapacityIn doubleGb 
- Capacity of block device in GB.
- ProjectId string
- ID of project that current user belongs to.
- BlockDevice stringId 
- ID of the block device snapshot.
- Constraints
List<BlockDevice Constraint> 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- CustomProperties Dictionary<string, string>
- Additional custom properties that may be used to extend the machine.
- DeploymentId string
- ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- DiskContent stringBase64 
- Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- ExpandSnapshots 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.
- SourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- 
List<BlockDevice Tag> 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
BlockDevice Timeouts 
- CapacityIn float64Gb 
- Capacity of block device in GB.
- ProjectId string
- ID of project that current user belongs to.
- BlockDevice stringId 
- ID of the block device snapshot.
- Constraints
[]BlockDevice Constraint Args 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- CustomProperties map[string]string
- Additional custom properties that may be used to extend the machine.
- DeploymentId string
- ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- DiskContent stringBase64 
- Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- ExpandSnapshots 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.
- SourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- 
[]BlockDevice Tag Args 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
BlockDevice Timeouts Args 
- capacityIn DoubleGb 
- Capacity of block device in GB.
- projectId String
- ID of project that current user belongs to.
- blockDevice StringId 
- ID of the block device snapshot.
- constraints
List<BlockDevice Constraint> 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- customProperties Map<String,String>
- Additional custom properties that may be used to extend the machine.
- deploymentId String
- ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent StringBase64 
- Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots 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.
- sourceReference String
- URI to use for block device. Example: ami-0d4cfd66
- 
List<BlockDevice Tag> 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice Timeouts 
- capacityIn numberGb 
- Capacity of block device in GB.
- projectId string
- ID of project that current user belongs to.
- blockDevice stringId 
- ID of the block device snapshot.
- constraints
BlockDevice Constraint[] 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- customProperties {[key: string]: string}
- Additional custom properties that may be used to extend the machine.
- deploymentId string
- ID of deployment associated with resource.
- description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent stringBase64 
- Content of a disk, base64 encoded.
- encrypted boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots 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.
- sourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- 
BlockDevice Tag[] 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice 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[BlockDevice 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[BlockDevice Tag Args] 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice Timeouts Args 
- capacityIn NumberGb 
- Capacity of block device in GB.
- projectId String
- ID of project that current user belongs to.
- blockDevice StringId 
- ID of the block device snapshot.
- constraints List<Property Map>
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- customProperties Map<String>
- Additional custom properties that may be used to extend the machine.
- deploymentId String
- ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent StringBase64 
- Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots 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.
- sourceReference 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:
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- ExternalId string
- External entity ID on provider side.
- ExternalRegion stringId 
- External regionId of resource.
- ExternalZone stringId 
- External zoneId of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<BlockDevice Link> 
- HATEOAS of the entity
- OrgId string
- ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Snapshots
List<BlockDevice Snapshot> 
- Represents a machine snapshot.
- Status string
- Status of block device.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- ExternalId string
- External entity ID on provider side.
- ExternalRegion stringId 
- External regionId of resource.
- ExternalZone stringId 
- External zoneId of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]BlockDevice Link 
- HATEOAS of the entity
- OrgId string
- ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- Snapshots
[]BlockDevice Snapshot Type 
- Represents a machine snapshot.
- Status string
- Status of block device.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- externalId String
- External entity ID on provider side.
- externalRegion StringId 
- External regionId of resource.
- externalZone StringId 
- External zoneId of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<BlockDevice Link> 
- HATEOAS of the entity
- orgId String
- ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- snapshots
List<BlockDevice Snapshot> 
- Represents a machine snapshot.
- status String
- Status of block device.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- externalId string
- External entity ID on provider side.
- externalRegion stringId 
- External regionId of resource.
- externalZone stringId 
- External zoneId of resource.
- id string
- The provider-assigned unique ID for this managed resource.
- links
BlockDevice Link[] 
- HATEOAS of the entity
- orgId string
- ID of organization that block device snapshot belongs to.
- owner string
- Email of block device snapshot owner.
- snapshots
BlockDevice Snapshot[] 
- Represents a machine snapshot.
- status string
- Status of block device.
- updatedAt 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[BlockDevice 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[BlockDevice 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.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- externalId String
- External entity ID on provider side.
- externalRegion StringId 
- External regionId of resource.
- externalZone StringId 
- External zoneId of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- HATEOAS of the entity
- orgId 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.
- updatedAt 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) -> BlockDevicefunc 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.
- BlockDevice stringId 
- ID of the block device snapshot.
- CapacityIn doubleGb 
- Capacity of block device in GB.
- Constraints
List<BlockDevice Constraint> 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- CustomProperties Dictionary<string, string>
- Additional custom properties that may be used to extend the machine.
- DeploymentId string
- ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- DiskContent stringBase64 
- Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- ExpandSnapshots bool
- Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- ExternalId string
- External entity ID on provider side.
- ExternalRegion stringId 
- External regionId of resource.
- ExternalZone stringId 
- External zoneId of resource.
- Links
List<BlockDevice Link> 
- HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- OrgId 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.
- ProjectId 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<BlockDevice Snapshot> 
- Represents a machine snapshot.
- SourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- Status string
- Status of block device.
- 
List<BlockDevice Tag> 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
BlockDevice Timeouts 
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- BlockDevice stringId 
- ID of the block device snapshot.
- CapacityIn float64Gb 
- Capacity of block device in GB.
- Constraints
[]BlockDevice Constraint Args 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- CreatedAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- CustomProperties map[string]string
- Additional custom properties that may be used to extend the machine.
- DeploymentId string
- ID of deployment associated with resource.
- Description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- DiskContent stringBase64 
- Content of a disk, base64 encoded.
- Encrypted bool
- Indicates whether block device should be encrypted or not.
- ExpandSnapshots bool
- Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- ExternalId string
- External entity ID on provider side.
- ExternalRegion stringId 
- External regionId of resource.
- ExternalZone stringId 
- External zoneId of resource.
- Links
[]BlockDevice Link Args 
- HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- OrgId 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.
- ProjectId 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
[]BlockDevice Snapshot Type Args 
- Represents a machine snapshot.
- SourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- Status string
- Status of block device.
- 
[]BlockDevice Tag Args 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- Timeouts
BlockDevice Timeouts Args 
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- blockDevice StringId 
- ID of the block device snapshot.
- capacityIn DoubleGb 
- Capacity of block device in GB.
- constraints
List<BlockDevice Constraint> 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- customProperties Map<String,String>
- Additional custom properties that may be used to extend the machine.
- deploymentId String
- ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent StringBase64 
- Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots Boolean
- Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- externalId String
- External entity ID on provider side.
- externalRegion StringId 
- External regionId of resource.
- externalZone StringId 
- External zoneId of resource.
- links
List<BlockDevice Link> 
- HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- orgId 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.
- projectId 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<BlockDevice Snapshot> 
- Represents a machine snapshot.
- sourceReference String
- URI to use for block device. Example: ami-0d4cfd66
- status String
- Status of block device.
- 
List<BlockDevice Tag> 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice Timeouts 
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- blockDevice stringId 
- ID of the block device snapshot.
- capacityIn numberGb 
- Capacity of block device in GB.
- constraints
BlockDevice Constraint[] 
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- createdAt string
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- customProperties {[key: string]: string}
- Additional custom properties that may be used to extend the machine.
- deploymentId string
- ID of deployment associated with resource.
- description string
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent stringBase64 
- Content of a disk, base64 encoded.
- encrypted boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots boolean
- Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- externalId string
- External entity ID on provider side.
- externalRegion stringId 
- External regionId of resource.
- externalZone stringId 
- External zoneId of resource.
- links
BlockDevice Link[] 
- HATEOAS of the entity
- name string
- Human-friendly name used as an identifier in APIs that support this option.
- orgId 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.
- projectId 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
BlockDevice Snapshot[] 
- Represents a machine snapshot.
- sourceReference string
- URI to use for block device. Example: ami-0d4cfd66
- status string
- Status of block device.
- 
BlockDevice Tag[] 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice Timeouts 
- updatedAt 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[BlockDevice 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[BlockDevice 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[BlockDevice 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[BlockDevice Tag Args] 
- Set of tag keys and values to apply to the resource instance.
Example: [ { "key" : "vmware.enumeration.type", "value": "nebs_block" } ]
- timeouts
BlockDevice Timeouts Args 
- updated_at str
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- blockDevice StringId 
- ID of the block device snapshot.
- capacityIn NumberGb 
- Capacity of block device in GB.
- constraints List<Property Map>
- Storage, network, and extensibility constraints to be applied when provisioning through the project.
- createdAt String
- Date when entity was created. Date and time format is ISO 8601 and UTC.
- customProperties Map<String>
- Additional custom properties that may be used to extend the machine.
- deploymentId String
- ID of deployment associated with resource.
- description String
- Describes machine within the scope of your organization and is not propagated to the cloud.
- diskContent StringBase64 
- Content of a disk, base64 encoded.
- encrypted Boolean
- Indicates whether block device should be encrypted or not.
- expandSnapshots Boolean
- Indicates whether snapshots of block devices should be included in the state. Applies only to first class block devices.
- externalId String
- External entity ID on provider side.
- externalRegion StringId 
- External regionId of resource.
- externalZone 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.
- orgId 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.
- projectId 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.
- sourceReference 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
- updatedAt 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      
- CreatedAt 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.
- IsCurrent bool
- Indicates whether snapshot on block device is current.
- Links
List<BlockDevice Snapshot Link> 
- HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- OrgId string
- ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- CreatedAt 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.
- IsCurrent bool
- Indicates whether snapshot on block device is current.
- Links
[]BlockDevice Snapshot Link 
- HATEOAS of the entity
- Name string
- Human-friendly name used as an identifier in APIs that support this option.
- OrgId string
- ID of organization that block device snapshot belongs to.
- Owner string
- Email of block device snapshot owner.
- UpdatedAt string
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt 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.
- isCurrent Boolean
- Indicates whether snapshot on block device is current.
- links
List<BlockDevice Snapshot Link> 
- HATEOAS of the entity
- name String
- Human-friendly name used as an identifier in APIs that support this option.
- orgId String
- ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- updatedAt String
- Date when entity was last updated. Date and time format is ISO 8601 and UTC.
- createdAt 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.
- isCurrent boolean
- Indicates whether snapshot on block device is current.
- links
BlockDevice Snapshot Link[] 
- HATEOAS of the entity
- name string
- Human-friendly name used as an identifier in APIs that support this option.
- orgId string
- ID of organization that block device snapshot belongs to.
- owner string
- Email of block device snapshot owner.
- updatedAt 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[BlockDevice 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.
- createdAt 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.
- isCurrent 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.
- orgId String
- ID of organization that block device snapshot belongs to.
- owner String
- Email of block device snapshot owner.
- updatedAt 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 vraTerraform Provider.