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/v3/go/azure/datalake"
"github.com/pulumi/pulumi/sdk/v2/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>function get_store(name=None, resource_group_name=None, opts=None)func LookupStore(ctx *Context, args *LookupStoreArgs, opts ...InvokeOption) (*LookupStoreResult, error)Note: This function is named
LookupStorein 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.
- Resource
Group stringName The Name of the Resource Group where the Data Lake Store exists.
- Name string
The name of the Data Lake Store.
- Resource
Group stringName The Name of the Resource Group where the Data Lake Store exists.
- name string
The name of the Data Lake Store.
- resource
Group stringName The Name of the Resource Group where the Data Lake Store exists.
- name str
The name of the Data Lake Store.
- resource_
group_ strname The Name of the Resource Group where the Data Lake Store exists.
GetStore Result
The following output properties are available:
- Encryption
State string the Encryption State of this Data Lake Store Account, such as
EnabledorDisabled.- Encryption
Type string the Encryption Type used for this Data Lake Store Account.
- Firewall
Allow stringAzure Ips are Azure Service IP’s allowed through the firewall?
- Firewall
State string the state of the firewall, such as
EnabledorDisabled.- Id string
The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Resource
Group stringName - Dictionary<string, string>
A mapping of tags to assign to the Data Lake Store.
- Tier string
Current monthly commitment tier for the account.
- Encryption
State string the Encryption State of this Data Lake Store Account, such as
EnabledorDisabled.- Encryption
Type string the Encryption Type used for this Data Lake Store Account.
- Firewall
Allow stringAzure Ips are Azure Service IP’s allowed through the firewall?
- Firewall
State string the state of the firewall, such as
EnabledorDisabled.- Id string
The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Resource
Group stringName - map[string]string
A mapping of tags to assign to the Data Lake Store.
- Tier string
Current monthly commitment tier for the account.
- encryption
State string the Encryption State of this Data Lake Store Account, such as
EnabledorDisabled.- encryption
Type string the Encryption Type used for this Data Lake Store Account.
- firewall
Allow stringAzure Ips are Azure Service IP’s allowed through the firewall?
- firewall
State string the state of the firewall, such as
EnabledorDisabled.- id string
The provider-assigned unique ID for this managed resource.
- location string
- name string
- resource
Group stringName - {[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
EnabledorDisabled.- encryption_
type str the Encryption Type used for this Data Lake Store Account.
- firewall_
allow_ strazure_ ips are Azure Service IP’s allowed through the firewall?
- firewall_
state str the state of the firewall, such as
EnabledorDisabled.- id str
The provider-assigned unique ID for this managed resource.
- location str
- name str
- resource_
group_ strname - Dict[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
azurermTerraform Provider.