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

vra.getFabricStorageAccountAzure

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 lookup fabric Azure storage account.

    Fabric Azure storage account by Id:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getFabricStorageAccountAzure({
        id: _var.fabric_storage_account_azure_id,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_fabric_storage_account_azure(id=var["fabric_storage_account_azure_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.GetFabricStorageAccountAzure(ctx, &vra.GetFabricStorageAccountAzureArgs{
    			Id: pulumi.StringRef(_var.Fabric_storage_account_azure_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.GetFabricStorageAccountAzure.Invoke(new()
        {
            Id = @var.Fabric_storage_account_azure_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.GetFabricStorageAccountAzureArgs;
    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.getFabricStorageAccountAzure(GetFabricStorageAccountAzureArgs.builder()
                .id(var_.fabric_storage_account_azure_id())
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getFabricStorageAccountAzure
          arguments:
            id: ${var.fabric_storage_account_azure_id}
    

    Fabric Azure storage by filter query:

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = vra.getFabricStorageAccountAzure({
        filter: `name eq '${_var.name}'`,
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.get_fabric_storage_account_azure(filter=f"name eq '{var['name']}'")
    
    package main
    
    import (
    	"fmt"
    
    	"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.GetFabricStorageAccountAzure(ctx, &vra.GetFabricStorageAccountAzureArgs{
    			Filter: pulumi.StringRef(fmt.Sprintf("name eq '%v'", _var.Name)),
    		}, 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.GetFabricStorageAccountAzure.Invoke(new()
        {
            Filter = $"name eq '{@var.Name}'",
        });
    
    });
    
    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.GetFabricStorageAccountAzureArgs;
    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.getFabricStorageAccountAzure(GetFabricStorageAccountAzureArgs.builder()
                .filter(String.format("name eq '%s'", var_.name()))
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          function: vra:getFabricStorageAccountAzure
          arguments:
            filter: name eq '${var.name}'
    

    A fabric Azure storage account supports the following arguments:

    Using getFabricStorageAccountAzure

    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 getFabricStorageAccountAzure(args: GetFabricStorageAccountAzureArgs, opts?: InvokeOptions): Promise<GetFabricStorageAccountAzureResult>
    function getFabricStorageAccountAzureOutput(args: GetFabricStorageAccountAzureOutputArgs, opts?: InvokeOptions): Output<GetFabricStorageAccountAzureResult>
    def get_fabric_storage_account_azure(filter: Optional[str] = None,
                                         id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetFabricStorageAccountAzureResult
    def get_fabric_storage_account_azure_output(filter: Optional[pulumi.Input[str]] = None,
                                         id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetFabricStorageAccountAzureResult]
    func GetFabricStorageAccountAzure(ctx *Context, args *GetFabricStorageAccountAzureArgs, opts ...InvokeOption) (*GetFabricStorageAccountAzureResult, error)
    func GetFabricStorageAccountAzureOutput(ctx *Context, args *GetFabricStorageAccountAzureOutputArgs, opts ...InvokeOption) GetFabricStorageAccountAzureResultOutput

    > Note: This function is named GetFabricStorageAccountAzure in the Go SDK.

    public static class GetFabricStorageAccountAzure 
    {
        public static Task<GetFabricStorageAccountAzureResult> InvokeAsync(GetFabricStorageAccountAzureArgs args, InvokeOptions? opts = null)
        public static Output<GetFabricStorageAccountAzureResult> Invoke(GetFabricStorageAccountAzureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFabricStorageAccountAzureResult> getFabricStorageAccountAzure(GetFabricStorageAccountAzureArgs args, InvokeOptions options)
    public static Output<GetFabricStorageAccountAzureResult> getFabricStorageAccountAzure(GetFabricStorageAccountAzureArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vra:index/getFabricStorageAccountAzure:getFabricStorageAccountAzure
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter string
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    Id string
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.
    Filter string
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    Id string
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.
    filter String
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    id String
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.
    filter string
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    id string
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.
    filter str
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    id str
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.
    filter String
    Search criteria to narrow down the fabric Azure storage accounts. Only one of 'filter' or 'id' must be specified.
    id String
    The id of the fabric Azure storage account. Only one of 'filter' or 'id' must be specified.

    getFabricStorageAccountAzure Result

    The following output properties are available:

    CloudAccountIds List<string>
    Set of ids of the cloud accounts this entity belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    Description string
    A human-friendly description of the fabric Azure storage account.
    ExternalId string
    External entity Id on the provider side.
    ExternalRegionId string
    The id of the region for which this entity is defined.
    Id string
    Links List<GetFabricStorageAccountAzureLink>
    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.
    Type string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Filter string
    CloudAccountIds []string
    Set of ids of the cloud accounts this entity belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    Description string
    A human-friendly description of the fabric Azure storage account.
    ExternalId string
    External entity Id on the provider side.
    ExternalRegionId string
    The id of the region for which this entity is defined.
    Id string
    Links []GetFabricStorageAccountAzureLink
    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.
    Type string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    Filter string
    cloudAccountIds List<String>
    Set of ids of the cloud accounts this entity belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    description String
    A human-friendly description of the fabric Azure storage account.
    externalId String
    External entity Id on the provider side.
    externalRegionId String
    The id of the region for which this entity is defined.
    id String
    links List<GetFabricStorageAccountAzureLink>
    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.
    type String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    filter String
    cloudAccountIds string[]
    Set of ids of the cloud accounts this entity belongs to.
    createdAt string
    Date when the entity was created. The date is in ISO 6801 and UTC.
    description string
    A human-friendly description of the fabric Azure storage account.
    externalId string
    External entity Id on the provider side.
    externalRegionId string
    The id of the region for which this entity is defined.
    id string
    links GetFabricStorageAccountAzureLink[]
    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.
    type string
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    filter string
    cloud_account_ids Sequence[str]
    Set of ids of the cloud accounts this entity belongs to.
    created_at str
    Date when the entity was created. The date is in ISO 6801 and UTC.
    description str
    A human-friendly description of the fabric Azure storage account.
    external_id str
    External entity Id on the provider side.
    external_region_id str
    The id of the region for which this entity is defined.
    id str
    links Sequence[GetFabricStorageAccountAzureLink]
    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.
    type str
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    filter str
    cloudAccountIds List<String>
    Set of ids of the cloud accounts this entity belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 6801 and UTC.
    description String
    A human-friendly description of the fabric Azure storage account.
    externalId String
    External entity Id on the provider side.
    externalRegionId String
    The id of the region for which this entity is defined.
    id 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
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    type String
    Indicates the performance tier for the storage type. Premium disks are SSD backed and Standard disks are HDD backed. example: Standard_LRS / Premium_LRS
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    filter String

    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

    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