1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. datalake
  6. getStore

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Use this data source to access information about an existing Data Lake Store.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var example = Output.Create(Azure.DataLake.GetStore.InvokeAsync(new Azure.DataLake.GetStoreArgs
            {
                Name = "testdatalake",
                ResourceGroupName = "testdatalake",
            }));
            this.DataLakeStoreId = example.Apply(example => example.Id);
        }
    
        [Output("dataLakeStoreId")]
        public Output<string> DataLakeStoreId { get; set; }
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datalake"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := datalake.LookupStore(ctx, &datalake.LookupStoreArgs{
    			Name:              "testdatalake",
    			ResourceGroupName: "testdatalake",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataLakeStoreId", example.Id)
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.datalake.getStore({
        name: "testdatalake",
        resourceGroupName: "testdatalake",
    });
    export const dataLakeStoreId = example.then(example => example.id);
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.datalake.get_store(name="testdatalake",
        resource_group_name="testdatalake")
    pulumi.export("dataLakeStoreId", example.id)
    

    Example coming soon!

    Using getStore

    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 getStore(args: GetStoreArgs, opts?: InvokeOptions): Promise<GetStoreResult>
    function getStoreOutput(args: GetStoreOutputArgs, opts?: InvokeOptions): Output<GetStoreResult>
    def get_store(name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetStoreResult
    def get_store_output(name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetStoreResult]
    func LookupStore(ctx *Context, args *LookupStoreArgs, opts ...InvokeOption) (*LookupStoreResult, error)
    func LookupStoreOutput(ctx *Context, args *LookupStoreOutputArgs, opts ...InvokeOption) LookupStoreResultOutput

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

    public static class GetStore 
    {
        public static Task<GetStoreResult> InvokeAsync(GetStoreArgs args, InvokeOptions? opts = null)
        public static Output<GetStoreResult> Invoke(GetStoreInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStoreResult> getStore(GetStoreArgs args, InvokeOptions options)
    public static Output<GetStoreResult> getStore(GetStoreArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure:datalake/getStore:getStore
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Data Lake Store.
    ResourceGroupName string
    The Name of the Resource Group where the Data Lake Store exists.
    Name string
    The name of the Data Lake Store.
    ResourceGroupName string
    The Name of the Resource Group where the Data Lake Store exists.
    name String
    The name of the Data Lake Store.
    resourceGroupName String
    The Name of the Resource Group where the Data Lake Store exists.
    name string
    The name of the Data Lake Store.
    resourceGroupName string
    The Name of the Resource Group where the Data Lake Store exists.
    name str
    The name of the Data Lake Store.
    resource_group_name str
    The Name of the Resource Group where the Data Lake Store exists.
    name String
    The name of the Data Lake Store.
    resourceGroupName String
    The Name of the Resource Group where the Data Lake Store exists.

    getStore Result

    The following output properties are available:

    EncryptionState string
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    EncryptionType string
    the Encryption Type used for this Data Lake Store Account.
    FirewallAllowAzureIps string
    are Azure Service IP's allowed through the firewall?
    FirewallState string
    the state of the firewall, such as Enabled or Disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Name string
    ResourceGroupName string
    Tags Dictionary<string, string>
    A mapping of tags to assign to the Data Lake Store.
    Tier string
    Current monthly commitment tier for the account.
    EncryptionState string
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    EncryptionType string
    the Encryption Type used for this Data Lake Store Account.
    FirewallAllowAzureIps string
    are Azure Service IP's allowed through the firewall?
    FirewallState string
    the state of the firewall, such as Enabled or Disabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Name string
    ResourceGroupName string
    Tags map[string]string
    A mapping of tags to assign to the Data Lake Store.
    Tier string
    Current monthly commitment tier for the account.
    encryptionState String
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    encryptionType String
    the Encryption Type used for this Data Lake Store Account.
    firewallAllowAzureIps String
    are Azure Service IP's allowed through the firewall?
    firewallState String
    the state of the firewall, such as Enabled or Disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    name String
    resourceGroupName String
    tags Map<String,String>
    A mapping of tags to assign to the Data Lake Store.
    tier String
    Current monthly commitment tier for the account.
    encryptionState string
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    encryptionType string
    the Encryption Type used for this Data Lake Store Account.
    firewallAllowAzureIps string
    are Azure Service IP's allowed through the firewall?
    firewallState string
    the state of the firewall, such as Enabled or Disabled.
    id string
    The provider-assigned unique ID for this managed resource.
    location string
    name string
    resourceGroupName string
    tags {[key: string]: string}
    A mapping of tags to assign to the Data Lake Store.
    tier string
    Current monthly commitment tier for the account.
    encryption_state str
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    encryption_type str
    the Encryption Type used for this Data Lake Store Account.
    firewall_allow_azure_ips str
    are Azure Service IP's allowed through the firewall?
    firewall_state str
    the state of the firewall, such as Enabled or Disabled.
    id str
    The provider-assigned unique ID for this managed resource.
    location str
    name str
    resource_group_name str
    tags Mapping[str, str]
    A mapping of tags to assign to the Data Lake Store.
    tier str
    Current monthly commitment tier for the account.
    encryptionState String
    the Encryption State of this Data Lake Store Account, such as Enabled or Disabled.
    encryptionType String
    the Encryption Type used for this Data Lake Store Account.
    firewallAllowAzureIps String
    are Azure Service IP's allowed through the firewall?
    firewallState String
    the state of the firewall, such as Enabled or Disabled.
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    name String
    resourceGroupName String
    tags Map<String>
    A mapping of tags to assign to the Data Lake Store.
    tier String
    Current monthly commitment tier for the account.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.