datashare

package
v3.55.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 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.
	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/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.31.1

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput added in v3.31.1

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext added in v3.31.1

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

func (*Account) ToAccountPtrOutput added in v3.47.1

func (i *Account) ToAccountPtrOutput() AccountPtrOutput

func (*Account) ToAccountPtrOutputWithContext added in v3.47.1

func (i *Account) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountArgs

type AccountArgs struct {
	// An `identity` block as defined below.
	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 added in v3.47.1

type AccountArray []AccountInput

func (AccountArray) ElementType added in v3.47.1

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput added in v3.47.1

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext added in v3.47.1

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

type AccountArrayInput added in v3.47.1

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 added in v3.47.1

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType added in v3.47.1

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index added in v3.47.1

func (AccountArrayOutput) ToAccountArrayOutput added in v3.47.1

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext added in v3.47.1

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`.
	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`.
	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`.

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`.

type AccountInput added in v3.31.1

type AccountInput interface {
	pulumi.Input

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

type AccountMap added in v3.47.1

type AccountMap map[string]AccountInput

func (AccountMap) ElementType added in v3.47.1

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput added in v3.47.1

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext added in v3.47.1

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

type AccountMapInput added in v3.47.1

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 added in v3.47.1

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType added in v3.47.1

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex added in v3.47.1

func (AccountMapOutput) ToAccountMapOutput added in v3.47.1

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext added in v3.47.1

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

type AccountOutput added in v3.31.1

type AccountOutput struct {
	*pulumi.OutputState
}

func (AccountOutput) ElementType added in v3.31.1

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) ToAccountOutput added in v3.31.1

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext added in v3.31.1

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

func (AccountOutput) ToAccountPtrOutput added in v3.47.1

func (o AccountOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountOutput) ToAccountPtrOutputWithContext added in v3.47.1

func (o AccountOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountPtrInput added in v3.47.1

type AccountPtrInput interface {
	pulumi.Input

	ToAccountPtrOutput() AccountPtrOutput
	ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput
}

type AccountPtrOutput added in v3.47.1

type AccountPtrOutput struct {
	*pulumi.OutputState
}

func (AccountPtrOutput) ElementType added in v3.47.1

func (AccountPtrOutput) ElementType() reflect.Type

func (AccountPtrOutput) ToAccountPtrOutput added in v3.47.1

func (o AccountPtrOutput) ToAccountPtrOutput() AccountPtrOutput

func (AccountPtrOutput) ToAccountPtrOutputWithContext added in v3.47.1

func (o AccountPtrOutput) ToAccountPtrOutputWithContext(ctx context.Context) AccountPtrOutput

type AccountState

type AccountState struct {
	// An `identity` block as defined below.
	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 added in v3.10.0

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/v3/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread"
"github.com/pulumi/pulumi/sdk/v2/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:  pulumi.String(exampleStorage / accountAccount.Name),
			ContainerAccessType: pulumi.String("container"),
		})
		if err != nil {
			return err
		}
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              pulumi.String(exampleStorage / accountAccount.Id),
			RoleDefinitionName: pulumi.String("Storage Blob Data Reader"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (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:              pulumi.String(exampleStorage / accountAccount.Name),
				ResourceGroupName: pulumi.String(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 added in v3.10.0

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 added in v3.10.0

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 added in v3.31.1

func (*DatasetBlobStorage) ElementType() reflect.Type

func (*DatasetBlobStorage) ToDatasetBlobStorageOutput added in v3.31.1

func (i *DatasetBlobStorage) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput

func (*DatasetBlobStorage) ToDatasetBlobStorageOutputWithContext added in v3.31.1

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

func (*DatasetBlobStorage) ToDatasetBlobStoragePtrOutput added in v3.47.1

func (i *DatasetBlobStorage) ToDatasetBlobStoragePtrOutput() DatasetBlobStoragePtrOutput

func (*DatasetBlobStorage) ToDatasetBlobStoragePtrOutputWithContext added in v3.47.1

func (i *DatasetBlobStorage) ToDatasetBlobStoragePtrOutputWithContext(ctx context.Context) DatasetBlobStoragePtrOutput

type DatasetBlobStorageArgs added in v3.10.0

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 added in v3.10.0

func (DatasetBlobStorageArgs) ElementType() reflect.Type

type DatasetBlobStorageArray added in v3.47.1

type DatasetBlobStorageArray []DatasetBlobStorageInput

func (DatasetBlobStorageArray) ElementType added in v3.47.1

func (DatasetBlobStorageArray) ElementType() reflect.Type

func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput added in v3.47.1

func (i DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput

func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutputWithContext added in v3.47.1

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

type DatasetBlobStorageArrayInput added in v3.47.1

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 added in v3.47.1

type DatasetBlobStorageArrayOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageArrayOutput) ElementType added in v3.47.1

func (DatasetBlobStorageArrayOutput) Index added in v3.47.1

func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput added in v3.47.1

func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput

func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext added in v3.47.1

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

type DatasetBlobStorageInput added in v3.31.1

type DatasetBlobStorageInput interface {
	pulumi.Input

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

type DatasetBlobStorageMap added in v3.47.1

type DatasetBlobStorageMap map[string]DatasetBlobStorageInput

func (DatasetBlobStorageMap) ElementType added in v3.47.1

func (DatasetBlobStorageMap) ElementType() reflect.Type

func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput added in v3.47.1

func (i DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput

func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutputWithContext added in v3.47.1

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

type DatasetBlobStorageMapInput added in v3.47.1

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 added in v3.47.1

type DatasetBlobStorageMapOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageMapOutput) ElementType added in v3.47.1

func (DatasetBlobStorageMapOutput) MapIndex added in v3.47.1

func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput added in v3.47.1

func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput

func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext added in v3.47.1

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

type DatasetBlobStorageOutput added in v3.31.1

type DatasetBlobStorageOutput struct {
	*pulumi.OutputState
}

func (DatasetBlobStorageOutput) ElementType added in v3.31.1

func (DatasetBlobStorageOutput) ElementType() reflect.Type

func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutput added in v3.31.1

func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput

func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext added in v3.31.1

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

func (DatasetBlobStorageOutput) ToDatasetBlobStoragePtrOutput added in v3.47.1

func (o DatasetBlobStorageOutput) ToDatasetBlobStoragePtrOutput() DatasetBlobStoragePtrOutput

func (DatasetBlobStorageOutput) ToDatasetBlobStoragePtrOutputWithContext added in v3.47.1

func (o DatasetBlobStorageOutput) ToDatasetBlobStoragePtrOutputWithContext(ctx context.Context) DatasetBlobStoragePtrOutput

type DatasetBlobStoragePtrInput added in v3.47.1

type DatasetBlobStoragePtrInput interface {
	pulumi.Input

	ToDatasetBlobStoragePtrOutput() DatasetBlobStoragePtrOutput
	ToDatasetBlobStoragePtrOutputWithContext(ctx context.Context) DatasetBlobStoragePtrOutput
}

type DatasetBlobStoragePtrOutput added in v3.47.1

type DatasetBlobStoragePtrOutput struct {
	*pulumi.OutputState
}

func (DatasetBlobStoragePtrOutput) ElementType added in v3.47.1

func (DatasetBlobStoragePtrOutput) ToDatasetBlobStoragePtrOutput added in v3.47.1

func (o DatasetBlobStoragePtrOutput) ToDatasetBlobStoragePtrOutput() DatasetBlobStoragePtrOutput

func (DatasetBlobStoragePtrOutput) ToDatasetBlobStoragePtrOutputWithContext added in v3.47.1

func (o DatasetBlobStoragePtrOutput) ToDatasetBlobStoragePtrOutputWithContext(ctx context.Context) DatasetBlobStoragePtrOutput

type DatasetBlobStorageState added in v3.10.0

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 added in v3.10.0

func (DatasetBlobStorageState) ElementType() reflect.Type

type DatasetBlobStorageStorageAccount added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput added in v3.10.0

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext added in v3.10.0

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

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput added in v3.10.0

func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext added in v3.10.0

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

type DatasetBlobStorageStorageAccountInput added in v3.10.0

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 added in v3.10.0

type DatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageStorageAccountOutput) ElementType added in v3.10.0

func (DatasetBlobStorageStorageAccountOutput) Name added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext added in v3.10.0

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

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput added in v3.10.0

func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext added in v3.10.0

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

type DatasetBlobStorageStorageAccountPtrInput added in v3.10.0

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 added in v3.10.0

type DatasetBlobStorageStorageAccountPtrOutput struct{ *pulumi.OutputState }

func (DatasetBlobStorageStorageAccountPtrOutput) Elem added in v3.10.0

func (DatasetBlobStorageStorageAccountPtrOutput) ElementType added in v3.10.0

func (DatasetBlobStorageStorageAccountPtrOutput) Name added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput

func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext added in v3.10.0

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

type DatasetDataLakeGen1 added in v3.13.0

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/v3/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datalake"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare"
"github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread"
"github.com/pulumi/pulumi/sdk/v2/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
		}
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleStore.ID(),
			RoleDefinitionName: pulumi.String("Owner"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (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 added in v3.13.0

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 added in v3.13.0

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 added in v3.31.1

func (*DatasetDataLakeGen1) ElementType() reflect.Type

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1Output added in v3.31.1

func (i *DatasetDataLakeGen1) ToDatasetDataLakeGen1Output() DatasetDataLakeGen1Output

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1OutputWithContext added in v3.31.1

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

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1PtrOutput added in v3.47.1

func (i *DatasetDataLakeGen1) ToDatasetDataLakeGen1PtrOutput() DatasetDataLakeGen1PtrOutput

func (*DatasetDataLakeGen1) ToDatasetDataLakeGen1PtrOutputWithContext added in v3.47.1

func (i *DatasetDataLakeGen1) ToDatasetDataLakeGen1PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen1PtrOutput

type DatasetDataLakeGen1Args added in v3.13.0

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 added in v3.13.0

func (DatasetDataLakeGen1Args) ElementType() reflect.Type

type DatasetDataLakeGen1Array added in v3.47.1

type DatasetDataLakeGen1Array []DatasetDataLakeGen1Input

func (DatasetDataLakeGen1Array) ElementType added in v3.47.1

func (DatasetDataLakeGen1Array) ElementType() reflect.Type

func (DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutput added in v3.47.1

func (i DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutput() DatasetDataLakeGen1ArrayOutput

func (DatasetDataLakeGen1Array) ToDatasetDataLakeGen1ArrayOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen1ArrayInput added in v3.47.1

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 added in v3.47.1

type DatasetDataLakeGen1ArrayOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen1ArrayOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen1ArrayOutput) Index added in v3.47.1

func (DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutput added in v3.47.1

func (o DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutput() DatasetDataLakeGen1ArrayOutput

func (DatasetDataLakeGen1ArrayOutput) ToDatasetDataLakeGen1ArrayOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen1Input added in v3.31.1

type DatasetDataLakeGen1Input interface {
	pulumi.Input

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

type DatasetDataLakeGen1Map added in v3.47.1

type DatasetDataLakeGen1Map map[string]DatasetDataLakeGen1Input

func (DatasetDataLakeGen1Map) ElementType added in v3.47.1

func (DatasetDataLakeGen1Map) ElementType() reflect.Type

func (DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutput added in v3.47.1

func (i DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutput() DatasetDataLakeGen1MapOutput

func (DatasetDataLakeGen1Map) ToDatasetDataLakeGen1MapOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen1MapInput added in v3.47.1

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 added in v3.47.1

type DatasetDataLakeGen1MapOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen1MapOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen1MapOutput) MapIndex added in v3.47.1

func (DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutput added in v3.47.1

func (o DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutput() DatasetDataLakeGen1MapOutput

func (DatasetDataLakeGen1MapOutput) ToDatasetDataLakeGen1MapOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen1Output added in v3.31.1

type DatasetDataLakeGen1Output struct {
	*pulumi.OutputState
}

func (DatasetDataLakeGen1Output) ElementType added in v3.31.1

func (DatasetDataLakeGen1Output) ElementType() reflect.Type

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1Output added in v3.31.1

func (o DatasetDataLakeGen1Output) ToDatasetDataLakeGen1Output() DatasetDataLakeGen1Output

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1OutputWithContext added in v3.31.1

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

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1PtrOutput added in v3.47.1

func (o DatasetDataLakeGen1Output) ToDatasetDataLakeGen1PtrOutput() DatasetDataLakeGen1PtrOutput

func (DatasetDataLakeGen1Output) ToDatasetDataLakeGen1PtrOutputWithContext added in v3.47.1

func (o DatasetDataLakeGen1Output) ToDatasetDataLakeGen1PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen1PtrOutput

type DatasetDataLakeGen1PtrInput added in v3.47.1

type DatasetDataLakeGen1PtrInput interface {
	pulumi.Input

	ToDatasetDataLakeGen1PtrOutput() DatasetDataLakeGen1PtrOutput
	ToDatasetDataLakeGen1PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen1PtrOutput
}

type DatasetDataLakeGen1PtrOutput added in v3.47.1

type DatasetDataLakeGen1PtrOutput struct {
	*pulumi.OutputState
}

func (DatasetDataLakeGen1PtrOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen1PtrOutput) ToDatasetDataLakeGen1PtrOutput added in v3.47.1

func (o DatasetDataLakeGen1PtrOutput) ToDatasetDataLakeGen1PtrOutput() DatasetDataLakeGen1PtrOutput

func (DatasetDataLakeGen1PtrOutput) ToDatasetDataLakeGen1PtrOutputWithContext added in v3.47.1

func (o DatasetDataLakeGen1PtrOutput) ToDatasetDataLakeGen1PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen1PtrOutput

type DatasetDataLakeGen1State added in v3.13.0

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 added in v3.13.0

func (DatasetDataLakeGen1State) ElementType() reflect.Type

type DatasetDataLakeGen2 added in v3.22.0

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/v3/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage"
"github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread"
"github.com/pulumi/pulumi/sdk/v2/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: pulumi.String(exampleStorage / accountAccount.Id),
		})
		if err != nil {
			return err
		}
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              pulumi.String(exampleStorage / accountAccount.Id),
			RoleDefinitionName: pulumi.String("Storage Blob Data Reader"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (string, error) {
				return exampleServicePrincipal.ObjectId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetDataLakeGen2(ctx, "exampleDatasetDataLakeGen2", &datashare.DatasetDataLakeGen2Args{
			ShareId:          exampleShare.ID(),
			StorageAccountId: pulumi.String(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 added in v3.22.0

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 added in v3.22.0

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 added in v3.31.1

func (*DatasetDataLakeGen2) ElementType() reflect.Type

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2Output added in v3.31.1

func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2OutputWithContext added in v3.31.1

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

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2PtrOutput added in v3.47.1

func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2PtrOutput() DatasetDataLakeGen2PtrOutput

func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2PtrOutputWithContext added in v3.47.1

func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen2PtrOutput

type DatasetDataLakeGen2Args added in v3.22.0

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 added in v3.22.0

func (DatasetDataLakeGen2Args) ElementType() reflect.Type

type DatasetDataLakeGen2Array added in v3.47.1

type DatasetDataLakeGen2Array []DatasetDataLakeGen2Input

func (DatasetDataLakeGen2Array) ElementType added in v3.47.1

func (DatasetDataLakeGen2Array) ElementType() reflect.Type

func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput added in v3.47.1

func (i DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput

func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen2ArrayInput added in v3.47.1

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 added in v3.47.1

type DatasetDataLakeGen2ArrayOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen2ArrayOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen2ArrayOutput) Index added in v3.47.1

func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput added in v3.47.1

func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput

func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen2Input added in v3.31.1

type DatasetDataLakeGen2Input interface {
	pulumi.Input

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

type DatasetDataLakeGen2Map added in v3.47.1

type DatasetDataLakeGen2Map map[string]DatasetDataLakeGen2Input

func (DatasetDataLakeGen2Map) ElementType added in v3.47.1

func (DatasetDataLakeGen2Map) ElementType() reflect.Type

func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput added in v3.47.1

func (i DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput

func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen2MapInput added in v3.47.1

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 added in v3.47.1

type DatasetDataLakeGen2MapOutput struct{ *pulumi.OutputState }

func (DatasetDataLakeGen2MapOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen2MapOutput) MapIndex added in v3.47.1

func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput added in v3.47.1

func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput

func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext added in v3.47.1

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

type DatasetDataLakeGen2Output added in v3.31.1

type DatasetDataLakeGen2Output struct {
	*pulumi.OutputState
}

func (DatasetDataLakeGen2Output) ElementType added in v3.31.1

func (DatasetDataLakeGen2Output) ElementType() reflect.Type

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output added in v3.31.1

func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext added in v3.31.1

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

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2PtrOutput added in v3.47.1

func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2PtrOutput() DatasetDataLakeGen2PtrOutput

func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2PtrOutputWithContext added in v3.47.1

func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen2PtrOutput

type DatasetDataLakeGen2PtrInput added in v3.47.1

type DatasetDataLakeGen2PtrInput interface {
	pulumi.Input

	ToDatasetDataLakeGen2PtrOutput() DatasetDataLakeGen2PtrOutput
	ToDatasetDataLakeGen2PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen2PtrOutput
}

type DatasetDataLakeGen2PtrOutput added in v3.47.1

type DatasetDataLakeGen2PtrOutput struct {
	*pulumi.OutputState
}

func (DatasetDataLakeGen2PtrOutput) ElementType added in v3.47.1

func (DatasetDataLakeGen2PtrOutput) ToDatasetDataLakeGen2PtrOutput added in v3.47.1

func (o DatasetDataLakeGen2PtrOutput) ToDatasetDataLakeGen2PtrOutput() DatasetDataLakeGen2PtrOutput

func (DatasetDataLakeGen2PtrOutput) ToDatasetDataLakeGen2PtrOutputWithContext added in v3.47.1

func (o DatasetDataLakeGen2PtrOutput) ToDatasetDataLakeGen2PtrOutputWithContext(ctx context.Context) DatasetDataLakeGen2PtrOutput

type DatasetDataLakeGen2State added in v3.22.0

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 added in v3.22.0

func (DatasetDataLakeGen2State) ElementType() reflect.Type

type DatasetKustoCluster added in v3.23.0

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.

## 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 added in v3.23.0

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 added in v3.23.0

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 added in v3.31.1

func (*DatasetKustoCluster) ElementType() reflect.Type

func (*DatasetKustoCluster) ToDatasetKustoClusterOutput added in v3.31.1

func (i *DatasetKustoCluster) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput

func (*DatasetKustoCluster) ToDatasetKustoClusterOutputWithContext added in v3.31.1

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

func (*DatasetKustoCluster) ToDatasetKustoClusterPtrOutput added in v3.47.1

func (i *DatasetKustoCluster) ToDatasetKustoClusterPtrOutput() DatasetKustoClusterPtrOutput

func (*DatasetKustoCluster) ToDatasetKustoClusterPtrOutputWithContext added in v3.47.1

func (i *DatasetKustoCluster) ToDatasetKustoClusterPtrOutputWithContext(ctx context.Context) DatasetKustoClusterPtrOutput

type DatasetKustoClusterArgs added in v3.23.0

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 added in v3.23.0

func (DatasetKustoClusterArgs) ElementType() reflect.Type

type DatasetKustoClusterArray added in v3.47.1

type DatasetKustoClusterArray []DatasetKustoClusterInput

func (DatasetKustoClusterArray) ElementType added in v3.47.1

func (DatasetKustoClusterArray) ElementType() reflect.Type

func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput added in v3.47.1

func (i DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput

func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutputWithContext added in v3.47.1

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

type DatasetKustoClusterArrayInput added in v3.47.1

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 added in v3.47.1

type DatasetKustoClusterArrayOutput struct{ *pulumi.OutputState }

func (DatasetKustoClusterArrayOutput) ElementType added in v3.47.1

func (DatasetKustoClusterArrayOutput) Index added in v3.47.1

func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput added in v3.47.1

func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput

func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext added in v3.47.1

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

type DatasetKustoClusterInput added in v3.31.1

type DatasetKustoClusterInput interface {
	pulumi.Input

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

type DatasetKustoClusterMap added in v3.47.1

type DatasetKustoClusterMap map[string]DatasetKustoClusterInput

func (DatasetKustoClusterMap) ElementType added in v3.47.1

func (DatasetKustoClusterMap) ElementType() reflect.Type

func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput added in v3.47.1

func (i DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput

func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutputWithContext added in v3.47.1

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

type DatasetKustoClusterMapInput added in v3.47.1

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 added in v3.47.1

type DatasetKustoClusterMapOutput struct{ *pulumi.OutputState }

func (DatasetKustoClusterMapOutput) ElementType added in v3.47.1

func (DatasetKustoClusterMapOutput) MapIndex added in v3.47.1

func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput added in v3.47.1

func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput

func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext added in v3.47.1

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

type DatasetKustoClusterOutput added in v3.31.1

type DatasetKustoClusterOutput struct {
	*pulumi.OutputState
}

func (DatasetKustoClusterOutput) ElementType added in v3.31.1

func (DatasetKustoClusterOutput) ElementType() reflect.Type

func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutput added in v3.31.1

func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput

func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext added in v3.31.1

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

func (DatasetKustoClusterOutput) ToDatasetKustoClusterPtrOutput added in v3.47.1

func (o DatasetKustoClusterOutput) ToDatasetKustoClusterPtrOutput() DatasetKustoClusterPtrOutput

func (DatasetKustoClusterOutput) ToDatasetKustoClusterPtrOutputWithContext added in v3.47.1

func (o DatasetKustoClusterOutput) ToDatasetKustoClusterPtrOutputWithContext(ctx context.Context) DatasetKustoClusterPtrOutput

type DatasetKustoClusterPtrInput added in v3.47.1

type DatasetKustoClusterPtrInput interface {
	pulumi.Input

	ToDatasetKustoClusterPtrOutput() DatasetKustoClusterPtrOutput
	ToDatasetKustoClusterPtrOutputWithContext(ctx context.Context) DatasetKustoClusterPtrOutput
}

type DatasetKustoClusterPtrOutput added in v3.47.1

type DatasetKustoClusterPtrOutput struct {
	*pulumi.OutputState
}

func (DatasetKustoClusterPtrOutput) ElementType added in v3.47.1

func (DatasetKustoClusterPtrOutput) ToDatasetKustoClusterPtrOutput added in v3.47.1

func (o DatasetKustoClusterPtrOutput) ToDatasetKustoClusterPtrOutput() DatasetKustoClusterPtrOutput

func (DatasetKustoClusterPtrOutput) ToDatasetKustoClusterPtrOutputWithContext added in v3.47.1

func (o DatasetKustoClusterPtrOutput) ToDatasetKustoClusterPtrOutputWithContext(ctx context.Context) DatasetKustoClusterPtrOutput

type DatasetKustoClusterState added in v3.23.0

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 added in v3.23.0

func (DatasetKustoClusterState) ElementType() reflect.Type

type DatasetKustoDatabase added in v3.31.0

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.

## 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 added in v3.31.0

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 added in v3.31.0

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 added in v3.31.1

func (*DatasetKustoDatabase) ElementType() reflect.Type

func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutput added in v3.31.1

func (i *DatasetKustoDatabase) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput

func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutputWithContext added in v3.31.1

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

func (*DatasetKustoDatabase) ToDatasetKustoDatabasePtrOutput added in v3.47.1

func (i *DatasetKustoDatabase) ToDatasetKustoDatabasePtrOutput() DatasetKustoDatabasePtrOutput

func (*DatasetKustoDatabase) ToDatasetKustoDatabasePtrOutputWithContext added in v3.47.1

func (i *DatasetKustoDatabase) ToDatasetKustoDatabasePtrOutputWithContext(ctx context.Context) DatasetKustoDatabasePtrOutput

type DatasetKustoDatabaseArgs added in v3.31.0

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 added in v3.31.0

func (DatasetKustoDatabaseArgs) ElementType() reflect.Type

type DatasetKustoDatabaseArray added in v3.47.1

type DatasetKustoDatabaseArray []DatasetKustoDatabaseInput

func (DatasetKustoDatabaseArray) ElementType added in v3.47.1

func (DatasetKustoDatabaseArray) ElementType() reflect.Type

func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput added in v3.47.1

func (i DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput

func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutputWithContext added in v3.47.1

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

type DatasetKustoDatabaseArrayInput added in v3.47.1

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 added in v3.47.1

type DatasetKustoDatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatasetKustoDatabaseArrayOutput) ElementType added in v3.47.1

func (DatasetKustoDatabaseArrayOutput) Index added in v3.47.1

func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput added in v3.47.1

func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput

func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext added in v3.47.1

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

type DatasetKustoDatabaseInput added in v3.31.1

type DatasetKustoDatabaseInput interface {
	pulumi.Input

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

type DatasetKustoDatabaseMap added in v3.47.1

type DatasetKustoDatabaseMap map[string]DatasetKustoDatabaseInput

func (DatasetKustoDatabaseMap) ElementType added in v3.47.1

func (DatasetKustoDatabaseMap) ElementType() reflect.Type

func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput added in v3.47.1

func (i DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput

func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutputWithContext added in v3.47.1

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

type DatasetKustoDatabaseMapInput added in v3.47.1

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 added in v3.47.1

type DatasetKustoDatabaseMapOutput struct{ *pulumi.OutputState }

func (DatasetKustoDatabaseMapOutput) ElementType added in v3.47.1

func (DatasetKustoDatabaseMapOutput) MapIndex added in v3.47.1

func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput added in v3.47.1

func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput

func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext added in v3.47.1

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

type DatasetKustoDatabaseOutput added in v3.31.1

type DatasetKustoDatabaseOutput struct {
	*pulumi.OutputState
}

func (DatasetKustoDatabaseOutput) ElementType added in v3.31.1

func (DatasetKustoDatabaseOutput) ElementType() reflect.Type

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput added in v3.31.1

func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext added in v3.31.1

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

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabasePtrOutput added in v3.47.1

func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabasePtrOutput() DatasetKustoDatabasePtrOutput

func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabasePtrOutputWithContext added in v3.47.1

func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabasePtrOutputWithContext(ctx context.Context) DatasetKustoDatabasePtrOutput

type DatasetKustoDatabasePtrInput added in v3.47.1

type DatasetKustoDatabasePtrInput interface {
	pulumi.Input

	ToDatasetKustoDatabasePtrOutput() DatasetKustoDatabasePtrOutput
	ToDatasetKustoDatabasePtrOutputWithContext(ctx context.Context) DatasetKustoDatabasePtrOutput
}

type DatasetKustoDatabasePtrOutput added in v3.47.1

type DatasetKustoDatabasePtrOutput struct {
	*pulumi.OutputState
}

func (DatasetKustoDatabasePtrOutput) ElementType added in v3.47.1

func (DatasetKustoDatabasePtrOutput) ToDatasetKustoDatabasePtrOutput added in v3.47.1

func (o DatasetKustoDatabasePtrOutput) ToDatasetKustoDatabasePtrOutput() DatasetKustoDatabasePtrOutput

func (DatasetKustoDatabasePtrOutput) ToDatasetKustoDatabasePtrOutputWithContext added in v3.47.1

func (o DatasetKustoDatabasePtrOutput) ToDatasetKustoDatabasePtrOutputWithContext(ctx context.Context) DatasetKustoDatabasePtrOutput

type DatasetKustoDatabaseState added in v3.31.0

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 added in v3.31.0

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 added in v3.10.0

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 added in v3.10.0

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 added in v3.10.0

func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput added in v3.10.0

func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput

func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext added in v3.10.0

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

type GetDatasetBlobStorageStorageAccountArray added in v3.10.0

type GetDatasetBlobStorageStorageAccountArray []GetDatasetBlobStorageStorageAccountInput

func (GetDatasetBlobStorageStorageAccountArray) ElementType added in v3.10.0

func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput added in v3.10.0

func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput

func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext added in v3.10.0

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

type GetDatasetBlobStorageStorageAccountArrayInput added in v3.10.0

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 added in v3.10.0

type GetDatasetBlobStorageStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType added in v3.10.0

func (GetDatasetBlobStorageStorageAccountArrayOutput) Index added in v3.10.0

func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput added in v3.10.0

func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput

func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext added in v3.10.0

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

type GetDatasetBlobStorageStorageAccountInput added in v3.10.0

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 added in v3.10.0

type GetDatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }

func (GetDatasetBlobStorageStorageAccountOutput) ElementType added in v3.10.0

func (GetDatasetBlobStorageStorageAccountOutput) Name added in v3.10.0

The name of this Data Share Blob Storage Dataset.

func (GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName added in v3.10.0

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

func (GetDatasetBlobStorageStorageAccountOutput) SubscriptionId added in v3.10.0

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

func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput added in v3.10.0

func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput

func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext added in v3.10.0

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

type GetShareSnapshotSchedule added in v3.6.0

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 added in v3.6.0

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 added in v3.6.0

func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput added in v3.6.0

func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput

func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext added in v3.6.0

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

type GetShareSnapshotScheduleArray added in v3.6.0

type GetShareSnapshotScheduleArray []GetShareSnapshotScheduleInput

func (GetShareSnapshotScheduleArray) ElementType added in v3.6.0

func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput added in v3.6.0

func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput

func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext added in v3.6.0

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

type GetShareSnapshotScheduleArrayInput added in v3.6.0

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 added in v3.6.0

type GetShareSnapshotScheduleArrayOutput struct{ *pulumi.OutputState }

func (GetShareSnapshotScheduleArrayOutput) ElementType added in v3.6.0

func (GetShareSnapshotScheduleArrayOutput) Index added in v3.6.0

func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput added in v3.6.0

func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput

func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext added in v3.6.0

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

type GetShareSnapshotScheduleInput added in v3.6.0

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 added in v3.6.0

type GetShareSnapshotScheduleOutput struct{ *pulumi.OutputState }

func (GetShareSnapshotScheduleOutput) ElementType added in v3.6.0

func (GetShareSnapshotScheduleOutput) Name added in v3.6.0

The name of this Data Share.

func (GetShareSnapshotScheduleOutput) Recurrence added in v3.6.0

The interval of the synchronization with the source data.

func (GetShareSnapshotScheduleOutput) StartTime added in v3.6.0

The synchronization with the source data's start time.

func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput added in v3.6.0

func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput

func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext added in v3.6.0

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 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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupDatasetBlobStorageArgs added in v3.10.0

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 LookupDatasetBlobStorageResult added in v3.10.0

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 added in v3.10.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupDatasetDataLakeGen1Args added in v3.14.0

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 LookupDatasetDataLakeGen1Result added in v3.14.0

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 added in v3.14.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupDatasetDataLakeGen2Args added in v3.22.0

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 LookupDatasetDataLakeGen2Result added in v3.22.0

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 added in v3.22.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupDatasetKustoClusterArgs added in v3.23.0

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 LookupDatasetKustoClusterResult added in v3.23.0

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 added in v3.23.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupDatasetKustoDatabaseArgs added in v3.31.0

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 LookupDatasetKustoDatabaseResult added in v3.31.0

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 added in v3.31.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 LookupShareArgs added in v3.6.0

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 LookupShareResult added in v3.6.0

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 added in v3.6.0

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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 Share added in v3.6.0

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/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.6.0

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 added in v3.6.0

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 added in v3.31.1

func (*Share) ElementType() reflect.Type

func (*Share) ToShareOutput added in v3.31.1

func (i *Share) ToShareOutput() ShareOutput

func (*Share) ToShareOutputWithContext added in v3.31.1

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

func (*Share) ToSharePtrOutput added in v3.47.1

func (i *Share) ToSharePtrOutput() SharePtrOutput

func (*Share) ToSharePtrOutputWithContext added in v3.47.1

func (i *Share) ToSharePtrOutputWithContext(ctx context.Context) SharePtrOutput

type ShareArgs added in v3.6.0

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 added in v3.6.0

func (ShareArgs) ElementType() reflect.Type

type ShareArray added in v3.47.1

type ShareArray []ShareInput

func (ShareArray) ElementType added in v3.47.1

func (ShareArray) ElementType() reflect.Type

func (ShareArray) ToShareArrayOutput added in v3.47.1

func (i ShareArray) ToShareArrayOutput() ShareArrayOutput

func (ShareArray) ToShareArrayOutputWithContext added in v3.47.1

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

type ShareArrayInput added in v3.47.1

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 added in v3.47.1

type ShareArrayOutput struct{ *pulumi.OutputState }

func (ShareArrayOutput) ElementType added in v3.47.1

func (ShareArrayOutput) ElementType() reflect.Type

func (ShareArrayOutput) Index added in v3.47.1

func (ShareArrayOutput) ToShareArrayOutput added in v3.47.1

func (o ShareArrayOutput) ToShareArrayOutput() ShareArrayOutput

func (ShareArrayOutput) ToShareArrayOutputWithContext added in v3.47.1

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

type ShareInput added in v3.31.1

type ShareInput interface {
	pulumi.Input

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

type ShareMap added in v3.47.1

type ShareMap map[string]ShareInput

func (ShareMap) ElementType added in v3.47.1

func (ShareMap) ElementType() reflect.Type

func (ShareMap) ToShareMapOutput added in v3.47.1

func (i ShareMap) ToShareMapOutput() ShareMapOutput

func (ShareMap) ToShareMapOutputWithContext added in v3.47.1

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

type ShareMapInput added in v3.47.1

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 added in v3.47.1

type ShareMapOutput struct{ *pulumi.OutputState }

func (ShareMapOutput) ElementType added in v3.47.1

func (ShareMapOutput) ElementType() reflect.Type

func (ShareMapOutput) MapIndex added in v3.47.1

func (ShareMapOutput) ToShareMapOutput added in v3.47.1

func (o ShareMapOutput) ToShareMapOutput() ShareMapOutput

func (ShareMapOutput) ToShareMapOutputWithContext added in v3.47.1

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

type ShareOutput added in v3.31.1

type ShareOutput struct {
	*pulumi.OutputState
}

func (ShareOutput) ElementType added in v3.31.1

func (ShareOutput) ElementType() reflect.Type

func (ShareOutput) ToShareOutput added in v3.31.1

func (o ShareOutput) ToShareOutput() ShareOutput

func (ShareOutput) ToShareOutputWithContext added in v3.31.1

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

func (ShareOutput) ToSharePtrOutput added in v3.47.1

func (o ShareOutput) ToSharePtrOutput() SharePtrOutput

func (ShareOutput) ToSharePtrOutputWithContext added in v3.47.1

func (o ShareOutput) ToSharePtrOutputWithContext(ctx context.Context) SharePtrOutput

type SharePtrInput added in v3.47.1

type SharePtrInput interface {
	pulumi.Input

	ToSharePtrOutput() SharePtrOutput
	ToSharePtrOutputWithContext(ctx context.Context) SharePtrOutput
}

type SharePtrOutput added in v3.47.1

type SharePtrOutput struct {
	*pulumi.OutputState
}

func (SharePtrOutput) ElementType added in v3.47.1

func (SharePtrOutput) ElementType() reflect.Type

func (SharePtrOutput) ToSharePtrOutput added in v3.47.1

func (o SharePtrOutput) ToSharePtrOutput() SharePtrOutput

func (SharePtrOutput) ToSharePtrOutputWithContext added in v3.47.1

func (o SharePtrOutput) ToSharePtrOutputWithContext(ctx context.Context) SharePtrOutput

type ShareSnapshotSchedule added in v3.6.0

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 added in v3.6.0

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 added in v3.6.0

func (ShareSnapshotScheduleArgs) ElementType() reflect.Type

func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput added in v3.6.0

func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext added in v3.6.0

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

func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput added in v3.6.0

func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext added in v3.6.0

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

type ShareSnapshotScheduleInput added in v3.6.0

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 added in v3.6.0

type ShareSnapshotScheduleOutput struct{ *pulumi.OutputState }

func (ShareSnapshotScheduleOutput) ElementType added in v3.6.0

func (ShareSnapshotScheduleOutput) Name added in v3.6.0

The name of the snapshot schedule.

func (ShareSnapshotScheduleOutput) Recurrence added in v3.6.0

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

func (ShareSnapshotScheduleOutput) StartTime added in v3.6.0

The synchronization with the source data's start time.

func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput added in v3.6.0

func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput

func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext added in v3.6.0

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

func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput added in v3.6.0

func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext added in v3.6.0

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

type ShareSnapshotSchedulePtrInput added in v3.6.0

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

func ShareSnapshotSchedulePtr added in v3.6.0

func ShareSnapshotSchedulePtr(v *ShareSnapshotScheduleArgs) ShareSnapshotSchedulePtrInput

type ShareSnapshotSchedulePtrOutput added in v3.6.0

type ShareSnapshotSchedulePtrOutput struct{ *pulumi.OutputState }

func (ShareSnapshotSchedulePtrOutput) Elem added in v3.6.0

func (ShareSnapshotSchedulePtrOutput) ElementType added in v3.6.0

func (ShareSnapshotSchedulePtrOutput) Name added in v3.6.0

The name of the snapshot schedule.

func (ShareSnapshotSchedulePtrOutput) Recurrence added in v3.6.0

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

func (ShareSnapshotSchedulePtrOutput) StartTime added in v3.6.0

The synchronization with the source data's start time.

func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput added in v3.6.0

func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput

func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext added in v3.6.0

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

type ShareState added in v3.6.0

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 added in v3.6.0

func (ShareState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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