Documentation ¶
Index ¶
- type AnalyticsAccount
- func (*AnalyticsAccount) ElementType() reflect.Type
- func (i *AnalyticsAccount) ToAnalyticsAccountOutput() AnalyticsAccountOutput
- func (i *AnalyticsAccount) ToAnalyticsAccountOutputWithContext(ctx context.Context) AnalyticsAccountOutput
- func (i *AnalyticsAccount) ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput
- func (i *AnalyticsAccount) ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput
- type AnalyticsAccountArgs
- type AnalyticsAccountArray
- type AnalyticsAccountArrayInput
- type AnalyticsAccountArrayOutput
- func (AnalyticsAccountArrayOutput) ElementType() reflect.Type
- func (o AnalyticsAccountArrayOutput) Index(i pulumi.IntInput) AnalyticsAccountOutput
- func (o AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutput() AnalyticsAccountArrayOutput
- func (o AnalyticsAccountArrayOutput) ToAnalyticsAccountArrayOutputWithContext(ctx context.Context) AnalyticsAccountArrayOutput
- type AnalyticsAccountInput
- type AnalyticsAccountMap
- type AnalyticsAccountMapInput
- type AnalyticsAccountMapOutput
- func (AnalyticsAccountMapOutput) ElementType() reflect.Type
- func (o AnalyticsAccountMapOutput) MapIndex(k pulumi.StringInput) AnalyticsAccountOutput
- func (o AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutput() AnalyticsAccountMapOutput
- func (o AnalyticsAccountMapOutput) ToAnalyticsAccountMapOutputWithContext(ctx context.Context) AnalyticsAccountMapOutput
- type AnalyticsAccountOutput
- func (AnalyticsAccountOutput) ElementType() reflect.Type
- func (o AnalyticsAccountOutput) ToAnalyticsAccountOutput() AnalyticsAccountOutput
- func (o AnalyticsAccountOutput) ToAnalyticsAccountOutputWithContext(ctx context.Context) AnalyticsAccountOutput
- func (o AnalyticsAccountOutput) ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput
- func (o AnalyticsAccountOutput) ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput
- type AnalyticsAccountPtrInput
- type AnalyticsAccountPtrOutput
- type AnalyticsAccountState
- type AnalyticsFirewallRule
- func (*AnalyticsFirewallRule) ElementType() reflect.Type
- func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput
- func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput
- func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
- func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
- type AnalyticsFirewallRuleArgs
- type AnalyticsFirewallRuleArray
- func (AnalyticsFirewallRuleArray) ElementType() reflect.Type
- func (i AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutput() AnalyticsFirewallRuleArrayOutput
- func (i AnalyticsFirewallRuleArray) ToAnalyticsFirewallRuleArrayOutputWithContext(ctx context.Context) AnalyticsFirewallRuleArrayOutput
- type AnalyticsFirewallRuleArrayInput
- type AnalyticsFirewallRuleArrayOutput
- func (AnalyticsFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o AnalyticsFirewallRuleArrayOutput) Index(i pulumi.IntInput) AnalyticsFirewallRuleOutput
- func (o AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutput() AnalyticsFirewallRuleArrayOutput
- func (o AnalyticsFirewallRuleArrayOutput) ToAnalyticsFirewallRuleArrayOutputWithContext(ctx context.Context) AnalyticsFirewallRuleArrayOutput
- type AnalyticsFirewallRuleInput
- type AnalyticsFirewallRuleMap
- type AnalyticsFirewallRuleMapInput
- type AnalyticsFirewallRuleMapOutput
- func (AnalyticsFirewallRuleMapOutput) ElementType() reflect.Type
- func (o AnalyticsFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) AnalyticsFirewallRuleOutput
- func (o AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutput() AnalyticsFirewallRuleMapOutput
- func (o AnalyticsFirewallRuleMapOutput) ToAnalyticsFirewallRuleMapOutputWithContext(ctx context.Context) AnalyticsFirewallRuleMapOutput
- type AnalyticsFirewallRuleOutput
- func (AnalyticsFirewallRuleOutput) ElementType() reflect.Type
- func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput
- func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput
- func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
- func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
- type AnalyticsFirewallRulePtrInput
- type AnalyticsFirewallRulePtrOutput
- func (AnalyticsFirewallRulePtrOutput) ElementType() reflect.Type
- func (o AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
- func (o AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
- type AnalyticsFirewallRuleState
- type LookupStoreArgs
- type LookupStoreResult
- type Store
- type StoreArgs
- type StoreArray
- type StoreArrayInput
- type StoreArrayOutput
- type StoreFile
- func (*StoreFile) ElementType() reflect.Type
- func (i *StoreFile) ToStoreFileOutput() StoreFileOutput
- func (i *StoreFile) ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput
- func (i *StoreFile) ToStoreFilePtrOutput() StoreFilePtrOutput
- func (i *StoreFile) ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput
- type StoreFileArgs
- type StoreFileArray
- type StoreFileArrayInput
- type StoreFileArrayOutput
- func (StoreFileArrayOutput) ElementType() reflect.Type
- func (o StoreFileArrayOutput) Index(i pulumi.IntInput) StoreFileOutput
- func (o StoreFileArrayOutput) ToStoreFileArrayOutput() StoreFileArrayOutput
- func (o StoreFileArrayOutput) ToStoreFileArrayOutputWithContext(ctx context.Context) StoreFileArrayOutput
- type StoreFileInput
- type StoreFileMap
- type StoreFileMapInput
- type StoreFileMapOutput
- type StoreFileOutput
- func (StoreFileOutput) ElementType() reflect.Type
- func (o StoreFileOutput) ToStoreFileOutput() StoreFileOutput
- func (o StoreFileOutput) ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput
- func (o StoreFileOutput) ToStoreFilePtrOutput() StoreFilePtrOutput
- func (o StoreFileOutput) ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput
- type StoreFilePtrInput
- type StoreFilePtrOutput
- type StoreFileState
- type StoreFirewallRule
- func (*StoreFirewallRule) ElementType() reflect.Type
- func (i *StoreFirewallRule) ToStoreFirewallRuleOutput() StoreFirewallRuleOutput
- func (i *StoreFirewallRule) ToStoreFirewallRuleOutputWithContext(ctx context.Context) StoreFirewallRuleOutput
- func (i *StoreFirewallRule) ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput
- func (i *StoreFirewallRule) ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput
- type StoreFirewallRuleArgs
- type StoreFirewallRuleArray
- type StoreFirewallRuleArrayInput
- type StoreFirewallRuleArrayOutput
- func (StoreFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o StoreFirewallRuleArrayOutput) Index(i pulumi.IntInput) StoreFirewallRuleOutput
- func (o StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutput() StoreFirewallRuleArrayOutput
- func (o StoreFirewallRuleArrayOutput) ToStoreFirewallRuleArrayOutputWithContext(ctx context.Context) StoreFirewallRuleArrayOutput
- type StoreFirewallRuleInput
- type StoreFirewallRuleMap
- type StoreFirewallRuleMapInput
- type StoreFirewallRuleMapOutput
- func (StoreFirewallRuleMapOutput) ElementType() reflect.Type
- func (o StoreFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) StoreFirewallRuleOutput
- func (o StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutput() StoreFirewallRuleMapOutput
- func (o StoreFirewallRuleMapOutput) ToStoreFirewallRuleMapOutputWithContext(ctx context.Context) StoreFirewallRuleMapOutput
- type StoreFirewallRuleOutput
- func (StoreFirewallRuleOutput) ElementType() reflect.Type
- func (o StoreFirewallRuleOutput) ToStoreFirewallRuleOutput() StoreFirewallRuleOutput
- func (o StoreFirewallRuleOutput) ToStoreFirewallRuleOutputWithContext(ctx context.Context) StoreFirewallRuleOutput
- func (o StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput
- func (o StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput
- type StoreFirewallRulePtrInput
- type StoreFirewallRulePtrOutput
- type StoreFirewallRuleState
- type StoreInput
- type StoreMap
- type StoreMapInput
- type StoreMapOutput
- type StoreOutput
- func (StoreOutput) ElementType() reflect.Type
- func (o StoreOutput) ToStoreOutput() StoreOutput
- func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput
- func (o StoreOutput) ToStorePtrOutput() StorePtrOutput
- func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
- type StorePtrInput
- type StorePtrOutput
- type StoreState
- type StoreVirtualNetworkRule
- func (*StoreVirtualNetworkRule) ElementType() reflect.Type
- func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput
- func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput
- func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
- func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
- type StoreVirtualNetworkRuleArgs
- type StoreVirtualNetworkRuleArray
- func (StoreVirtualNetworkRuleArray) ElementType() reflect.Type
- func (i StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutput() StoreVirtualNetworkRuleArrayOutput
- func (i StoreVirtualNetworkRuleArray) ToStoreVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleArrayOutput
- type StoreVirtualNetworkRuleArrayInput
- type StoreVirtualNetworkRuleArrayOutput
- func (StoreVirtualNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o StoreVirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) StoreVirtualNetworkRuleOutput
- func (o StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutput() StoreVirtualNetworkRuleArrayOutput
- func (o StoreVirtualNetworkRuleArrayOutput) ToStoreVirtualNetworkRuleArrayOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleArrayOutput
- type StoreVirtualNetworkRuleInput
- type StoreVirtualNetworkRuleMap
- func (StoreVirtualNetworkRuleMap) ElementType() reflect.Type
- func (i StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutput() StoreVirtualNetworkRuleMapOutput
- func (i StoreVirtualNetworkRuleMap) ToStoreVirtualNetworkRuleMapOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleMapOutput
- type StoreVirtualNetworkRuleMapInput
- type StoreVirtualNetworkRuleMapOutput
- func (StoreVirtualNetworkRuleMapOutput) ElementType() reflect.Type
- func (o StoreVirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) StoreVirtualNetworkRuleOutput
- func (o StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutput() StoreVirtualNetworkRuleMapOutput
- func (o StoreVirtualNetworkRuleMapOutput) ToStoreVirtualNetworkRuleMapOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleMapOutput
- type StoreVirtualNetworkRuleOutput
- func (StoreVirtualNetworkRuleOutput) ElementType() reflect.Type
- func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput
- func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput
- func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
- func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
- type StoreVirtualNetworkRulePtrInput
- type StoreVirtualNetworkRulePtrOutput
- func (StoreVirtualNetworkRulePtrOutput) ElementType() reflect.Type
- func (o StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
- func (o StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
- type StoreVirtualNetworkRuleState
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
func (*AnalyticsAccount) ToAnalyticsAccountPtrOutput ¶
func (i *AnalyticsAccount) ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput
func (*AnalyticsAccount) ToAnalyticsAccountPtrOutputWithContext ¶
func (i *AnalyticsAccount) ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput
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) ElementType() reflect.Type
func (AnalyticsAccountArrayOutput) Index ¶
func (o AnalyticsAccountArrayOutput) Index(i pulumi.IntInput) AnalyticsAccountOutput
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 (o AnalyticsAccountMapOutput) MapIndex(k pulumi.StringInput) AnalyticsAccountOutput
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
func (AnalyticsAccountOutput) ToAnalyticsAccountPtrOutput ¶
func (o AnalyticsAccountOutput) ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput
func (AnalyticsAccountOutput) ToAnalyticsAccountPtrOutputWithContext ¶
func (o AnalyticsAccountOutput) ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput
type AnalyticsAccountPtrInput ¶
type AnalyticsAccountPtrInput interface { pulumi.Input ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput }
type AnalyticsAccountPtrOutput ¶
type AnalyticsAccountPtrOutput struct {
*pulumi.OutputState
}
func (AnalyticsAccountPtrOutput) ElementType ¶
func (AnalyticsAccountPtrOutput) ElementType() reflect.Type
func (AnalyticsAccountPtrOutput) ToAnalyticsAccountPtrOutput ¶
func (o AnalyticsAccountPtrOutput) ToAnalyticsAccountPtrOutput() AnalyticsAccountPtrOutput
func (AnalyticsAccountPtrOutput) ToAnalyticsAccountPtrOutputWithContext ¶
func (o AnalyticsAccountPtrOutput) ToAnalyticsAccountPtrOutputWithContext(ctx context.Context) AnalyticsAccountPtrOutput
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
func (*AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutput ¶
func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
func (*AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutputWithContext ¶
func (i *AnalyticsFirewallRule) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
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) ElementType() reflect.Type
func (AnalyticsFirewallRuleArrayOutput) Index ¶
func (o AnalyticsFirewallRuleArrayOutput) Index(i pulumi.IntInput) AnalyticsFirewallRuleOutput
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) ElementType() reflect.Type
func (AnalyticsFirewallRuleMapOutput) MapIndex ¶
func (o AnalyticsFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) AnalyticsFirewallRuleOutput
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) ElementType() reflect.Type
func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutput ¶
func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutput() AnalyticsFirewallRuleOutput
func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutputWithContext ¶
func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRuleOutputWithContext(ctx context.Context) AnalyticsFirewallRuleOutput
func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutput ¶
func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
func (AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutputWithContext ¶
func (o AnalyticsFirewallRuleOutput) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
type AnalyticsFirewallRulePtrInput ¶
type AnalyticsFirewallRulePtrInput interface { pulumi.Input ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput }
type AnalyticsFirewallRulePtrOutput ¶
type AnalyticsFirewallRulePtrOutput struct {
*pulumi.OutputState
}
func (AnalyticsFirewallRulePtrOutput) ElementType ¶
func (AnalyticsFirewallRulePtrOutput) ElementType() reflect.Type
func (AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutput ¶
func (o AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutput() AnalyticsFirewallRulePtrOutput
func (AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutputWithContext ¶
func (o AnalyticsFirewallRulePtrOutput) ToAnalyticsFirewallRulePtrOutputWithContext(ctx context.Context) AnalyticsFirewallRulePtrOutput
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 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 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"` // 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 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) ToStoreOutput ¶
func (i *Store) ToStoreOutput() StoreOutput
func (*Store) ToStoreOutputWithContext ¶
func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput
func (*Store) ToStorePtrOutput ¶
func (i *Store) ToStorePtrOutput() StorePtrOutput
func (*Store) ToStorePtrOutputWithContext ¶
func (i *Store) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
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 // 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 ¶
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 (o StoreArrayOutput) Index(i pulumi.IntInput) StoreOutput
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:** 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 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) ToStoreFileOutput ¶
func (i *StoreFile) ToStoreFileOutput() StoreFileOutput
func (*StoreFile) ToStoreFileOutputWithContext ¶
func (i *StoreFile) ToStoreFileOutputWithContext(ctx context.Context) StoreFileOutput
func (*StoreFile) ToStoreFilePtrOutput ¶
func (i *StoreFile) ToStoreFilePtrOutput() StoreFilePtrOutput
func (*StoreFile) ToStoreFilePtrOutputWithContext ¶
func (i *StoreFile) ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput
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 (o StoreFileArrayOutput) Index(i pulumi.IntInput) StoreFileOutput
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 (o StoreFileMapOutput) MapIndex(k pulumi.StringInput) StoreFileOutput
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
func (StoreFileOutput) ToStoreFilePtrOutput ¶
func (o StoreFileOutput) ToStoreFilePtrOutput() StoreFilePtrOutput
func (StoreFileOutput) ToStoreFilePtrOutputWithContext ¶
func (o StoreFileOutput) ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput
type StoreFilePtrInput ¶
type StoreFilePtrInput interface { pulumi.Input ToStoreFilePtrOutput() StoreFilePtrOutput ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput }
type StoreFilePtrOutput ¶
type StoreFilePtrOutput struct {
*pulumi.OutputState
}
func (StoreFilePtrOutput) ElementType ¶
func (StoreFilePtrOutput) ElementType() reflect.Type
func (StoreFilePtrOutput) ToStoreFilePtrOutput ¶
func (o StoreFilePtrOutput) ToStoreFilePtrOutput() StoreFilePtrOutput
func (StoreFilePtrOutput) ToStoreFilePtrOutputWithContext ¶
func (o StoreFilePtrOutput) ToStoreFilePtrOutputWithContext(ctx context.Context) StoreFilePtrOutput
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.
## 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
func (*StoreFirewallRule) ToStoreFirewallRulePtrOutput ¶
func (i *StoreFirewallRule) ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput
func (*StoreFirewallRule) ToStoreFirewallRulePtrOutputWithContext ¶
func (i *StoreFirewallRule) ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput
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) ElementType() reflect.Type
func (StoreFirewallRuleArrayOutput) Index ¶
func (o StoreFirewallRuleArrayOutput) Index(i pulumi.IntInput) StoreFirewallRuleOutput
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 (o StoreFirewallRuleMapOutput) MapIndex(k pulumi.StringInput) StoreFirewallRuleOutput
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
func (StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutput ¶
func (o StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput
func (StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutputWithContext ¶
func (o StoreFirewallRuleOutput) ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput
type StoreFirewallRulePtrInput ¶
type StoreFirewallRulePtrInput interface { pulumi.Input ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput }
type StoreFirewallRulePtrOutput ¶
type StoreFirewallRulePtrOutput struct {
*pulumi.OutputState
}
func (StoreFirewallRulePtrOutput) ElementType ¶
func (StoreFirewallRulePtrOutput) ElementType() reflect.Type
func (StoreFirewallRulePtrOutput) ToStoreFirewallRulePtrOutput ¶
func (o StoreFirewallRulePtrOutput) ToStoreFirewallRulePtrOutput() StoreFirewallRulePtrOutput
func (StoreFirewallRulePtrOutput) ToStoreFirewallRulePtrOutputWithContext ¶
func (o StoreFirewallRulePtrOutput) ToStoreFirewallRulePtrOutputWithContext(ctx context.Context) StoreFirewallRulePtrOutput
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 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) 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 (o StoreMapOutput) MapIndex(k pulumi.StringInput) StoreOutput
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
func (StoreOutput) ToStorePtrOutput ¶
func (o StoreOutput) ToStorePtrOutput() StorePtrOutput
func (StoreOutput) ToStorePtrOutputWithContext ¶
func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
type StorePtrInput ¶
type StorePtrInput interface { pulumi.Input ToStorePtrOutput() StorePtrOutput ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput }
type StorePtrOutput ¶
type StorePtrOutput struct {
*pulumi.OutputState
}
func (StorePtrOutput) ElementType ¶
func (StorePtrOutput) ElementType() reflect.Type
func (StorePtrOutput) ToStorePtrOutput ¶
func (o StorePtrOutput) ToStorePtrOutput() StorePtrOutput
func (StorePtrOutput) ToStorePtrOutputWithContext ¶
func (o StorePtrOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
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 // 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.
## 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
func (*StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutput ¶
func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
func (*StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutputWithContext ¶
func (i *StoreVirtualNetworkRule) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
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 ¶
func (StoreVirtualNetworkRuleArgs) ElementType() reflect.Type
type StoreVirtualNetworkRuleArray ¶
type StoreVirtualNetworkRuleArray []StoreVirtualNetworkRuleInput
func (StoreVirtualNetworkRuleArray) ElementType ¶
func (StoreVirtualNetworkRuleArray) ElementType() reflect.Type
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) ElementType() reflect.Type
func (StoreVirtualNetworkRuleArrayOutput) Index ¶
func (o StoreVirtualNetworkRuleArrayOutput) Index(i pulumi.IntInput) StoreVirtualNetworkRuleOutput
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) ElementType() reflect.Type
func (StoreVirtualNetworkRuleMapOutput) MapIndex ¶
func (o StoreVirtualNetworkRuleMapOutput) MapIndex(k pulumi.StringInput) StoreVirtualNetworkRuleOutput
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) ElementType() reflect.Type
func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutput ¶
func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutput() StoreVirtualNetworkRuleOutput
func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutputWithContext ¶
func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRuleOutputWithContext(ctx context.Context) StoreVirtualNetworkRuleOutput
func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutput ¶
func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
func (StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutputWithContext ¶
func (o StoreVirtualNetworkRuleOutput) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
type StoreVirtualNetworkRulePtrInput ¶
type StoreVirtualNetworkRulePtrInput interface { pulumi.Input ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput }
type StoreVirtualNetworkRulePtrOutput ¶
type StoreVirtualNetworkRulePtrOutput struct {
*pulumi.OutputState
}
func (StoreVirtualNetworkRulePtrOutput) ElementType ¶
func (StoreVirtualNetworkRulePtrOutput) ElementType() reflect.Type
func (StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutput ¶
func (o StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutput() StoreVirtualNetworkRulePtrOutput
func (StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutputWithContext ¶
func (o StoreVirtualNetworkRulePtrOutput) ToStoreVirtualNetworkRulePtrOutputWithContext(ctx context.Context) StoreVirtualNetworkRulePtrOutput
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 ¶
func (StoreVirtualNetworkRuleState) ElementType() reflect.Type