datashare

package
v4.39.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 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 Account

type Account struct {
	pulumi.CustomResourceState

	// An `identity` block as defined below. Changing this forces a new resource to be created.
	Identity AccountIdentityOutput `pulumi:"identity"`
	// The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Data Share Account.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Data Share 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/datashare"
"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 = datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Accounts can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1

```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account 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 NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

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

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountArgs

type AccountArgs struct {
	// An `identity` block as defined below. Changing this forces a new resource to be created.
	Identity AccountIdentityInput
	// The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Data Share Account.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountIdentity

type AccountIdentity struct {
	// The Principal ID for the Service Principal associated with the Identity of this Data Share Account.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Data Share Account.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Changing this forces a new resource to be created.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// The Principal ID for the Service Principal associated with the Identity of this Data Share Account.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Identity of this Data Share Account.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Changing this forces a new resource to be created.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Data Share Account.

func (AccountIdentityOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Data Share Account.

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type

Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Changing this forces a new resource to be created.

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) PrincipalId

The Principal ID for the Service Principal associated with the Identity of this Data Share Account.

func (AccountIdentityPtrOutput) TenantId

The Tenant ID for the Service Principal associated with the Identity of this Data Share Account.

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type

Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Changing this forces a new resource to be created.

type AccountInput

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountState

type AccountState struct {
	// An `identity` block as defined below. Changing this forces a new resource to be created.
	Identity AccountIdentityPtrInput
	// The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Data Share Account.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type DatasetBlobStorage

type DatasetBlobStorage struct {
	pulumi.CustomResourceState

	// The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	ContainerName pulumi.StringOutput `pulumi:"containerName"`
	// The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
	DataShareId pulumi.StringOutput `pulumi:"dataShareId"`
	// The name of the Data Share Dataset.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FilePath pulumi.StringPtrOutput `pulumi:"filePath"`
	// The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FolderPath pulumi.StringPtrOutput `pulumi:"folderPath"`
	// The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `storageAccount` block as defined below.
	StorageAccount DatasetBlobStorageStorageAccountOutput `pulumi:"storageAccount"`
}

Manages a Data Share Blob Storage Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("CopyBased"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("RAGRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleStorage / accountAccount.Name,
			ContainerAccessType: pulumi.String("container"),
		})
		if err != nil {
			return err
		}
		exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{
			DisplayName: exampleAccount.Name,
		}, nil)
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleStorage / accountAccount.Id,
			RoleDefinitionName: pulumi.String("Storage Blob Data Reader"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) {
				return exampleServicePrincipal.ObjectId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetBlobStorage(ctx, "exampleDatasetBlobStorage", &datashare.DatasetBlobStorageArgs{
			DataShareId:   exampleShare.ID(),
			ContainerName: exampleContainer.Name,
			StorageAccount: &datashare.DatasetBlobStorageStorageAccountArgs{
				Name:              exampleStorage / accountAccount.Name,
				ResourceGroupName: exampleStorage / accountAccount.ResourceGroupName,
				SubscriptionId:    pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			FilePath: pulumi.String("myfile.txt"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Blob Storage Datasets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/datasetBlobStorage:DatasetBlobStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1

```

func GetDatasetBlobStorage

func GetDatasetBlobStorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetBlobStorageState, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)

GetDatasetBlobStorage gets an existing DatasetBlobStorage 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 NewDatasetBlobStorage

func NewDatasetBlobStorage(ctx *pulumi.Context,
	name string, args *DatasetBlobStorageArgs, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)

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

func (*DatasetBlobStorage) ElementType

func (*DatasetBlobStorage) ElementType() reflect.Type

func (*DatasetBlobStorage) ToDatasetBlobStorageOutput

func (i *DatasetBlobStorage) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput

func (*DatasetBlobStorage) ToDatasetBlobStorageOutputWithContext

func (i *DatasetBlobStorage) ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput

type DatasetBlobStorageArgs

type DatasetBlobStorageArgs struct {
	// The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	ContainerName pulumi.StringInput
	// The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
	DataShareId pulumi.StringInput
	// The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FilePath pulumi.StringPtrInput
	// The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FolderPath pulumi.StringPtrInput
	// The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
	Name pulumi.StringPtrInput
	// A `storageAccount` block as defined below.
	StorageAccount DatasetBlobStorageStorageAccountInput
}

The set of arguments for constructing a DatasetBlobStorage resource.

func (DatasetBlobStorageArgs) ElementType

func (DatasetBlobStorageArgs) ElementType() reflect.Type

type DatasetBlobStorageArray

type DatasetBlobStorageArray []DatasetBlobStorageInput

func (DatasetBlobStorageArray) ElementType

func (DatasetBlobStorageArray) ElementType() reflect.Type

func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput

func (i DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput

func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutputWithContext

func (i DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutputWithContext(ctx context.Context) DatasetBlobStorageArrayOutput

type DatasetBlobStorageArrayInput

type DatasetBlobStorageArrayInput interface {
	pulumi.Input

	ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput
	ToDatasetBlobStorageArrayOutputWithContext(context.Context) DatasetBlobStorageArrayOutput
}

DatasetBlobStorageArrayInput is an input type that accepts DatasetBlobStorageArray and DatasetBlobStorageArrayOutput values. You can construct a concrete instance of `DatasetBlobStorageArrayInput` via:

DatasetBlobStorageArray{ DatasetBlobStorageArgs{...} }

type DatasetBlobStorageArrayOutput

type DatasetBlobStorageArrayOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageArrayOutput) ElementType

func (DatasetBlobStorageArrayOutput) Index

func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput

func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput

func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext

func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext(ctx context.Context) DatasetBlobStorageArrayOutput

type DatasetBlobStorageInput

type DatasetBlobStorageInput interface {
	pulumi.Input

	ToDatasetBlobStorageOutput() DatasetBlobStorageOutput
	ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput
}

type DatasetBlobStorageMap

type DatasetBlobStorageMap map[string]DatasetBlobStorageInput

func (DatasetBlobStorageMap) ElementType

func (DatasetBlobStorageMap) ElementType() reflect.Type

func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput

func (i DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput

func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutputWithContext

func (i DatasetBlobStorageMap) ToDatasetBlobStorageMapOutputWithContext(ctx context.Context) DatasetBlobStorageMapOutput

type DatasetBlobStorageMapInput

type DatasetBlobStorageMapInput interface {
	pulumi.Input

	ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput
	ToDatasetBlobStorageMapOutputWithContext(context.Context) DatasetBlobStorageMapOutput
}

DatasetBlobStorageMapInput is an input type that accepts DatasetBlobStorageMap and DatasetBlobStorageMapOutput values. You can construct a concrete instance of `DatasetBlobStorageMapInput` via:

DatasetBlobStorageMap{ "key": DatasetBlobStorageArgs{...} }

type DatasetBlobStorageMapOutput

type DatasetBlobStorageMapOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageMapOutput) ElementType

func (DatasetBlobStorageMapOutput) MapIndex

func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput

func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput

func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext

func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext(ctx context.Context) DatasetBlobStorageMapOutput

type DatasetBlobStorageOutput

type DatasetBlobStorageOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageOutput) ElementType

func (DatasetBlobStorageOutput) ElementType() reflect.Type

func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutput

func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput

func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext

func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput

type DatasetBlobStorageState

type DatasetBlobStorageState struct {
	// The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	ContainerName pulumi.StringPtrInput
	// The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
	DataShareId pulumi.StringPtrInput
	// The name of the Data Share Dataset.
	DisplayName pulumi.StringPtrInput
	// The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FilePath pulumi.StringPtrInput
	// The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	FolderPath pulumi.StringPtrInput
	// The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
	Name pulumi.StringPtrInput
	// A `storageAccount` block as defined below.
	StorageAccount DatasetBlobStorageStorageAccountPtrInput
}

func (DatasetBlobStorageState) ElementType

func (DatasetBlobStorageState) ElementType() reflect.Type

type DatasetBlobStorageStorageAccount

type DatasetBlobStorageStorageAccount struct {
	// The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	Name string `pulumi:"name"`
	// The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	SubscriptionId string `pulumi:"subscriptionId"`
}

type DatasetBlobStorageStorageAccountArgs

type DatasetBlobStorageStorageAccountArgs struct {
	// The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	Name pulumi.StringInput `pulumi:"name"`
	// The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
	SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"`
}

func (DatasetBlobStorageStorageAccountArgs) ElementType

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput

type DatasetBlobStorageStorageAccountInput

type DatasetBlobStorageStorageAccountInput interface {
	pulumi.Input

	ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
	ToDatasetBlobStorageStorageAccountOutputWithContext(context.Context) DatasetBlobStorageStorageAccountOutput
}

DatasetBlobStorageStorageAccountInput is an input type that accepts DatasetBlobStorageStorageAccountArgs and DatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountInput` via:

DatasetBlobStorageStorageAccountArgs{...}

type DatasetBlobStorageStorageAccountOutput

type DatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageStorageAccountOutput) ElementType

func (DatasetBlobStorageStorageAccountOutput) Name

The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountOutput) ResourceGroupName

The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountOutput) SubscriptionId

The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput

type DatasetBlobStorageStorageAccountPtrInput

type DatasetBlobStorageStorageAccountPtrInput interface {
	pulumi.Input

	ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
	ToDatasetBlobStorageStorageAccountPtrOutputWithContext(context.Context) DatasetBlobStorageStorageAccountPtrOutput
}

DatasetBlobStorageStorageAccountPtrInput is an input type that accepts DatasetBlobStorageStorageAccountArgs, DatasetBlobStorageStorageAccountPtr and DatasetBlobStorageStorageAccountPtrOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountPtrInput` via:

        DatasetBlobStorageStorageAccountArgs{...}

or:

        nil

type DatasetBlobStorageStorageAccountPtrOutput

type DatasetBlobStorageStorageAccountPtrOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageStorageAccountPtrOutput) Elem

func (DatasetBlobStorageStorageAccountPtrOutput) ElementType

func (DatasetBlobStorageStorageAccountPtrOutput) Name

The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountPtrOutput) ResourceGroupName

The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountPtrOutput) SubscriptionId

The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput

func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext

func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput

type DatasetDataLakeGen1

type DatasetDataLakeGen1 struct {
	pulumi.CustomResourceState

	// The resource ID of the Data Lake Store to be shared with the receiver.
	DataLakeStoreId pulumi.StringOutput `pulumi:"dataLakeStoreId"`
	// The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	DataShareId pulumi.StringOutput `pulumi:"dataShareId"`
	// The displayed name of the Data Share Dataset.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FileName pulumi.StringPtrOutput `pulumi:"fileName"`
	// The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FolderPath pulumi.StringOutput `pulumi:"folderPath"`
	// The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages a Data Share Data Lake Gen1 Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"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/datashare"
"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("CopyBased"),
		})
		if err != nil {
			return err
		}
		exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			FirewallState:     pulumi.String("Disabled"),
		})
		if err != nil {
			return err
		}
		_, err = datalake.NewStoreFile(ctx, "exampleStoreFile", &datalake.StoreFileArgs{
			AccountName:    exampleStore.Name,
			LocalFilePath:  pulumi.String("./example/myfile.txt"),
			RemoteFilePath: pulumi.String("/example/myfile.txt"),
		})
		if err != nil {
			return err
		}
		exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{
			DisplayName: exampleAccount.Name,
		}, nil)
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleStore.ID(),
			RoleDefinitionName: pulumi.String("Owner"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) {
				return exampleServicePrincipal.ObjectId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetDataLakeGen1(ctx, "exampleDatasetDataLakeGen1", &datashare.DatasetDataLakeGen1Args{
			DataShareId:     exampleShare.ID(),
			DataLakeStoreId: exampleStore.ID(),
			FileName:        pulumi.String("myfile.txt"),
			FolderPath:      pulumi.String("example"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Data Lake Gen1 Datasets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/datasetDataLakeGen1:DatasetDataLakeGen1 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1

```

func GetDatasetDataLakeGen1

func GetDatasetDataLakeGen1(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetDataLakeGen1State, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen1, error)

GetDatasetDataLakeGen1 gets an existing DatasetDataLakeGen1 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 NewDatasetDataLakeGen1

func NewDatasetDataLakeGen1(ctx *pulumi.Context,
	name string, args *DatasetDataLakeGen1Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen1, error)

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

func (*DatasetDataLakeGen1) ElementType

func (*DatasetDataLakeGen1) ElementType() reflect.Type

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1Output

func (i *DatasetDataLakeGen1) ToDatasetDataLakeGen1Output() DatasetDataLakeGen1Output

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1OutputWithContext

func (i *DatasetDataLakeGen1) ToDatasetDataLakeGen1OutputWithContext(ctx context.Context) DatasetDataLakeGen1Output

type DatasetDataLakeGen1Args

type DatasetDataLakeGen1Args struct {
	// The resource ID of the Data Lake Store to be shared with the receiver.
	DataLakeStoreId pulumi.StringInput
	// The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	DataShareId pulumi.StringInput
	// The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FileName pulumi.StringPtrInput
	// The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FolderPath pulumi.StringInput
	// The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a DatasetDataLakeGen1 resource.

func (DatasetDataLakeGen1Args) ElementType

func (DatasetDataLakeGen1Args) ElementType() reflect.Type

type DatasetDataLakeGen1Array

type DatasetDataLakeGen1Array []DatasetDataLakeGen1Input

func (DatasetDataLakeGen1Array) ElementType

func (DatasetDataLakeGen1Array) ElementType() reflect.Type

func (DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutput

func (i DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutput() DatasetDataLakeGen1ArrayOutput

func (DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutputWithContext

func (i DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen1ArrayOutput

type DatasetDataLakeGen1ArrayInput

type DatasetDataLakeGen1ArrayInput interface {
	pulumi.Input

	ToDatasetDataLakeGen1ArrayOutput() DatasetDataLakeGen1ArrayOutput
	ToDatasetDataLakeGen1ArrayOutputWithContext(context.Context) DatasetDataLakeGen1ArrayOutput
}

DatasetDataLakeGen1ArrayInput is an input type that accepts DatasetDataLakeGen1Array and DatasetDataLakeGen1ArrayOutput values. You can construct a concrete instance of `DatasetDataLakeGen1ArrayInput` via:

DatasetDataLakeGen1Array{ DatasetDataLakeGen1Args{...} }

type DatasetDataLakeGen1ArrayOutput

type DatasetDataLakeGen1ArrayOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen1ArrayOutput) ElementType

func (DatasetDataLakeGen1ArrayOutput) Index

func (DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutput

func (o DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutput() DatasetDataLakeGen1ArrayOutput

func (DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutputWithContext

func (o DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen1ArrayOutput

type DatasetDataLakeGen1Input

type DatasetDataLakeGen1Input interface {
	pulumi.Input

	ToDatasetDataLakeGen1Output() DatasetDataLakeGen1Output
	ToDatasetDataLakeGen1OutputWithContext(ctx context.Context) DatasetDataLakeGen1Output
}

type DatasetDataLakeGen1Map

type DatasetDataLakeGen1Map map[string]DatasetDataLakeGen1Input

func (DatasetDataLakeGen1Map) ElementType

func (DatasetDataLakeGen1Map) ElementType() reflect.Type

func (DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutput

func (i DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutput() DatasetDataLakeGen1MapOutput

func (DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutputWithContext

func (i DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutputWithContext(ctx context.Context) DatasetDataLakeGen1MapOutput

type DatasetDataLakeGen1MapInput

type DatasetDataLakeGen1MapInput interface {
	pulumi.Input

	ToDatasetDataLakeGen1MapOutput() DatasetDataLakeGen1MapOutput
	ToDatasetDataLakeGen1MapOutputWithContext(context.Context) DatasetDataLakeGen1MapOutput
}

DatasetDataLakeGen1MapInput is an input type that accepts DatasetDataLakeGen1Map and DatasetDataLakeGen1MapOutput values. You can construct a concrete instance of `DatasetDataLakeGen1MapInput` via:

DatasetDataLakeGen1Map{ "key": DatasetDataLakeGen1Args{...} }

type DatasetDataLakeGen1MapOutput

type DatasetDataLakeGen1MapOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen1MapOutput) ElementType

func (DatasetDataLakeGen1MapOutput) MapIndex

func (DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutput

func (o DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutput() DatasetDataLakeGen1MapOutput

func (DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutputWithContext

func (o DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutputWithContext(ctx context.Context) DatasetDataLakeGen1MapOutput

type DatasetDataLakeGen1Output

type DatasetDataLakeGen1Output struct{ *pulumi.OutputState }

func (DatasetDataLakeGen1Output) ElementType

func (DatasetDataLakeGen1Output) ElementType() reflect.Type

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1Output

func (o DatasetDataLakeGen1Output) ToDatasetDataLakeGen1Output() DatasetDataLakeGen1Output

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1OutputWithContext

func (o DatasetDataLakeGen1Output) ToDatasetDataLakeGen1OutputWithContext(ctx context.Context) DatasetDataLakeGen1Output

type DatasetDataLakeGen1State

type DatasetDataLakeGen1State struct {
	// The resource ID of the Data Lake Store to be shared with the receiver.
	DataLakeStoreId pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	DataShareId pulumi.StringPtrInput
	// The displayed name of the Data Share Dataset.
	DisplayName pulumi.StringPtrInput
	// The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FileName pulumi.StringPtrInput
	// The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	FolderPath pulumi.StringPtrInput
	// The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created.
	Name pulumi.StringPtrInput
}

func (DatasetDataLakeGen1State) ElementType

func (DatasetDataLakeGen1State) ElementType() reflect.Type

type DatasetDataLakeGen2

type DatasetDataLakeGen2 struct {
	pulumi.CustomResourceState

	// The name of the Data Share Dataset.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FilePath pulumi.StringPtrOutput `pulumi:"filePath"`
	// The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FileSystemName pulumi.StringOutput `pulumi:"fileSystemName"`
	// The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FolderPath pulumi.StringPtrOutput `pulumi:"folderPath"`
	// The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	ShareId pulumi.StringOutput `pulumi:"shareId"`
	// The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
}

Manages a Data Share Data Lake Gen2 Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("CopyBased"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: exampleStorage / accountAccount.Id,
		})
		if err != nil {
			return err
		}
		exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{
			DisplayName: exampleAccount.Name,
		}, nil)
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleStorage / accountAccount.Id,
			RoleDefinitionName: pulumi.String("Storage Blob Data Reader"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) {
				return exampleServicePrincipal.ObjectId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetDataLakeGen2(ctx, "exampleDatasetDataLakeGen2", &datashare.DatasetDataLakeGen2Args{
			ShareId:          exampleShare.ID(),
			StorageAccountId: exampleStorage / accountAccount.Id,
			FileSystemName:   exampleDataLakeGen2Filesystem.Name,
			FilePath:         pulumi.String("myfile.txt"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Data Lake Gen2 Datasets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/datasetDataLakeGen2:DatasetDataLakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1

```

func GetDatasetDataLakeGen2

func GetDatasetDataLakeGen2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetDataLakeGen2State, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)

GetDatasetDataLakeGen2 gets an existing DatasetDataLakeGen2 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 NewDatasetDataLakeGen2

func NewDatasetDataLakeGen2(ctx *pulumi.Context,
	name string, args *DatasetDataLakeGen2Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)

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

func (*DatasetDataLakeGen2) ElementType

func (*DatasetDataLakeGen2) ElementType() reflect.Type

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2Output

func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2OutputWithContext

func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output

type DatasetDataLakeGen2Args

type DatasetDataLakeGen2Args struct {
	// The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FilePath pulumi.StringPtrInput
	// The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FileSystemName pulumi.StringInput
	// The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FolderPath pulumi.StringPtrInput
	// The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	ShareId pulumi.StringInput
	// The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	StorageAccountId pulumi.StringInput
}

The set of arguments for constructing a DatasetDataLakeGen2 resource.

func (DatasetDataLakeGen2Args) ElementType

func (DatasetDataLakeGen2Args) ElementType() reflect.Type

type DatasetDataLakeGen2Array

type DatasetDataLakeGen2Array []DatasetDataLakeGen2Input

func (DatasetDataLakeGen2Array) ElementType

func (DatasetDataLakeGen2Array) ElementType() reflect.Type

func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput

func (i DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput

func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutputWithContext

func (i DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen2ArrayOutput

type DatasetDataLakeGen2ArrayInput

type DatasetDataLakeGen2ArrayInput interface {
	pulumi.Input

	ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput
	ToDatasetDataLakeGen2ArrayOutputWithContext(context.Context) DatasetDataLakeGen2ArrayOutput
}

DatasetDataLakeGen2ArrayInput is an input type that accepts DatasetDataLakeGen2Array and DatasetDataLakeGen2ArrayOutput values. You can construct a concrete instance of `DatasetDataLakeGen2ArrayInput` via:

DatasetDataLakeGen2Array{ DatasetDataLakeGen2Args{...} }

type DatasetDataLakeGen2ArrayOutput

type DatasetDataLakeGen2ArrayOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen2ArrayOutput) ElementType

func (DatasetDataLakeGen2ArrayOutput) Index

func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput

func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput

func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext

func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen2ArrayOutput

type DatasetDataLakeGen2Input

type DatasetDataLakeGen2Input interface {
	pulumi.Input

	ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output
	ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output
}

type DatasetDataLakeGen2Map

type DatasetDataLakeGen2Map map[string]DatasetDataLakeGen2Input

func (DatasetDataLakeGen2Map) ElementType

func (DatasetDataLakeGen2Map) ElementType() reflect.Type

func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput

func (i DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput

func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutputWithContext

func (i DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutputWithContext(ctx context.Context) DatasetDataLakeGen2MapOutput

type DatasetDataLakeGen2MapInput

type DatasetDataLakeGen2MapInput interface {
	pulumi.Input

	ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput
	ToDatasetDataLakeGen2MapOutputWithContext(context.Context) DatasetDataLakeGen2MapOutput
}

DatasetDataLakeGen2MapInput is an input type that accepts DatasetDataLakeGen2Map and DatasetDataLakeGen2MapOutput values. You can construct a concrete instance of `DatasetDataLakeGen2MapInput` via:

DatasetDataLakeGen2Map{ "key": DatasetDataLakeGen2Args{...} }

type DatasetDataLakeGen2MapOutput

type DatasetDataLakeGen2MapOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen2MapOutput) ElementType

func (DatasetDataLakeGen2MapOutput) MapIndex

func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput

func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput

func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext

func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext(ctx context.Context) DatasetDataLakeGen2MapOutput

type DatasetDataLakeGen2Output

type DatasetDataLakeGen2Output struct{ *pulumi.OutputState }

func (DatasetDataLakeGen2Output) ElementType

func (DatasetDataLakeGen2Output) ElementType() reflect.Type

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output

func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext

func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output

type DatasetDataLakeGen2State

type DatasetDataLakeGen2State struct {
	// The name of the Data Share Dataset.
	DisplayName pulumi.StringPtrInput
	// The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FilePath pulumi.StringPtrInput
	// The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FileSystemName pulumi.StringPtrInput
	// The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	FolderPath pulumi.StringPtrInput
	// The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	ShareId pulumi.StringPtrInput
	// The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created.
	StorageAccountId pulumi.StringPtrInput
}

func (DatasetDataLakeGen2State) ElementType

func (DatasetDataLakeGen2State) ElementType() reflect.Type

type DatasetKustoCluster

type DatasetKustoCluster struct {
	pulumi.CustomResourceState

	// The name of the Data Share Dataset.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	KustoClusterId pulumi.StringOutput `pulumi:"kustoClusterId"`
	// The location of the Kusto Cluster.
	KustoClusterLocation pulumi.StringOutput `pulumi:"kustoClusterLocation"`
	// The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	ShareId pulumi.StringOutput `pulumi:"shareId"`
}

Manages a Data Share Kusto Cluster Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/kusto"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("InPlace"),
		})
		if err != nil {
			return err
		}
		exampleCluster, err := kusto.NewCluster(ctx, "exampleCluster", &kusto.ClusterArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku: &kusto.ClusterSkuArgs{
				Name:     pulumi.String("Dev(No SLA)_Standard_D11_v2"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleCluster.ID(),
			RoleDefinitionName: pulumi.String("Contributor"),
			PrincipalId: exampleAccount.Identity.ApplyT(func(identity datashare.AccountIdentity) (string, error) {
				return identity.PrincipalId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetKustoCluster(ctx, "exampleDatasetKustoCluster", &datashare.DatasetKustoClusterArgs{
			ShareId:        exampleShare.ID(),
			KustoClusterId: exampleCluster.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Kusto Cluster Datasets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/datasetKustoCluster:DatasetKustoCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1

```

func GetDatasetKustoCluster

func GetDatasetKustoCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetKustoClusterState, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)

GetDatasetKustoCluster gets an existing DatasetKustoCluster 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 NewDatasetKustoCluster

func NewDatasetKustoCluster(ctx *pulumi.Context,
	name string, args *DatasetKustoClusterArgs, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)

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

func (*DatasetKustoCluster) ElementType

func (*DatasetKustoCluster) ElementType() reflect.Type

func (*DatasetKustoCluster) ToDatasetKustoClusterOutput

func (i *DatasetKustoCluster) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput

func (*DatasetKustoCluster) ToDatasetKustoClusterOutputWithContext

func (i *DatasetKustoCluster) ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput

type DatasetKustoClusterArgs

type DatasetKustoClusterArgs struct {
	// The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	KustoClusterId pulumi.StringInput
	// The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	ShareId pulumi.StringInput
}

The set of arguments for constructing a DatasetKustoCluster resource.

func (DatasetKustoClusterArgs) ElementType

func (DatasetKustoClusterArgs) ElementType() reflect.Type

type DatasetKustoClusterArray

type DatasetKustoClusterArray []DatasetKustoClusterInput

func (DatasetKustoClusterArray) ElementType

func (DatasetKustoClusterArray) ElementType() reflect.Type

func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput

func (i DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput

func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutputWithContext

func (i DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutputWithContext(ctx context.Context) DatasetKustoClusterArrayOutput

type DatasetKustoClusterArrayInput

type DatasetKustoClusterArrayInput interface {
	pulumi.Input

	ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput
	ToDatasetKustoClusterArrayOutputWithContext(context.Context) DatasetKustoClusterArrayOutput
}

DatasetKustoClusterArrayInput is an input type that accepts DatasetKustoClusterArray and DatasetKustoClusterArrayOutput values. You can construct a concrete instance of `DatasetKustoClusterArrayInput` via:

DatasetKustoClusterArray{ DatasetKustoClusterArgs{...} }

type DatasetKustoClusterArrayOutput

type DatasetKustoClusterArrayOutput struct{ *pulumi.OutputState }

func (DatasetKustoClusterArrayOutput) ElementType

func (DatasetKustoClusterArrayOutput) Index

func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput

func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput

func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext

func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext(ctx context.Context) DatasetKustoClusterArrayOutput

type DatasetKustoClusterInput

type DatasetKustoClusterInput interface {
	pulumi.Input

	ToDatasetKustoClusterOutput() DatasetKustoClusterOutput
	ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput
}

type DatasetKustoClusterMap

type DatasetKustoClusterMap map[string]DatasetKustoClusterInput

func (DatasetKustoClusterMap) ElementType

func (DatasetKustoClusterMap) ElementType() reflect.Type

func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput

func (i DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput

func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutputWithContext

func (i DatasetKustoClusterMap) ToDatasetKustoClusterMapOutputWithContext(ctx context.Context) DatasetKustoClusterMapOutput

type DatasetKustoClusterMapInput

type DatasetKustoClusterMapInput interface {
	pulumi.Input

	ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput
	ToDatasetKustoClusterMapOutputWithContext(context.Context) DatasetKustoClusterMapOutput
}

DatasetKustoClusterMapInput is an input type that accepts DatasetKustoClusterMap and DatasetKustoClusterMapOutput values. You can construct a concrete instance of `DatasetKustoClusterMapInput` via:

DatasetKustoClusterMap{ "key": DatasetKustoClusterArgs{...} }

type DatasetKustoClusterMapOutput

type DatasetKustoClusterMapOutput struct{ *pulumi.OutputState }

func (DatasetKustoClusterMapOutput) ElementType

func (DatasetKustoClusterMapOutput) MapIndex

func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput

func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput

func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext

func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext(ctx context.Context) DatasetKustoClusterMapOutput

type DatasetKustoClusterOutput

type DatasetKustoClusterOutput struct{ *pulumi.OutputState }

func (DatasetKustoClusterOutput) ElementType

func (DatasetKustoClusterOutput) ElementType() reflect.Type

func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutput

func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput

func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext

func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput

type DatasetKustoClusterState

type DatasetKustoClusterState struct {
	// The name of the Data Share Dataset.
	DisplayName pulumi.StringPtrInput
	// The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	KustoClusterId pulumi.StringPtrInput
	// The location of the Kusto Cluster.
	KustoClusterLocation pulumi.StringPtrInput
	// The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created. Changing this forces a new Data Share Kusto Cluster Dataset to be created.
	ShareId pulumi.StringPtrInput
}

func (DatasetKustoClusterState) ElementType

func (DatasetKustoClusterState) ElementType() reflect.Type

type DatasetKustoDatabase

type DatasetKustoDatabase struct {
	pulumi.CustomResourceState

	// The name of the Data Share Dataset.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The location of the Kusto Cluster.
	KustoClusterLocation pulumi.StringOutput `pulumi:"kustoClusterLocation"`
	// The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
	KustoDatabaseId pulumi.StringOutput `pulumi:"kustoDatabaseId"`
	// The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
	ShareId pulumi.StringOutput `pulumi:"shareId"`
}

Manages a Data Share Kusto Database Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/kusto"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("InPlace"),
		})
		if err != nil {
			return err
		}
		exampleCluster, err := kusto.NewCluster(ctx, "exampleCluster", &kusto.ClusterArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku: &kusto.ClusterSkuArgs{
				Name:     pulumi.String("Dev(No SLA)_Standard_D11_v2"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		exampleDatabase, err := kusto.NewDatabase(ctx, "exampleDatabase", &kusto.DatabaseArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			ClusterName:       exampleCluster.Name,
		})
		if err != nil {
			return err
		}
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleCluster.ID(),
			RoleDefinitionName: pulumi.String("Contributor"),
			PrincipalId: exampleAccount.Identity.ApplyT(func(identity datashare.AccountIdentity) (string, error) {
				return identity.PrincipalId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetKustoDatabase(ctx, "exampleDatasetKustoDatabase", &datashare.DatasetKustoDatabaseArgs{
			ShareId:         exampleShare.ID(),
			KustoDatabaseId: exampleDatabase.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Share Kusto Database Datasets can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/datasetKustoDatabase:DatasetKustoDatabase example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1

```

func GetDatasetKustoDatabase

func GetDatasetKustoDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetKustoDatabaseState, opts ...pulumi.ResourceOption) (*DatasetKustoDatabase, error)

GetDatasetKustoDatabase gets an existing DatasetKustoDatabase 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 NewDatasetKustoDatabase

func NewDatasetKustoDatabase(ctx *pulumi.Context,
	name string, args *DatasetKustoDatabaseArgs, opts ...pulumi.ResourceOption) (*DatasetKustoDatabase, error)

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

func (*DatasetKustoDatabase) ElementType

func (*DatasetKustoDatabase) ElementType() reflect.Type

func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutput

func (i *DatasetKustoDatabase) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput

func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutputWithContext

func (i *DatasetKustoDatabase) ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput

type DatasetKustoDatabaseArgs

type DatasetKustoDatabaseArgs struct {
	// The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
	KustoDatabaseId pulumi.StringInput
	// The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
	ShareId pulumi.StringInput
}

The set of arguments for constructing a DatasetKustoDatabase resource.

func (DatasetKustoDatabaseArgs) ElementType

func (DatasetKustoDatabaseArgs) ElementType() reflect.Type

type DatasetKustoDatabaseArray

type DatasetKustoDatabaseArray []DatasetKustoDatabaseInput

func (DatasetKustoDatabaseArray) ElementType

func (DatasetKustoDatabaseArray) ElementType() reflect.Type

func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput

func (i DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput

func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutputWithContext

func (i DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutputWithContext(ctx context.Context) DatasetKustoDatabaseArrayOutput

type DatasetKustoDatabaseArrayInput

type DatasetKustoDatabaseArrayInput interface {
	pulumi.Input

	ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput
	ToDatasetKustoDatabaseArrayOutputWithContext(context.Context) DatasetKustoDatabaseArrayOutput
}

DatasetKustoDatabaseArrayInput is an input type that accepts DatasetKustoDatabaseArray and DatasetKustoDatabaseArrayOutput values. You can construct a concrete instance of `DatasetKustoDatabaseArrayInput` via:

DatasetKustoDatabaseArray{ DatasetKustoDatabaseArgs{...} }

type DatasetKustoDatabaseArrayOutput

type DatasetKustoDatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatasetKustoDatabaseArrayOutput) ElementType

func (DatasetKustoDatabaseArrayOutput) Index

func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput

func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput

func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext

func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext(ctx context.Context) DatasetKustoDatabaseArrayOutput

type DatasetKustoDatabaseInput

type DatasetKustoDatabaseInput interface {
	pulumi.Input

	ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput
	ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput
}

type DatasetKustoDatabaseMap

type DatasetKustoDatabaseMap map[string]DatasetKustoDatabaseInput

func (DatasetKustoDatabaseMap) ElementType

func (DatasetKustoDatabaseMap) ElementType() reflect.Type

func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput

func (i DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput

func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutputWithContext

func (i DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutputWithContext(ctx context.Context) DatasetKustoDatabaseMapOutput

type DatasetKustoDatabaseMapInput

type DatasetKustoDatabaseMapInput interface {
	pulumi.Input

	ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput
	ToDatasetKustoDatabaseMapOutputWithContext(context.Context) DatasetKustoDatabaseMapOutput
}

DatasetKustoDatabaseMapInput is an input type that accepts DatasetKustoDatabaseMap and DatasetKustoDatabaseMapOutput values. You can construct a concrete instance of `DatasetKustoDatabaseMapInput` via:

DatasetKustoDatabaseMap{ "key": DatasetKustoDatabaseArgs{...} }

type DatasetKustoDatabaseMapOutput

type DatasetKustoDatabaseMapOutput struct{ *pulumi.OutputState }

func (DatasetKustoDatabaseMapOutput) ElementType

func (DatasetKustoDatabaseMapOutput) MapIndex

func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput

func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput

func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext

func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext(ctx context.Context) DatasetKustoDatabaseMapOutput

type DatasetKustoDatabaseOutput

type DatasetKustoDatabaseOutput struct{ *pulumi.OutputState }

func (DatasetKustoDatabaseOutput) ElementType

func (DatasetKustoDatabaseOutput) ElementType() reflect.Type

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput

func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext

func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput

type DatasetKustoDatabaseState

type DatasetKustoDatabaseState struct {
	// The name of the Data Share Dataset.
	DisplayName pulumi.StringPtrInput
	// The location of the Kusto Cluster.
	KustoClusterLocation pulumi.StringPtrInput
	// The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created.
	KustoDatabaseId pulumi.StringPtrInput
	// The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created.
	Name pulumi.StringPtrInput
	// The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created. Changing this forces a new Data Share Kusto Database Dataset to be created.
	ShareId pulumi.StringPtrInput
}

func (DatasetKustoDatabaseState) ElementType

func (DatasetKustoDatabaseState) ElementType() reflect.Type

type GetAccountIdentity

type GetAccountIdentity struct {
	// The ID of the Principal (Client) in Azure Active Directory.
	PrincipalId string `pulumi:"principalId"`
	// The ID of the Azure Active Directory Tenant.
	TenantId string `pulumi:"tenantId"`
	// The identity type of the Data Share Account.
	Type string `pulumi:"type"`
}

type GetAccountIdentityArgs

type GetAccountIdentityArgs struct {
	// The ID of the Principal (Client) in Azure Active Directory.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The ID of the Azure Active Directory Tenant.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The identity type of the Data Share Account.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetAccountIdentityArgs) ElementType

func (GetAccountIdentityArgs) ElementType() reflect.Type

func (GetAccountIdentityArgs) ToGetAccountIdentityOutput

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext

func (i GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

type GetAccountIdentityArray

type GetAccountIdentityArray []GetAccountIdentityInput

func (GetAccountIdentityArray) ElementType

func (GetAccountIdentityArray) ElementType() reflect.Type

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutput

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext

func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityArrayInput

type GetAccountIdentityArrayInput interface {
	pulumi.Input

	ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput
	ToGetAccountIdentityArrayOutputWithContext(context.Context) GetAccountIdentityArrayOutput
}

GetAccountIdentityArrayInput is an input type that accepts GetAccountIdentityArray and GetAccountIdentityArrayOutput values. You can construct a concrete instance of `GetAccountIdentityArrayInput` via:

GetAccountIdentityArray{ GetAccountIdentityArgs{...} }

type GetAccountIdentityArrayOutput

type GetAccountIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityArrayOutput) ElementType

func (GetAccountIdentityArrayOutput) Index

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput

func (GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext

func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput

type GetAccountIdentityInput

type GetAccountIdentityInput interface {
	pulumi.Input

	ToGetAccountIdentityOutput() GetAccountIdentityOutput
	ToGetAccountIdentityOutputWithContext(context.Context) GetAccountIdentityOutput
}

GetAccountIdentityInput is an input type that accepts GetAccountIdentityArgs and GetAccountIdentityOutput values. You can construct a concrete instance of `GetAccountIdentityInput` via:

GetAccountIdentityArgs{...}

type GetAccountIdentityOutput

type GetAccountIdentityOutput struct{ *pulumi.OutputState }

func (GetAccountIdentityOutput) ElementType

func (GetAccountIdentityOutput) ElementType() reflect.Type

func (GetAccountIdentityOutput) PrincipalId

The ID of the Principal (Client) in Azure Active Directory.

func (GetAccountIdentityOutput) TenantId

The ID of the Azure Active Directory Tenant.

func (GetAccountIdentityOutput) ToGetAccountIdentityOutput

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput

func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext

func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput

func (GetAccountIdentityOutput) Type

The identity type of the Data Share Account.

type GetDatasetBlobStorageStorageAccount

type GetDatasetBlobStorageStorageAccount struct {
	// The name of this Data Share Blob Storage Dataset.
	Name string `pulumi:"name"`
	// The resource group name of the storage account to be shared with the receiver.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The subscription id of the storage account to be shared with the receiver.
	SubscriptionId string `pulumi:"subscriptionId"`
}

type GetDatasetBlobStorageStorageAccountArgs

type GetDatasetBlobStorageStorageAccountArgs struct {
	// The name of this Data Share Blob Storage Dataset.
	Name pulumi.StringInput `pulumi:"name"`
	// The resource group name of the storage account to be shared with the receiver.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// The subscription id of the storage account to be shared with the receiver.
	SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"`
}

func (GetDatasetBlobStorageStorageAccountArgs) ElementType

func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput

func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput

func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext

func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput

type GetDatasetBlobStorageStorageAccountArray

type GetDatasetBlobStorageStorageAccountArray []GetDatasetBlobStorageStorageAccountInput

func (GetDatasetBlobStorageStorageAccountArray) ElementType

func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput

func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput

func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext

func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput

type GetDatasetBlobStorageStorageAccountArrayInput

type GetDatasetBlobStorageStorageAccountArrayInput interface {
	pulumi.Input

	ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
	ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
}

GetDatasetBlobStorageStorageAccountArrayInput is an input type that accepts GetDatasetBlobStorageStorageAccountArray and GetDatasetBlobStorageStorageAccountArrayOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountArrayInput` via:

GetDatasetBlobStorageStorageAccountArray{ GetDatasetBlobStorageStorageAccountArgs{...} }

type GetDatasetBlobStorageStorageAccountArrayOutput

type GetDatasetBlobStorageStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType

func (GetDatasetBlobStorageStorageAccountArrayOutput) Index

func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput

func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput

func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext

func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput

type GetDatasetBlobStorageStorageAccountInput

type GetDatasetBlobStorageStorageAccountInput interface {
	pulumi.Input

	ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
	ToGetDatasetBlobStorageStorageAccountOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountOutput
}

GetDatasetBlobStorageStorageAccountInput is an input type that accepts GetDatasetBlobStorageStorageAccountArgs and GetDatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountInput` via:

GetDatasetBlobStorageStorageAccountArgs{...}

type GetDatasetBlobStorageStorageAccountOutput

type GetDatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }

func (GetDatasetBlobStorageStorageAccountOutput) ElementType

func (GetDatasetBlobStorageStorageAccountOutput) Name

The name of this Data Share Blob Storage Dataset.

func (GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName

The resource group name of the storage account to be shared with the receiver.

func (GetDatasetBlobStorageStorageAccountOutput) SubscriptionId

The subscription id of the storage account to be shared with the receiver.

func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput

func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput

func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext

func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput

type GetShareSnapshotSchedule

type GetShareSnapshotSchedule struct {
	// The name of this Data Share.
	Name string `pulumi:"name"`
	// The interval of the synchronization with the source data.
	Recurrence string `pulumi:"recurrence"`
	// The synchronization with the source data's start time.
	StartTime string `pulumi:"startTime"`
}

type GetShareSnapshotScheduleArgs

type GetShareSnapshotScheduleArgs struct {
	// The name of this Data Share.
	Name pulumi.StringInput `pulumi:"name"`
	// The interval of the synchronization with the source data.
	Recurrence pulumi.StringInput `pulumi:"recurrence"`
	// The synchronization with the source data's start time.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (GetShareSnapshotScheduleArgs) ElementType

func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput

func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput

func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext

func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput

type GetShareSnapshotScheduleArray

type GetShareSnapshotScheduleArray []GetShareSnapshotScheduleInput

func (GetShareSnapshotScheduleArray) ElementType

func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput

func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput

func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext

func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput

type GetShareSnapshotScheduleArrayInput

type GetShareSnapshotScheduleArrayInput interface {
	pulumi.Input

	ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
	ToGetShareSnapshotScheduleArrayOutputWithContext(context.Context) GetShareSnapshotScheduleArrayOutput
}

GetShareSnapshotScheduleArrayInput is an input type that accepts GetShareSnapshotScheduleArray and GetShareSnapshotScheduleArrayOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleArrayInput` via:

GetShareSnapshotScheduleArray{ GetShareSnapshotScheduleArgs{...} }

type GetShareSnapshotScheduleArrayOutput

type GetShareSnapshotScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetShareSnapshotScheduleArrayOutput) ElementType

func (GetShareSnapshotScheduleArrayOutput) Index

func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput

func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput

func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext

func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput

type GetShareSnapshotScheduleInput

type GetShareSnapshotScheduleInput interface {
	pulumi.Input

	ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
	ToGetShareSnapshotScheduleOutputWithContext(context.Context) GetShareSnapshotScheduleOutput
}

GetShareSnapshotScheduleInput is an input type that accepts GetShareSnapshotScheduleArgs and GetShareSnapshotScheduleOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleInput` via:

GetShareSnapshotScheduleArgs{...}

type GetShareSnapshotScheduleOutput

type GetShareSnapshotScheduleOutput struct{ *pulumi.OutputState }

func (GetShareSnapshotScheduleOutput) ElementType

func (GetShareSnapshotScheduleOutput) Name

The name of this Data Share.

func (GetShareSnapshotScheduleOutput) Recurrence

The interval of the synchronization with the source data.

func (GetShareSnapshotScheduleOutput) StartTime

The synchronization with the source data's start time.

func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput

func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput

func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext

func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput

type LookupAccountArgs

type LookupAccountArgs struct {
	// The name of this Data Share Account.
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Data Share Account exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

type LookupAccountOutputArgs added in v4.20.0

type LookupAccountOutputArgs struct {
	// The name of this Data Share Account.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Data Share Account exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getAccount.

func (LookupAccountOutputArgs) ElementType added in v4.20.0

func (LookupAccountOutputArgs) ElementType() reflect.Type

type LookupAccountResult

type LookupAccountResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An `identity` block as defined below.
	Identities        []GetAccountIdentity `pulumi:"identities"`
	Name              string               `pulumi:"name"`
	ResourceGroupName string               `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the Data Share Account.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getAccount.

func LookupAccount

func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)

Use this data source to access information about an existing Data Share Account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{
			Name:              "example-account",
			ResourceGroupName: "example-resource-group",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupAccountResultOutput added in v4.20.0

type LookupAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccount.

func LookupAccountOutput added in v4.20.0

func LookupAccountOutput(ctx *pulumi.Context, args LookupAccountOutputArgs, opts ...pulumi.InvokeOption) LookupAccountResultOutput

func (LookupAccountResultOutput) ElementType added in v4.20.0

func (LookupAccountResultOutput) ElementType() reflect.Type

func (LookupAccountResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupAccountResultOutput) Identities added in v4.20.0

An `identity` block as defined below.

func (LookupAccountResultOutput) Name added in v4.20.0

func (LookupAccountResultOutput) ResourceGroupName added in v4.20.0

func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupAccountResultOutput) Tags added in v4.20.0

A mapping of tags assigned to the Data Share Account.

func (LookupAccountResultOutput) ToLookupAccountResultOutput added in v4.20.0

func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput

func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext added in v4.20.0

func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput

type LookupDatasetBlobStorageArgs

type LookupDatasetBlobStorageArgs struct {
	// The ID of the Data Share in which this Data Share Blob Storage Dataset should be created.
	DataShareId string `pulumi:"dataShareId"`
	// The name of this Data Share Blob Storage Dataset.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDatasetBlobStorage.

type LookupDatasetBlobStorageOutputArgs added in v4.20.0

type LookupDatasetBlobStorageOutputArgs struct {
	// The ID of the Data Share in which this Data Share Blob Storage Dataset should be created.
	DataShareId pulumi.StringInput `pulumi:"dataShareId"`
	// The name of this Data Share Blob Storage Dataset.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDatasetBlobStorage.

func (LookupDatasetBlobStorageOutputArgs) ElementType added in v4.20.0

type LookupDatasetBlobStorageResult

type LookupDatasetBlobStorageResult struct {
	// The name of the storage account container to be shared with the receiver.
	ContainerName string `pulumi:"containerName"`
	DataShareId   string `pulumi:"dataShareId"`
	// The name of the Data Share Dataset.
	DisplayName string `pulumi:"displayName"`
	// The path of the file in the storage container to be shared with the receiver.
	FilePath string `pulumi:"filePath"`
	// The folder path of the file in the storage container to be shared with the receiver.
	FolderPath string `pulumi:"folderPath"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the storage account to be shared with the receiver.
	Name string `pulumi:"name"`
	// A `storageAccount` block as defined below.
	StorageAccounts []GetDatasetBlobStorageStorageAccount `pulumi:"storageAccounts"`
}

A collection of values returned by getDatasetBlobStorage.

func LookupDatasetBlobStorage

func LookupDatasetBlobStorage(ctx *pulumi.Context, args *LookupDatasetBlobStorageArgs, opts ...pulumi.InvokeOption) (*LookupDatasetBlobStorageResult, error)

Use this data source to access information about an existing Data Share Blob Storage Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetBlobStorage(ctx, &datashare.LookupDatasetBlobStorageArgs{
			Name:        "example-dsbsds",
			DataShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupDatasetBlobStorageResultOutput added in v4.20.0

type LookupDatasetBlobStorageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetBlobStorage.

func (LookupDatasetBlobStorageResultOutput) ContainerName added in v4.20.0

The name of the storage account container to be shared with the receiver.

func (LookupDatasetBlobStorageResultOutput) DataShareId added in v4.20.0

func (LookupDatasetBlobStorageResultOutput) DisplayName added in v4.20.0

The name of the Data Share Dataset.

func (LookupDatasetBlobStorageResultOutput) ElementType added in v4.20.0

func (LookupDatasetBlobStorageResultOutput) FilePath added in v4.20.0

The path of the file in the storage container to be shared with the receiver.

func (LookupDatasetBlobStorageResultOutput) FolderPath added in v4.20.0

The folder path of the file in the storage container to be shared with the receiver.

func (LookupDatasetBlobStorageResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetBlobStorageResultOutput) Name added in v4.20.0

The name of the storage account to be shared with the receiver.

func (LookupDatasetBlobStorageResultOutput) StorageAccounts added in v4.20.0

A `storageAccount` block as defined below.

func (LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutput added in v4.20.0

func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutput() LookupDatasetBlobStorageResultOutput

func (LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutputWithContext added in v4.20.0

func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutputWithContext(ctx context.Context) LookupDatasetBlobStorageResultOutput

type LookupDatasetDataLakeGen1Args

type LookupDatasetDataLakeGen1Args struct {
	// The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
	DataShareId string `pulumi:"dataShareId"`
	// The name of the Data Share Data Lake Gen1 Dataset.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getDatasetDataLakeGen1.

type LookupDatasetDataLakeGen1OutputArgs added in v4.20.0

type LookupDatasetDataLakeGen1OutputArgs struct {
	// The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
	DataShareId pulumi.StringInput `pulumi:"dataShareId"`
	// The name of the Data Share Data Lake Gen1 Dataset.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getDatasetDataLakeGen1.

func (LookupDatasetDataLakeGen1OutputArgs) ElementType added in v4.20.0

type LookupDatasetDataLakeGen1Result

type LookupDatasetDataLakeGen1Result struct {
	// The resource ID of the Data Lake Store to be shared with the receiver.
	DataLakeStoreId string `pulumi:"dataLakeStoreId"`
	DataShareId     string `pulumi:"dataShareId"`
	// The displayed name of the Data Share Dataset.
	DisplayName string `pulumi:"displayName"`
	// The file name of the data lake store to be shared with the receiver.
	FileName string `pulumi:"fileName"`
	// The folder path of the data lake store to be shared with the receiver.
	FolderPath string `pulumi:"folderPath"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

A collection of values returned by getDatasetDataLakeGen1.

func LookupDatasetDataLakeGen1

func LookupDatasetDataLakeGen1(ctx *pulumi.Context, args *LookupDatasetDataLakeGen1Args, opts ...pulumi.InvokeOption) (*LookupDatasetDataLakeGen1Result, error)

Use this data source to access information about an existing DataShareDataLakeGen1Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetDataLakeGen1(ctx, &datashare.LookupDatasetDataLakeGen1Args{
			Name:        "example-dsdsdlg1",
			DataShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupDatasetDataLakeGen1ResultOutput added in v4.20.0

type LookupDatasetDataLakeGen1ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetDataLakeGen1.

func (LookupDatasetDataLakeGen1ResultOutput) DataLakeStoreId added in v4.20.0

The resource ID of the Data Lake Store to be shared with the receiver.

func (LookupDatasetDataLakeGen1ResultOutput) DataShareId added in v4.20.0

func (LookupDatasetDataLakeGen1ResultOutput) DisplayName added in v4.20.0

The displayed name of the Data Share Dataset.

func (LookupDatasetDataLakeGen1ResultOutput) ElementType added in v4.20.0

func (LookupDatasetDataLakeGen1ResultOutput) FileName added in v4.20.0

The file name of the data lake store to be shared with the receiver.

func (LookupDatasetDataLakeGen1ResultOutput) FolderPath added in v4.20.0

The folder path of the data lake store to be shared with the receiver.

func (LookupDatasetDataLakeGen1ResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetDataLakeGen1ResultOutput) Name added in v4.20.0

func (LookupDatasetDataLakeGen1ResultOutput) ToLookupDatasetDataLakeGen1ResultOutput added in v4.20.0

func (o LookupDatasetDataLakeGen1ResultOutput) ToLookupDatasetDataLakeGen1ResultOutput() LookupDatasetDataLakeGen1ResultOutput

func (LookupDatasetDataLakeGen1ResultOutput) ToLookupDatasetDataLakeGen1ResultOutputWithContext added in v4.20.0

func (o LookupDatasetDataLakeGen1ResultOutput) ToLookupDatasetDataLakeGen1ResultOutputWithContext(ctx context.Context) LookupDatasetDataLakeGen1ResultOutput

type LookupDatasetDataLakeGen2Args

type LookupDatasetDataLakeGen2Args struct {
	// The name of this Data Share Data Lake Gen2 Dataset.
	Name string `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created.
	ShareId string `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetDataLakeGen2.

type LookupDatasetDataLakeGen2OutputArgs added in v4.20.0

type LookupDatasetDataLakeGen2OutputArgs struct {
	// The name of this Data Share Data Lake Gen2 Dataset.
	Name pulumi.StringInput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Data Lake Gen2 Dataset should be created.
	ShareId pulumi.StringInput `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetDataLakeGen2.

func (LookupDatasetDataLakeGen2OutputArgs) ElementType added in v4.20.0

type LookupDatasetDataLakeGen2Result

type LookupDatasetDataLakeGen2Result struct {
	// The name of the Data Share Dataset.
	DisplayName string `pulumi:"displayName"`
	// The path of the file in the data lake file system to be shared with the receiver.
	FilePath string `pulumi:"filePath"`
	// The name of the data lake file system to be shared with the receiver.
	FileSystemName string `pulumi:"fileSystemName"`
	// The folder path in the data lake file system to be shared with the receiver.
	FolderPath string `pulumi:"folderPath"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Name    string `pulumi:"name"`
	ShareId string `pulumi:"shareId"`
	// The resource ID of the storage account of the data lake file system to be shared with the receiver.
	StorageAccountId string `pulumi:"storageAccountId"`
}

A collection of values returned by getDatasetDataLakeGen2.

func LookupDatasetDataLakeGen2

func LookupDatasetDataLakeGen2(ctx *pulumi.Context, args *LookupDatasetDataLakeGen2Args, opts ...pulumi.InvokeOption) (*LookupDatasetDataLakeGen2Result, error)

Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetDataLakeGen2(ctx, &datashare.LookupDatasetDataLakeGen2Args{
			Name:    "example-dsdlg2ds",
			ShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupDatasetDataLakeGen2ResultOutput added in v4.20.0

type LookupDatasetDataLakeGen2ResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetDataLakeGen2.

func (LookupDatasetDataLakeGen2ResultOutput) DisplayName added in v4.20.0

The name of the Data Share Dataset.

func (LookupDatasetDataLakeGen2ResultOutput) ElementType added in v4.20.0

func (LookupDatasetDataLakeGen2ResultOutput) FilePath added in v4.20.0

The path of the file in the data lake file system to be shared with the receiver.

func (LookupDatasetDataLakeGen2ResultOutput) FileSystemName added in v4.20.0

The name of the data lake file system to be shared with the receiver.

func (LookupDatasetDataLakeGen2ResultOutput) FolderPath added in v4.20.0

The folder path in the data lake file system to be shared with the receiver.

func (LookupDatasetDataLakeGen2ResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetDataLakeGen2ResultOutput) Name added in v4.20.0

func (LookupDatasetDataLakeGen2ResultOutput) ShareId added in v4.20.0

func (LookupDatasetDataLakeGen2ResultOutput) StorageAccountId added in v4.20.0

The resource ID of the storage account of the data lake file system to be shared with the receiver.

func (LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutput added in v4.20.0

func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutput() LookupDatasetDataLakeGen2ResultOutput

func (LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutputWithContext added in v4.20.0

func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutputWithContext(ctx context.Context) LookupDatasetDataLakeGen2ResultOutput

type LookupDatasetKustoClusterArgs

type LookupDatasetKustoClusterArgs struct {
	// The name of this Data Share Kusto Cluster Dataset.
	Name string `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
	ShareId string `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetKustoCluster.

type LookupDatasetKustoClusterOutputArgs added in v4.20.0

type LookupDatasetKustoClusterOutputArgs struct {
	// The name of this Data Share Kusto Cluster Dataset.
	Name pulumi.StringInput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Cluster Dataset should be created.
	ShareId pulumi.StringInput `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetKustoCluster.

func (LookupDatasetKustoClusterOutputArgs) ElementType added in v4.20.0

type LookupDatasetKustoClusterResult

type LookupDatasetKustoClusterResult struct {
	// The name of the Data Share Dataset.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The resource ID of the Kusto Cluster to be shared with the receiver.
	KustoClusterId string `pulumi:"kustoClusterId"`
	// The location of the Kusto Cluster.
	KustoClusterLocation string `pulumi:"kustoClusterLocation"`
	Name                 string `pulumi:"name"`
	ShareId              string `pulumi:"shareId"`
}

A collection of values returned by getDatasetKustoCluster.

func LookupDatasetKustoCluster

func LookupDatasetKustoCluster(ctx *pulumi.Context, args *LookupDatasetKustoClusterArgs, opts ...pulumi.InvokeOption) (*LookupDatasetKustoClusterResult, error)

Use this data source to access information about an existing Data Share Kusto Cluster Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetKustoCluster(ctx, &datashare.LookupDatasetKustoClusterArgs{
			Name:    "example-dskc",
			ShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupDatasetKustoClusterResultOutput added in v4.20.0

type LookupDatasetKustoClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetKustoCluster.

func (LookupDatasetKustoClusterResultOutput) DisplayName added in v4.20.0

The name of the Data Share Dataset.

func (LookupDatasetKustoClusterResultOutput) ElementType added in v4.20.0

func (LookupDatasetKustoClusterResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetKustoClusterResultOutput) KustoClusterId added in v4.20.0

The resource ID of the Kusto Cluster to be shared with the receiver.

func (LookupDatasetKustoClusterResultOutput) KustoClusterLocation added in v4.20.0

The location of the Kusto Cluster.

func (LookupDatasetKustoClusterResultOutput) Name added in v4.20.0

func (LookupDatasetKustoClusterResultOutput) ShareId added in v4.20.0

func (LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutput added in v4.20.0

func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutput() LookupDatasetKustoClusterResultOutput

func (LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutputWithContext added in v4.20.0

func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutputWithContext(ctx context.Context) LookupDatasetKustoClusterResultOutput

type LookupDatasetKustoDatabaseArgs

type LookupDatasetKustoDatabaseArgs struct {
	// The name of this Data Share Kusto Database Dataset.
	Name string `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
	ShareId string `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetKustoDatabase.

type LookupDatasetKustoDatabaseOutputArgs added in v4.20.0

type LookupDatasetKustoDatabaseOutputArgs struct {
	// The name of this Data Share Kusto Database Dataset.
	Name pulumi.StringInput `pulumi:"name"`
	// The resource ID of the Data Share where this Data Share Kusto Database Dataset should be created.
	ShareId pulumi.StringInput `pulumi:"shareId"`
}

A collection of arguments for invoking getDatasetKustoDatabase.

func (LookupDatasetKustoDatabaseOutputArgs) ElementType added in v4.20.0

type LookupDatasetKustoDatabaseResult

type LookupDatasetKustoDatabaseResult struct {
	// The name of the Data Share Dataset.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The location of the Kusto Cluster.
	KustoClusterLocation string `pulumi:"kustoClusterLocation"`
	// The resource ID of the Kusto Cluster Database to be shared with the receiver.
	KustoDatabaseId string `pulumi:"kustoDatabaseId"`
	Name            string `pulumi:"name"`
	ShareId         string `pulumi:"shareId"`
}

A collection of values returned by getDatasetKustoDatabase.

func LookupDatasetKustoDatabase

func LookupDatasetKustoDatabase(ctx *pulumi.Context, args *LookupDatasetKustoDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatasetKustoDatabaseResult, error)

Use this data source to access information about an existing Data Share Kusto Database Dataset.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := datashare.LookupDatasetKustoDatabase(ctx, &datashare.LookupDatasetKustoDatabaseArgs{
			Name:    "example-dskdds",
			ShareId: "example-share-id",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}

```

type LookupDatasetKustoDatabaseResultOutput added in v4.20.0

type LookupDatasetKustoDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetKustoDatabase.

func (LookupDatasetKustoDatabaseResultOutput) DisplayName added in v4.20.0

The name of the Data Share Dataset.

func (LookupDatasetKustoDatabaseResultOutput) ElementType added in v4.20.0

func (LookupDatasetKustoDatabaseResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetKustoDatabaseResultOutput) KustoClusterLocation added in v4.20.0

The location of the Kusto Cluster.

func (LookupDatasetKustoDatabaseResultOutput) KustoDatabaseId added in v4.20.0

The resource ID of the Kusto Cluster Database to be shared with the receiver.

func (LookupDatasetKustoDatabaseResultOutput) Name added in v4.20.0

func (LookupDatasetKustoDatabaseResultOutput) ShareId added in v4.20.0

func (LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutput added in v4.20.0

func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutput() LookupDatasetKustoDatabaseResultOutput

func (LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutputWithContext added in v4.20.0

func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutputWithContext(ctx context.Context) LookupDatasetKustoDatabaseResultOutput

type LookupShareArgs

type LookupShareArgs struct {
	// The ID of the Data Share account in which the Data Share is created.
	AccountId string `pulumi:"accountId"`
	// The name of this Data Share.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getShare.

type LookupShareOutputArgs added in v4.20.0

type LookupShareOutputArgs struct {
	// The ID of the Data Share account in which the Data Share is created.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// The name of this Data Share.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getShare.

func (LookupShareOutputArgs) ElementType added in v4.20.0

func (LookupShareOutputArgs) ElementType() reflect.Type

type LookupShareResult

type LookupShareResult struct {
	AccountId string `pulumi:"accountId"`
	// The description of the Data Share.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The kind of the Data Share.
	Kind string `pulumi:"kind"`
	// The name of the snapshot schedule.
	Name string `pulumi:"name"`
	// A `snapshotSchedule` block as defined below.
	SnapshotSchedules []GetShareSnapshotSchedule `pulumi:"snapshotSchedules"`
	// The terms of the Data Share.
	Terms string `pulumi:"terms"`
}

A collection of values returned by getShare.

func LookupShare

func LookupShare(ctx *pulumi.Context, args *LookupShareArgs, opts ...pulumi.InvokeOption) (*LookupShareResult, error)

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleAccount, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{
			Name:              "example-account",
			ResourceGroupName: "example-resource-group",
		}, nil)
		if err != nil {
			return err
		}
		exampleShare, err := datashare.LookupShare(ctx, &datashare.LookupShareArgs{
			Name:      "existing",
			AccountId: exampleAccount.Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", exampleShare.Id)
		return nil
	})
}

```

type LookupShareResultOutput added in v4.20.0

type LookupShareResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getShare.

func LookupShareOutput added in v4.20.0

func LookupShareOutput(ctx *pulumi.Context, args LookupShareOutputArgs, opts ...pulumi.InvokeOption) LookupShareResultOutput

func (LookupShareResultOutput) AccountId added in v4.20.0

func (LookupShareResultOutput) Description added in v4.20.0

The description of the Data Share.

func (LookupShareResultOutput) ElementType added in v4.20.0

func (LookupShareResultOutput) ElementType() reflect.Type

func (LookupShareResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupShareResultOutput) Kind added in v4.20.0

The kind of the Data Share.

func (LookupShareResultOutput) Name added in v4.20.0

The name of the snapshot schedule.

func (LookupShareResultOutput) SnapshotSchedules added in v4.20.0

A `snapshotSchedule` block as defined below.

func (LookupShareResultOutput) Terms added in v4.20.0

The terms of the Data Share.

func (LookupShareResultOutput) ToLookupShareResultOutput added in v4.20.0

func (o LookupShareResultOutput) ToLookupShareResultOutput() LookupShareResultOutput

func (LookupShareResultOutput) ToLookupShareResultOutputWithContext added in v4.20.0

func (o LookupShareResultOutput) ToLookupShareResultOutputWithContext(ctx context.Context) LookupShareResultOutput

type Share

type Share struct {
	pulumi.CustomResourceState

	// The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The Data Share's description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `snapshotSchedule` block as defined below.
	SnapshotSchedule ShareSnapshotSchedulePtrOutput `pulumi:"snapshotSchedule"`
	// The terms of the Data Share.
	Terms pulumi.StringPtrOutput `pulumi:"terms"`
}

Manages a Data Share.

## 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/datashare"
"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
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId:   exampleAccount.ID(),
			Kind:        pulumi.String("CopyBased"),
			Description: pulumi.String("example desc"),
			Terms:       pulumi.String("example terms"),
			SnapshotSchedule: &datashare.ShareSnapshotScheduleArgs{
				Name:       pulumi.String("example-ss"),
				Recurrence: pulumi.String("Day"),
				StartTime:  pulumi.String("2020-04-17T04:47:52.9614956Z"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data Shares can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:datashare/share:Share example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1

```

func GetShare

func GetShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ShareState, opts ...pulumi.ResourceOption) (*Share, error)

GetShare gets an existing Share 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 NewShare

func NewShare(ctx *pulumi.Context,
	name string, args *ShareArgs, opts ...pulumi.ResourceOption) (*Share, error)

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

func (*Share) ElementType

func (*Share) ElementType() reflect.Type

func (*Share) ToShareOutput

func (i *Share) ToShareOutput() ShareOutput

func (*Share) ToShareOutputWithContext

func (i *Share) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareArgs

type ShareArgs struct {
	// The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
	AccountId pulumi.StringInput
	// The Data Share's description.
	Description pulumi.StringPtrInput
	// The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
	Kind pulumi.StringInput
	// The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
	Name pulumi.StringPtrInput
	// A `snapshotSchedule` block as defined below.
	SnapshotSchedule ShareSnapshotSchedulePtrInput
	// The terms of the Data Share.
	Terms pulumi.StringPtrInput
}

The set of arguments for constructing a Share resource.

func (ShareArgs) ElementType

func (ShareArgs) ElementType() reflect.Type

type ShareArray

type ShareArray []ShareInput

func (ShareArray) ElementType

func (ShareArray) ElementType() reflect.Type

func (ShareArray) ToShareArrayOutput

func (i ShareArray) ToShareArrayOutput() ShareArrayOutput

func (ShareArray) ToShareArrayOutputWithContext

func (i ShareArray) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput

type ShareArrayInput

type ShareArrayInput interface {
	pulumi.Input

	ToShareArrayOutput() ShareArrayOutput
	ToShareArrayOutputWithContext(context.Context) ShareArrayOutput
}

ShareArrayInput is an input type that accepts ShareArray and ShareArrayOutput values. You can construct a concrete instance of `ShareArrayInput` via:

ShareArray{ ShareArgs{...} }

type ShareArrayOutput

type ShareArrayOutput struct{ *pulumi.OutputState }

func (ShareArrayOutput) ElementType

func (ShareArrayOutput) ElementType() reflect.Type

func (ShareArrayOutput) Index

func (ShareArrayOutput) ToShareArrayOutput

func (o ShareArrayOutput) ToShareArrayOutput() ShareArrayOutput

func (ShareArrayOutput) ToShareArrayOutputWithContext

func (o ShareArrayOutput) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput

type ShareInput

type ShareInput interface {
	pulumi.Input

	ToShareOutput() ShareOutput
	ToShareOutputWithContext(ctx context.Context) ShareOutput
}

type ShareMap

type ShareMap map[string]ShareInput

func (ShareMap) ElementType

func (ShareMap) ElementType() reflect.Type

func (ShareMap) ToShareMapOutput

func (i ShareMap) ToShareMapOutput() ShareMapOutput

func (ShareMap) ToShareMapOutputWithContext

func (i ShareMap) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput

type ShareMapInput

type ShareMapInput interface {
	pulumi.Input

	ToShareMapOutput() ShareMapOutput
	ToShareMapOutputWithContext(context.Context) ShareMapOutput
}

ShareMapInput is an input type that accepts ShareMap and ShareMapOutput values. You can construct a concrete instance of `ShareMapInput` via:

ShareMap{ "key": ShareArgs{...} }

type ShareMapOutput

type ShareMapOutput struct{ *pulumi.OutputState }

func (ShareMapOutput) ElementType

func (ShareMapOutput) ElementType() reflect.Type

func (ShareMapOutput) MapIndex

func (ShareMapOutput) ToShareMapOutput

func (o ShareMapOutput) ToShareMapOutput() ShareMapOutput

func (ShareMapOutput) ToShareMapOutputWithContext

func (o ShareMapOutput) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput

type ShareOutput

type ShareOutput struct{ *pulumi.OutputState }

func (ShareOutput) ElementType

func (ShareOutput) ElementType() reflect.Type

func (ShareOutput) ToShareOutput

func (o ShareOutput) ToShareOutput() ShareOutput

func (ShareOutput) ToShareOutputWithContext

func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput

type ShareSnapshotSchedule

type ShareSnapshotSchedule struct {
	// The name of the snapshot schedule.
	Name string `pulumi:"name"`
	// The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
	Recurrence string `pulumi:"recurrence"`
	// The synchronization with the source data's start time.
	StartTime string `pulumi:"startTime"`
}

type ShareSnapshotScheduleArgs

type ShareSnapshotScheduleArgs struct {
	// The name of the snapshot schedule.
	Name pulumi.StringInput `pulumi:"name"`
	// The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
	Recurrence pulumi.StringInput `pulumi:"recurrence"`
	// The synchronization with the source data's start time.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (ShareSnapshotScheduleArgs) ElementType

func (ShareSnapshotScheduleArgs) ElementType() reflect.Type

func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput

func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext

func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput

func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext

func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput

type ShareSnapshotScheduleInput

type ShareSnapshotScheduleInput interface {
	pulumi.Input

	ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
	ToShareSnapshotScheduleOutputWithContext(context.Context) ShareSnapshotScheduleOutput
}

ShareSnapshotScheduleInput is an input type that accepts ShareSnapshotScheduleArgs and ShareSnapshotScheduleOutput values. You can construct a concrete instance of `ShareSnapshotScheduleInput` via:

ShareSnapshotScheduleArgs{...}

type ShareSnapshotScheduleOutput

type ShareSnapshotScheduleOutput struct{ *pulumi.OutputState }

func (ShareSnapshotScheduleOutput) ElementType

func (ShareSnapshotScheduleOutput) Name

The name of the snapshot schedule.

func (ShareSnapshotScheduleOutput) Recurrence

The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.

func (ShareSnapshotScheduleOutput) StartTime

The synchronization with the source data's start time.

func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput

func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext

func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput

func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext

func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput

type ShareSnapshotSchedulePtrInput

type ShareSnapshotSchedulePtrInput interface {
	pulumi.Input

	ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
	ToShareSnapshotSchedulePtrOutputWithContext(context.Context) ShareSnapshotSchedulePtrOutput
}

ShareSnapshotSchedulePtrInput is an input type that accepts ShareSnapshotScheduleArgs, ShareSnapshotSchedulePtr and ShareSnapshotSchedulePtrOutput values. You can construct a concrete instance of `ShareSnapshotSchedulePtrInput` via:

        ShareSnapshotScheduleArgs{...}

or:

        nil

type ShareSnapshotSchedulePtrOutput

type ShareSnapshotSchedulePtrOutput struct{ *pulumi.OutputState }

func (ShareSnapshotSchedulePtrOutput) Elem

func (ShareSnapshotSchedulePtrOutput) ElementType

func (ShareSnapshotSchedulePtrOutput) Name

The name of the snapshot schedule.

func (ShareSnapshotSchedulePtrOutput) Recurrence

The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.

func (ShareSnapshotSchedulePtrOutput) StartTime

The synchronization with the source data's start time.

func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput

func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext

func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput

type ShareState

type ShareState struct {
	// The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
	AccountId pulumi.StringPtrInput
	// The Data Share's description.
	Description pulumi.StringPtrInput
	// The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
	Kind pulumi.StringPtrInput
	// The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
	Name pulumi.StringPtrInput
	// A `snapshotSchedule` block as defined below.
	SnapshotSchedule ShareSnapshotSchedulePtrInput
	// The terms of the Data Share.
	Terms pulumi.StringPtrInput
}

func (ShareState) ElementType

func (ShareState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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