vra.StorageProfile
Explore with Pulumi AI
Example Usage
S
This is an example of how to create a storage profile resource.
Vra storage profile:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
// vSphere storage profile using generic vra_storage_profile resource.
const thisStorageProfile = new vra.StorageProfile("thisStorageProfile", {
description: "vSphere Storage Profile with standard independent non-persistent disk.",
regionId: data.vra_region["this"].id,
defaultItem: false,
diskProperties: {
independent: "true",
persistent: "false",
limitIops: "2000",
provisioningType: "eagerZeroedThick",
sharesLevel: "custom",
shares: "1500",
},
diskTargetProperties: {
datastoreId: data.vra_fabric_datastore_vsphere["this"].id,
storagePolicyId: data.vra_fabric_storage_policy_vsphere["this"].id,
},
tags: [{
key: "foo",
value: "bar",
}],
});
// AWS storage profile using generic vra_storage_profile resource.
const thisIndex_storageProfileStorageProfile = new vra.StorageProfile("thisIndex/storageProfileStorageProfile", {
description: "AWS Storage Profile with instance store device type.",
regionId: data.vra_region["this"].id,
defaultItem: false,
diskProperties: {
deviceType: "instance-store",
},
tags: [{
key: "foo",
value: "bar",
}],
});
// Azure storage profile using generic vra_storage_profile resource.
const thisVraIndex_storageProfileStorageProfile = new vra.StorageProfile("thisVraIndex/storageProfileStorageProfile", {
description: "Azure Storage Profile with managed disks.",
regionId: data.vra_region["this"].id,
defaultItem: false,
supportsEncryption: false,
diskProperties: {
azureDataDiskCaching: "None",
azureManagedDiskType: "Standard_LRS",
azureOsDiskCaching: "None",
},
tags: [{
key: "foo",
value: "bar",
}],
});
import pulumi
import pulumi_vra as vra
# vSphere storage profile using generic vra_storage_profile resource.
this_storage_profile = vra.StorageProfile("thisStorageProfile",
description="vSphere Storage Profile with standard independent non-persistent disk.",
region_id=data["vra_region"]["this"]["id"],
default_item=False,
disk_properties={
"independent": "true",
"persistent": "false",
"limitIops": "2000",
"provisioningType": "eagerZeroedThick",
"sharesLevel": "custom",
"shares": "1500",
},
disk_target_properties={
"datastoreId": data["vra_fabric_datastore_vsphere"]["this"]["id"],
"storagePolicyId": data["vra_fabric_storage_policy_vsphere"]["this"]["id"],
},
tags=[{
"key": "foo",
"value": "bar",
}])
# AWS storage profile using generic vra_storage_profile resource.
this_index_storage_profile_storage_profile = vra.StorageProfile("thisIndex/storageProfileStorageProfile",
description="AWS Storage Profile with instance store device type.",
region_id=data["vra_region"]["this"]["id"],
default_item=False,
disk_properties={
"deviceType": "instance-store",
},
tags=[{
"key": "foo",
"value": "bar",
}])
# Azure storage profile using generic vra_storage_profile resource.
this_vra_index_storage_profile_storage_profile = vra.StorageProfile("thisVraIndex/storageProfileStorageProfile",
description="Azure Storage Profile with managed disks.",
region_id=data["vra_region"]["this"]["id"],
default_item=False,
supports_encryption=False,
disk_properties={
"azureDataDiskCaching": "None",
"azureManagedDiskType": "Standard_LRS",
"azureOsDiskCaching": "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 {
// vSphere storage profile using generic vra_storage_profile resource.
_, err := vra.NewStorageProfile(ctx, "thisStorageProfile", &vra.StorageProfileArgs{
Description: pulumi.String("vSphere Storage Profile with standard independent non-persistent disk."),
RegionId: pulumi.Any(data.Vra_region.This.Id),
DefaultItem: pulumi.Bool(false),
DiskProperties: pulumi.StringMap{
"independent": pulumi.String("true"),
"persistent": pulumi.String("false"),
"limitIops": pulumi.String("2000"),
"provisioningType": pulumi.String("eagerZeroedThick"),
"sharesLevel": pulumi.String("custom"),
"shares": pulumi.String("1500"),
},
DiskTargetProperties: pulumi.StringMap{
"datastoreId": pulumi.Any(data.Vra_fabric_datastore_vsphere.This.Id),
"storagePolicyId": pulumi.Any(data.Vra_fabric_storage_policy_vsphere.This.Id),
},
Tags: vra.StorageProfileTagArray{
&vra.StorageProfileTagArgs{
Key: pulumi.String("foo"),
Value: pulumi.String("bar"),
},
},
})
if err != nil {
return err
}
// AWS storage profile using generic vra_storage_profile resource.
_, err = vra.NewStorageProfile(ctx, "thisIndex/storageProfileStorageProfile", &vra.StorageProfileArgs{
Description: pulumi.String("AWS Storage Profile with instance store device type."),
RegionId: pulumi.Any(data.Vra_region.This.Id),
DefaultItem: pulumi.Bool(false),
DiskProperties: pulumi.StringMap{
"deviceType": pulumi.String("instance-store"),
},
Tags: vra.StorageProfileTagArray{
&vra.StorageProfileTagArgs{
Key: pulumi.String("foo"),
Value: pulumi.String("bar"),
},
},
})
if err != nil {
return err
}
// Azure storage profile using generic vra_storage_profile resource.
_, err = vra.NewStorageProfile(ctx, "thisVraIndex/storageProfileStorageProfile", &vra.StorageProfileArgs{
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),
DiskProperties: pulumi.StringMap{
"azureDataDiskCaching": pulumi.String("None"),
"azureManagedDiskType": pulumi.String("Standard_LRS"),
"azureOsDiskCaching": pulumi.String("None"),
},
Tags: vra.StorageProfileTagArray{
&vra.StorageProfileTagArgs{
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 thisStorageProfile = new Vra.StorageProfile("thisStorageProfile", new()
{
Description = "vSphere Storage Profile with standard independent non-persistent disk.",
RegionId = data.Vra_region.This.Id,
DefaultItem = false,
DiskProperties =
{
{ "independent", "true" },
{ "persistent", "false" },
{ "limitIops", "2000" },
{ "provisioningType", "eagerZeroedThick" },
{ "sharesLevel", "custom" },
{ "shares", "1500" },
},
DiskTargetProperties =
{
{ "datastoreId", data.Vra_fabric_datastore_vsphere.This.Id },
{ "storagePolicyId", data.Vra_fabric_storage_policy_vsphere.This.Id },
},
Tags = new[]
{
new Vra.Inputs.StorageProfileTagArgs
{
Key = "foo",
Value = "bar",
},
},
});
// AWS storage profile using generic vra_storage_profile resource.
var thisIndex_storageProfileStorageProfile = new Vra.StorageProfile("thisIndex/storageProfileStorageProfile", new()
{
Description = "AWS Storage Profile with instance store device type.",
RegionId = data.Vra_region.This.Id,
DefaultItem = false,
DiskProperties =
{
{ "deviceType", "instance-store" },
},
Tags = new[]
{
new Vra.Inputs.StorageProfileTagArgs
{
Key = "foo",
Value = "bar",
},
},
});
// Azure storage profile using generic vra_storage_profile resource.
var thisVraIndex_storageProfileStorageProfile = new Vra.StorageProfile("thisVraIndex/storageProfileStorageProfile", new()
{
Description = "Azure Storage Profile with managed disks.",
RegionId = data.Vra_region.This.Id,
DefaultItem = false,
SupportsEncryption = false,
DiskProperties =
{
{ "azureDataDiskCaching", "None" },
{ "azureManagedDiskType", "Standard_LRS" },
{ "azureOsDiskCaching", "None" },
},
Tags = new[]
{
new Vra.Inputs.StorageProfileTagArgs
{
Key = "foo",
Value = "bar",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.StorageProfile;
import com.pulumi.vra.StorageProfileArgs;
import com.pulumi.vra.inputs.StorageProfileTagArgs;
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 thisStorageProfile = new StorageProfile("thisStorageProfile", StorageProfileArgs.builder()
.description("vSphere Storage Profile with standard independent non-persistent disk.")
.regionId(data.vra_region().this().id())
.defaultItem(false)
.diskProperties(Map.ofEntries(
Map.entry("independent", "true"),
Map.entry("persistent", "false"),
Map.entry("limitIops", "2000"),
Map.entry("provisioningType", "eagerZeroedThick"),
Map.entry("sharesLevel", "custom"),
Map.entry("shares", "1500")
))
.diskTargetProperties(Map.ofEntries(
Map.entry("datastoreId", data.vra_fabric_datastore_vsphere().this().id()),
Map.entry("storagePolicyId", data.vra_fabric_storage_policy_vsphere().this().id())
))
.tags(StorageProfileTagArgs.builder()
.key("foo")
.value("bar")
.build())
.build());
// AWS storage profile using generic vra_storage_profile resource.
var thisIndex_storageProfileStorageProfile = new StorageProfile("thisIndex/storageProfileStorageProfile", StorageProfileArgs.builder()
.description("AWS Storage Profile with instance store device type.")
.regionId(data.vra_region().this().id())
.defaultItem(false)
.diskProperties(Map.of("deviceType", "instance-store"))
.tags(StorageProfileTagArgs.builder()
.key("foo")
.value("bar")
.build())
.build());
// Azure storage profile using generic vra_storage_profile resource.
var thisVraIndex_storageProfileStorageProfile = new StorageProfile("thisVraIndex/storageProfileStorageProfile", StorageProfileArgs.builder()
.description("Azure Storage Profile with managed disks.")
.regionId(data.vra_region().this().id())
.defaultItem(false)
.supportsEncryption(false)
.diskProperties(Map.ofEntries(
Map.entry("azureDataDiskCaching", "None"),
Map.entry("azureManagedDiskType", "Standard_LRS"),
Map.entry("azureOsDiskCaching", "None")
))
.tags(StorageProfileTagArgs.builder()
.key("foo")
.value("bar")
.build())
.build());
}
}
resources:
# vSphere storage profile using generic vra_storage_profile resource.
thisStorageProfile:
type: vra:StorageProfile
properties:
description: vSphere Storage Profile with standard independent non-persistent disk.
regionId: ${data.vra_region.this.id}
defaultItem: false
diskProperties:
independent: 'true'
persistent: 'false'
limitIops: '2000'
provisioningType: eagerZeroedThick
sharesLevel: custom
shares: '1500'
diskTargetProperties:
datastoreId: ${data.vra_fabric_datastore_vsphere.this.id}
storagePolicyId: ${data.vra_fabric_storage_policy_vsphere.this.id}
tags:
- key: foo
value: bar
# AWS storage profile using generic vra_storage_profile resource.
thisIndex/storageProfileStorageProfile:
type: vra:StorageProfile
properties:
description: AWS Storage Profile with instance store device type.
regionId: ${data.vra_region.this.id}
defaultItem: false
diskProperties:
deviceType: instance-store
tags:
- key: foo
value: bar
# Azure storage profile using generic vra_storage_profile resource.
thisVraIndex/storageProfileStorageProfile:
type: vra:StorageProfile
properties:
description: Azure Storage Profile with managed disks.
regionId: ${data.vra_region.this.id}
defaultItem: false
supportsEncryption: false
diskProperties:
azureDataDiskCaching: None
azureManagedDiskType: Standard_LRS
azureOsDiskCaching: None
tags:
- key: foo
value: bar
A storage profile resource supports the following arguments:
Create StorageProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageProfile(name: string, args: StorageProfileArgs, opts?: CustomResourceOptions);
@overload
def StorageProfile(resource_name: str,
args: StorageProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
default_item: Optional[bool] = None,
region_id: Optional[str] = None,
description: Optional[str] = None,
disk_properties: Optional[Mapping[str, str]] = None,
disk_target_properties: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
storage_profile_id: Optional[str] = None,
supports_encryption: Optional[bool] = None,
tags: Optional[Sequence[StorageProfileTagArgs]] = None)
func NewStorageProfile(ctx *Context, name string, args StorageProfileArgs, opts ...ResourceOption) (*StorageProfile, error)
public StorageProfile(string name, StorageProfileArgs args, CustomResourceOptions? opts = null)
public StorageProfile(String name, StorageProfileArgs args)
public StorageProfile(String name, StorageProfileArgs args, CustomResourceOptions options)
type: vra:StorageProfile
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 StorageProfileArgs
- 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 StorageProfileArgs
- 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 StorageProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageProfileArgs
- 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 storageProfileResource = new Vra.StorageProfile("storageProfileResource", new()
{
DefaultItem = false,
RegionId = "string",
Description = "string",
DiskProperties =
{
{ "string", "string" },
},
DiskTargetProperties =
{
{ "string", "string" },
},
Name = "string",
StorageProfileId = "string",
SupportsEncryption = false,
Tags = new[]
{
new Vra.Inputs.StorageProfileTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vra.NewStorageProfile(ctx, "storageProfileResource", &vra.StorageProfileArgs{
DefaultItem: pulumi.Bool(false),
RegionId: pulumi.String("string"),
Description: pulumi.String("string"),
DiskProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
DiskTargetProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
StorageProfileId: pulumi.String("string"),
SupportsEncryption: pulumi.Bool(false),
Tags: vra.StorageProfileTagArray{
&vra.StorageProfileTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
var storageProfileResource = new StorageProfile("storageProfileResource", StorageProfileArgs.builder()
.defaultItem(false)
.regionId("string")
.description("string")
.diskProperties(Map.of("string", "string"))
.diskTargetProperties(Map.of("string", "string"))
.name("string")
.storageProfileId("string")
.supportsEncryption(false)
.tags(StorageProfileTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
storage_profile_resource = vra.StorageProfile("storageProfileResource",
default_item=False,
region_id="string",
description="string",
disk_properties={
"string": "string",
},
disk_target_properties={
"string": "string",
},
name="string",
storage_profile_id="string",
supports_encryption=False,
tags=[{
"key": "string",
"value": "string",
}])
const storageProfileResource = new vra.StorageProfile("storageProfileResource", {
defaultItem: false,
regionId: "string",
description: "string",
diskProperties: {
string: "string",
},
diskTargetProperties: {
string: "string",
},
name: "string",
storageProfileId: "string",
supportsEncryption: false,
tags: [{
key: "string",
value: "string",
}],
});
type: vra:StorageProfile
properties:
defaultItem: false
description: string
diskProperties:
string: string
diskTargetProperties:
string: string
name: string
regionId: string
storageProfileId: string
supportsEncryption: false
tags:
- key: string
value: string
StorageProfile 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 StorageProfile resource accepts the following input properties:
- Default
Item bool - Indicates if this storage profile is a default profile.
- Region
Id string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- Description string
- A human-friendly description.
- Disk
Properties Dictionary<string, string> - Map of storage properties that are to be applied on disk while provisioning.
- Disk
Target Dictionary<string, string>Properties - Map of storage placements to know where the disk is provisioned.
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- Storage
Profile stringId - Supports
Encryption bool - Indicates whether this storage profile supports encryption or not.
- List<Storage
Profile Tag> - 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 string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- Description string
- A human-friendly description.
- Disk
Properties map[string]string - Map of storage properties that are to be applied on disk while provisioning.
- Disk
Target map[string]stringProperties - Map of storage placements to know where the disk is provisioned.
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- Storage
Profile stringId - Supports
Encryption bool - Indicates whether this storage profile supports encryption or not.
- []Storage
Profile Tag Args - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- default
Item Boolean - Indicates if this storage profile is a default profile.
- region
Id String - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- description String
- A human-friendly description.
- disk
Properties Map<String,String> - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target Map<String,String>Properties - Map of storage placements to know where the disk is provisioned.
- name String
- A human-friendly name used as an identifier in APIs that support this option.
- storage
Profile StringId - supports
Encryption Boolean - Indicates whether this storage profile supports encryption or not.
- List<Storage
Profile Tag> - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- default
Item boolean - Indicates if this storage profile is a default profile.
- region
Id string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- description string
- A human-friendly description.
- disk
Properties {[key: string]: string} - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target {[key: string]: string}Properties - Map of storage placements to know where the disk is provisioned.
- name string
- A human-friendly name used as an identifier in APIs that support this option.
- storage
Profile stringId - supports
Encryption boolean - Indicates whether this storage profile supports encryption or not.
- Storage
Profile Tag[] - 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 for which this profile is defined as in vRealize Automation(vRA).
- description str
- A human-friendly description.
- disk_
properties Mapping[str, str] - Map of storage properties that are to be applied on disk while provisioning.
- disk_
target_ Mapping[str, str]properties - Map of storage placements to know where the disk is provisioned.
- name str
- A human-friendly name used as an identifier in APIs that support this option.
- storage_
profile_ strid - supports_
encryption bool - Indicates whether this storage profile supports encryption or not.
- Sequence[Storage
Profile Tag Args] - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- default
Item Boolean - Indicates if this storage profile is a default profile.
- region
Id String - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- description String
- A human-friendly description.
- disk
Properties Map<String> - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target Map<String>Properties - Map of storage placements to know where the disk is provisioned.
- name String
- A human-friendly name used as an identifier in APIs that support this option.
- storage
Profile StringId - supports
Encryption Boolean - Indicates whether this storage profile supports encryption or not.
- 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 StorageProfile resource produces the following output properties:
- Cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- External
Region stringId - 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<Storage
Profile Link> - HATEOAS of the entity
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- External
Region stringId - 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
[]Storage
Profile Link - HATEOAS of the entity
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud
Account StringId - Id of the cloud account this storage profile belongs to.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- external
Region StringId - 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<Storage
Profile Link> - HATEOAS of the entity
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- external
Region stringId - 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
Storage
Profile Link[] - HATEOAS of the entity
- org
Id string - The id of the organization this entity belongs to.
- owner string
- Email of the user that owns the entity.
- updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud_
account_ strid - 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_ strid - 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[Storage
Profile Link] - 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.
- cloud
Account StringId - Id of the cloud account this storage profile belongs to.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- external
Region StringId - 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
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
Look up Existing StorageProfile Resource
Get an existing StorageProfile 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?: StorageProfileState, opts?: CustomResourceOptions): StorageProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_account_id: Optional[str] = None,
created_at: Optional[str] = None,
default_item: Optional[bool] = None,
description: Optional[str] = None,
disk_properties: Optional[Mapping[str, str]] = None,
disk_target_properties: Optional[Mapping[str, str]] = None,
external_region_id: Optional[str] = None,
links: Optional[Sequence[StorageProfileLinkArgs]] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
owner: Optional[str] = None,
region_id: Optional[str] = None,
storage_profile_id: Optional[str] = None,
supports_encryption: Optional[bool] = None,
tags: Optional[Sequence[StorageProfileTagArgs]] = None,
updated_at: Optional[str] = None) -> StorageProfile
func GetStorageProfile(ctx *Context, name string, id IDInput, state *StorageProfileState, opts ...ResourceOption) (*StorageProfile, error)
public static StorageProfile Get(string name, Input<string> id, StorageProfileState? state, CustomResourceOptions? opts = null)
public static StorageProfile get(String name, Output<String> id, StorageProfileState state, CustomResourceOptions options)
resources: _: type: vra:StorageProfile 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.
- Cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Default
Item bool - Indicates if this storage profile is a default profile.
- Description string
- A human-friendly description.
- Disk
Properties Dictionary<string, string> - Map of storage properties that are to be applied on disk while provisioning.
- Disk
Target Dictionary<string, string>Properties - Map of storage placements to know where the disk is provisioned.
- External
Region stringId - The id of the region as seen in the cloud provider for which this profile is defined.
- Links
List<Storage
Profile Link> - HATEOAS of the entity
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Region
Id string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- Storage
Profile stringId - Supports
Encryption bool - Indicates whether this storage profile supports encryption or not.
- List<Storage
Profile Tag> - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Default
Item bool - Indicates if this storage profile is a default profile.
- Description string
- A human-friendly description.
- Disk
Properties map[string]string - Map of storage properties that are to be applied on disk while provisioning.
- Disk
Target map[string]stringProperties - Map of storage placements to know where the disk is provisioned.
- External
Region stringId - The id of the region as seen in the cloud provider for which this profile is defined.
- Links
[]Storage
Profile Link Args - HATEOAS of the entity
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Region
Id string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- Storage
Profile stringId - Supports
Encryption bool - Indicates whether this storage profile supports encryption or not.
- []Storage
Profile Tag Args - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud
Account StringId - Id of the cloud account this storage profile belongs to.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- default
Item Boolean - Indicates if this storage profile is a default profile.
- description String
- A human-friendly description.
- disk
Properties Map<String,String> - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target Map<String,String>Properties - Map of storage placements to know where the disk is provisioned.
- external
Region StringId - The id of the region as seen in the cloud provider for which this profile is defined.
- links
List<Storage
Profile Link> - HATEOAS of the entity
- name String
- A human-friendly name used as an identifier in APIs that support this option.
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- region
Id String - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- storage
Profile StringId - supports
Encryption Boolean - Indicates whether this storage profile supports encryption or not.
- List<Storage
Profile Tag> - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud
Account stringId - Id of the cloud account this storage profile belongs to.
- created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- default
Item boolean - Indicates if this storage profile is a default profile.
- description string
- A human-friendly description.
- disk
Properties {[key: string]: string} - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target {[key: string]: string}Properties - Map of storage placements to know where the disk is provisioned.
- external
Region stringId - The id of the region as seen in the cloud provider for which this profile is defined.
- links
Storage
Profile Link[] - HATEOAS of the entity
- name string
- A human-friendly name used as an identifier in APIs that support this option.
- org
Id string - The id of the organization this entity belongs to.
- owner string
- Email of the user that owns the entity.
- region
Id string - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- storage
Profile stringId - supports
Encryption boolean - Indicates whether this storage profile supports encryption or not.
- Storage
Profile Tag[] - A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- cloud_
account_ strid - 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.
- default_
item bool - Indicates if this storage profile is a default profile.
- description str
- A human-friendly description.
- disk_
properties Mapping[str, str] - Map of storage properties that are to be applied on disk while provisioning.
- disk_
target_ Mapping[str, str]properties - Map of storage placements to know where the disk is provisioned.
- external_
region_ strid - The id of the region as seen in the cloud provider for which this profile is defined.
- links
Sequence[Storage
Profile Link Args] - 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.
- region_
id str - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- storage_
profile_ strid - supports_
encryption bool - Indicates whether this storage profile supports encryption or not.
- Sequence[Storage
Profile Tag Args] - 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.
- cloud
Account StringId - Id of the cloud account this storage profile belongs to.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- default
Item Boolean - Indicates if this storage profile is a default profile.
- description String
- A human-friendly description.
- disk
Properties Map<String> - Map of storage properties that are to be applied on disk while provisioning.
- disk
Target Map<String>Properties - Map of storage placements to know where the disk is provisioned.
- external
Region StringId - 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.
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- region
Id String - The id of the region for which this profile is defined as in vRealize Automation(vRA).
- storage
Profile StringId - supports
Encryption Boolean - Indicates whether this storage profile supports encryption or not.
- List<Property Map>
- A set of tag keys and optional values that were set on this Network Profile.
example:
[ { "key" : "ownedBy", "value": "Rainpole" } ]
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
Supporting Types
StorageProfileLink, StorageProfileLinkArgs
StorageProfileTag, StorageProfileTagArgs
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vra
Terraform Provider.