1. Packages
  2. Vra Provider
  3. API Docs
  4. StorageProfileVsphere
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

vra.StorageProfileVsphere

Explore with Pulumi AI

vra logo
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

    Example Usage

    S

    This is an example of how to create a storage profile vsphere resource.

    Vra storage profile vsphere:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    // vSphere storage profile using generic vra_storage_profile resource.
    const _this = new vra.StorageProfileVsphere("this", {
        description: "vSphere Storage Profile with FCD disk.",
        regionId: data.vra_region["this"].id,
        defaultItem: false,
        diskType: "firstClass",
        provisioningType: "thin",
        datastoreId: data.vra_fabric_datastore_vsphere["this"].id,
        storagePolicyId: data.vra_fabric_storage_policy_vsphere["this"].id,
        tags: [{
            key: "foo",
            value: "bar",
        }],
    });
    
    import pulumi
    import pulumi_vra as vra
    
    # vSphere storage profile using generic vra_storage_profile resource.
    this = vra.StorageProfileVsphere("this",
        description="vSphere Storage Profile with FCD disk.",
        region_id=data["vra_region"]["this"]["id"],
        default_item=False,
        disk_type="firstClass",
        provisioning_type="thin",
        datastore_id=data["vra_fabric_datastore_vsphere"]["this"]["id"],
        storage_policy_id=data["vra_fabric_storage_policy_vsphere"]["this"]["id"],
        tags=[{
            "key": "foo",
            "value": "bar",
        }])
    
    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 {
    		// vSphere storage profile using generic vra_storage_profile resource.
    		_, err := vra.NewStorageProfileVsphere(ctx, "this", &vra.StorageProfileVsphereArgs{
    			Description:      pulumi.String("vSphere Storage Profile with FCD disk."),
    			RegionId:         pulumi.Any(data.Vra_region.This.Id),
    			DefaultItem:      pulumi.Bool(false),
    			DiskType:         pulumi.String("firstClass"),
    			ProvisioningType: pulumi.String("thin"),
    			DatastoreId:      pulumi.Any(data.Vra_fabric_datastore_vsphere.This.Id),
    			StoragePolicyId:  pulumi.Any(data.Vra_fabric_storage_policy_vsphere.This.Id),
    			Tags: vra.StorageProfileVsphereTagArray{
    				&vra.StorageProfileVsphereTagArgs{
    					Key:   pulumi.String("foo"),
    					Value: pulumi.String("bar"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vra = Pulumi.Vra;
    
    return await Deployment.RunAsync(() => 
    {
        // vSphere storage profile using generic vra_storage_profile resource.
        var @this = new Vra.StorageProfileVsphere("this", new()
        {
            Description = "vSphere Storage Profile with FCD disk.",
            RegionId = data.Vra_region.This.Id,
            DefaultItem = false,
            DiskType = "firstClass",
            ProvisioningType = "thin",
            DatastoreId = data.Vra_fabric_datastore_vsphere.This.Id,
            StoragePolicyId = data.Vra_fabric_storage_policy_vsphere.This.Id,
            Tags = new[]
            {
                new Vra.Inputs.StorageProfileVsphereTagArgs
                {
                    Key = "foo",
                    Value = "bar",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.StorageProfileVsphere;
    import com.pulumi.vra.StorageProfileVsphereArgs;
    import com.pulumi.vra.inputs.StorageProfileVsphereTagArgs;
    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) {
            // vSphere storage profile using generic vra_storage_profile resource.
            var this_ = new StorageProfileVsphere("this", StorageProfileVsphereArgs.builder()
                .description("vSphere Storage Profile with FCD disk.")
                .regionId(data.vra_region().this().id())
                .defaultItem(false)
                .diskType("firstClass")
                .provisioningType("thin")
                .datastoreId(data.vra_fabric_datastore_vsphere().this().id())
                .storagePolicyId(data.vra_fabric_storage_policy_vsphere().this().id())
                .tags(StorageProfileVsphereTagArgs.builder()
                    .key("foo")
                    .value("bar")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # vSphere storage profile using generic vra_storage_profile resource.
      this:
        type: vra:StorageProfileVsphere
        properties:
          description: vSphere Storage Profile with FCD disk.
          regionId: ${data.vra_region.this.id}
          defaultItem: false
          diskType: firstClass
          provisioningType: thin # Supported values: "thin", "thick", "eagerZeroedThick"
          datastoreId: ${data.vra_fabric_datastore_vsphere.this.id}
          storagePolicyId: ${data.vra_fabric_storage_policy_vsphere.this.id} # Remove it if datastore default storage policy needs to be selected.
          tags:
            - key: foo
              value: bar
    

    A storage profile vsphere resource supports the following arguments:

    Create StorageProfileVsphere Resource

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

    Constructor syntax

    new StorageProfileVsphere(name: string, args: StorageProfileVsphereArgs, opts?: CustomResourceOptions);
    @overload
    def StorageProfileVsphere(resource_name: str,
                              args: StorageProfileVsphereArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageProfileVsphere(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              region_id: Optional[str] = None,
                              default_item: Optional[bool] = None,
                              name: Optional[str] = None,
                              disk_mode: Optional[str] = None,
                              disk_type: Optional[str] = None,
                              limit_iops: Optional[str] = None,
                              datastore_id: Optional[str] = None,
                              provisioning_type: Optional[str] = None,
                              description: Optional[str] = None,
                              shares: Optional[str] = None,
                              shares_level: Optional[str] = None,
                              storage_policy_id: Optional[str] = None,
                              storage_profile_vsphere_id: Optional[str] = None,
                              supports_encryption: Optional[bool] = None,
                              tags: Optional[Sequence[StorageProfileVsphereTagArgs]] = None)
    func NewStorageProfileVsphere(ctx *Context, name string, args StorageProfileVsphereArgs, opts ...ResourceOption) (*StorageProfileVsphere, error)
    public StorageProfileVsphere(string name, StorageProfileVsphereArgs args, CustomResourceOptions? opts = null)
    public StorageProfileVsphere(String name, StorageProfileVsphereArgs args)
    public StorageProfileVsphere(String name, StorageProfileVsphereArgs args, CustomResourceOptions options)
    
    type: vra:StorageProfileVsphere
    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 StorageProfileVsphereArgs
    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 StorageProfileVsphereArgs
    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 StorageProfileVsphereArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageProfileVsphereArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageProfileVsphereArgs
    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 storageProfileVsphereResource = new Vra.StorageProfileVsphere("storageProfileVsphereResource", new()
    {
        RegionId = "string",
        DefaultItem = false,
        Name = "string",
        DiskMode = "string",
        DiskType = "string",
        LimitIops = "string",
        DatastoreId = "string",
        ProvisioningType = "string",
        Description = "string",
        Shares = "string",
        SharesLevel = "string",
        StoragePolicyId = "string",
        StorageProfileVsphereId = "string",
        SupportsEncryption = false,
        Tags = new[]
        {
            new Vra.Inputs.StorageProfileVsphereTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vra.NewStorageProfileVsphere(ctx, "storageProfileVsphereResource", &vra.StorageProfileVsphereArgs{
    	RegionId:                pulumi.String("string"),
    	DefaultItem:             pulumi.Bool(false),
    	Name:                    pulumi.String("string"),
    	DiskMode:                pulumi.String("string"),
    	DiskType:                pulumi.String("string"),
    	LimitIops:               pulumi.String("string"),
    	DatastoreId:             pulumi.String("string"),
    	ProvisioningType:        pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Shares:                  pulumi.String("string"),
    	SharesLevel:             pulumi.String("string"),
    	StoragePolicyId:         pulumi.String("string"),
    	StorageProfileVsphereId: pulumi.String("string"),
    	SupportsEncryption:      pulumi.Bool(false),
    	Tags: vra.StorageProfileVsphereTagArray{
    		&vra.StorageProfileVsphereTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var storageProfileVsphereResource = new StorageProfileVsphere("storageProfileVsphereResource", StorageProfileVsphereArgs.builder()
        .regionId("string")
        .defaultItem(false)
        .name("string")
        .diskMode("string")
        .diskType("string")
        .limitIops("string")
        .datastoreId("string")
        .provisioningType("string")
        .description("string")
        .shares("string")
        .sharesLevel("string")
        .storagePolicyId("string")
        .storageProfileVsphereId("string")
        .supportsEncryption(false)
        .tags(StorageProfileVsphereTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    storage_profile_vsphere_resource = vra.StorageProfileVsphere("storageProfileVsphereResource",
        region_id="string",
        default_item=False,
        name="string",
        disk_mode="string",
        disk_type="string",
        limit_iops="string",
        datastore_id="string",
        provisioning_type="string",
        description="string",
        shares="string",
        shares_level="string",
        storage_policy_id="string",
        storage_profile_vsphere_id="string",
        supports_encryption=False,
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const storageProfileVsphereResource = new vra.StorageProfileVsphere("storageProfileVsphereResource", {
        regionId: "string",
        defaultItem: false,
        name: "string",
        diskMode: "string",
        diskType: "string",
        limitIops: "string",
        datastoreId: "string",
        provisioningType: "string",
        description: "string",
        shares: "string",
        sharesLevel: "string",
        storagePolicyId: "string",
        storageProfileVsphereId: "string",
        supportsEncryption: false,
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: vra:StorageProfileVsphere
    properties:
        datastoreId: string
        defaultItem: false
        description: string
        diskMode: string
        diskType: string
        limitIops: string
        name: string
        provisioningType: string
        regionId: string
        shares: string
        sharesLevel: string
        storagePolicyId: string
        storageProfileVsphereId: string
        supportsEncryption: false
        tags:
            - key: string
              value: string
    

    StorageProfileVsphere 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 StorageProfileVsphere resource accepts the following input properties:

    DefaultItem bool
    Indicates if this storage profile is a default profile.
    RegionId string
    The Id of the region that is associated with the storage profile.
    DatastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    Description string
    A human-friendly description.
    DiskMode string
    Type of mode for the disk.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    LimitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    ProvisioningType string
    Type of provisioning policy for the disk.
    Shares string
    A specific number of shares assigned to each virtual machine.
    SharesLevel string
    Indicates whether this storage profile supports encryption or not.
    StoragePolicyId string
    Id of the vSphere Storage Policy to be applied.
    StorageProfileVsphereId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags List<StorageProfileVsphereTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    DefaultItem bool
    Indicates if this storage profile is a default profile.
    RegionId string
    The Id of the region that is associated with the storage profile.
    DatastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    Description string
    A human-friendly description.
    DiskMode string
    Type of mode for the disk.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    LimitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    ProvisioningType string
    Type of provisioning policy for the disk.
    Shares string
    A specific number of shares assigned to each virtual machine.
    SharesLevel string
    Indicates whether this storage profile supports encryption or not.
    StoragePolicyId string
    Id of the vSphere Storage Policy to be applied.
    StorageProfileVsphereId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags []StorageProfileVsphereTagArgs
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    regionId String
    The Id of the region that is associated with the storage profile.
    datastoreId String
    Id of the vSphere Datastore for placing disk and VM.
    description String
    A human-friendly description.
    diskMode String
    Type of mode for the disk.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    limitIops String
    The upper bound for the I/O operations per second allocated for each virtual disk.
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    provisioningType String
    Type of provisioning policy for the disk.
    shares String
    A specific number of shares assigned to each virtual machine.
    sharesLevel String
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId String
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<StorageProfileVsphereTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    defaultItem boolean
    Indicates if this storage profile is a default profile.
    regionId string
    The Id of the region that is associated with the storage profile.
    datastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    description string
    A human-friendly description.
    diskMode string
    Type of mode for the disk.
    diskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    limitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    provisioningType string
    Type of provisioning policy for the disk.
    shares string
    A specific number of shares assigned to each virtual machine.
    sharesLevel string
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId string
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId string
    supportsEncryption boolean
    Indicates whether this storage policy should support encryption or not.
    tags StorageProfileVsphereTag[]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    default_item bool
    Indicates if this storage profile is a default profile.
    region_id str
    The Id of the region that is associated with the storage profile.
    datastore_id str
    Id of the vSphere Datastore for placing disk and VM.
    description str
    A human-friendly description.
    disk_mode str
    Type of mode for the disk.
    disk_type str
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    limit_iops str
    The upper bound for the I/O operations per second allocated for each virtual disk.
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    provisioning_type str
    Type of provisioning policy for the disk.
    shares str
    A specific number of shares assigned to each virtual machine.
    shares_level str
    Indicates whether this storage profile supports encryption or not.
    storage_policy_id str
    Id of the vSphere Storage Policy to be applied.
    storage_profile_vsphere_id str
    supports_encryption bool
    Indicates whether this storage policy should support encryption or not.
    tags Sequence[StorageProfileVsphereTagArgs]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    regionId String
    The Id of the region that is associated with the storage profile.
    datastoreId String
    Id of the vSphere Datastore for placing disk and VM.
    description String
    A human-friendly description.
    diskMode String
    Type of mode for the disk.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    limitIops String
    The upper bound for the I/O operations per second allocated for each virtual disk.
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    provisioningType String
    Type of provisioning policy for the disk.
    shares String
    A specific number of shares assigned to each virtual machine.
    sharesLevel String
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId String
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<Property Map>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]

    Outputs

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

    CloudAccountId string
    Id of the cloud account this storage profile belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    ExternalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<StorageProfileVsphereLink>
    HATEOAS of the entity
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    CloudAccountId string
    Id of the cloud account this storage profile belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    ExternalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []StorageProfileVsphereLink
    HATEOAS of the entity
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    Id of the cloud account this storage profile belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    externalRegionId String
    The id of the region as seen in the cloud provider for which this profile is defined.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<StorageProfileVsphereLink>
    HATEOAS of the entity
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId string
    Id of the cloud account this storage profile belongs to.
    createdAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    externalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    id string
    The provider-assigned unique ID for this managed resource.
    links StorageProfileVsphereLink[]
    HATEOAS of the entity
    orgId string
    The id of the organization this entity belongs to.
    owner string
    Email of the user that owns the entity.
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloud_account_id str
    Id of the cloud account this storage profile belongs to.
    created_at str
    Date when the entity was created. The date is in ISO 6801 and UTC.
    external_region_id str
    The id of the region as seen in the cloud provider for which this profile is defined.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[StorageProfileVsphereLink]
    HATEOAS of the entity
    org_id str
    The id of the organization this entity belongs to.
    owner str
    Email of the user that owns the entity.
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    Id of the cloud account this storage profile belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    externalRegionId String
    The id of the region as seen in the cloud provider for which this profile is defined.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    HATEOAS of the entity
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.

    Look up Existing StorageProfileVsphere Resource

    Get an existing StorageProfileVsphere 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?: StorageProfileVsphereState, opts?: CustomResourceOptions): StorageProfileVsphere
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            datastore_id: Optional[str] = None,
            default_item: Optional[bool] = None,
            description: Optional[str] = None,
            disk_mode: Optional[str] = None,
            disk_type: Optional[str] = None,
            external_region_id: Optional[str] = None,
            limit_iops: Optional[str] = None,
            links: Optional[Sequence[StorageProfileVsphereLinkArgs]] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            owner: Optional[str] = None,
            provisioning_type: Optional[str] = None,
            region_id: Optional[str] = None,
            shares: Optional[str] = None,
            shares_level: Optional[str] = None,
            storage_policy_id: Optional[str] = None,
            storage_profile_vsphere_id: Optional[str] = None,
            supports_encryption: Optional[bool] = None,
            tags: Optional[Sequence[StorageProfileVsphereTagArgs]] = None,
            updated_at: Optional[str] = None) -> StorageProfileVsphere
    func GetStorageProfileVsphere(ctx *Context, name string, id IDInput, state *StorageProfileVsphereState, opts ...ResourceOption) (*StorageProfileVsphere, error)
    public static StorageProfileVsphere Get(string name, Input<string> id, StorageProfileVsphereState? state, CustomResourceOptions? opts = null)
    public static StorageProfileVsphere get(String name, Output<String> id, StorageProfileVsphereState state, CustomResourceOptions options)
    resources:  _:    type: vra:StorageProfileVsphere    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.
    The following state arguments are supported:
    CloudAccountId string
    Id of the cloud account this storage profile belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    DatastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    DefaultItem bool
    Indicates if this storage profile is a default profile.
    Description string
    A human-friendly description.
    DiskMode string
    Type of mode for the disk.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    ExternalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    LimitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    Links List<StorageProfileVsphereLink>
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    ProvisioningType string
    Type of provisioning policy for the disk.
    RegionId string
    The Id of the region that is associated with the storage profile.
    Shares string
    A specific number of shares assigned to each virtual machine.
    SharesLevel string
    Indicates whether this storage profile supports encryption or not.
    StoragePolicyId string
    Id of the vSphere Storage Policy to be applied.
    StorageProfileVsphereId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags List<StorageProfileVsphereTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    CloudAccountId string
    Id of the cloud account this storage profile belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    DatastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    DefaultItem bool
    Indicates if this storage profile is a default profile.
    Description string
    A human-friendly description.
    DiskMode string
    Type of mode for the disk.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    ExternalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    LimitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    Links []StorageProfileVsphereLinkArgs
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    ProvisioningType string
    Type of provisioning policy for the disk.
    RegionId string
    The Id of the region that is associated with the storage profile.
    Shares string
    A specific number of shares assigned to each virtual machine.
    SharesLevel string
    Indicates whether this storage profile supports encryption or not.
    StoragePolicyId string
    Id of the vSphere Storage Policy to be applied.
    StorageProfileVsphereId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags []StorageProfileVsphereTagArgs
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    Id of the cloud account this storage profile belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    datastoreId String
    Id of the vSphere Datastore for placing disk and VM.
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    description String
    A human-friendly description.
    diskMode String
    Type of mode for the disk.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    externalRegionId String
    The id of the region as seen in the cloud provider for which this profile is defined.
    limitIops String
    The upper bound for the I/O operations per second allocated for each virtual disk.
    links List<StorageProfileVsphereLink>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    provisioningType String
    Type of provisioning policy for the disk.
    regionId String
    The Id of the region that is associated with the storage profile.
    shares String
    A specific number of shares assigned to each virtual machine.
    sharesLevel String
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId String
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<StorageProfileVsphereTag>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId string
    Id of the cloud account this storage profile belongs to.
    createdAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    datastoreId string
    Id of the vSphere Datastore for placing disk and VM.
    defaultItem boolean
    Indicates if this storage profile is a default profile.
    description string
    A human-friendly description.
    diskMode string
    Type of mode for the disk.
    diskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    externalRegionId string
    The id of the region as seen in the cloud provider for which this profile is defined.
    limitIops string
    The upper bound for the I/O operations per second allocated for each virtual disk.
    links StorageProfileVsphereLink[]
    HATEOAS of the entity
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    orgId string
    The id of the organization this entity belongs to.
    owner string
    Email of the user that owns the entity.
    provisioningType string
    Type of provisioning policy for the disk.
    regionId string
    The Id of the region that is associated with the storage profile.
    shares string
    A specific number of shares assigned to each virtual machine.
    sharesLevel string
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId string
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId string
    supportsEncryption boolean
    Indicates whether this storage policy should support encryption or not.
    tags StorageProfileVsphereTag[]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloud_account_id str
    Id of the cloud account this storage profile belongs to.
    created_at str
    Date when the entity was created. The date is in ISO 6801 and UTC.
    datastore_id str
    Id of the vSphere Datastore for placing disk and VM.
    default_item bool
    Indicates if this storage profile is a default profile.
    description str
    A human-friendly description.
    disk_mode str
    Type of mode for the disk.
    disk_type str
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    external_region_id str
    The id of the region as seen in the cloud provider for which this profile is defined.
    limit_iops str
    The upper bound for the I/O operations per second allocated for each virtual disk.
    links Sequence[StorageProfileVsphereLinkArgs]
    HATEOAS of the entity
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    org_id str
    The id of the organization this entity belongs to.
    owner str
    Email of the user that owns the entity.
    provisioning_type str
    Type of provisioning policy for the disk.
    region_id str
    The Id of the region that is associated with the storage profile.
    shares str
    A specific number of shares assigned to each virtual machine.
    shares_level str
    Indicates whether this storage profile supports encryption or not.
    storage_policy_id str
    Id of the vSphere Storage Policy to be applied.
    storage_profile_vsphere_id str
    supports_encryption bool
    Indicates whether this storage policy should support encryption or not.
    tags Sequence[StorageProfileVsphereTagArgs]
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    Id of the cloud account this storage profile belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    datastoreId String
    Id of the vSphere Datastore for placing disk and VM.
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    description String
    A human-friendly description.
    diskMode String
    Type of mode for the disk.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    externalRegionId String
    The id of the region as seen in the cloud provider for which this profile is defined.
    limitIops String
    The upper bound for the I/O operations per second allocated for each virtual disk.
    links List<Property Map>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    provisioningType String
    Type of provisioning policy for the disk.
    regionId String
    The Id of the region that is associated with the storage profile.
    shares String
    A specific number of shares assigned to each virtual machine.
    sharesLevel String
    Indicates whether this storage profile supports encryption or not.
    storagePolicyId String
    Id of the vSphere Storage Policy to be applied.
    storageProfileVsphereId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<Property Map>
    A set of tag keys and optional values that were set on this Network Profile. example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.

    Supporting Types

    Href string
    Hrefs List<string>
    Rel string
    Href string
    Hrefs []string
    Rel string
    href String
    hrefs List<String>
    rel String
    href string
    hrefs string[]
    rel string
    href str
    hrefs Sequence[str]
    rel str
    href String
    hrefs List<String>
    rel String

    StorageProfileVsphereTag, StorageProfileVsphereTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.12.0 published on Monday, Apr 14, 2025 by vmware