getStore

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
	})
}
import pulumi
import pulumi_azure as azure

example = azure.datalake.get_store(name="testdatalake",
    resource_group_name="testdatalake")
pulumi.export("dataLakeStoreId", example.id)
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);

Using getStore

function getStore(args: GetStoreArgs, opts?: InvokeOptions): Promise<GetStoreResult>
def get_store(name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetStoreResult
func LookupStore(ctx *Context, args *LookupStoreArgs, opts ...InvokeOption) (*LookupStoreResult, error)

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

public static class GetStore {
    public static Task<GetStoreResult> InvokeAsync(GetStoreArgs args, InvokeOptions? opts = null)
}

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 str
The name of the Data Lake Store.
resource_group_name str
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 {[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.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.