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

vra.StorageProfileAzure

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 azure resource.

    Vra storage profile azure:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    // Azure storage profile using vra_storage_profile_azure resource with managed disk.
    const thisStorageProfileAzure = new vra.StorageProfileAzure("thisStorageProfileAzure", {
        description: "Azure Storage Profile with managed disks.",
        regionId: data.vra_region["this"].id,
        defaultItem: false,
        supportsEncryption: false,
        dataDiskCaching: "None",
        diskType: "Standard_LRS",
        osDiskCaching: "None",
        tags: [{
            key: "foo",
            value: "bar",
        }],
    });
    // Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
    const thisIndex_storageProfileAzureStorageProfileAzure = new vra.StorageProfileAzure("thisIndex/storageProfileAzureStorageProfileAzure", {
        description: "Azure Storage Profile with unmanaged disks.",
        regionId: data.vra_region["this"].id,
        defaultItem: false,
        supportsEncryption: false,
        dataDiskCaching: "None",
        osDiskCaching: "None",
        tags: [{
            key: "foo",
            value: "bar",
        }],
    });
    
    import pulumi
    import pulumi_vra as vra
    
    # Azure storage profile using vra_storage_profile_azure resource with managed disk.
    this_storage_profile_azure = vra.StorageProfileAzure("thisStorageProfileAzure",
        description="Azure Storage Profile with managed disks.",
        region_id=data["vra_region"]["this"]["id"],
        default_item=False,
        supports_encryption=False,
        data_disk_caching="None",
        disk_type="Standard_LRS",
        os_disk_caching="None",
        tags=[{
            "key": "foo",
            "value": "bar",
        }])
    # Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
    this_index_storage_profile_azure_storage_profile_azure = vra.StorageProfileAzure("thisIndex/storageProfileAzureStorageProfileAzure",
        description="Azure Storage Profile with unmanaged disks.",
        region_id=data["vra_region"]["this"]["id"],
        default_item=False,
        supports_encryption=False,
        data_disk_caching="None",
        os_disk_caching="None",
        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 {
    		// Azure storage profile using vra_storage_profile_azure resource with managed disk.
    		_, err := vra.NewStorageProfileAzure(ctx, "thisStorageProfileAzure", &vra.StorageProfileAzureArgs{
    			Description:        pulumi.String("Azure Storage Profile with managed disks."),
    			RegionId:           pulumi.Any(data.Vra_region.This.Id),
    			DefaultItem:        pulumi.Bool(false),
    			SupportsEncryption: pulumi.Bool(false),
    			DataDiskCaching:    pulumi.String("None"),
    			DiskType:           pulumi.String("Standard_LRS"),
    			OsDiskCaching:      pulumi.String("None"),
    			Tags: vra.StorageProfileAzureTagArray{
    				&vra.StorageProfileAzureTagArgs{
    					Key:   pulumi.String("foo"),
    					Value: pulumi.String("bar"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
    		_, err = vra.NewStorageProfileAzure(ctx, "thisIndex/storageProfileAzureStorageProfileAzure", &vra.StorageProfileAzureArgs{
    			Description:        pulumi.String("Azure Storage Profile with unmanaged disks."),
    			RegionId:           pulumi.Any(data.Vra_region.This.Id),
    			DefaultItem:        pulumi.Bool(false),
    			SupportsEncryption: pulumi.Bool(false),
    			DataDiskCaching:    pulumi.String("None"),
    			OsDiskCaching:      pulumi.String("None"),
    			Tags: vra.StorageProfileAzureTagArray{
    				&vra.StorageProfileAzureTagArgs{
    					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(() => 
    {
        // Azure storage profile using vra_storage_profile_azure resource with managed disk.
        var thisStorageProfileAzure = new Vra.StorageProfileAzure("thisStorageProfileAzure", new()
        {
            Description = "Azure Storage Profile with managed disks.",
            RegionId = data.Vra_region.This.Id,
            DefaultItem = false,
            SupportsEncryption = false,
            DataDiskCaching = "None",
            DiskType = "Standard_LRS",
            OsDiskCaching = "None",
            Tags = new[]
            {
                new Vra.Inputs.StorageProfileAzureTagArgs
                {
                    Key = "foo",
                    Value = "bar",
                },
            },
        });
    
        // Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
        var thisIndex_storageProfileAzureStorageProfileAzure = new Vra.StorageProfileAzure("thisIndex/storageProfileAzureStorageProfileAzure", new()
        {
            Description = "Azure Storage Profile with unmanaged disks.",
            RegionId = data.Vra_region.This.Id,
            DefaultItem = false,
            SupportsEncryption = false,
            DataDiskCaching = "None",
            OsDiskCaching = "None",
            Tags = new[]
            {
                new Vra.Inputs.StorageProfileAzureTagArgs
                {
                    Key = "foo",
                    Value = "bar",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.StorageProfileAzure;
    import com.pulumi.vra.StorageProfileAzureArgs;
    import com.pulumi.vra.inputs.StorageProfileAzureTagArgs;
    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) {
            // Azure storage profile using vra_storage_profile_azure resource with managed disk.
            var thisStorageProfileAzure = new StorageProfileAzure("thisStorageProfileAzure", StorageProfileAzureArgs.builder()
                .description("Azure Storage Profile with managed disks.")
                .regionId(data.vra_region().this().id())
                .defaultItem(false)
                .supportsEncryption(false)
                .dataDiskCaching("None")
                .diskType("Standard_LRS")
                .osDiskCaching("None")
                .tags(StorageProfileAzureTagArgs.builder()
                    .key("foo")
                    .value("bar")
                    .build())
                .build());
    
            // Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
            var thisIndex_storageProfileAzureStorageProfileAzure = new StorageProfileAzure("thisIndex/storageProfileAzureStorageProfileAzure", StorageProfileAzureArgs.builder()
                .description("Azure Storage Profile with unmanaged disks.")
                .regionId(data.vra_region().this().id())
                .defaultItem(false)
                .supportsEncryption(false)
                .dataDiskCaching("None")
                .osDiskCaching("None")
                .tags(StorageProfileAzureTagArgs.builder()
                    .key("foo")
                    .value("bar")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Azure storage profile using vra_storage_profile_azure resource with managed disk.
      thisStorageProfileAzure:
        type: vra:StorageProfileAzure
        properties:
          description: Azure Storage Profile with managed disks.
          regionId: ${data.vra_region.this.id}
          defaultItem: false
          supportsEncryption: false
          dataDiskCaching: None
          # Supported Values: None, ReadOnly, ReadWrite
          diskType: Standard_LRS
          # Supported Values: Standard_LRS, StandardSSD_LRS, Premium_LRS
          osDiskCaching: None # Supported Values: None, ReadOnly, ReadWrite
          tags:
            - key: foo
              value: bar
      # Azure storage profile using vra_storage_profile_azure resource with unmanaged disk.
      thisIndex/storageProfileAzureStorageProfileAzure:
        type: vra:StorageProfileAzure
        properties:
          description: Azure Storage Profile with unmanaged disks.
          regionId: ${data.vra_region.this.id}
          defaultItem: false
          supportsEncryption: false
          dataDiskCaching: None
          # Supported Values: None, ReadOnly, ReadWrite
          osDiskCaching: None # Supported Values: None, ReadOnly, ReadWrite
          tags:
            - key: foo
              value: bar
    

    A storage profile azure resource supports the following arguments:

    Create StorageProfileAzure Resource

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

    Constructor syntax

    new StorageProfileAzure(name: string, args: StorageProfileAzureArgs, opts?: CustomResourceOptions);
    @overload
    def StorageProfileAzure(resource_name: str,
                            args: StorageProfileAzureArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageProfileAzure(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            default_item: Optional[bool] = None,
                            region_id: Optional[str] = None,
                            data_disk_caching: Optional[str] = None,
                            description: Optional[str] = None,
                            disk_type: Optional[str] = None,
                            name: Optional[str] = None,
                            os_disk_caching: Optional[str] = None,
                            storage_account_id: Optional[str] = None,
                            storage_profile_azure_id: Optional[str] = None,
                            supports_encryption: Optional[bool] = None,
                            tags: Optional[Sequence[StorageProfileAzureTagArgs]] = None)
    func NewStorageProfileAzure(ctx *Context, name string, args StorageProfileAzureArgs, opts ...ResourceOption) (*StorageProfileAzure, error)
    public StorageProfileAzure(string name, StorageProfileAzureArgs args, CustomResourceOptions? opts = null)
    public StorageProfileAzure(String name, StorageProfileAzureArgs args)
    public StorageProfileAzure(String name, StorageProfileAzureArgs args, CustomResourceOptions options)
    
    type: vra:StorageProfileAzure
    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 StorageProfileAzureArgs
    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 StorageProfileAzureArgs
    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 StorageProfileAzureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageProfileAzureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageProfileAzureArgs
    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 storageProfileAzureResource = new Vra.StorageProfileAzure("storageProfileAzureResource", new()
    {
        DefaultItem = false,
        RegionId = "string",
        DataDiskCaching = "string",
        Description = "string",
        DiskType = "string",
        Name = "string",
        OsDiskCaching = "string",
        StorageAccountId = "string",
        StorageProfileAzureId = "string",
        SupportsEncryption = false,
        Tags = new[]
        {
            new Vra.Inputs.StorageProfileAzureTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vra.NewStorageProfileAzure(ctx, "storageProfileAzureResource", &vra.StorageProfileAzureArgs{
    	DefaultItem:           pulumi.Bool(false),
    	RegionId:              pulumi.String("string"),
    	DataDiskCaching:       pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	DiskType:              pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	OsDiskCaching:         pulumi.String("string"),
    	StorageAccountId:      pulumi.String("string"),
    	StorageProfileAzureId: pulumi.String("string"),
    	SupportsEncryption:    pulumi.Bool(false),
    	Tags: vra.StorageProfileAzureTagArray{
    		&vra.StorageProfileAzureTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var storageProfileAzureResource = new StorageProfileAzure("storageProfileAzureResource", StorageProfileAzureArgs.builder()
        .defaultItem(false)
        .regionId("string")
        .dataDiskCaching("string")
        .description("string")
        .diskType("string")
        .name("string")
        .osDiskCaching("string")
        .storageAccountId("string")
        .storageProfileAzureId("string")
        .supportsEncryption(false)
        .tags(StorageProfileAzureTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    storage_profile_azure_resource = vra.StorageProfileAzure("storageProfileAzureResource",
        default_item=False,
        region_id="string",
        data_disk_caching="string",
        description="string",
        disk_type="string",
        name="string",
        os_disk_caching="string",
        storage_account_id="string",
        storage_profile_azure_id="string",
        supports_encryption=False,
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const storageProfileAzureResource = new vra.StorageProfileAzure("storageProfileAzureResource", {
        defaultItem: false,
        regionId: "string",
        dataDiskCaching: "string",
        description: "string",
        diskType: "string",
        name: "string",
        osDiskCaching: "string",
        storageAccountId: "string",
        storageProfileAzureId: "string",
        supportsEncryption: false,
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: vra:StorageProfileAzure
    properties:
        dataDiskCaching: string
        defaultItem: false
        description: string
        diskType: string
        name: string
        osDiskCaching: string
        regionId: string
        storageAccountId: string
        storageProfileAzureId: string
        supportsEncryption: false
        tags:
            - key: string
              value: string
    

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

    DefaultItem bool
    Indicates if this storage profile is a default profile.
    RegionId string
    A link to the region that is associated with the storage profile.
    DataDiskCaching string
    Indicates the caching mechanism for additional disk.
    Description string
    A human-friendly description.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OsDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    StorageAccountId string
    Id of a storage account where in the disk is placed.
    StorageProfileAzureId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags List<StorageProfileAzureTag>
    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
    A link to the region that is associated with the storage profile.
    DataDiskCaching string
    Indicates the caching mechanism for additional disk.
    Description string
    A human-friendly description.
    DiskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OsDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    StorageAccountId string
    Id of a storage account where in the disk is placed.
    StorageProfileAzureId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags []StorageProfileAzureTagArgs
    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
    A link to the region that is associated with the storage profile.
    dataDiskCaching String
    Indicates the caching mechanism for additional disk.
    description String
    A human-friendly description.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    osDiskCaching String
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    storageAccountId String
    Id of a storage account where in the disk is placed.
    storageProfileAzureId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<StorageProfileAzureTag>
    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
    A link to the region that is associated with the storage profile.
    dataDiskCaching string
    Indicates the caching mechanism for additional disk.
    description string
    A human-friendly description.
    diskType string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    osDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    storageAccountId string
    Id of a storage account where in the disk is placed.
    storageProfileAzureId string
    supportsEncryption boolean
    Indicates whether this storage policy should support encryption or not.
    tags StorageProfileAzureTag[]
    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
    A link to the region that is associated with the storage profile.
    data_disk_caching str
    Indicates the caching mechanism for additional disk.
    description str
    A human-friendly description.
    disk_type str
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    os_disk_caching str
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    storage_account_id str
    Id of a storage account where in the disk is placed.
    storage_profile_azure_id str
    supports_encryption bool
    Indicates whether this storage policy should support encryption or not.
    tags Sequence[StorageProfileAzureTagArgs]
    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
    A link to the region that is associated with the storage profile.
    dataDiskCaching String
    Indicates the caching mechanism for additional disk.
    description String
    A human-friendly description.
    diskType String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed.
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    osDiskCaching String
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    storageAccountId String
    Id of a storage account where in the disk is placed.
    storageProfileAzureId 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 StorageProfileAzure resource produces the following output properties:

    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<StorageProfileAzureLink>
    HATEOAS of the entity
    OrganizationId 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.
    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 []StorageProfileAzureLink
    HATEOAS of the entity
    OrganizationId 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.
    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<StorageProfileAzureLink>
    HATEOAS of the entity
    organizationId 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.
    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 StorageProfileAzureLink[]
    HATEOAS of the entity
    organizationId 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.
    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[StorageProfileAzureLink]
    HATEOAS of the entity
    organization_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.
    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
    organizationId 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 StorageProfileAzure Resource

    Get an existing StorageProfileAzure 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?: StorageProfileAzureState, opts?: CustomResourceOptions): StorageProfileAzure
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            data_disk_caching: Optional[str] = None,
            default_item: Optional[bool] = None,
            description: Optional[str] = None,
            disk_type: Optional[str] = None,
            external_region_id: Optional[str] = None,
            links: Optional[Sequence[StorageProfileAzureLinkArgs]] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            os_disk_caching: Optional[str] = None,
            owner: Optional[str] = None,
            region_id: Optional[str] = None,
            storage_account_id: Optional[str] = None,
            storage_profile_azure_id: Optional[str] = None,
            supports_encryption: Optional[bool] = None,
            tags: Optional[Sequence[StorageProfileAzureTagArgs]] = None,
            updated_at: Optional[str] = None) -> StorageProfileAzure
    func GetStorageProfileAzure(ctx *Context, name string, id IDInput, state *StorageProfileAzureState, opts ...ResourceOption) (*StorageProfileAzure, error)
    public static StorageProfileAzure Get(string name, Input<string> id, StorageProfileAzureState? state, CustomResourceOptions? opts = null)
    public static StorageProfileAzure get(String name, Output<String> id, StorageProfileAzureState state, CustomResourceOptions options)
    resources:  _:    type: vra:StorageProfileAzure    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:
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    DataDiskCaching string
    Indicates the caching mechanism for additional disk.
    DefaultItem bool
    Indicates if this storage profile is a default profile.
    Description string
    A human-friendly description.
    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.
    Links List<StorageProfileAzureLink>
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OrganizationId string
    The id of the organization this entity belongs to.
    OsDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    Owner string
    Email of the user that owns the entity.
    RegionId string
    A link to the region that is associated with the storage profile.
    StorageAccountId string
    Id of a storage account where in the disk is placed.
    StorageProfileAzureId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags List<StorageProfileAzureTag>
    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.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    DataDiskCaching string
    Indicates the caching mechanism for additional disk.
    DefaultItem bool
    Indicates if this storage profile is a default profile.
    Description string
    A human-friendly description.
    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.
    Links []StorageProfileAzureLinkArgs
    HATEOAS of the entity
    Name string
    A human-friendly name used as an identifier in APIs that support this option.
    OrganizationId string
    The id of the organization this entity belongs to.
    OsDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    Owner string
    Email of the user that owns the entity.
    RegionId string
    A link to the region that is associated with the storage profile.
    StorageAccountId string
    Id of a storage account where in the disk is placed.
    StorageProfileAzureId string
    SupportsEncryption bool
    Indicates whether this storage policy should support encryption or not.
    Tags []StorageProfileAzureTagArgs
    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.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    dataDiskCaching String
    Indicates the caching mechanism for additional disk.
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    description String
    A human-friendly description.
    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.
    links List<StorageProfileAzureLink>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    organizationId String
    The id of the organization this entity belongs to.
    osDiskCaching String
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    owner String
    Email of the user that owns the entity.
    regionId String
    A link to the region that is associated with the storage profile.
    storageAccountId String
    Id of a storage account where in the disk is placed.
    storageProfileAzureId String
    supportsEncryption Boolean
    Indicates whether this storage policy should support encryption or not.
    tags List<StorageProfileAzureTag>
    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.
    createdAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    dataDiskCaching string
    Indicates the caching mechanism for additional disk.
    defaultItem boolean
    Indicates if this storage profile is a default profile.
    description string
    A human-friendly description.
    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.
    links StorageProfileAzureLink[]
    HATEOAS of the entity
    name string
    A human-friendly name used as an identifier in APIs that support this option.
    organizationId string
    The id of the organization this entity belongs to.
    osDiskCaching string
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    owner string
    Email of the user that owns the entity.
    regionId string
    A link to the region that is associated with the storage profile.
    storageAccountId string
    Id of a storage account where in the disk is placed.
    storageProfileAzureId string
    supportsEncryption boolean
    Indicates whether this storage policy should support encryption or not.
    tags StorageProfileAzureTag[]
    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.
    created_at str
    Date when the entity was created. The date is in ISO 6801 and UTC.
    data_disk_caching str
    Indicates the caching mechanism for additional disk.
    default_item bool
    Indicates if this storage profile is a default profile.
    description str
    A human-friendly description.
    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.
    links Sequence[StorageProfileAzureLinkArgs]
    HATEOAS of the entity
    name str
    A human-friendly name used as an identifier in APIs that support this option.
    organization_id str
    The id of the organization this entity belongs to.
    os_disk_caching str
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    owner str
    Email of the user that owns the entity.
    region_id str
    A link to the region that is associated with the storage profile.
    storage_account_id str
    Id of a storage account where in the disk is placed.
    storage_profile_azure_id str
    supports_encryption bool
    Indicates whether this storage policy should support encryption or not.
    tags Sequence[StorageProfileAzureTagArgs]
    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.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    dataDiskCaching String
    Indicates the caching mechanism for additional disk.
    defaultItem Boolean
    Indicates if this storage profile is a default profile.
    description String
    A human-friendly description.
    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.
    links List<Property Map>
    HATEOAS of the entity
    name String
    A human-friendly name used as an identifier in APIs that support this option.
    organizationId String
    The id of the organization this entity belongs to.
    osDiskCaching String
    Indicates the caching mechanism for OS disk. Default policy for OS disks is Read/Write.
    owner String
    Email of the user that owns the entity.
    regionId String
    A link to the region that is associated with the storage profile.
    storageAccountId String
    Id of a storage account where in the disk is placed.
    storageProfileAzureId 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

    StorageProfileAzureTag, StorageProfileAzureTagArgs

    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