vra 0.12.0 published on Monday, Apr 14, 2025 by vmware
vra.getStorageProfileAws
Explore with Pulumi AI
Example Usage
S
This is an example of how to create a storage profile aws resource.
Storage profile aws data source by its id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getStorageProfileAws({
    id: vra_storage_profile_aws["this"].id,
});
import pulumi
import pulumi_vra as vra
this = vra.get_storage_profile_aws(id=vra_storage_profile_aws["this"]["id"])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vra.LookupStorageProfileAws(ctx, &vra.LookupStorageProfileAwsArgs{
			Id: pulumi.StringRef(vra_storage_profile_aws.This.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() => 
{
    var @this = Vra.GetStorageProfileAws.Invoke(new()
    {
        Id = vra_storage_profile_aws.This.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetStorageProfileAwsArgs;
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) {
        final var this = VraFunctions.getStorageProfileAws(GetStorageProfileAwsArgs.builder()
            .id(vra_storage_profile_aws.this().id())
            .build());
    }
}
variables:
  this:
    fn::invoke:
      function: vra:getStorageProfileAws
      arguments:
        id: ${vra_storage_profile_aws.this.id}
Vra storage profile data source filter by external region id:
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getStorageProfileAws({
    filter: "externalRegionId eq 'foobar'",
});
import pulumi
import pulumi_vra as vra
this = vra.get_storage_profile_aws(filter="externalRegionId eq 'foobar'")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vra.LookupStorageProfileAws(ctx, &vra.LookupStorageProfileAwsArgs{
			Filter: pulumi.StringRef("externalRegionId eq 'foobar'"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() => 
{
    var @this = Vra.GetStorageProfileAws.Invoke(new()
    {
        Filter = "externalRegionId eq 'foobar'",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetStorageProfileAwsArgs;
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) {
        final var this = VraFunctions.getStorageProfileAws(GetStorageProfileAwsArgs.builder()
            .filter("externalRegionId eq 'foobar'")
            .build());
    }
}
variables:
  this:
    fn::invoke:
      function: vra:getStorageProfileAws
      arguments:
        filter: externalRegionId eq 'foobar'
A storage profile aws data source supports the following arguments:
Using getStorageProfileAws
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageProfileAws(args: GetStorageProfileAwsArgs, opts?: InvokeOptions): Promise<GetStorageProfileAwsResult>
function getStorageProfileAwsOutput(args: GetStorageProfileAwsOutputArgs, opts?: InvokeOptions): Output<GetStorageProfileAwsResult>def get_storage_profile_aws(filter: Optional[str] = None,
                            id: Optional[str] = None,
                            tags: Optional[Sequence[GetStorageProfileAwsTag]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetStorageProfileAwsResult
def get_storage_profile_aws_output(filter: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[str]] = None,
                            tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetStorageProfileAwsTagArgs]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetStorageProfileAwsResult]func LookupStorageProfileAws(ctx *Context, args *LookupStorageProfileAwsArgs, opts ...InvokeOption) (*LookupStorageProfileAwsResult, error)
func LookupStorageProfileAwsOutput(ctx *Context, args *LookupStorageProfileAwsOutputArgs, opts ...InvokeOption) LookupStorageProfileAwsResultOutput> Note: This function is named LookupStorageProfileAws in the Go SDK.
public static class GetStorageProfileAws 
{
    public static Task<GetStorageProfileAwsResult> InvokeAsync(GetStorageProfileAwsArgs args, InvokeOptions? opts = null)
    public static Output<GetStorageProfileAwsResult> Invoke(GetStorageProfileAwsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageProfileAwsResult> getStorageProfileAws(GetStorageProfileAwsArgs args, InvokeOptions options)
public static Output<GetStorageProfileAwsResult> getStorageProfileAws(GetStorageProfileAwsArgs args, InvokeOptions options)
fn::invoke:
  function: vra:index/getStorageProfileAws:getStorageProfileAws
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filter string
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- Id string
- The id of the image profile instance.
- 
List<GetStorage Profile Aws Tag> 
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
- Filter string
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- Id string
- The id of the image profile instance.
- 
[]GetStorage Profile Aws Tag 
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
- filter String
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- id String
- The id of the image profile instance.
- 
List<GetStorage Profile Aws Tag> 
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
- filter string
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- id string
- The id of the image profile instance.
- 
GetStorage Profile Aws Tag[] 
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
- filter str
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- id str
- The id of the image profile instance.
- 
Sequence[GetStorage Profile Aws Tag] 
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
- filter String
- Filter query string that is supported by vRA multi-cloud IaaS API. Example: regionId eq '<regionId>' and cloudAccountId eq '<cloudAccountId>'.
- id String
- The id of the image profile instance.
- List<Property Map>
- A set of tag keys and optional values that were set on this Network Profile.
example: [ { "key" : "ownedBy", "value": "Rainpole" } ]
getStorageProfileAws Result
The following output properties are available:
- CloudAccount stringId 
- CreatedAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- DefaultItem bool
- Indicates if this storage profile is a default profile.
- Description string
- DeviceType string
- ExternalRegion stringId 
- The id of the region as seen in the cloud provider for which this profile is defined.
- Id string
- Iops string
- Links
List<GetStorage Profile Aws Link> 
- HATEOAS of the entity
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- OrgId string
- Owner string
- Email of the user that owns the entity.
- SupportsEncryption bool
- UpdatedAt string
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- VolumeType string
- Filter string
- 
List<GetStorage Profile Aws Tag> 
- CloudAccount stringId 
- CreatedAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- DefaultItem bool
- Indicates if this storage profile is a default profile.
- Description string
- DeviceType string
- ExternalRegion stringId 
- The id of the region as seen in the cloud provider for which this profile is defined.
- Id string
- Iops string
- Links
[]GetStorage Profile Aws Link 
- HATEOAS of the entity
- Name string
- A human-friendly name used as an identifier in APIs that support this option.
- OrgId string
- Owner string
- Email of the user that owns the entity.
- SupportsEncryption bool
- UpdatedAt string
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- VolumeType string
- Filter string
- 
[]GetStorage Profile Aws Tag 
- cloudAccount StringId 
- createdAt String
- Date when the entity was created. The date is in ISO 6801 and UTC.
- defaultItem Boolean
- Indicates if this storage profile is a default profile.
- description String
- deviceType String
- externalRegion StringId 
- The id of the region as seen in the cloud provider for which this profile is defined.
- id String
- iops String
- links
List<GetStorage Profile Aws Link> 
- HATEOAS of the entity
- name String
- A human-friendly name used as an identifier in APIs that support this option.
- orgId String
- owner String
- Email of the user that owns the entity.
- supportsEncryption Boolean
- updatedAt String
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- volumeType String
- filter String
- 
List<GetStorage Profile Aws Tag> 
- cloudAccount stringId 
- createdAt string
- Date when the entity was created. The date is in ISO 6801 and UTC.
- defaultItem boolean
- Indicates if this storage profile is a default profile.
- description string
- deviceType string
- externalRegion stringId 
- The id of the region as seen in the cloud provider for which this profile is defined.
- id string
- iops string
- links
GetStorage Profile Aws Link[] 
- HATEOAS of the entity
- name string
- A human-friendly name used as an identifier in APIs that support this option.
- orgId string
- owner string
- Email of the user that owns the entity.
- supportsEncryption boolean
- updatedAt string
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- volumeType string
- filter string
- 
GetStorage Profile Aws Tag[] 
- cloud_account_ strid 
- 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
- device_type str
- external_region_ strid 
- The id of the region as seen in the cloud provider for which this profile is defined.
- id str
- iops str
- links
Sequence[GetStorage Profile Aws Link] 
- HATEOAS of the entity
- name str
- A human-friendly name used as an identifier in APIs that support this option.
- org_id str
- owner str
- Email of the user that owns the entity.
- supports_encryption bool
- updated_at str
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- volume_type str
- filter str
- 
Sequence[GetStorage Profile Aws Tag] 
- cloudAccount StringId 
- createdAt String
- Date when the entity was created. The date is in ISO 6801 and UTC.
- defaultItem Boolean
- Indicates if this storage profile is a default profile.
- description String
- deviceType String
- externalRegion StringId 
- The id of the region as seen in the cloud provider for which this profile is defined.
- id String
- iops String
- 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
- owner String
- Email of the user that owns the entity.
- supportsEncryption Boolean
- updatedAt String
- Date when the entity was last updated. The date is ISO 8601 and UTC.
- volumeType String
- filter String
- List<Property Map>
Supporting Types
GetStorageProfileAwsLink    
GetStorageProfileAwsTag    
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the vraTerraform Provider.