datalake

package
v4.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsAccount

type AnalyticsAccount struct {
	pulumi.CustomResourceState

	// Specifies the data lake store to use by default. Changing this forces a new resource to be created.
	DefaultStoreAccountName pulumi.StringOutput `pulumi:"defaultStoreAccountName"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Data Lake Analytics Account. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Data Lake Analytics Account.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The monthly commitment tier for Data Lake Analytics Account. Accepted values are `Consumption`, `Commitment_100000AUHours`, `Commitment_10000AUHours`, `Commitment_1000AUHours`, `Commitment_100AUHours`, `Commitment_500000AUHours`, `Commitment_50000AUHours`, `Commitment_5000AUHours`, or `Commitment_500AUHours`.
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
}

Manages an Azure Data Lake Analytics Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewAnalyticsAccount(ctx, "exampleAnalyticsAccount", &datalake.AnalyticsAccountArgs{
			ResourceGroupName:       exampleResourceGroup.Name,
			Location:                exampleResourceGroup.Location,
			DefaultStoreAccountName: exampleStore.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Analytics Account can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/analyticsAccount:AnalyticsAccount example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DataLakeAnalytics/accounts/mydatalakeaccount

```

func GetAnalyticsAccount

func GetAnalyticsAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AnalyticsAccountState, opts ...pulumi.ResourceOption) (*AnalyticsAccount, error)

GetAnalyticsAccount gets an existing AnalyticsAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsAccount

func NewAnalyticsAccount(ctx *pulumi.Context,
	name string, args *AnalyticsAccountArgs, opts ...pulumi.ResourceOption) (*AnalyticsAccount, error)

NewAnalyticsAccount registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsAccount) ElementType

func (*AnalyticsAccount) ElementType() reflect.Type

func (*AnalyticsAccount) ToAnalyticsAccountOutput

func (i *AnalyticsAccount) ToAnalyticsAccountOutput() AnalyticsAccountOutput

func (*AnalyticsAccount) ToAnalyticsAccountOutputWithContext

func (i *AnalyticsAccount) ToAnalyticsAccountOutputWithContext(ctx context.Context) AnalyticsAccountOutput

type AnalyticsAccountArgs

type AnalyticsAccountArgs struct {
	// Specifies the data lake store to use by default. Changing this forces a new resource to be created.
	DefaultStoreAccountName pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Data Lake Analytics Account. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Analytics Account.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The monthly commitment tier for Data Lake Analytics Account. Accepted values are `Consumption`, `Commitment_100000AUHours`, `Commitment_10000AUHours`, `Commitment_1000AUHours`, `Commitment_100AUHours`, `Commitment_500000AUHours`, `Commitment_50000AUHours`, `Commitment_5000AUHours`, or `Commitment_500AUHours`.
	Tier pulumi.StringPtrInput
}

The set of arguments for constructing a AnalyticsAccount resource.

func (AnalyticsAccountArgs) ElementType

func (AnalyticsAccountArgs) ElementType() reflect.Type

type AnalyticsAccountArray

type AnalyticsAccountArray []AnalyticsAccountInput

func (AnalyticsAccountArray) ElementType

func (AnalyticsAccountArray) ElementType() reflect.Type

func (AnalyticsAccountArray) ToAnalyticsAccountArrayOutput

func (i AnalyticsAccountArray) ToAnalyticsAccountArrayOutput() AnalyticsAccountArrayOutput

func (AnalyticsAccountArray) ToAnalyticsAccountArrayOutputWithContext

func (i AnalyticsAccountArray) ToAnalyticsAccountArrayOutputWithContext(ctx context.Context) AnalyticsAccountArrayOutput

type AnalyticsAccountArrayInput

type AnalyticsAccountArrayInput interface {
	pulumi.Input

	ToAnalyticsAccountArrayOutput() AnalyticsAccountArrayOutput
	ToAnalyticsAccountArrayOutputWithContext(context.Context) AnalyticsAccountArrayOutput
}

AnalyticsAccountArrayInput is an input type that accepts AnalyticsAccountArray and AnalyticsAccountArrayOutput values. You can construct a concrete instance of `AnalyticsAccountArrayInput` via:

AnalyticsAccountArray{ AnalyticsAccountArgs{...} }

type AnalyticsAccountArrayOutput

type AnalyticsAccountArrayOutput struct{ *pulumi.OutputState }

func (AnalyticsAccountArrayOutput) ElementType

func (AnalyticsAccountArrayOutput) Index

func (AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutput

func (o AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutput() AnalyticsAccountArrayOutput

func (AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutputWithContext

func (o AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutputWithContext(ctx context.Context) AnalyticsAccountArrayOutput

type AnalyticsAccountInput

type AnalyticsAccountInput interface {
	pulumi.Input

	ToAnalyticsAccountOutput() AnalyticsAccountOutput
	ToAnalyticsAccountOutputWithContext(ctx context.Context) AnalyticsAccountOutput
}

type AnalyticsAccountMap

type AnalyticsAccountMap map[string]AnalyticsAccountInput

func (AnalyticsAccountMap) ElementType

func (AnalyticsAccountMap) ElementType() reflect.Type

func (AnalyticsAccountMap) ToAnalyticsAccountMapOutput

func (i AnalyticsAccountMap) ToAnalyticsAccountMapOutput() AnalyticsAccountMapOutput

func (AnalyticsAccountMap) ToAnalyticsAccountMapOutputWithContext

func (i AnalyticsAccountMap) ToAnalyticsAccountMapOutputWithContext(ctx context.Context) AnalyticsAccountMapOutput

type AnalyticsAccountMapInput

type AnalyticsAccountMapInput interface {
	pulumi.Input

	ToAnalyticsAccountMapOutput() AnalyticsAccountMapOutput
	ToAnalyticsAccountMapOutputWithContext(context.Context) AnalyticsAccountMapOutput
}

AnalyticsAccountMapInput is an input type that accepts AnalyticsAccountMap and AnalyticsAccountMapOutput values. You can construct a concrete instance of `AnalyticsAccountMapInput` via:

AnalyticsAccountMap{ "key": AnalyticsAccountArgs{...} }

type AnalyticsAccountMapOutput

type AnalyticsAccountMapOutput struct{ *pulumi.OutputState }

func (AnalyticsAccountMapOutput) ElementType

func (AnalyticsAccountMapOutput) ElementType() reflect.Type

func (AnalyticsAccountMapOutput) MapIndex

func (AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutput

func (o AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutput() AnalyticsAccountMapOutput

func (AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutputWithContext

func (o AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutputWithContext(ctx context.Context) AnalyticsAccountMapOutput

type AnalyticsAccountOutput

type AnalyticsAccountOutput struct{ *pulumi.OutputState }

func (AnalyticsAccountOutput) ElementType

func (AnalyticsAccountOutput) ElementType() reflect.Type

func (AnalyticsAccountOutput) ToAnalyticsAccountOutput

func (o AnalyticsAccountOutput) ToAnalyticsAccountOutput() AnalyticsAccountOutput

func (AnalyticsAccountOutput) ToAnalyticsAccountOutputWithContext

func (o AnalyticsAccountOutput) ToAnalyticsAccountOutputWithContext(ctx context.Context) AnalyticsAccountOutput

type AnalyticsAccountState

type AnalyticsAccountState struct {
	// Specifies the data lake store to use by default. Changing this forces a new resource to be created.
	DefaultStoreAccountName pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Data Lake Analytics Account. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Analytics Account.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The monthly commitment tier for Data Lake Analytics Account. Accepted values are `Consumption`, `Commitment_100000AUHours`, `Commitment_10000AUHours`, `Commitment_1000AUHours`, `Commitment_100AUHours`, `Commitment_500000AUHours`, `Commitment_50000AUHours`, `Commitment_5000AUHours`, or `Commitment_500AUHours`.
	Tier pulumi.StringPtrInput
}

func (AnalyticsAccountState) ElementType

func (AnalyticsAccountState) ElementType() reflect.Type

type AnalyticsFirewallRule

type AnalyticsFirewallRule struct {
	pulumi.CustomResourceState

	// Specifies the name of the Data Lake Analytics for which the Firewall Rule should take effect.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// Specifies the name of the Data Lake Analytics. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Data Lake Analytics.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
}

Manages a Azure Data Lake Analytics Firewall Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewAnalyticsAccount(ctx, "exampleAnalyticsAccount", &datalake.AnalyticsAccountArgs{
			ResourceGroupName:       exampleResourceGroup.Name,
			Location:                exampleResourceGroup.Location,
			DefaultStoreAccountName: exampleStore.Name,
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewAnalyticsFirewallRule(ctx, "exampleAnalyticsFirewallRule", &datalake.AnalyticsFirewallRuleArgs{
			AccountName:       pulumi.Any(azurerm_data_lake_analytics.Example.Name),
			ResourceGroupName: exampleResourceGroup.Name,
			StartIpAddress:    pulumi.String("1.2.3.4"),
			EndIpAddress:      pulumi.String("2.3.4.5"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Analytics Firewall Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/analyticsFirewallRule:AnalyticsFirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DataLakeAnalytics/accounts/mydatalakeaccount/firewallRules/rule1

```

func GetAnalyticsFirewallRule

func GetAnalyticsFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AnalyticsFirewallRuleState, opts ...pulumi.ResourceOption) (*AnalyticsFirewallRule, error)

GetAnalyticsFirewallRule gets an existing AnalyticsFirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAnalyticsFirewallRule

func NewAnalyticsFirewallRule(ctx *pulumi.Context,
	name string, args *AnalyticsFirewallRuleArgs, opts ...pulumi.ResourceOption) (*AnalyticsFirewallRule, error)

NewAnalyticsFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*AnalyticsFirewallRule) ElementType

func (*AnalyticsFirewallRule) ElementType() reflect.Type

func (*AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutput

func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput

func (*AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutputWithContext

func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput

type AnalyticsFirewallRuleArgs

type AnalyticsFirewallRuleArgs struct {
	// Specifies the name of the Data Lake Analytics for which the Firewall Rule should take effect.
	AccountName pulumi.StringInput
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringInput
	// Specifies the name of the Data Lake Analytics. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Analytics.
	ResourceGroupName pulumi.StringInput
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a AnalyticsFirewallRule resource.

func (AnalyticsFirewallRuleArgs) ElementType

func (AnalyticsFirewallRuleArgs) ElementType() reflect.Type

type AnalyticsFirewallRuleArray

type AnalyticsFirewallRuleArray []AnalyticsFirewallRuleInput

func (AnalyticsFirewallRuleArray) ElementType

func (AnalyticsFirewallRuleArray) ElementType() reflect.Type

func (AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutput

func (i AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutput() AnalyticsFirewallRuleArrayOutput

func (AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutputWithContext

func (i AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutputWithContext(ctx context.Context) AnalyticsFirewallRuleArrayOutput

type AnalyticsFirewallRuleArrayInput

type AnalyticsFirewallRuleArrayInput interface {
	pulumi.Input

	ToAnalyticsFirewallRuleArrayOutput() AnalyticsFirewallRuleArrayOutput
	ToAnalyticsFirewallRuleArrayOutputWithContext(context.Context) AnalyticsFirewallRuleArrayOutput
}

AnalyticsFirewallRuleArrayInput is an input type that accepts AnalyticsFirewallRuleArray and AnalyticsFirewallRuleArrayOutput values. You can construct a concrete instance of `AnalyticsFirewallRuleArrayInput` via:

AnalyticsFirewallRuleArray{ AnalyticsFirewallRuleArgs{...} }

type AnalyticsFirewallRuleArrayOutput

type AnalyticsFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (AnalyticsFirewallRuleArrayOutput) ElementType

func (AnalyticsFirewallRuleArrayOutput) Index

func (AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutput

func (o AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutput() AnalyticsFirewallRuleArrayOutput

func (AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutputWithContext

func (o AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutputWithContext(ctx context.Context) AnalyticsFirewallRuleArrayOutput

type AnalyticsFirewallRuleInput

type AnalyticsFirewallRuleInput interface {
	pulumi.Input

	ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput
	ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput
}

type AnalyticsFirewallRuleMap

type AnalyticsFirewallRuleMap map[string]AnalyticsFirewallRuleInput

func (AnalyticsFirewallRuleMap) ElementType

func (AnalyticsFirewallRuleMap) ElementType() reflect.Type

func (AnalyticsFirewallRuleMap) ToAnalyticsFirewallRuleMapOutput

func (i AnalyticsFirewallRuleMap) ToAnalyticsFirewallRuleMapOutput() AnalyticsFirewallRuleMapOutput

func (AnalyticsFirewallRuleMap) ToAnalyticsFirewallRuleMapOutputWithContext

func (i AnalyticsFirewallRuleMap) ToAnalyticsFirewallRuleMapOutputWithContext(ctx context.Context) AnalyticsFirewallRuleMapOutput

type AnalyticsFirewallRuleMapInput

type AnalyticsFirewallRuleMapInput interface {
	pulumi.Input

	ToAnalyticsFirewallRuleMapOutput() AnalyticsFirewallRuleMapOutput
	ToAnalyticsFirewallRuleMapOutputWithContext(context.Context) AnalyticsFirewallRuleMapOutput
}

AnalyticsFirewallRuleMapInput is an input type that accepts AnalyticsFirewallRuleMap and AnalyticsFirewallRuleMapOutput values. You can construct a concrete instance of `AnalyticsFirewallRuleMapInput` via:

AnalyticsFirewallRuleMap{ "key": AnalyticsFirewallRuleArgs{...} }

type AnalyticsFirewallRuleMapOutput

type AnalyticsFirewallRuleMapOutput struct{ *pulumi.OutputState }

func (AnalyticsFirewallRuleMapOutput) ElementType

func (AnalyticsFirewallRuleMapOutput) MapIndex

func (AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutput

func (o AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutput() AnalyticsFirewallRuleMapOutput

func (AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutputWithContext

func (o AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutputWithContext(ctx context.Context) AnalyticsFirewallRuleMapOutput

type AnalyticsFirewallRuleOutput

type AnalyticsFirewallRuleOutput struct{ *pulumi.OutputState }

func (AnalyticsFirewallRuleOutput) ElementType

func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutput

func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput

func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutputWithContext

func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput

type AnalyticsFirewallRuleState

type AnalyticsFirewallRuleState struct {
	// Specifies the name of the Data Lake Analytics for which the Firewall Rule should take effect.
	AccountName pulumi.StringPtrInput
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringPtrInput
	// Specifies the name of the Data Lake Analytics. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Analytics.
	ResourceGroupName pulumi.StringPtrInput
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringPtrInput
}

func (AnalyticsFirewallRuleState) ElementType

func (AnalyticsFirewallRuleState) ElementType() reflect.Type

type LookupStoreArgs

type LookupStoreArgs struct {
	// The name of the Data Lake Store.
	Name string `pulumi:"name"`
	// The Name of the Resource Group where the Data Lake Store exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getStore.

type LookupStoreOutputArgs added in v4.20.0

type LookupStoreOutputArgs struct {
	// The name of the Data Lake Store.
	Name pulumi.StringInput `pulumi:"name"`
	// The Name of the Resource Group where the Data Lake Store exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getStore.

func (LookupStoreOutputArgs) ElementType added in v4.20.0

func (LookupStoreOutputArgs) ElementType() reflect.Type

type LookupStoreResult

type LookupStoreResult struct {
	// the Encryption State of this Data Lake Store Account, such as `Enabled` or `Disabled`.
	EncryptionState string `pulumi:"encryptionState"`
	// the Encryption Type used for this Data Lake Store Account.
	EncryptionType string `pulumi:"encryptionType"`
	// are Azure Service IP's allowed through the firewall?
	FirewallAllowAzureIps string `pulumi:"firewallAllowAzureIps"`
	// the state of the firewall, such as `Enabled` or `Disabled`.
	FirewallState string `pulumi:"firewallState"`
	// The provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the Data Lake Store.
	Tags map[string]string `pulumi:"tags"`
	// Current monthly commitment tier for the account.
	Tier string `pulumi:"tier"`
}

A collection of values returned by getStore.

func LookupStore

func LookupStore(ctx *pulumi.Context, args *LookupStoreArgs, opts ...pulumi.InvokeOption) (*LookupStoreResult, error)

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

## Example Usage

```go 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
	})
}

```

type LookupStoreResultOutput added in v4.20.0

type LookupStoreResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStore.

func LookupStoreOutput added in v4.20.0

func LookupStoreOutput(ctx *pulumi.Context, args LookupStoreOutputArgs, opts ...pulumi.InvokeOption) LookupStoreResultOutput

func (LookupStoreResultOutput) ElementType added in v4.20.0

func (LookupStoreResultOutput) ElementType() reflect.Type

func (LookupStoreResultOutput) EncryptionState added in v4.20.0

func (o LookupStoreResultOutput) EncryptionState() pulumi.StringOutput

the Encryption State of this Data Lake Store Account, such as `Enabled` or `Disabled`.

func (LookupStoreResultOutput) EncryptionType added in v4.20.0

func (o LookupStoreResultOutput) EncryptionType() pulumi.StringOutput

the Encryption Type used for this Data Lake Store Account.

func (LookupStoreResultOutput) FirewallAllowAzureIps added in v4.20.0

func (o LookupStoreResultOutput) FirewallAllowAzureIps() pulumi.StringOutput

are Azure Service IP's allowed through the firewall?

func (LookupStoreResultOutput) FirewallState added in v4.20.0

func (o LookupStoreResultOutput) FirewallState() pulumi.StringOutput

the state of the firewall, such as `Enabled` or `Disabled`.

func (LookupStoreResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupStoreResultOutput) Location added in v4.20.0

func (LookupStoreResultOutput) Name added in v4.20.0

func (LookupStoreResultOutput) ResourceGroupName added in v4.20.0

func (o LookupStoreResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupStoreResultOutput) Tags added in v4.20.0

A mapping of tags to assign to the Data Lake Store.

func (LookupStoreResultOutput) Tier added in v4.20.0

Current monthly commitment tier for the account.

func (LookupStoreResultOutput) ToLookupStoreResultOutput added in v4.20.0

func (o LookupStoreResultOutput) ToLookupStoreResultOutput() LookupStoreResultOutput

func (LookupStoreResultOutput) ToLookupStoreResultOutputWithContext added in v4.20.0

func (o LookupStoreResultOutput) ToLookupStoreResultOutputWithContext(ctx context.Context) LookupStoreResultOutput

type Store

type Store struct {
	pulumi.CustomResourceState

	// Is Encryption enabled on this Data Lake Store Account? Possible values are `Enabled` or `Disabled`. Defaults to `Enabled`.
	EncryptionState pulumi.StringPtrOutput `pulumi:"encryptionState"`
	// The Encryption Type used for this Data Lake Store Account. Currently can be set to `ServiceManaged` when `encryptionState` is `Enabled` - and must be a blank string when it's Disabled.
	EncryptionType pulumi.StringOutput `pulumi:"encryptionType"`
	// The Endpoint for the Data Lake Store.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// are Azure Service IP's allowed through the firewall? Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallAllowAzureIps pulumi.StringPtrOutput `pulumi:"firewallAllowAzureIps"`
	// the state of the Firewall. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallState pulumi.StringPtrOutput `pulumi:"firewallState"`
	// An `identity` block defined below.
	Identity StoreIdentityPtrOutput `pulumi:"identity"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The monthly commitment tier for Data Lake Store. Accepted values are `Consumption`, `Commitment_1TB`, `Commitment_10TB`, `Commitment_100TB`, `Commitment_500TB`, `Commitment_1PB` or `Commitment_5PB`.
	Tier pulumi.StringPtrOutput `pulumi:"tier"`
}

Manages an Azure Data Lake Storage Gen1 (previously known as Azure Data Lake Store).

> **Note:** This resoruce manages an `Azure Data Lake Storage Gen1`, previously known as `Azure Data Lake Store`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			EncryptionState:   pulumi.String("Enabled"),
			EncryptionType:    pulumi.String("ServiceManaged"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Store's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/store:Store example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DataLakeStore/accounts/mydatalakeaccount

```

func GetStore

func GetStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreState, opts ...pulumi.ResourceOption) (*Store, error)

GetStore gets an existing Store resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStore

func NewStore(ctx *pulumi.Context,
	name string, args *StoreArgs, opts ...pulumi.ResourceOption) (*Store, error)

NewStore registers a new resource with the given unique name, arguments, and options.

func (*Store) ElementType

func (*Store) ElementType() reflect.Type

func (*Store) ToStoreOutput

func (i *Store) ToStoreOutput() StoreOutput

func (*Store) ToStoreOutputWithContext

func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput

type StoreArgs

type StoreArgs struct {
	// Is Encryption enabled on this Data Lake Store Account? Possible values are `Enabled` or `Disabled`. Defaults to `Enabled`.
	EncryptionState pulumi.StringPtrInput
	// The Encryption Type used for this Data Lake Store Account. Currently can be set to `ServiceManaged` when `encryptionState` is `Enabled` - and must be a blank string when it's Disabled.
	EncryptionType pulumi.StringPtrInput
	// are Azure Service IP's allowed through the firewall? Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallAllowAzureIps pulumi.StringPtrInput
	// the state of the Firewall. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallState pulumi.StringPtrInput
	// An `identity` block defined below.
	Identity StoreIdentityPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The monthly commitment tier for Data Lake Store. Accepted values are `Consumption`, `Commitment_1TB`, `Commitment_10TB`, `Commitment_100TB`, `Commitment_500TB`, `Commitment_1PB` or `Commitment_5PB`.
	Tier pulumi.StringPtrInput
}

The set of arguments for constructing a Store resource.

func (StoreArgs) ElementType

func (StoreArgs) ElementType() reflect.Type

type StoreArray

type StoreArray []StoreInput

func (StoreArray) ElementType

func (StoreArray) ElementType() reflect.Type

func (StoreArray) ToStoreArrayOutput

func (i StoreArray) ToStoreArrayOutput() StoreArrayOutput

func (StoreArray) ToStoreArrayOutputWithContext

func (i StoreArray) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreArrayInput

type StoreArrayInput interface {
	pulumi.Input

	ToStoreArrayOutput() StoreArrayOutput
	ToStoreArrayOutputWithContext(context.Context) StoreArrayOutput
}

StoreArrayInput is an input type that accepts StoreArray and StoreArrayOutput values. You can construct a concrete instance of `StoreArrayInput` via:

StoreArray{ StoreArgs{...} }

type StoreArrayOutput

type StoreArrayOutput struct{ *pulumi.OutputState }

func (StoreArrayOutput) ElementType

func (StoreArrayOutput) ElementType() reflect.Type

func (StoreArrayOutput) Index

func (StoreArrayOutput) ToStoreArrayOutput

func (o StoreArrayOutput) ToStoreArrayOutput() StoreArrayOutput

func (StoreArrayOutput) ToStoreArrayOutputWithContext

func (o StoreArrayOutput) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreFile

type StoreFile struct {
	pulumi.CustomResourceState

	// Specifies the name of the Data Lake Store for which the File should created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The path to the local file to be added to the Data Lake Store.
	LocalFilePath pulumi.StringOutput `pulumi:"localFilePath"`
	// The path created for the file on the Data Lake Store.
	RemoteFilePath pulumi.StringOutput `pulumi:"remoteFilePath"`
}

Manages a Azure Data Lake Store File.

> **Note:** This resoruce manages an `Azure Data Lake Storage Gen1`, previously known as `Azure Data Lake Store`.

> **Note:** If you want to change the data in the remote file without changing the `localFilePath`, then taint the resource so the `datalake.StoreFile` gets recreated with the new data.

## Import

Data Lake Store File's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/storeFile:StoreFile example example.azuredatalakestore.net/test/example.txt

```

func GetStoreFile

func GetStoreFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreFileState, opts ...pulumi.ResourceOption) (*StoreFile, error)

GetStoreFile gets an existing StoreFile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStoreFile

func NewStoreFile(ctx *pulumi.Context,
	name string, args *StoreFileArgs, opts ...pulumi.ResourceOption) (*StoreFile, error)

NewStoreFile registers a new resource with the given unique name, arguments, and options.

func (*StoreFile) ElementType

func (*StoreFile) ElementType() reflect.Type

func (*StoreFile) ToStoreFileOutput

func (i *StoreFile) ToStoreFileOutput() StoreFileOutput

func (*StoreFile) ToStoreFileOutputWithContext

func (i *StoreFile) ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput

type StoreFileArgs

type StoreFileArgs struct {
	// Specifies the name of the Data Lake Store for which the File should created.
	AccountName pulumi.StringInput
	// The path to the local file to be added to the Data Lake Store.
	LocalFilePath pulumi.StringInput
	// The path created for the file on the Data Lake Store.
	RemoteFilePath pulumi.StringInput
}

The set of arguments for constructing a StoreFile resource.

func (StoreFileArgs) ElementType

func (StoreFileArgs) ElementType() reflect.Type

type StoreFileArray

type StoreFileArray []StoreFileInput

func (StoreFileArray) ElementType

func (StoreFileArray) ElementType() reflect.Type

func (StoreFileArray) ToStoreFileArrayOutput

func (i StoreFileArray) ToStoreFileArrayOutput() StoreFileArrayOutput

func (StoreFileArray) ToStoreFileArrayOutputWithContext

func (i StoreFileArray) ToStoreFileArrayOutputWithContext(ctx context.Context) StoreFileArrayOutput

type StoreFileArrayInput

type StoreFileArrayInput interface {
	pulumi.Input

	ToStoreFileArrayOutput() StoreFileArrayOutput
	ToStoreFileArrayOutputWithContext(context.Context) StoreFileArrayOutput
}

StoreFileArrayInput is an input type that accepts StoreFileArray and StoreFileArrayOutput values. You can construct a concrete instance of `StoreFileArrayInput` via:

StoreFileArray{ StoreFileArgs{...} }

type StoreFileArrayOutput

type StoreFileArrayOutput struct{ *pulumi.OutputState }

func (StoreFileArrayOutput) ElementType

func (StoreFileArrayOutput) ElementType() reflect.Type

func (StoreFileArrayOutput) Index

func (StoreFileArrayOutput) ToStoreFileArrayOutput

func (o StoreFileArrayOutput) ToStoreFileArrayOutput() StoreFileArrayOutput

func (StoreFileArrayOutput) ToStoreFileArrayOutputWithContext

func (o StoreFileArrayOutput) ToStoreFileArrayOutputWithContext(ctx context.Context) StoreFileArrayOutput

type StoreFileInput

type StoreFileInput interface {
	pulumi.Input

	ToStoreFileOutput() StoreFileOutput
	ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput
}

type StoreFileMap

type StoreFileMap map[string]StoreFileInput

func (StoreFileMap) ElementType

func (StoreFileMap) ElementType() reflect.Type

func (StoreFileMap) ToStoreFileMapOutput

func (i StoreFileMap) ToStoreFileMapOutput() StoreFileMapOutput

func (StoreFileMap) ToStoreFileMapOutputWithContext

func (i StoreFileMap) ToStoreFileMapOutputWithContext(ctx context.Context) StoreFileMapOutput

type StoreFileMapInput

type StoreFileMapInput interface {
	pulumi.Input

	ToStoreFileMapOutput() StoreFileMapOutput
	ToStoreFileMapOutputWithContext(context.Context) StoreFileMapOutput
}

StoreFileMapInput is an input type that accepts StoreFileMap and StoreFileMapOutput values. You can construct a concrete instance of `StoreFileMapInput` via:

StoreFileMap{ "key": StoreFileArgs{...} }

type StoreFileMapOutput

type StoreFileMapOutput struct{ *pulumi.OutputState }

func (StoreFileMapOutput) ElementType

func (StoreFileMapOutput) ElementType() reflect.Type

func (StoreFileMapOutput) MapIndex

func (StoreFileMapOutput) ToStoreFileMapOutput

func (o StoreFileMapOutput) ToStoreFileMapOutput() StoreFileMapOutput

func (StoreFileMapOutput) ToStoreFileMapOutputWithContext

func (o StoreFileMapOutput) ToStoreFileMapOutputWithContext(ctx context.Context) StoreFileMapOutput

type StoreFileOutput

type StoreFileOutput struct{ *pulumi.OutputState }

func (StoreFileOutput) ElementType

func (StoreFileOutput) ElementType() reflect.Type

func (StoreFileOutput) ToStoreFileOutput

func (o StoreFileOutput) ToStoreFileOutput() StoreFileOutput

func (StoreFileOutput) ToStoreFileOutputWithContext

func (o StoreFileOutput) ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput

type StoreFileState

type StoreFileState struct {
	// Specifies the name of the Data Lake Store for which the File should created.
	AccountName pulumi.StringPtrInput
	// The path to the local file to be added to the Data Lake Store.
	LocalFilePath pulumi.StringPtrInput
	// The path created for the file on the Data Lake Store.
	RemoteFilePath pulumi.StringPtrInput
}

func (StoreFileState) ElementType

func (StoreFileState) ElementType() reflect.Type

type StoreFirewallRule

type StoreFirewallRule struct {
	pulumi.CustomResourceState

	// Specifies the name of the Data Lake Store for which the Firewall Rule should take effect.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"`
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"`
}

Manages a Azure Data Lake Store Firewall Rule.

> **Note:** This resoruce manages an `Azure Data Lake Storage Gen1`, previously known as `Azure Data Lake Store`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewStoreFirewallRule(ctx, "exampleStoreFirewallRule", &datalake.StoreFirewallRuleArgs{
			AccountName:       exampleStore.Name,
			ResourceGroupName: exampleResourceGroup.Name,
			StartIpAddress:    pulumi.String("1.2.3.4"),
			EndIpAddress:      pulumi.String("2.3.4.5"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Store Firewall Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/storeFirewallRule:StoreFirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.DataLakeStore/accounts/mydatalakeaccount/firewallRules/rule1

```

func GetStoreFirewallRule

func GetStoreFirewallRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreFirewallRuleState, opts ...pulumi.ResourceOption) (*StoreFirewallRule, error)

GetStoreFirewallRule gets an existing StoreFirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStoreFirewallRule

func NewStoreFirewallRule(ctx *pulumi.Context,
	name string, args *StoreFirewallRuleArgs, opts ...pulumi.ResourceOption) (*StoreFirewallRule, error)

NewStoreFirewallRule registers a new resource with the given unique name, arguments, and options.

func (*StoreFirewallRule) ElementType

func (*StoreFirewallRule) ElementType() reflect.Type

func (*StoreFirewallRule) ToStoreFirewallRuleOutput

func (i *StoreFirewallRule) ToStoreFirewallRuleOutput() StoreFirewallRuleOutput

func (*StoreFirewallRule) ToStoreFirewallRuleOutputWithContext

func (i *StoreFirewallRule) ToStoreFirewallRuleOutputWithContext(ctx context.Context) StoreFirewallRuleOutput

type StoreFirewallRuleArgs

type StoreFirewallRuleArgs struct {
	// Specifies the name of the Data Lake Store for which the Firewall Rule should take effect.
	AccountName pulumi.StringInput
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringInput
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringInput
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringInput
}

The set of arguments for constructing a StoreFirewallRule resource.

func (StoreFirewallRuleArgs) ElementType

func (StoreFirewallRuleArgs) ElementType() reflect.Type

type StoreFirewallRuleArray

type StoreFirewallRuleArray []StoreFirewallRuleInput

func (StoreFirewallRuleArray) ElementType

func (StoreFirewallRuleArray) ElementType() reflect.Type

func (StoreFirewallRuleArray) ToStoreFirewallRuleArrayOutput

func (i StoreFirewallRuleArray) ToStoreFirewallRuleArrayOutput() StoreFirewallRuleArrayOutput

func (StoreFirewallRuleArray) ToStoreFirewallRuleArrayOutputWithContext

func (i StoreFirewallRuleArray) ToStoreFirewallRuleArrayOutputWithContext(ctx context.Context) StoreFirewallRuleArrayOutput

type StoreFirewallRuleArrayInput

type StoreFirewallRuleArrayInput interface {
	pulumi.Input

	ToStoreFirewallRuleArrayOutput() StoreFirewallRuleArrayOutput
	ToStoreFirewallRuleArrayOutputWithContext(context.Context) StoreFirewallRuleArrayOutput
}

StoreFirewallRuleArrayInput is an input type that accepts StoreFirewallRuleArray and StoreFirewallRuleArrayOutput values. You can construct a concrete instance of `StoreFirewallRuleArrayInput` via:

StoreFirewallRuleArray{ StoreFirewallRuleArgs{...} }

type StoreFirewallRuleArrayOutput

type StoreFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (StoreFirewallRuleArrayOutput) ElementType

func (StoreFirewallRuleArrayOutput) Index

func (StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutput

func (o StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutput() StoreFirewallRuleArrayOutput

func (StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutputWithContext

func (o StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutputWithContext(ctx context.Context) StoreFirewallRuleArrayOutput

type StoreFirewallRuleInput

type StoreFirewallRuleInput interface {
	pulumi.Input

	ToStoreFirewallRuleOutput() StoreFirewallRuleOutput
	ToStoreFirewallRuleOutputWithContext(ctx context.Context) StoreFirewallRuleOutput
}

type StoreFirewallRuleMap

type StoreFirewallRuleMap map[string]StoreFirewallRuleInput

func (StoreFirewallRuleMap) ElementType

func (StoreFirewallRuleMap) ElementType() reflect.Type

func (StoreFirewallRuleMap) ToStoreFirewallRuleMapOutput

func (i StoreFirewallRuleMap) ToStoreFirewallRuleMapOutput() StoreFirewallRuleMapOutput

func (StoreFirewallRuleMap) ToStoreFirewallRuleMapOutputWithContext

func (i StoreFirewallRuleMap) ToStoreFirewallRuleMapOutputWithContext(ctx context.Context) StoreFirewallRuleMapOutput

type StoreFirewallRuleMapInput

type StoreFirewallRuleMapInput interface {
	pulumi.Input

	ToStoreFirewallRuleMapOutput() StoreFirewallRuleMapOutput
	ToStoreFirewallRuleMapOutputWithContext(context.Context) StoreFirewallRuleMapOutput
}

StoreFirewallRuleMapInput is an input type that accepts StoreFirewallRuleMap and StoreFirewallRuleMapOutput values. You can construct a concrete instance of `StoreFirewallRuleMapInput` via:

StoreFirewallRuleMap{ "key": StoreFirewallRuleArgs{...} }

type StoreFirewallRuleMapOutput

type StoreFirewallRuleMapOutput struct{ *pulumi.OutputState }

func (StoreFirewallRuleMapOutput) ElementType

func (StoreFirewallRuleMapOutput) ElementType() reflect.Type

func (StoreFirewallRuleMapOutput) MapIndex

func (StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutput

func (o StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutput() StoreFirewallRuleMapOutput

func (StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutputWithContext

func (o StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutputWithContext(ctx context.Context) StoreFirewallRuleMapOutput

type StoreFirewallRuleOutput

type StoreFirewallRuleOutput struct{ *pulumi.OutputState }

func (StoreFirewallRuleOutput) ElementType

func (StoreFirewallRuleOutput) ElementType() reflect.Type

func (StoreFirewallRuleOutput) ToStoreFirewallRuleOutput

func (o StoreFirewallRuleOutput) ToStoreFirewallRuleOutput() StoreFirewallRuleOutput

func (StoreFirewallRuleOutput) ToStoreFirewallRuleOutputWithContext

func (o StoreFirewallRuleOutput) ToStoreFirewallRuleOutputWithContext(ctx context.Context) StoreFirewallRuleOutput

type StoreFirewallRuleState

type StoreFirewallRuleState struct {
	// Specifies the name of the Data Lake Store for which the Firewall Rule should take effect.
	AccountName pulumi.StringPtrInput
	// The End IP Address for the firewall rule.
	EndIpAddress pulumi.StringPtrInput
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringPtrInput
	// The Start IP address for the firewall rule.
	StartIpAddress pulumi.StringPtrInput
}

func (StoreFirewallRuleState) ElementType

func (StoreFirewallRuleState) ElementType() reflect.Type

type StoreIdentity added in v4.15.0

type StoreIdentity struct {
	PrincipalId *string `pulumi:"principalId"`
	TenantId    *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Data Lake Store Account. At this time the only possible value is `SystemAssigned`.
	Type string `pulumi:"type"`
}

type StoreIdentityArgs added in v4.15.0

type StoreIdentityArgs struct {
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Data Lake Store Account. At this time the only possible value is `SystemAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (StoreIdentityArgs) ElementType added in v4.15.0

func (StoreIdentityArgs) ElementType() reflect.Type

func (StoreIdentityArgs) ToStoreIdentityOutput added in v4.15.0

func (i StoreIdentityArgs) ToStoreIdentityOutput() StoreIdentityOutput

func (StoreIdentityArgs) ToStoreIdentityOutputWithContext added in v4.15.0

func (i StoreIdentityArgs) ToStoreIdentityOutputWithContext(ctx context.Context) StoreIdentityOutput

func (StoreIdentityArgs) ToStoreIdentityPtrOutput added in v4.15.0

func (i StoreIdentityArgs) ToStoreIdentityPtrOutput() StoreIdentityPtrOutput

func (StoreIdentityArgs) ToStoreIdentityPtrOutputWithContext added in v4.15.0

func (i StoreIdentityArgs) ToStoreIdentityPtrOutputWithContext(ctx context.Context) StoreIdentityPtrOutput

type StoreIdentityInput added in v4.15.0

type StoreIdentityInput interface {
	pulumi.Input

	ToStoreIdentityOutput() StoreIdentityOutput
	ToStoreIdentityOutputWithContext(context.Context) StoreIdentityOutput
}

StoreIdentityInput is an input type that accepts StoreIdentityArgs and StoreIdentityOutput values. You can construct a concrete instance of `StoreIdentityInput` via:

StoreIdentityArgs{...}

type StoreIdentityOutput added in v4.15.0

type StoreIdentityOutput struct{ *pulumi.OutputState }

func (StoreIdentityOutput) ElementType added in v4.15.0

func (StoreIdentityOutput) ElementType() reflect.Type

func (StoreIdentityOutput) PrincipalId added in v4.15.0

func (o StoreIdentityOutput) PrincipalId() pulumi.StringPtrOutput

func (StoreIdentityOutput) TenantId added in v4.15.0

func (StoreIdentityOutput) ToStoreIdentityOutput added in v4.15.0

func (o StoreIdentityOutput) ToStoreIdentityOutput() StoreIdentityOutput

func (StoreIdentityOutput) ToStoreIdentityOutputWithContext added in v4.15.0

func (o StoreIdentityOutput) ToStoreIdentityOutputWithContext(ctx context.Context) StoreIdentityOutput

func (StoreIdentityOutput) ToStoreIdentityPtrOutput added in v4.15.0

func (o StoreIdentityOutput) ToStoreIdentityPtrOutput() StoreIdentityPtrOutput

func (StoreIdentityOutput) ToStoreIdentityPtrOutputWithContext added in v4.15.0

func (o StoreIdentityOutput) ToStoreIdentityPtrOutputWithContext(ctx context.Context) StoreIdentityPtrOutput

func (StoreIdentityOutput) Type added in v4.15.0

The Type of Identity which should be used for this Data Lake Store Account. At this time the only possible value is `SystemAssigned`.

type StoreIdentityPtrInput added in v4.15.0

type StoreIdentityPtrInput interface {
	pulumi.Input

	ToStoreIdentityPtrOutput() StoreIdentityPtrOutput
	ToStoreIdentityPtrOutputWithContext(context.Context) StoreIdentityPtrOutput
}

StoreIdentityPtrInput is an input type that accepts StoreIdentityArgs, StoreIdentityPtr and StoreIdentityPtrOutput values. You can construct a concrete instance of `StoreIdentityPtrInput` via:

        StoreIdentityArgs{...}

or:

        nil

func StoreIdentityPtr added in v4.15.0

func StoreIdentityPtr(v *StoreIdentityArgs) StoreIdentityPtrInput

type StoreIdentityPtrOutput added in v4.15.0

type StoreIdentityPtrOutput struct{ *pulumi.OutputState }

func (StoreIdentityPtrOutput) Elem added in v4.15.0

func (StoreIdentityPtrOutput) ElementType added in v4.15.0

func (StoreIdentityPtrOutput) ElementType() reflect.Type

func (StoreIdentityPtrOutput) PrincipalId added in v4.15.0

func (StoreIdentityPtrOutput) TenantId added in v4.15.0

func (StoreIdentityPtrOutput) ToStoreIdentityPtrOutput added in v4.15.0

func (o StoreIdentityPtrOutput) ToStoreIdentityPtrOutput() StoreIdentityPtrOutput

func (StoreIdentityPtrOutput) ToStoreIdentityPtrOutputWithContext added in v4.15.0

func (o StoreIdentityPtrOutput) ToStoreIdentityPtrOutputWithContext(ctx context.Context) StoreIdentityPtrOutput

func (StoreIdentityPtrOutput) Type added in v4.15.0

The Type of Identity which should be used for this Data Lake Store Account. At this time the only possible value is `SystemAssigned`.

type StoreInput

type StoreInput interface {
	pulumi.Input

	ToStoreOutput() StoreOutput
	ToStoreOutputWithContext(ctx context.Context) StoreOutput
}

type StoreMap

type StoreMap map[string]StoreInput

func (StoreMap) ElementType

func (StoreMap) ElementType() reflect.Type

func (StoreMap) ToStoreMapOutput

func (i StoreMap) ToStoreMapOutput() StoreMapOutput

func (StoreMap) ToStoreMapOutputWithContext

func (i StoreMap) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreMapInput

type StoreMapInput interface {
	pulumi.Input

	ToStoreMapOutput() StoreMapOutput
	ToStoreMapOutputWithContext(context.Context) StoreMapOutput
}

StoreMapInput is an input type that accepts StoreMap and StoreMapOutput values. You can construct a concrete instance of `StoreMapInput` via:

StoreMap{ "key": StoreArgs{...} }

type StoreMapOutput

type StoreMapOutput struct{ *pulumi.OutputState }

func (StoreMapOutput) ElementType

func (StoreMapOutput) ElementType() reflect.Type

func (StoreMapOutput) MapIndex

func (StoreMapOutput) ToStoreMapOutput

func (o StoreMapOutput) ToStoreMapOutput() StoreMapOutput

func (StoreMapOutput) ToStoreMapOutputWithContext

func (o StoreMapOutput) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreOutput

type StoreOutput struct{ *pulumi.OutputState }

func (StoreOutput) ElementType

func (StoreOutput) ElementType() reflect.Type

func (StoreOutput) ToStoreOutput

func (o StoreOutput) ToStoreOutput() StoreOutput

func (StoreOutput) ToStoreOutputWithContext

func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput

type StoreState

type StoreState struct {
	// Is Encryption enabled on this Data Lake Store Account? Possible values are `Enabled` or `Disabled`. Defaults to `Enabled`.
	EncryptionState pulumi.StringPtrInput
	// The Encryption Type used for this Data Lake Store Account. Currently can be set to `ServiceManaged` when `encryptionState` is `Enabled` - and must be a blank string when it's Disabled.
	EncryptionType pulumi.StringPtrInput
	// The Endpoint for the Data Lake Store.
	Endpoint pulumi.StringPtrInput
	// are Azure Service IP's allowed through the firewall? Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallAllowAzureIps pulumi.StringPtrInput
	// the state of the Firewall. Possible values are `Enabled` and `Disabled`. Defaults to `Enabled.`
	FirewallState pulumi.StringPtrInput
	// An `identity` block defined below.
	Identity StoreIdentityPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Data Lake Store.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// The monthly commitment tier for Data Lake Store. Accepted values are `Consumption`, `Commitment_1TB`, `Commitment_10TB`, `Commitment_100TB`, `Commitment_500TB`, `Commitment_1PB` or `Commitment_5PB`.
	Tier pulumi.StringPtrInput
}

func (StoreState) ElementType

func (StoreState) ElementType() reflect.Type

type StoreVirtualNetworkRule

type StoreVirtualNetworkRule struct {
	pulumi.CustomResourceState

	// The name of the Data Lake Store to which this Data Lake Store virtual network rule will be applied to. Changing this forces a new resource to be created.
	AccountName pulumi.StringOutput `pulumi:"accountName"`
	// The name of the Data Lake Store virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters, underscores, periods and hyphens. Cannot start with a period, underscore or hyphen, and cannot end with a period and a hyphen.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group where the Data Lake Store resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The ID of the subnet that the Data Lake Store will be connected to.
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
}

Allows you to add, update, or remove an Azure Data Lake Store to a subnet of a virtual network.

> **Note:** This resoruce manages an `Azure Data Lake Storage Gen1`, previously known as `Azure Data Lake Store`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datalake"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("northeurope"),
		})
		if err != nil {
			return err
		}
		vnet, err := network.NewVirtualNetwork(ctx, "vnet", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.7.29.0/29"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		subnet, err := network.NewSubnet(ctx, "subnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: vnet.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.7.29.0/29"),
			},
			ServiceEndpoints: pulumi.StringArray{
				pulumi.String("Microsoft.AzureActiveDirectory"),
			},
		})
		if err != nil {
			return err
		}
		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewStoreVirtualNetworkRule(ctx, "adlsvnetrule", &datalake.StoreVirtualNetworkRuleArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			AccountName:       exampleStore.Name,
			SubnetId:          subnet.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Lake Store Virtual Network Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datalake/storeVirtualNetworkRule:StoreVirtualNetworkRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.DataLakeStore/accounts/myaccount/virtualNetworkRules/vnetrulename

```

func GetStoreVirtualNetworkRule

func GetStoreVirtualNetworkRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreVirtualNetworkRuleState, opts ...pulumi.ResourceOption) (*StoreVirtualNetworkRule, error)

GetStoreVirtualNetworkRule gets an existing StoreVirtualNetworkRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStoreVirtualNetworkRule

func NewStoreVirtualNetworkRule(ctx *pulumi.Context,
	name string, args *StoreVirtualNetworkRuleArgs, opts ...pulumi.ResourceOption) (*StoreVirtualNetworkRule, error)

NewStoreVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.

func (*StoreVirtualNetworkRule) ElementType

func (*StoreVirtualNetworkRule) ElementType() reflect.Type

func (*StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutput

func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput

func (*StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutputWithContext

func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput

type StoreVirtualNetworkRuleArgs

type StoreVirtualNetworkRuleArgs struct {
	// The name of the Data Lake Store to which this Data Lake Store virtual network rule will be applied to. Changing this forces a new resource to be created.
	AccountName pulumi.StringInput
	// The name of the Data Lake Store virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters, underscores, periods and hyphens. Cannot start with a period, underscore or hyphen, and cannot end with a period and a hyphen.
	Name pulumi.StringPtrInput
	// The name of the resource group where the Data Lake Store resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The ID of the subnet that the Data Lake Store will be connected to.
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a StoreVirtualNetworkRule resource.

func (StoreVirtualNetworkRuleArgs) ElementType

type StoreVirtualNetworkRuleArray

type StoreVirtualNetworkRuleArray []StoreVirtualNetworkRuleInput

func (StoreVirtualNetworkRuleArray) ElementType

func (StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutput

func (i StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutput() StoreVirtualNetworkRuleArrayOutput

func (StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutputWithContext

func (i StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleArrayOutput

type StoreVirtualNetworkRuleArrayInput

type StoreVirtualNetworkRuleArrayInput interface {
	pulumi.Input

	ToStoreVirtualNetworkRuleArrayOutput() StoreVirtualNetworkRuleArrayOutput
	ToStoreVirtualNetworkRuleArrayOutputWithContext(context.Context) StoreVirtualNetworkRuleArrayOutput
}

StoreVirtualNetworkRuleArrayInput is an input type that accepts StoreVirtualNetworkRuleArray and StoreVirtualNetworkRuleArrayOutput values. You can construct a concrete instance of `StoreVirtualNetworkRuleArrayInput` via:

StoreVirtualNetworkRuleArray{ StoreVirtualNetworkRuleArgs{...} }

type StoreVirtualNetworkRuleArrayOutput

type StoreVirtualNetworkRuleArrayOutput struct{ *pulumi.OutputState }

func (StoreVirtualNetworkRuleArrayOutput) ElementType

func (StoreVirtualNetworkRuleArrayOutput) Index

func (StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutput

func (o StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutput() StoreVirtualNetworkRuleArrayOutput

func (StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutputWithContext

func (o StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleArrayOutput

type StoreVirtualNetworkRuleInput

type StoreVirtualNetworkRuleInput interface {
	pulumi.Input

	ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput
	ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput
}

type StoreVirtualNetworkRuleMap

type StoreVirtualNetworkRuleMap map[string]StoreVirtualNetworkRuleInput

func (StoreVirtualNetworkRuleMap) ElementType

func (StoreVirtualNetworkRuleMap) ElementType() reflect.Type

func (StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutput

func (i StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutput() StoreVirtualNetworkRuleMapOutput

func (StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutputWithContext

func (i StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleMapOutput

type StoreVirtualNetworkRuleMapInput

type StoreVirtualNetworkRuleMapInput interface {
	pulumi.Input

	ToStoreVirtualNetworkRuleMapOutput() StoreVirtualNetworkRuleMapOutput
	ToStoreVirtualNetworkRuleMapOutputWithContext(context.Context) StoreVirtualNetworkRuleMapOutput
}

StoreVirtualNetworkRuleMapInput is an input type that accepts StoreVirtualNetworkRuleMap and StoreVirtualNetworkRuleMapOutput values. You can construct a concrete instance of `StoreVirtualNetworkRuleMapInput` via:

StoreVirtualNetworkRuleMap{ "key": StoreVirtualNetworkRuleArgs{...} }

type StoreVirtualNetworkRuleMapOutput

type StoreVirtualNetworkRuleMapOutput struct{ *pulumi.OutputState }

func (StoreVirtualNetworkRuleMapOutput) ElementType

func (StoreVirtualNetworkRuleMapOutput) MapIndex

func (StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutput

func (o StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutput() StoreVirtualNetworkRuleMapOutput

func (StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutputWithContext

func (o StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleMapOutput

type StoreVirtualNetworkRuleOutput

type StoreVirtualNetworkRuleOutput struct{ *pulumi.OutputState }

func (StoreVirtualNetworkRuleOutput) ElementType

func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutput

func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput

func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutputWithContext

func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput

type StoreVirtualNetworkRuleState

type StoreVirtualNetworkRuleState struct {
	// The name of the Data Lake Store to which this Data Lake Store virtual network rule will be applied to. Changing this forces a new resource to be created.
	AccountName pulumi.StringPtrInput
	// The name of the Data Lake Store virtual network rule. Changing this forces a new resource to be created. Cannot be empty and must only contain alphanumeric characters, underscores, periods and hyphens. Cannot start with a period, underscore or hyphen, and cannot end with a period and a hyphen.
	Name pulumi.StringPtrInput
	// The name of the resource group where the Data Lake Store resides. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The ID of the subnet that the Data Lake Store will be connected to.
	SubnetId pulumi.StringPtrInput
}

func (StoreVirtualNetworkRuleState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL