Documentation ¶
Index ¶
- type Account
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountIdentity
- type AccountIdentityArgs
- func (AccountIdentityArgs) ElementType() reflect.Type
- func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput
- func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
- func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- type AccountIdentityInput
- type AccountIdentityOutput
- func (AccountIdentityOutput) ElementType() reflect.Type
- func (o AccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o AccountIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput
- func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
- func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- func (o AccountIdentityOutput) Type() pulumi.StringOutput
- type AccountIdentityPtrInput
- type AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) Elem() AccountIdentityOutput
- func (AccountIdentityPtrOutput) ElementType() reflect.Type
- func (o AccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o AccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
- func (o AccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) Identity() AccountIdentityOutput
- func (o AccountOutput) Location() pulumi.StringOutput
- func (o AccountOutput) Name() pulumi.StringOutput
- func (o AccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o AccountOutput) Tags() pulumi.StringMapOutput
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- type AccountState
- type DatasetBlobStorage
- type DatasetBlobStorageArgs
- type DatasetBlobStorageArray
- type DatasetBlobStorageArrayInput
- type DatasetBlobStorageArrayOutput
- func (DatasetBlobStorageArrayOutput) ElementType() reflect.Type
- func (o DatasetBlobStorageArrayOutput) Index(i pulumi.IntInput) DatasetBlobStorageOutput
- func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput
- func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext(ctx context.Context) DatasetBlobStorageArrayOutput
- type DatasetBlobStorageInput
- type DatasetBlobStorageMap
- type DatasetBlobStorageMapInput
- type DatasetBlobStorageMapOutput
- func (DatasetBlobStorageMapOutput) ElementType() reflect.Type
- func (o DatasetBlobStorageMapOutput) MapIndex(k pulumi.StringInput) DatasetBlobStorageOutput
- func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput
- func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext(ctx context.Context) DatasetBlobStorageMapOutput
- type DatasetBlobStorageOutput
- func (o DatasetBlobStorageOutput) ContainerName() pulumi.StringOutput
- func (o DatasetBlobStorageOutput) DataShareId() pulumi.StringOutput
- func (o DatasetBlobStorageOutput) DisplayName() pulumi.StringOutput
- func (DatasetBlobStorageOutput) ElementType() reflect.Type
- func (o DatasetBlobStorageOutput) FilePath() pulumi.StringPtrOutput
- func (o DatasetBlobStorageOutput) FolderPath() pulumi.StringPtrOutput
- func (o DatasetBlobStorageOutput) Name() pulumi.StringOutput
- func (o DatasetBlobStorageOutput) StorageAccount() DatasetBlobStorageStorageAccountOutput
- func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput
- func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput
- type DatasetBlobStorageState
- type DatasetBlobStorageStorageAccount
- type DatasetBlobStorageStorageAccountArgs
- func (DatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
- func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
- func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
- func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
- func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
- type DatasetBlobStorageStorageAccountInput
- type DatasetBlobStorageStorageAccountOutput
- func (DatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
- func (o DatasetBlobStorageStorageAccountOutput) Name() pulumi.StringOutput
- func (o DatasetBlobStorageStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o DatasetBlobStorageStorageAccountOutput) SubscriptionId() pulumi.StringOutput
- func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
- func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
- func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
- func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
- type DatasetBlobStorageStorageAccountPtrInput
- type DatasetBlobStorageStorageAccountPtrOutput
- func (o DatasetBlobStorageStorageAccountPtrOutput) Elem() DatasetBlobStorageStorageAccountOutput
- func (DatasetBlobStorageStorageAccountPtrOutput) ElementType() reflect.Type
- func (o DatasetBlobStorageStorageAccountPtrOutput) Name() pulumi.StringPtrOutput
- func (o DatasetBlobStorageStorageAccountPtrOutput) ResourceGroupName() pulumi.StringPtrOutput
- func (o DatasetBlobStorageStorageAccountPtrOutput) SubscriptionId() pulumi.StringPtrOutput
- func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
- func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
- type DatasetDataLakeGen2
- type DatasetDataLakeGen2Args
- type DatasetDataLakeGen2Array
- type DatasetDataLakeGen2ArrayInput
- type DatasetDataLakeGen2ArrayOutput
- func (DatasetDataLakeGen2ArrayOutput) ElementType() reflect.Type
- func (o DatasetDataLakeGen2ArrayOutput) Index(i pulumi.IntInput) DatasetDataLakeGen2Output
- func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput
- func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen2ArrayOutput
- type DatasetDataLakeGen2Input
- type DatasetDataLakeGen2Map
- type DatasetDataLakeGen2MapInput
- type DatasetDataLakeGen2MapOutput
- func (DatasetDataLakeGen2MapOutput) ElementType() reflect.Type
- func (o DatasetDataLakeGen2MapOutput) MapIndex(k pulumi.StringInput) DatasetDataLakeGen2Output
- func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput
- func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext(ctx context.Context) DatasetDataLakeGen2MapOutput
- type DatasetDataLakeGen2Output
- func (o DatasetDataLakeGen2Output) DisplayName() pulumi.StringOutput
- func (DatasetDataLakeGen2Output) ElementType() reflect.Type
- func (o DatasetDataLakeGen2Output) FilePath() pulumi.StringPtrOutput
- func (o DatasetDataLakeGen2Output) FileSystemName() pulumi.StringOutput
- func (o DatasetDataLakeGen2Output) FolderPath() pulumi.StringPtrOutput
- func (o DatasetDataLakeGen2Output) Name() pulumi.StringOutput
- func (o DatasetDataLakeGen2Output) ShareId() pulumi.StringOutput
- func (o DatasetDataLakeGen2Output) StorageAccountId() pulumi.StringOutput
- func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output
- func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output
- type DatasetDataLakeGen2State
- type DatasetKustoCluster
- type DatasetKustoClusterArgs
- type DatasetKustoClusterArray
- type DatasetKustoClusterArrayInput
- type DatasetKustoClusterArrayOutput
- func (DatasetKustoClusterArrayOutput) ElementType() reflect.Type
- func (o DatasetKustoClusterArrayOutput) Index(i pulumi.IntInput) DatasetKustoClusterOutput
- func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput
- func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext(ctx context.Context) DatasetKustoClusterArrayOutput
- type DatasetKustoClusterInput
- type DatasetKustoClusterMap
- type DatasetKustoClusterMapInput
- type DatasetKustoClusterMapOutput
- func (DatasetKustoClusterMapOutput) ElementType() reflect.Type
- func (o DatasetKustoClusterMapOutput) MapIndex(k pulumi.StringInput) DatasetKustoClusterOutput
- func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput
- func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext(ctx context.Context) DatasetKustoClusterMapOutput
- type DatasetKustoClusterOutput
- func (o DatasetKustoClusterOutput) DisplayName() pulumi.StringOutput
- func (DatasetKustoClusterOutput) ElementType() reflect.Type
- func (o DatasetKustoClusterOutput) KustoClusterId() pulumi.StringOutput
- func (o DatasetKustoClusterOutput) KustoClusterLocation() pulumi.StringOutput
- func (o DatasetKustoClusterOutput) Name() pulumi.StringOutput
- func (o DatasetKustoClusterOutput) ShareId() pulumi.StringOutput
- func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput
- func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput
- type DatasetKustoClusterState
- type DatasetKustoDatabase
- type DatasetKustoDatabaseArgs
- type DatasetKustoDatabaseArray
- type DatasetKustoDatabaseArrayInput
- type DatasetKustoDatabaseArrayOutput
- func (DatasetKustoDatabaseArrayOutput) ElementType() reflect.Type
- func (o DatasetKustoDatabaseArrayOutput) Index(i pulumi.IntInput) DatasetKustoDatabaseOutput
- func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput
- func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext(ctx context.Context) DatasetKustoDatabaseArrayOutput
- type DatasetKustoDatabaseInput
- type DatasetKustoDatabaseMap
- type DatasetKustoDatabaseMapInput
- type DatasetKustoDatabaseMapOutput
- func (DatasetKustoDatabaseMapOutput) ElementType() reflect.Type
- func (o DatasetKustoDatabaseMapOutput) MapIndex(k pulumi.StringInput) DatasetKustoDatabaseOutput
- func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput
- func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext(ctx context.Context) DatasetKustoDatabaseMapOutput
- type DatasetKustoDatabaseOutput
- func (o DatasetKustoDatabaseOutput) DisplayName() pulumi.StringOutput
- func (DatasetKustoDatabaseOutput) ElementType() reflect.Type
- func (o DatasetKustoDatabaseOutput) KustoClusterLocation() pulumi.StringOutput
- func (o DatasetKustoDatabaseOutput) KustoDatabaseId() pulumi.StringOutput
- func (o DatasetKustoDatabaseOutput) Name() pulumi.StringOutput
- func (o DatasetKustoDatabaseOutput) ShareId() pulumi.StringOutput
- func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput
- func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput
- type DatasetKustoDatabaseState
- type GetAccountIdentity
- type GetAccountIdentityArgs
- type GetAccountIdentityArray
- type GetAccountIdentityArrayInput
- type GetAccountIdentityArrayOutput
- func (GetAccountIdentityArrayOutput) ElementType() reflect.Type
- func (o GetAccountIdentityArrayOutput) Index(i pulumi.IntInput) GetAccountIdentityOutput
- func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput
- func (o GetAccountIdentityArrayOutput) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput
- type GetAccountIdentityInput
- type GetAccountIdentityOutput
- func (GetAccountIdentityOutput) ElementType() reflect.Type
- func (o GetAccountIdentityOutput) PrincipalId() pulumi.StringOutput
- func (o GetAccountIdentityOutput) TenantId() pulumi.StringOutput
- func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput
- func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput
- func (o GetAccountIdentityOutput) Type() pulumi.StringOutput
- type GetDatasetBlobStorageStorageAccount
- type GetDatasetBlobStorageStorageAccountArgs
- func (GetDatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
- func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
- func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
- type GetDatasetBlobStorageStorageAccountArray
- func (GetDatasetBlobStorageStorageAccountArray) ElementType() reflect.Type
- func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
- func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
- type GetDatasetBlobStorageStorageAccountArrayInput
- type GetDatasetBlobStorageStorageAccountArrayOutput
- func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType() reflect.Type
- func (o GetDatasetBlobStorageStorageAccountArrayOutput) Index(i pulumi.IntInput) GetDatasetBlobStorageStorageAccountOutput
- func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
- func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
- type GetDatasetBlobStorageStorageAccountInput
- type GetDatasetBlobStorageStorageAccountOutput
- func (GetDatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
- func (o GetDatasetBlobStorageStorageAccountOutput) Name() pulumi.StringOutput
- func (o GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetDatasetBlobStorageStorageAccountOutput) SubscriptionId() pulumi.StringOutput
- func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
- func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
- type GetShareSnapshotSchedule
- type GetShareSnapshotScheduleArgs
- func (GetShareSnapshotScheduleArgs) ElementType() reflect.Type
- func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
- func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
- type GetShareSnapshotScheduleArray
- func (GetShareSnapshotScheduleArray) ElementType() reflect.Type
- func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
- func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
- type GetShareSnapshotScheduleArrayInput
- type GetShareSnapshotScheduleArrayOutput
- func (GetShareSnapshotScheduleArrayOutput) ElementType() reflect.Type
- func (o GetShareSnapshotScheduleArrayOutput) Index(i pulumi.IntInput) GetShareSnapshotScheduleOutput
- func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
- func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
- type GetShareSnapshotScheduleInput
- type GetShareSnapshotScheduleOutput
- func (GetShareSnapshotScheduleOutput) ElementType() reflect.Type
- func (o GetShareSnapshotScheduleOutput) Name() pulumi.StringOutput
- func (o GetShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
- func (o GetShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
- func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
- func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
- type LookupAccountArgs
- type LookupAccountOutputArgs
- type LookupAccountResult
- type LookupAccountResultOutput
- func (LookupAccountResultOutput) ElementType() reflect.Type
- func (o LookupAccountResultOutput) Id() pulumi.StringOutput
- func (o LookupAccountResultOutput) Identities() GetAccountIdentityArrayOutput
- func (o LookupAccountResultOutput) Name() pulumi.StringOutput
- func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupAccountResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
- type LookupDatasetBlobStorageArgs
- type LookupDatasetBlobStorageOutputArgs
- type LookupDatasetBlobStorageResult
- type LookupDatasetBlobStorageResultOutput
- func (o LookupDatasetBlobStorageResultOutput) ContainerName() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) DataShareId() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDatasetBlobStorageResultOutput) ElementType() reflect.Type
- func (o LookupDatasetBlobStorageResultOutput) FilePath() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) FolderPath() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) Id() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) Name() pulumi.StringOutput
- func (o LookupDatasetBlobStorageResultOutput) StorageAccounts() GetDatasetBlobStorageStorageAccountArrayOutput
- func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutput() LookupDatasetBlobStorageResultOutput
- func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutputWithContext(ctx context.Context) LookupDatasetBlobStorageResultOutput
- type LookupDatasetDataLakeGen2Args
- type LookupDatasetDataLakeGen2OutputArgs
- type LookupDatasetDataLakeGen2Result
- type LookupDatasetDataLakeGen2ResultOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDatasetDataLakeGen2ResultOutput) ElementType() reflect.Type
- func (o LookupDatasetDataLakeGen2ResultOutput) FilePath() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) FileSystemName() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) FolderPath() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) Id() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) Name() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) ShareId() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) StorageAccountId() pulumi.StringOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutput() LookupDatasetDataLakeGen2ResultOutput
- func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutputWithContext(ctx context.Context) LookupDatasetDataLakeGen2ResultOutput
- type LookupDatasetKustoClusterArgs
- type LookupDatasetKustoClusterOutputArgs
- type LookupDatasetKustoClusterResult
- type LookupDatasetKustoClusterResultOutput
- func (o LookupDatasetKustoClusterResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDatasetKustoClusterResultOutput) ElementType() reflect.Type
- func (o LookupDatasetKustoClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupDatasetKustoClusterResultOutput) KustoClusterId() pulumi.StringOutput
- func (o LookupDatasetKustoClusterResultOutput) KustoClusterLocation() pulumi.StringOutput
- func (o LookupDatasetKustoClusterResultOutput) Name() pulumi.StringOutput
- func (o LookupDatasetKustoClusterResultOutput) ShareId() pulumi.StringOutput
- func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutput() LookupDatasetKustoClusterResultOutput
- func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutputWithContext(ctx context.Context) LookupDatasetKustoClusterResultOutput
- type LookupDatasetKustoDatabaseArgs
- type LookupDatasetKustoDatabaseOutputArgs
- type LookupDatasetKustoDatabaseResult
- type LookupDatasetKustoDatabaseResultOutput
- func (o LookupDatasetKustoDatabaseResultOutput) DisplayName() pulumi.StringOutput
- func (LookupDatasetKustoDatabaseResultOutput) ElementType() reflect.Type
- func (o LookupDatasetKustoDatabaseResultOutput) Id() pulumi.StringOutput
- func (o LookupDatasetKustoDatabaseResultOutput) KustoClusterLocation() pulumi.StringOutput
- func (o LookupDatasetKustoDatabaseResultOutput) KustoDatabaseId() pulumi.StringOutput
- func (o LookupDatasetKustoDatabaseResultOutput) Name() pulumi.StringOutput
- func (o LookupDatasetKustoDatabaseResultOutput) ShareId() pulumi.StringOutput
- func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutput() LookupDatasetKustoDatabaseResultOutput
- func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutputWithContext(ctx context.Context) LookupDatasetKustoDatabaseResultOutput
- type LookupShareArgs
- type LookupShareOutputArgs
- type LookupShareResult
- type LookupShareResultOutput
- func (o LookupShareResultOutput) AccountId() pulumi.StringOutput
- func (o LookupShareResultOutput) Description() pulumi.StringOutput
- func (LookupShareResultOutput) ElementType() reflect.Type
- func (o LookupShareResultOutput) Id() pulumi.StringOutput
- func (o LookupShareResultOutput) Kind() pulumi.StringOutput
- func (o LookupShareResultOutput) Name() pulumi.StringOutput
- func (o LookupShareResultOutput) SnapshotSchedules() GetShareSnapshotScheduleArrayOutput
- func (o LookupShareResultOutput) Terms() pulumi.StringOutput
- func (o LookupShareResultOutput) ToLookupShareResultOutput() LookupShareResultOutput
- func (o LookupShareResultOutput) ToLookupShareResultOutputWithContext(ctx context.Context) LookupShareResultOutput
- type Share
- type ShareArgs
- type ShareArray
- type ShareArrayInput
- type ShareArrayOutput
- type ShareInput
- type ShareMap
- type ShareMapInput
- type ShareMapOutput
- type ShareOutput
- func (o ShareOutput) AccountId() pulumi.StringOutput
- func (o ShareOutput) Description() pulumi.StringPtrOutput
- func (ShareOutput) ElementType() reflect.Type
- func (o ShareOutput) Kind() pulumi.StringOutput
- func (o ShareOutput) Name() pulumi.StringOutput
- func (o ShareOutput) SnapshotSchedule() ShareSnapshotSchedulePtrOutput
- func (o ShareOutput) Terms() pulumi.StringPtrOutput
- func (o ShareOutput) ToShareOutput() ShareOutput
- func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput
- type ShareSnapshotSchedule
- type ShareSnapshotScheduleArgs
- func (ShareSnapshotScheduleArgs) ElementType() reflect.Type
- func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
- func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
- func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
- func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
- type ShareSnapshotScheduleInput
- type ShareSnapshotScheduleOutput
- func (ShareSnapshotScheduleOutput) ElementType() reflect.Type
- func (o ShareSnapshotScheduleOutput) Name() pulumi.StringOutput
- func (o ShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
- func (o ShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
- func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
- func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
- func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
- func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
- type ShareSnapshotSchedulePtrInput
- type ShareSnapshotSchedulePtrOutput
- func (o ShareSnapshotSchedulePtrOutput) Elem() ShareSnapshotScheduleOutput
- func (ShareSnapshotSchedulePtrOutput) ElementType() reflect.Type
- func (o ShareSnapshotSchedulePtrOutput) Name() pulumi.StringPtrOutput
- func (o ShareSnapshotSchedulePtrOutput) Recurrence() pulumi.StringPtrOutput
- func (o ShareSnapshotSchedulePtrOutput) StartTime() pulumi.StringPtrOutput
- func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
- func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
- type ShareState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { pulumi.CustomResourceState // An `identity` block as defined below. Changing this forces a new resource to be created. Identity AccountIdentityOutput `pulumi:"identity"` // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Data Share Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
Data Share Accounts can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1
```
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountArgs ¶
type AccountArgs struct { // An `identity` block as defined below. Changing this forces a new resource to be created. Identity AccountIdentityInput // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountIdentity ¶
type AccountIdentity struct { // The Principal ID for the Service Principal associated with the Identity of this Data Share Account. PrincipalId *string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this Data Share Account. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Data Share Account. The only possible 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 type of Managed Service Identity that should be configured on this Data Share Account. The only possible 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 ¶
func (o AccountIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Data Share Account.
func (AccountIdentityOutput) TenantId ¶
func (o AccountIdentityOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o AccountIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Data Share Account. The only possible 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
func AccountIdentityPtr ¶
func AccountIdentityPtr(v *AccountIdentityArgs) AccountIdentityPtrInput
type AccountIdentityPtrOutput ¶
type AccountIdentityPtrOutput struct{ *pulumi.OutputState }
func (AccountIdentityPtrOutput) Elem ¶
func (o AccountIdentityPtrOutput) Elem() AccountIdentityOutput
func (AccountIdentityPtrOutput) ElementType ¶
func (AccountIdentityPtrOutput) ElementType() reflect.Type
func (AccountIdentityPtrOutput) PrincipalId ¶
func (o AccountIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Data Share Account.
func (AccountIdentityPtrOutput) TenantId ¶
func (o AccountIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o AccountIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Data Share Account. The only possible value is `SystemAssigned`.
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct{ *pulumi.OutputState }
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) Identity ¶ added in v5.5.0
func (o AccountOutput) Identity() AccountIdentityOutput
An `identity` block as defined below. Changing this forces a new resource to be created.
func (AccountOutput) Location ¶ added in v5.5.0
func (o AccountOutput) Location() pulumi.StringOutput
The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
func (AccountOutput) Name ¶ added in v5.5.0
func (o AccountOutput) Name() pulumi.StringOutput
The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created.
func (AccountOutput) ResourceGroupName ¶ added in v5.5.0
func (o AccountOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created.
func (AccountOutput) Tags ¶ added in v5.5.0
func (o AccountOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Data Share Account.
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountState ¶
type AccountState struct { // An `identity` block as defined below. Changing this forces a new resource to be created. Identity AccountIdentityPtrInput // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type DatasetBlobStorage ¶
type DatasetBlobStorage struct { pulumi.CustomResourceState // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringOutput `pulumi:"containerName"` 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/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), }) if err != nil { return err } _, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("RAGRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleStorage / accountAccount.Name, ContainerAccessType: pulumi.String("container"), }) if err != nil { return err } exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{ DisplayName: exampleAccount.Name, }, nil) exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleStorage / accountAccount.Id, RoleDefinitionName: pulumi.String("Storage Blob Data Reader"), PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) { return exampleServicePrincipal.ObjectId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetBlobStorage(ctx, "exampleDatasetBlobStorage", &datashare.DatasetBlobStorageArgs{ DataShareId: exampleShare.ID(), ContainerName: exampleContainer.Name, StorageAccount: &datashare.DatasetBlobStorageStorageAccountArgs{ Name: exampleStorage / accountAccount.Name, ResourceGroupName: exampleStorage / accountAccount.ResourceGroupName, SubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, FilePath: pulumi.String("myfile.txt"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
## Import
Data Share Blob Storage Datasets can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/datasetBlobStorage:DatasetBlobStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
```
func GetDatasetBlobStorage ¶
func GetDatasetBlobStorage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetBlobStorageState, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)
GetDatasetBlobStorage gets an existing DatasetBlobStorage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetBlobStorage ¶
func NewDatasetBlobStorage(ctx *pulumi.Context, name string, args *DatasetBlobStorageArgs, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)
NewDatasetBlobStorage registers a new resource with the given unique name, arguments, and options.
func (*DatasetBlobStorage) ElementType ¶
func (*DatasetBlobStorage) ElementType() reflect.Type
func (*DatasetBlobStorage) ToDatasetBlobStorageOutput ¶
func (i *DatasetBlobStorage) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput
func (*DatasetBlobStorage) ToDatasetBlobStorageOutputWithContext ¶
func (i *DatasetBlobStorage) ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput
type DatasetBlobStorageArgs ¶
type DatasetBlobStorageArgs struct { // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringInput DataShareId pulumi.StringInput // The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FilePath pulumi.StringPtrInput // The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringPtrInput // A `storageAccount` block as defined below. StorageAccount DatasetBlobStorageStorageAccountInput }
The set of arguments for constructing a DatasetBlobStorage resource.
func (DatasetBlobStorageArgs) ElementType ¶
func (DatasetBlobStorageArgs) ElementType() reflect.Type
type DatasetBlobStorageArray ¶
type DatasetBlobStorageArray []DatasetBlobStorageInput
func (DatasetBlobStorageArray) ElementType ¶
func (DatasetBlobStorageArray) ElementType() reflect.Type
func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput ¶
func (i DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput
func (DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutputWithContext ¶
func (i DatasetBlobStorageArray) ToDatasetBlobStorageArrayOutputWithContext(ctx context.Context) DatasetBlobStorageArrayOutput
type DatasetBlobStorageArrayInput ¶
type DatasetBlobStorageArrayInput interface { pulumi.Input ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput ToDatasetBlobStorageArrayOutputWithContext(context.Context) DatasetBlobStorageArrayOutput }
DatasetBlobStorageArrayInput is an input type that accepts DatasetBlobStorageArray and DatasetBlobStorageArrayOutput values. You can construct a concrete instance of `DatasetBlobStorageArrayInput` via:
DatasetBlobStorageArray{ DatasetBlobStorageArgs{...} }
type DatasetBlobStorageArrayOutput ¶
type DatasetBlobStorageArrayOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageArrayOutput) ElementType ¶
func (DatasetBlobStorageArrayOutput) ElementType() reflect.Type
func (DatasetBlobStorageArrayOutput) Index ¶
func (o DatasetBlobStorageArrayOutput) Index(i pulumi.IntInput) DatasetBlobStorageOutput
func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput ¶
func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutput() DatasetBlobStorageArrayOutput
func (DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext ¶
func (o DatasetBlobStorageArrayOutput) ToDatasetBlobStorageArrayOutputWithContext(ctx context.Context) DatasetBlobStorageArrayOutput
type DatasetBlobStorageInput ¶
type DatasetBlobStorageInput interface { pulumi.Input ToDatasetBlobStorageOutput() DatasetBlobStorageOutput ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput }
type DatasetBlobStorageMap ¶
type DatasetBlobStorageMap map[string]DatasetBlobStorageInput
func (DatasetBlobStorageMap) ElementType ¶
func (DatasetBlobStorageMap) ElementType() reflect.Type
func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput ¶
func (i DatasetBlobStorageMap) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput
func (DatasetBlobStorageMap) ToDatasetBlobStorageMapOutputWithContext ¶
func (i DatasetBlobStorageMap) ToDatasetBlobStorageMapOutputWithContext(ctx context.Context) DatasetBlobStorageMapOutput
type DatasetBlobStorageMapInput ¶
type DatasetBlobStorageMapInput interface { pulumi.Input ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput ToDatasetBlobStorageMapOutputWithContext(context.Context) DatasetBlobStorageMapOutput }
DatasetBlobStorageMapInput is an input type that accepts DatasetBlobStorageMap and DatasetBlobStorageMapOutput values. You can construct a concrete instance of `DatasetBlobStorageMapInput` via:
DatasetBlobStorageMap{ "key": DatasetBlobStorageArgs{...} }
type DatasetBlobStorageMapOutput ¶
type DatasetBlobStorageMapOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageMapOutput) ElementType ¶
func (DatasetBlobStorageMapOutput) ElementType() reflect.Type
func (DatasetBlobStorageMapOutput) MapIndex ¶
func (o DatasetBlobStorageMapOutput) MapIndex(k pulumi.StringInput) DatasetBlobStorageOutput
func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput ¶
func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutput() DatasetBlobStorageMapOutput
func (DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext ¶
func (o DatasetBlobStorageMapOutput) ToDatasetBlobStorageMapOutputWithContext(ctx context.Context) DatasetBlobStorageMapOutput
type DatasetBlobStorageOutput ¶
type DatasetBlobStorageOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageOutput) ContainerName ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) ContainerName() pulumi.StringOutput
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.
func (DatasetBlobStorageOutput) DataShareId ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) DataShareId() pulumi.StringOutput
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.
func (DatasetBlobStorageOutput) DisplayName ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (DatasetBlobStorageOutput) ElementType ¶
func (DatasetBlobStorageOutput) ElementType() reflect.Type
func (DatasetBlobStorageOutput) FilePath ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) FilePath() pulumi.StringPtrOutput
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.
func (DatasetBlobStorageOutput) FolderPath ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) FolderPath() pulumi.StringPtrOutput
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.
func (DatasetBlobStorageOutput) Name ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) Name() pulumi.StringOutput
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.
func (DatasetBlobStorageOutput) StorageAccount ¶ added in v5.5.0
func (o DatasetBlobStorageOutput) StorageAccount() DatasetBlobStorageStorageAccountOutput
A `storageAccount` block as defined below.
func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutput ¶
func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutput() DatasetBlobStorageOutput
func (DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext ¶
func (o DatasetBlobStorageOutput) ToDatasetBlobStorageOutputWithContext(ctx context.Context) DatasetBlobStorageOutput
type DatasetBlobStorageState ¶
type DatasetBlobStorageState struct { // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringPtrInput DataShareId pulumi.StringPtrInput // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FilePath pulumi.StringPtrInput // The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringPtrInput // A `storageAccount` block as defined below. StorageAccount DatasetBlobStorageStorageAccountPtrInput }
func (DatasetBlobStorageState) ElementType ¶
func (DatasetBlobStorageState) ElementType() reflect.Type
type DatasetBlobStorageStorageAccount ¶
type DatasetBlobStorageStorageAccount struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. Name string `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ResourceGroupName string `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. SubscriptionId string `pulumi:"subscriptionId"` }
type DatasetBlobStorageStorageAccountArgs ¶
type DatasetBlobStorageStorageAccountArgs struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringInput `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` }
func (DatasetBlobStorageStorageAccountArgs) ElementType ¶
func (DatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput ¶
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext ¶
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput ¶
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetBlobStorageStorageAccountInput ¶
type DatasetBlobStorageStorageAccountInput interface { pulumi.Input ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput ToDatasetBlobStorageStorageAccountOutputWithContext(context.Context) DatasetBlobStorageStorageAccountOutput }
DatasetBlobStorageStorageAccountInput is an input type that accepts DatasetBlobStorageStorageAccountArgs and DatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountInput` via:
DatasetBlobStorageStorageAccountArgs{...}
type DatasetBlobStorageStorageAccountOutput ¶
type DatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageStorageAccountOutput) ElementType ¶
func (DatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountOutput) Name ¶
func (o DatasetBlobStorageStorageAccountOutput) Name() pulumi.StringOutput
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 ¶
func (o DatasetBlobStorageStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
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 ¶
func (o DatasetBlobStorageStorageAccountOutput) SubscriptionId() pulumi.StringOutput
The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput ¶
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext ¶
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput ¶
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetBlobStorageStorageAccountPtrInput ¶
type DatasetBlobStorageStorageAccountPtrInput interface { pulumi.Input ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput ToDatasetBlobStorageStorageAccountPtrOutputWithContext(context.Context) DatasetBlobStorageStorageAccountPtrOutput }
DatasetBlobStorageStorageAccountPtrInput is an input type that accepts DatasetBlobStorageStorageAccountArgs, DatasetBlobStorageStorageAccountPtr and DatasetBlobStorageStorageAccountPtrOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountPtrInput` via:
DatasetBlobStorageStorageAccountArgs{...} or: nil
func DatasetBlobStorageStorageAccountPtr ¶
func DatasetBlobStorageStorageAccountPtr(v *DatasetBlobStorageStorageAccountArgs) DatasetBlobStorageStorageAccountPtrInput
type DatasetBlobStorageStorageAccountPtrOutput ¶
type DatasetBlobStorageStorageAccountPtrOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageStorageAccountPtrOutput) ElementType ¶
func (DatasetBlobStorageStorageAccountPtrOutput) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountPtrOutput) Name ¶
func (o DatasetBlobStorageStorageAccountPtrOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o DatasetBlobStorageStorageAccountPtrOutput) ResourceGroupName() pulumi.StringPtrOutput
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 ¶
func (o DatasetBlobStorageStorageAccountPtrOutput) SubscriptionId() pulumi.StringPtrOutput
The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput ¶
func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶
func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetDataLakeGen2 ¶
type DatasetDataLakeGen2 struct { pulumi.CustomResourceState // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrOutput `pulumi:"filePath"` // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringOutput `pulumi:"fileSystemName"` // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrOutput `pulumi:"folderPath"` // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` 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/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage" "github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), }) if err != nil { return err } _, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleStorage / accountAccount.Id, }) if err != nil { return err } exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{ DisplayName: exampleAccount.Name, }, nil) exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleStorage / accountAccount.Id, RoleDefinitionName: pulumi.String("Storage Blob Data Reader"), PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) { return exampleServicePrincipal.ObjectId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetDataLakeGen2(ctx, "exampleDatasetDataLakeGen2", &datashare.DatasetDataLakeGen2Args{ ShareId: exampleShare.ID(), StorageAccountId: exampleStorage / accountAccount.Id, FileSystemName: exampleDataLakeGen2Filesystem.Name, FilePath: pulumi.String("myfile.txt"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
## Import
Data Share Data Lake Gen2 Datasets can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/datasetDataLakeGen2:DatasetDataLakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
```
func GetDatasetDataLakeGen2 ¶
func GetDatasetDataLakeGen2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetDataLakeGen2State, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)
GetDatasetDataLakeGen2 gets an existing DatasetDataLakeGen2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetDataLakeGen2 ¶
func NewDatasetDataLakeGen2(ctx *pulumi.Context, name string, args *DatasetDataLakeGen2Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)
NewDatasetDataLakeGen2 registers a new resource with the given unique name, arguments, and options.
func (*DatasetDataLakeGen2) ElementType ¶
func (*DatasetDataLakeGen2) ElementType() reflect.Type
func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2Output ¶
func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output
func (*DatasetDataLakeGen2) ToDatasetDataLakeGen2OutputWithContext ¶
func (i *DatasetDataLakeGen2) ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output
type DatasetDataLakeGen2Args ¶
type DatasetDataLakeGen2Args struct { // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrInput // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringInput // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringInput // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. StorageAccountId pulumi.StringInput }
The set of arguments for constructing a DatasetDataLakeGen2 resource.
func (DatasetDataLakeGen2Args) ElementType ¶
func (DatasetDataLakeGen2Args) ElementType() reflect.Type
type DatasetDataLakeGen2Array ¶
type DatasetDataLakeGen2Array []DatasetDataLakeGen2Input
func (DatasetDataLakeGen2Array) ElementType ¶
func (DatasetDataLakeGen2Array) ElementType() reflect.Type
func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput ¶
func (i DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput
func (DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutputWithContext ¶
func (i DatasetDataLakeGen2Array) ToDatasetDataLakeGen2ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen2ArrayOutput
type DatasetDataLakeGen2ArrayInput ¶
type DatasetDataLakeGen2ArrayInput interface { pulumi.Input ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput ToDatasetDataLakeGen2ArrayOutputWithContext(context.Context) DatasetDataLakeGen2ArrayOutput }
DatasetDataLakeGen2ArrayInput is an input type that accepts DatasetDataLakeGen2Array and DatasetDataLakeGen2ArrayOutput values. You can construct a concrete instance of `DatasetDataLakeGen2ArrayInput` via:
DatasetDataLakeGen2Array{ DatasetDataLakeGen2Args{...} }
type DatasetDataLakeGen2ArrayOutput ¶
type DatasetDataLakeGen2ArrayOutput struct{ *pulumi.OutputState }
func (DatasetDataLakeGen2ArrayOutput) ElementType ¶
func (DatasetDataLakeGen2ArrayOutput) ElementType() reflect.Type
func (DatasetDataLakeGen2ArrayOutput) Index ¶
func (o DatasetDataLakeGen2ArrayOutput) Index(i pulumi.IntInput) DatasetDataLakeGen2Output
func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput ¶
func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutput() DatasetDataLakeGen2ArrayOutput
func (DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext ¶
func (o DatasetDataLakeGen2ArrayOutput) ToDatasetDataLakeGen2ArrayOutputWithContext(ctx context.Context) DatasetDataLakeGen2ArrayOutput
type DatasetDataLakeGen2Input ¶
type DatasetDataLakeGen2Input interface { pulumi.Input ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output }
type DatasetDataLakeGen2Map ¶
type DatasetDataLakeGen2Map map[string]DatasetDataLakeGen2Input
func (DatasetDataLakeGen2Map) ElementType ¶
func (DatasetDataLakeGen2Map) ElementType() reflect.Type
func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput ¶
func (i DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput
func (DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutputWithContext ¶
func (i DatasetDataLakeGen2Map) ToDatasetDataLakeGen2MapOutputWithContext(ctx context.Context) DatasetDataLakeGen2MapOutput
type DatasetDataLakeGen2MapInput ¶
type DatasetDataLakeGen2MapInput interface { pulumi.Input ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput ToDatasetDataLakeGen2MapOutputWithContext(context.Context) DatasetDataLakeGen2MapOutput }
DatasetDataLakeGen2MapInput is an input type that accepts DatasetDataLakeGen2Map and DatasetDataLakeGen2MapOutput values. You can construct a concrete instance of `DatasetDataLakeGen2MapInput` via:
DatasetDataLakeGen2Map{ "key": DatasetDataLakeGen2Args{...} }
type DatasetDataLakeGen2MapOutput ¶
type DatasetDataLakeGen2MapOutput struct{ *pulumi.OutputState }
func (DatasetDataLakeGen2MapOutput) ElementType ¶
func (DatasetDataLakeGen2MapOutput) ElementType() reflect.Type
func (DatasetDataLakeGen2MapOutput) MapIndex ¶
func (o DatasetDataLakeGen2MapOutput) MapIndex(k pulumi.StringInput) DatasetDataLakeGen2Output
func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput ¶
func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutput() DatasetDataLakeGen2MapOutput
func (DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext ¶
func (o DatasetDataLakeGen2MapOutput) ToDatasetDataLakeGen2MapOutputWithContext(ctx context.Context) DatasetDataLakeGen2MapOutput
type DatasetDataLakeGen2Output ¶
type DatasetDataLakeGen2Output struct{ *pulumi.OutputState }
func (DatasetDataLakeGen2Output) DisplayName ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (DatasetDataLakeGen2Output) ElementType ¶
func (DatasetDataLakeGen2Output) ElementType() reflect.Type
func (DatasetDataLakeGen2Output) FilePath ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) FilePath() pulumi.StringPtrOutput
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.
func (DatasetDataLakeGen2Output) FileSystemName ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) FileSystemName() pulumi.StringOutput
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.
func (DatasetDataLakeGen2Output) FolderPath ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) FolderPath() pulumi.StringPtrOutput
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.
func (DatasetDataLakeGen2Output) Name ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) Name() pulumi.StringOutput
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.
func (DatasetDataLakeGen2Output) ShareId ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) ShareId() pulumi.StringOutput
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.
func (DatasetDataLakeGen2Output) StorageAccountId ¶ added in v5.5.0
func (o DatasetDataLakeGen2Output) StorageAccountId() pulumi.StringOutput
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.
func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output ¶
func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2Output() DatasetDataLakeGen2Output
func (DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext ¶
func (o DatasetDataLakeGen2Output) ToDatasetDataLakeGen2OutputWithContext(ctx context.Context) DatasetDataLakeGen2Output
type DatasetDataLakeGen2State ¶
type DatasetDataLakeGen2State struct { // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrInput // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringPtrInput // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringPtrInput // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. StorageAccountId pulumi.StringPtrInput }
func (DatasetDataLakeGen2State) ElementType ¶
func (DatasetDataLakeGen2State) ElementType() reflect.Type
type DatasetKustoCluster ¶
type DatasetKustoCluster struct { pulumi.CustomResourceState // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringOutput `pulumi:"kustoClusterId"` // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringOutput `pulumi:"kustoClusterLocation"` // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` ShareId pulumi.StringOutput `pulumi:"shareId"` }
Manages a Data Share Kusto Cluster Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/kusto" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("InPlace"), }) if err != nil { return err } exampleCluster, err := kusto.NewCluster(ctx, "exampleCluster", &kusto.ClusterArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: &kusto.ClusterSkuArgs{ Name: pulumi.String("Dev(No SLA)_Standard_D11_v2"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleCluster.ID(), RoleDefinitionName: pulumi.String("Contributor"), PrincipalId: exampleAccount.Identity.ApplyT(func(identity datashare.AccountIdentity) (string, error) { return identity.PrincipalId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetKustoCluster(ctx, "exampleDatasetKustoCluster", &datashare.DatasetKustoClusterArgs{ ShareId: exampleShare.ID(), KustoClusterId: exampleCluster.ID(), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
## Import
Data Share Kusto Cluster Datasets can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/datasetKustoCluster:DatasetKustoCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
```
func GetDatasetKustoCluster ¶
func GetDatasetKustoCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetKustoClusterState, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)
GetDatasetKustoCluster gets an existing DatasetKustoCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetKustoCluster ¶
func NewDatasetKustoCluster(ctx *pulumi.Context, name string, args *DatasetKustoClusterArgs, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)
NewDatasetKustoCluster registers a new resource with the given unique name, arguments, and options.
func (*DatasetKustoCluster) ElementType ¶
func (*DatasetKustoCluster) ElementType() reflect.Type
func (*DatasetKustoCluster) ToDatasetKustoClusterOutput ¶
func (i *DatasetKustoCluster) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput
func (*DatasetKustoCluster) ToDatasetKustoClusterOutputWithContext ¶
func (i *DatasetKustoCluster) ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput
type DatasetKustoClusterArgs ¶
type DatasetKustoClusterArgs struct { // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringInput // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringInput }
The set of arguments for constructing a DatasetKustoCluster resource.
func (DatasetKustoClusterArgs) ElementType ¶
func (DatasetKustoClusterArgs) ElementType() reflect.Type
type DatasetKustoClusterArray ¶
type DatasetKustoClusterArray []DatasetKustoClusterInput
func (DatasetKustoClusterArray) ElementType ¶
func (DatasetKustoClusterArray) ElementType() reflect.Type
func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput ¶
func (i DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput
func (DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutputWithContext ¶
func (i DatasetKustoClusterArray) ToDatasetKustoClusterArrayOutputWithContext(ctx context.Context) DatasetKustoClusterArrayOutput
type DatasetKustoClusterArrayInput ¶
type DatasetKustoClusterArrayInput interface { pulumi.Input ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput ToDatasetKustoClusterArrayOutputWithContext(context.Context) DatasetKustoClusterArrayOutput }
DatasetKustoClusterArrayInput is an input type that accepts DatasetKustoClusterArray and DatasetKustoClusterArrayOutput values. You can construct a concrete instance of `DatasetKustoClusterArrayInput` via:
DatasetKustoClusterArray{ DatasetKustoClusterArgs{...} }
type DatasetKustoClusterArrayOutput ¶
type DatasetKustoClusterArrayOutput struct{ *pulumi.OutputState }
func (DatasetKustoClusterArrayOutput) ElementType ¶
func (DatasetKustoClusterArrayOutput) ElementType() reflect.Type
func (DatasetKustoClusterArrayOutput) Index ¶
func (o DatasetKustoClusterArrayOutput) Index(i pulumi.IntInput) DatasetKustoClusterOutput
func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput ¶
func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutput() DatasetKustoClusterArrayOutput
func (DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext ¶
func (o DatasetKustoClusterArrayOutput) ToDatasetKustoClusterArrayOutputWithContext(ctx context.Context) DatasetKustoClusterArrayOutput
type DatasetKustoClusterInput ¶
type DatasetKustoClusterInput interface { pulumi.Input ToDatasetKustoClusterOutput() DatasetKustoClusterOutput ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput }
type DatasetKustoClusterMap ¶
type DatasetKustoClusterMap map[string]DatasetKustoClusterInput
func (DatasetKustoClusterMap) ElementType ¶
func (DatasetKustoClusterMap) ElementType() reflect.Type
func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput ¶
func (i DatasetKustoClusterMap) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput
func (DatasetKustoClusterMap) ToDatasetKustoClusterMapOutputWithContext ¶
func (i DatasetKustoClusterMap) ToDatasetKustoClusterMapOutputWithContext(ctx context.Context) DatasetKustoClusterMapOutput
type DatasetKustoClusterMapInput ¶
type DatasetKustoClusterMapInput interface { pulumi.Input ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput ToDatasetKustoClusterMapOutputWithContext(context.Context) DatasetKustoClusterMapOutput }
DatasetKustoClusterMapInput is an input type that accepts DatasetKustoClusterMap and DatasetKustoClusterMapOutput values. You can construct a concrete instance of `DatasetKustoClusterMapInput` via:
DatasetKustoClusterMap{ "key": DatasetKustoClusterArgs{...} }
type DatasetKustoClusterMapOutput ¶
type DatasetKustoClusterMapOutput struct{ *pulumi.OutputState }
func (DatasetKustoClusterMapOutput) ElementType ¶
func (DatasetKustoClusterMapOutput) ElementType() reflect.Type
func (DatasetKustoClusterMapOutput) MapIndex ¶
func (o DatasetKustoClusterMapOutput) MapIndex(k pulumi.StringInput) DatasetKustoClusterOutput
func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput ¶
func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutput() DatasetKustoClusterMapOutput
func (DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext ¶
func (o DatasetKustoClusterMapOutput) ToDatasetKustoClusterMapOutputWithContext(ctx context.Context) DatasetKustoClusterMapOutput
type DatasetKustoClusterOutput ¶
type DatasetKustoClusterOutput struct{ *pulumi.OutputState }
func (DatasetKustoClusterOutput) DisplayName ¶ added in v5.5.0
func (o DatasetKustoClusterOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (DatasetKustoClusterOutput) ElementType ¶
func (DatasetKustoClusterOutput) ElementType() reflect.Type
func (DatasetKustoClusterOutput) KustoClusterId ¶ added in v5.5.0
func (o DatasetKustoClusterOutput) KustoClusterId() pulumi.StringOutput
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.
func (DatasetKustoClusterOutput) KustoClusterLocation ¶ added in v5.5.0
func (o DatasetKustoClusterOutput) KustoClusterLocation() pulumi.StringOutput
The location of the Kusto Cluster.
func (DatasetKustoClusterOutput) Name ¶ added in v5.5.0
func (o DatasetKustoClusterOutput) Name() pulumi.StringOutput
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.
func (DatasetKustoClusterOutput) ShareId ¶ added in v5.5.0
func (o DatasetKustoClusterOutput) ShareId() pulumi.StringOutput
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.
func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutput ¶
func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutput() DatasetKustoClusterOutput
func (DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext ¶
func (o DatasetKustoClusterOutput) ToDatasetKustoClusterOutputWithContext(ctx context.Context) DatasetKustoClusterOutput
type DatasetKustoClusterState ¶
type DatasetKustoClusterState struct { // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringPtrInput // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringPtrInput // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringPtrInput }
func (DatasetKustoClusterState) ElementType ¶
func (DatasetKustoClusterState) ElementType() reflect.Type
type DatasetKustoDatabase ¶
type DatasetKustoDatabase struct { pulumi.CustomResourceState // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringOutput `pulumi:"kustoClusterLocation"` // The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created. KustoDatabaseId pulumi.StringOutput `pulumi:"kustoDatabaseId"` // The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` ShareId pulumi.StringOutput `pulumi:"shareId"` }
Manages a Data Share Kusto Database Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/kusto" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("InPlace"), }) if err != nil { return err } exampleCluster, err := kusto.NewCluster(ctx, "exampleCluster", &kusto.ClusterArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: &kusto.ClusterSkuArgs{ Name: pulumi.String("Dev(No SLA)_Standard_D11_v2"), Capacity: pulumi.Int(1), }, }) if err != nil { return err } exampleDatabase, err := kusto.NewDatabase(ctx, "exampleDatabase", &kusto.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, ClusterName: exampleCluster.Name, }) if err != nil { return err } exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleCluster.ID(), RoleDefinitionName: pulumi.String("Contributor"), PrincipalId: exampleAccount.Identity.ApplyT(func(identity datashare.AccountIdentity) (string, error) { return identity.PrincipalId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetKustoDatabase(ctx, "exampleDatasetKustoDatabase", &datashare.DatasetKustoDatabaseArgs{ ShareId: exampleShare.ID(), KustoDatabaseId: exampleDatabase.ID(), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
## Import
Data Share Kusto Database Datasets can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/datasetKustoDatabase:DatasetKustoDatabase example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
```
func GetDatasetKustoDatabase ¶
func GetDatasetKustoDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetKustoDatabaseState, opts ...pulumi.ResourceOption) (*DatasetKustoDatabase, error)
GetDatasetKustoDatabase gets an existing DatasetKustoDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetKustoDatabase ¶
func NewDatasetKustoDatabase(ctx *pulumi.Context, name string, args *DatasetKustoDatabaseArgs, opts ...pulumi.ResourceOption) (*DatasetKustoDatabase, error)
NewDatasetKustoDatabase registers a new resource with the given unique name, arguments, and options.
func (*DatasetKustoDatabase) ElementType ¶
func (*DatasetKustoDatabase) ElementType() reflect.Type
func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutput ¶
func (i *DatasetKustoDatabase) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput
func (*DatasetKustoDatabase) ToDatasetKustoDatabaseOutputWithContext ¶
func (i *DatasetKustoDatabase) ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput
type DatasetKustoDatabaseArgs ¶
type DatasetKustoDatabaseArgs struct { // The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created. KustoDatabaseId pulumi.StringInput // The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringInput }
The set of arguments for constructing a DatasetKustoDatabase resource.
func (DatasetKustoDatabaseArgs) ElementType ¶
func (DatasetKustoDatabaseArgs) ElementType() reflect.Type
type DatasetKustoDatabaseArray ¶
type DatasetKustoDatabaseArray []DatasetKustoDatabaseInput
func (DatasetKustoDatabaseArray) ElementType ¶
func (DatasetKustoDatabaseArray) ElementType() reflect.Type
func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput ¶
func (i DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput
func (DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutputWithContext ¶
func (i DatasetKustoDatabaseArray) ToDatasetKustoDatabaseArrayOutputWithContext(ctx context.Context) DatasetKustoDatabaseArrayOutput
type DatasetKustoDatabaseArrayInput ¶
type DatasetKustoDatabaseArrayInput interface { pulumi.Input ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput ToDatasetKustoDatabaseArrayOutputWithContext(context.Context) DatasetKustoDatabaseArrayOutput }
DatasetKustoDatabaseArrayInput is an input type that accepts DatasetKustoDatabaseArray and DatasetKustoDatabaseArrayOutput values. You can construct a concrete instance of `DatasetKustoDatabaseArrayInput` via:
DatasetKustoDatabaseArray{ DatasetKustoDatabaseArgs{...} }
type DatasetKustoDatabaseArrayOutput ¶
type DatasetKustoDatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatasetKustoDatabaseArrayOutput) ElementType ¶
func (DatasetKustoDatabaseArrayOutput) ElementType() reflect.Type
func (DatasetKustoDatabaseArrayOutput) Index ¶
func (o DatasetKustoDatabaseArrayOutput) Index(i pulumi.IntInput) DatasetKustoDatabaseOutput
func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput ¶
func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutput() DatasetKustoDatabaseArrayOutput
func (DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext ¶
func (o DatasetKustoDatabaseArrayOutput) ToDatasetKustoDatabaseArrayOutputWithContext(ctx context.Context) DatasetKustoDatabaseArrayOutput
type DatasetKustoDatabaseInput ¶
type DatasetKustoDatabaseInput interface { pulumi.Input ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput }
type DatasetKustoDatabaseMap ¶
type DatasetKustoDatabaseMap map[string]DatasetKustoDatabaseInput
func (DatasetKustoDatabaseMap) ElementType ¶
func (DatasetKustoDatabaseMap) ElementType() reflect.Type
func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput ¶
func (i DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput
func (DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutputWithContext ¶
func (i DatasetKustoDatabaseMap) ToDatasetKustoDatabaseMapOutputWithContext(ctx context.Context) DatasetKustoDatabaseMapOutput
type DatasetKustoDatabaseMapInput ¶
type DatasetKustoDatabaseMapInput interface { pulumi.Input ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput ToDatasetKustoDatabaseMapOutputWithContext(context.Context) DatasetKustoDatabaseMapOutput }
DatasetKustoDatabaseMapInput is an input type that accepts DatasetKustoDatabaseMap and DatasetKustoDatabaseMapOutput values. You can construct a concrete instance of `DatasetKustoDatabaseMapInput` via:
DatasetKustoDatabaseMap{ "key": DatasetKustoDatabaseArgs{...} }
type DatasetKustoDatabaseMapOutput ¶
type DatasetKustoDatabaseMapOutput struct{ *pulumi.OutputState }
func (DatasetKustoDatabaseMapOutput) ElementType ¶
func (DatasetKustoDatabaseMapOutput) ElementType() reflect.Type
func (DatasetKustoDatabaseMapOutput) MapIndex ¶
func (o DatasetKustoDatabaseMapOutput) MapIndex(k pulumi.StringInput) DatasetKustoDatabaseOutput
func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput ¶
func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutput() DatasetKustoDatabaseMapOutput
func (DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext ¶
func (o DatasetKustoDatabaseMapOutput) ToDatasetKustoDatabaseMapOutputWithContext(ctx context.Context) DatasetKustoDatabaseMapOutput
type DatasetKustoDatabaseOutput ¶
type DatasetKustoDatabaseOutput struct{ *pulumi.OutputState }
func (DatasetKustoDatabaseOutput) DisplayName ¶ added in v5.5.0
func (o DatasetKustoDatabaseOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (DatasetKustoDatabaseOutput) ElementType ¶
func (DatasetKustoDatabaseOutput) ElementType() reflect.Type
func (DatasetKustoDatabaseOutput) KustoClusterLocation ¶ added in v5.5.0
func (o DatasetKustoDatabaseOutput) KustoClusterLocation() pulumi.StringOutput
The location of the Kusto Cluster.
func (DatasetKustoDatabaseOutput) KustoDatabaseId ¶ added in v5.5.0
func (o DatasetKustoDatabaseOutput) KustoDatabaseId() pulumi.StringOutput
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.
func (DatasetKustoDatabaseOutput) Name ¶ added in v5.5.0
func (o DatasetKustoDatabaseOutput) Name() pulumi.StringOutput
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.
func (DatasetKustoDatabaseOutput) ShareId ¶ added in v5.5.0
func (o DatasetKustoDatabaseOutput) ShareId() pulumi.StringOutput
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.
func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput ¶
func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutput() DatasetKustoDatabaseOutput
func (DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext ¶
func (o DatasetKustoDatabaseOutput) ToDatasetKustoDatabaseOutputWithContext(ctx context.Context) DatasetKustoDatabaseOutput
type DatasetKustoDatabaseState ¶
type DatasetKustoDatabaseState struct { // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringPtrInput // The resource ID of the Kusto Cluster Database to be shared with the receiver. Changing this forces a new Data Share Kusto Database Dataset to be created. KustoDatabaseId pulumi.StringPtrInput // The name which should be used for this Data Share Kusto Database Dataset. Changing this forces a new Data Share Kusto Database Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringPtrInput }
func (DatasetKustoDatabaseState) ElementType ¶
func (DatasetKustoDatabaseState) ElementType() reflect.Type
type GetAccountIdentity ¶
type GetAccountIdentity struct { // The Principal ID associated with this Managed Service Identity. PrincipalId string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId string `pulumi:"tenantId"` // The identity type of this Managed Service Identity. Type string `pulumi:"type"` }
type GetAccountIdentityArgs ¶
type GetAccountIdentityArgs struct { // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringInput `pulumi:"tenantId"` // The identity type of this Managed Service Identity. 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) ElementType() reflect.Type
func (GetAccountIdentityArrayOutput) Index ¶
func (o GetAccountIdentityArrayOutput) Index(i pulumi.IntInput) GetAccountIdentityOutput
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 ¶
func (o GetAccountIdentityOutput) PrincipalId() pulumi.StringOutput
The Principal ID associated with this Managed Service Identity.
func (GetAccountIdentityOutput) TenantId ¶
func (o GetAccountIdentityOutput) TenantId() pulumi.StringOutput
The Tenant ID associated with this Managed Service Identity.
func (GetAccountIdentityOutput) ToGetAccountIdentityOutput ¶
func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput
func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext ¶
func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput
func (GetAccountIdentityOutput) Type ¶
func (o GetAccountIdentityOutput) Type() pulumi.StringOutput
The identity type of this Managed Service Identity.
type GetDatasetBlobStorageStorageAccount ¶
type GetDatasetBlobStorageStorageAccount struct { // The name of this Data Share Blob Storage Dataset. Name string `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. ResourceGroupName string `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. SubscriptionId string `pulumi:"subscriptionId"` }
type GetDatasetBlobStorageStorageAccountArgs ¶
type GetDatasetBlobStorageStorageAccountArgs struct { // The name of this Data Share Blob Storage Dataset. Name pulumi.StringInput `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` }
func (GetDatasetBlobStorageStorageAccountArgs) ElementType ¶
func (GetDatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput ¶
func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext ¶
func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
type GetDatasetBlobStorageStorageAccountArray ¶
type GetDatasetBlobStorageStorageAccountArray []GetDatasetBlobStorageStorageAccountInput
func (GetDatasetBlobStorageStorageAccountArray) ElementType ¶
func (GetDatasetBlobStorageStorageAccountArray) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput ¶
func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext ¶
func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
type GetDatasetBlobStorageStorageAccountArrayInput ¶
type GetDatasetBlobStorageStorageAccountArrayInput interface { pulumi.Input ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountArrayOutput }
GetDatasetBlobStorageStorageAccountArrayInput is an input type that accepts GetDatasetBlobStorageStorageAccountArray and GetDatasetBlobStorageStorageAccountArrayOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountArrayInput` via:
GetDatasetBlobStorageStorageAccountArray{ GetDatasetBlobStorageStorageAccountArgs{...} }
type GetDatasetBlobStorageStorageAccountArrayOutput ¶
type GetDatasetBlobStorageStorageAccountArrayOutput struct{ *pulumi.OutputState }
func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType ¶
func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput ¶
func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext ¶
func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
type GetDatasetBlobStorageStorageAccountInput ¶
type GetDatasetBlobStorageStorageAccountInput interface { pulumi.Input ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput ToGetDatasetBlobStorageStorageAccountOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountOutput }
GetDatasetBlobStorageStorageAccountInput is an input type that accepts GetDatasetBlobStorageStorageAccountArgs and GetDatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountInput` via:
GetDatasetBlobStorageStorageAccountArgs{...}
type GetDatasetBlobStorageStorageAccountOutput ¶
type GetDatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }
func (GetDatasetBlobStorageStorageAccountOutput) ElementType ¶
func (GetDatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountOutput) Name ¶
func (o GetDatasetBlobStorageStorageAccountOutput) Name() pulumi.StringOutput
The name of this Data Share Blob Storage Dataset.
func (GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName ¶
func (o GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
The resource group name of the storage account to be shared with the receiver.
func (GetDatasetBlobStorageStorageAccountOutput) SubscriptionId ¶
func (o GetDatasetBlobStorageStorageAccountOutput) SubscriptionId() pulumi.StringOutput
The subscription id of the storage account to be shared with the receiver.
func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput ¶
func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext ¶
func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
type GetShareSnapshotScheduleArgs ¶
type GetShareSnapshotScheduleArgs struct { pulumi.StringInput `pulumi:"name"` Recurrence pulumi.StringInput `pulumi:"recurrence"` StartTime pulumi.StringInput `pulumi:"startTime"` }Name
func (GetShareSnapshotScheduleArgs) ElementType ¶
func (GetShareSnapshotScheduleArgs) ElementType() reflect.Type
func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput ¶
func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext ¶
func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
type GetShareSnapshotScheduleArray ¶
type GetShareSnapshotScheduleArray []GetShareSnapshotScheduleInput
func (GetShareSnapshotScheduleArray) ElementType ¶
func (GetShareSnapshotScheduleArray) ElementType() reflect.Type
func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput ¶
func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext ¶
func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
type GetShareSnapshotScheduleArrayInput ¶
GetShareSnapshotScheduleArrayInput is an input type that accepts GetShareSnapshotScheduleArray and GetShareSnapshotScheduleArrayOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleArrayInput` via:
GetShareSnapshotScheduleArray{ GetShareSnapshotScheduleArgs{...} }
type GetShareSnapshotScheduleArrayOutput ¶
func (GetShareSnapshotScheduleArrayOutput) ElementType ¶
func (GetShareSnapshotScheduleArrayOutput) ElementType() reflect.Type
func (GetShareSnapshotScheduleArrayOutput) Index ¶
func (o GetShareSnapshotScheduleArrayOutput) Index(i pulumi.IntInput) GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput ¶
func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext ¶
func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
type GetShareSnapshotScheduleInput ¶
GetShareSnapshotScheduleInput is an input type that accepts GetShareSnapshotScheduleArgs and GetShareSnapshotScheduleOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleInput` via:
GetShareSnapshotScheduleArgs{...}
type GetShareSnapshotScheduleOutput ¶
func (GetShareSnapshotScheduleOutput) ElementType ¶
func (GetShareSnapshotScheduleOutput) ElementType() reflect.Type
func (GetShareSnapshotScheduleOutput) Name ¶
func (o GetShareSnapshotScheduleOutput) Name() pulumi.StringOutput
The name of this Data Share.
func (GetShareSnapshotScheduleOutput) Recurrence ¶
func (o GetShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
The interval of the synchronization with the source data.
func (GetShareSnapshotScheduleOutput) StartTime ¶
func (o GetShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
The synchronization with the source data's start time.
func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput ¶
func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext ¶
func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
type LookupAccountArgs ¶
type LookupAccountArgs struct { // The name of this Data Share Account. Name string `pulumi:"name"` // The name of the Resource Group where the Data Share Account exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
type LookupAccountOutputArgs ¶
type LookupAccountOutputArgs struct { // The name of this Data Share Account. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Data Share Account exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
func (LookupAccountOutputArgs) ElementType ¶
func (LookupAccountOutputArgs) ElementType() reflect.Type
type LookupAccountResult ¶
type LookupAccountResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An `identity` block as defined below. Identities []GetAccountIdentity `pulumi:"identities"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Data Share Account. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)
Use this data source to access information about an existing Data Share Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{ Name: "example-account", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupAccountResultOutput ¶
type LookupAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccount.
func LookupAccountOutput ¶
func LookupAccountOutput(ctx *pulumi.Context, args LookupAccountOutputArgs, opts ...pulumi.InvokeOption) LookupAccountResultOutput
func (LookupAccountResultOutput) ElementType ¶
func (LookupAccountResultOutput) ElementType() reflect.Type
func (LookupAccountResultOutput) Id ¶
func (o LookupAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAccountResultOutput) Identities ¶
func (o LookupAccountResultOutput) Identities() GetAccountIdentityArrayOutput
An `identity` block as defined below.
func (LookupAccountResultOutput) Name ¶
func (o LookupAccountResultOutput) Name() pulumi.StringOutput
func (LookupAccountResultOutput) ResourceGroupName ¶
func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupAccountResultOutput) Tags ¶
func (o LookupAccountResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Data Share Account.
func (LookupAccountResultOutput) ToLookupAccountResultOutput ¶
func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext ¶
func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
type LookupDatasetBlobStorageArgs ¶
type LookupDatasetBlobStorageArgs struct { string `pulumi:"dataShareId"` // The name of this Data Share Blob Storage Dataset. Name string `pulumi:"name"` }DataShareId
A collection of arguments for invoking getDatasetBlobStorage.
type LookupDatasetBlobStorageOutputArgs ¶
type LookupDatasetBlobStorageOutputArgs struct { pulumi.StringInput `pulumi:"dataShareId"` // The name of this Data Share Blob Storage Dataset. Name pulumi.StringInput `pulumi:"name"` }DataShareId
A collection of arguments for invoking getDatasetBlobStorage.
func (LookupDatasetBlobStorageOutputArgs) ElementType ¶
func (LookupDatasetBlobStorageOutputArgs) ElementType() reflect.Type
type LookupDatasetBlobStorageResult ¶
type LookupDatasetBlobStorageResult struct { // The name of the storage account container to be shared with the receiver. ContainerName string `pulumi:"containerName"` // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The path of the file in the storage container to be shared with the receiver. FilePath string `pulumi:"filePath"` // The folder path of the file in the storage container to be shared with the receiver. FolderPath string `pulumi:"folderPath"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the storage account to be shared with the receiver. Name string `pulumi:"name"` // A `storageAccount` block as defined below. StorageAccounts []GetDatasetBlobStorageStorageAccount `pulumi:"storageAccounts"` }
A collection of values returned by getDatasetBlobStorage.
func LookupDatasetBlobStorage ¶
func LookupDatasetBlobStorage(ctx *pulumi.Context, args *LookupDatasetBlobStorageArgs, opts ...pulumi.InvokeOption) (*LookupDatasetBlobStorageResult, error)
Use this data source to access information about an existing Data Share Blob Storage Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetBlobStorage(ctx, &datashare.LookupDatasetBlobStorageArgs{ Name: "example-dsbsds", DataShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetBlobStorageResultOutput ¶
type LookupDatasetBlobStorageResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatasetBlobStorage.
func LookupDatasetBlobStorageOutput ¶
func LookupDatasetBlobStorageOutput(ctx *pulumi.Context, args LookupDatasetBlobStorageOutputArgs, opts ...pulumi.InvokeOption) LookupDatasetBlobStorageResultOutput
func (LookupDatasetBlobStorageResultOutput) ContainerName ¶
func (o LookupDatasetBlobStorageResultOutput) ContainerName() pulumi.StringOutput
The name of the storage account container to be shared with the receiver.
func (LookupDatasetBlobStorageResultOutput) DataShareId ¶
func (o LookupDatasetBlobStorageResultOutput) DataShareId() pulumi.StringOutput
func (LookupDatasetBlobStorageResultOutput) DisplayName ¶
func (o LookupDatasetBlobStorageResultOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (LookupDatasetBlobStorageResultOutput) ElementType ¶
func (LookupDatasetBlobStorageResultOutput) ElementType() reflect.Type
func (LookupDatasetBlobStorageResultOutput) FilePath ¶
func (o LookupDatasetBlobStorageResultOutput) FilePath() pulumi.StringOutput
The path of the file in the storage container to be shared with the receiver.
func (LookupDatasetBlobStorageResultOutput) FolderPath ¶
func (o LookupDatasetBlobStorageResultOutput) FolderPath() pulumi.StringOutput
The folder path of the file in the storage container to be shared with the receiver.
func (LookupDatasetBlobStorageResultOutput) Id ¶
func (o LookupDatasetBlobStorageResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDatasetBlobStorageResultOutput) Name ¶
func (o LookupDatasetBlobStorageResultOutput) Name() pulumi.StringOutput
The name of the storage account to be shared with the receiver.
func (LookupDatasetBlobStorageResultOutput) StorageAccounts ¶
func (o LookupDatasetBlobStorageResultOutput) StorageAccounts() GetDatasetBlobStorageStorageAccountArrayOutput
A `storageAccount` block as defined below.
func (LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutput ¶
func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutput() LookupDatasetBlobStorageResultOutput
func (LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutputWithContext ¶
func (o LookupDatasetBlobStorageResultOutput) ToLookupDatasetBlobStorageResultOutputWithContext(ctx context.Context) LookupDatasetBlobStorageResultOutput
type LookupDatasetDataLakeGen2Args ¶
type LookupDatasetDataLakeGen2Args struct { // The name of this Data Share Data Lake Gen2 Dataset. Name string `pulumi:"name"` ShareId string `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetDataLakeGen2.
type LookupDatasetDataLakeGen2OutputArgs ¶
type LookupDatasetDataLakeGen2OutputArgs struct { // The name of this Data Share Data Lake Gen2 Dataset. Name pulumi.StringInput `pulumi:"name"` ShareId pulumi.StringInput `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetDataLakeGen2.
func (LookupDatasetDataLakeGen2OutputArgs) ElementType ¶
func (LookupDatasetDataLakeGen2OutputArgs) ElementType() reflect.Type
type LookupDatasetDataLakeGen2Result ¶
type LookupDatasetDataLakeGen2Result struct { // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The path of the file in the data lake file system to be shared with the receiver. FilePath string `pulumi:"filePath"` // The name of the data lake file system to be shared with the receiver. FileSystemName string `pulumi:"fileSystemName"` // The folder path in the data lake file system to be shared with the receiver. FolderPath string `pulumi:"folderPath"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The resource ID of the storage account of the data lake file system to be shared with the receiver. StorageAccountId string `pulumi:"storageAccountId"` }
A collection of values returned by getDatasetDataLakeGen2.
func LookupDatasetDataLakeGen2 ¶
func LookupDatasetDataLakeGen2(ctx *pulumi.Context, args *LookupDatasetDataLakeGen2Args, opts ...pulumi.InvokeOption) (*LookupDatasetDataLakeGen2Result, error)
Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetDataLakeGen2(ctx, &datashare.LookupDatasetDataLakeGen2Args{ Name: "example-dsdlg2ds", ShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetDataLakeGen2ResultOutput ¶
type LookupDatasetDataLakeGen2ResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatasetDataLakeGen2.
func LookupDatasetDataLakeGen2Output ¶
func LookupDatasetDataLakeGen2Output(ctx *pulumi.Context, args LookupDatasetDataLakeGen2OutputArgs, opts ...pulumi.InvokeOption) LookupDatasetDataLakeGen2ResultOutput
func (LookupDatasetDataLakeGen2ResultOutput) DisplayName ¶
func (o LookupDatasetDataLakeGen2ResultOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (LookupDatasetDataLakeGen2ResultOutput) ElementType ¶
func (LookupDatasetDataLakeGen2ResultOutput) ElementType() reflect.Type
func (LookupDatasetDataLakeGen2ResultOutput) FilePath ¶
func (o LookupDatasetDataLakeGen2ResultOutput) FilePath() pulumi.StringOutput
The path of the file in the data lake file system to be shared with the receiver.
func (LookupDatasetDataLakeGen2ResultOutput) FileSystemName ¶
func (o LookupDatasetDataLakeGen2ResultOutput) FileSystemName() pulumi.StringOutput
The name of the data lake file system to be shared with the receiver.
func (LookupDatasetDataLakeGen2ResultOutput) FolderPath ¶
func (o LookupDatasetDataLakeGen2ResultOutput) FolderPath() pulumi.StringOutput
The folder path in the data lake file system to be shared with the receiver.
func (LookupDatasetDataLakeGen2ResultOutput) Id ¶
func (o LookupDatasetDataLakeGen2ResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDatasetDataLakeGen2ResultOutput) Name ¶
func (o LookupDatasetDataLakeGen2ResultOutput) Name() pulumi.StringOutput
func (LookupDatasetDataLakeGen2ResultOutput) ShareId ¶
func (o LookupDatasetDataLakeGen2ResultOutput) ShareId() pulumi.StringOutput
func (LookupDatasetDataLakeGen2ResultOutput) StorageAccountId ¶
func (o LookupDatasetDataLakeGen2ResultOutput) StorageAccountId() pulumi.StringOutput
The resource ID of the storage account of the data lake file system to be shared with the receiver.
func (LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutput ¶
func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutput() LookupDatasetDataLakeGen2ResultOutput
func (LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutputWithContext ¶
func (o LookupDatasetDataLakeGen2ResultOutput) ToLookupDatasetDataLakeGen2ResultOutputWithContext(ctx context.Context) LookupDatasetDataLakeGen2ResultOutput
type LookupDatasetKustoClusterArgs ¶
type LookupDatasetKustoClusterArgs struct { // The name of this Data Share Kusto Cluster Dataset. Name string `pulumi:"name"` ShareId string `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetKustoCluster.
type LookupDatasetKustoClusterOutputArgs ¶
type LookupDatasetKustoClusterOutputArgs struct { // The name of this Data Share Kusto Cluster Dataset. Name pulumi.StringInput `pulumi:"name"` ShareId pulumi.StringInput `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetKustoCluster.
func (LookupDatasetKustoClusterOutputArgs) ElementType ¶
func (LookupDatasetKustoClusterOutputArgs) ElementType() reflect.Type
type LookupDatasetKustoClusterResult ¶
type LookupDatasetKustoClusterResult struct { // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The resource ID of the Kusto Cluster to be shared with the receiver. KustoClusterId string `pulumi:"kustoClusterId"` // The location of the Kusto Cluster. KustoClusterLocation string `pulumi:"kustoClusterLocation"` Name string `pulumi:"name"` }
A collection of values returned by getDatasetKustoCluster.
func LookupDatasetKustoCluster ¶
func LookupDatasetKustoCluster(ctx *pulumi.Context, args *LookupDatasetKustoClusterArgs, opts ...pulumi.InvokeOption) (*LookupDatasetKustoClusterResult, error)
Use this data source to access information about an existing Data Share Kusto Cluster Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetKustoCluster(ctx, &datashare.LookupDatasetKustoClusterArgs{ Name: "example-dskc", ShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetKustoClusterResultOutput ¶
type LookupDatasetKustoClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatasetKustoCluster.
func LookupDatasetKustoClusterOutput ¶
func LookupDatasetKustoClusterOutput(ctx *pulumi.Context, args LookupDatasetKustoClusterOutputArgs, opts ...pulumi.InvokeOption) LookupDatasetKustoClusterResultOutput
func (LookupDatasetKustoClusterResultOutput) DisplayName ¶
func (o LookupDatasetKustoClusterResultOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (LookupDatasetKustoClusterResultOutput) ElementType ¶
func (LookupDatasetKustoClusterResultOutput) ElementType() reflect.Type
func (LookupDatasetKustoClusterResultOutput) Id ¶
func (o LookupDatasetKustoClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDatasetKustoClusterResultOutput) KustoClusterId ¶
func (o LookupDatasetKustoClusterResultOutput) KustoClusterId() pulumi.StringOutput
The resource ID of the Kusto Cluster to be shared with the receiver.
func (LookupDatasetKustoClusterResultOutput) KustoClusterLocation ¶
func (o LookupDatasetKustoClusterResultOutput) KustoClusterLocation() pulumi.StringOutput
The location of the Kusto Cluster.
func (LookupDatasetKustoClusterResultOutput) Name ¶
func (o LookupDatasetKustoClusterResultOutput) Name() pulumi.StringOutput
func (LookupDatasetKustoClusterResultOutput) ShareId ¶
func (o LookupDatasetKustoClusterResultOutput) ShareId() pulumi.StringOutput
func (LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutput ¶
func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutput() LookupDatasetKustoClusterResultOutput
func (LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutputWithContext ¶
func (o LookupDatasetKustoClusterResultOutput) ToLookupDatasetKustoClusterResultOutputWithContext(ctx context.Context) LookupDatasetKustoClusterResultOutput
type LookupDatasetKustoDatabaseArgs ¶
type LookupDatasetKustoDatabaseArgs struct { // The name of this Data Share Kusto Database Dataset. Name string `pulumi:"name"` ShareId string `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetKustoDatabase.
type LookupDatasetKustoDatabaseOutputArgs ¶
type LookupDatasetKustoDatabaseOutputArgs struct { // The name of this Data Share Kusto Database Dataset. Name pulumi.StringInput `pulumi:"name"` ShareId pulumi.StringInput `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetKustoDatabase.
func (LookupDatasetKustoDatabaseOutputArgs) ElementType ¶
func (LookupDatasetKustoDatabaseOutputArgs) ElementType() reflect.Type
type LookupDatasetKustoDatabaseResult ¶
type LookupDatasetKustoDatabaseResult struct { // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The location of the Kusto Cluster. KustoClusterLocation string `pulumi:"kustoClusterLocation"` // The resource ID of the Kusto Cluster Database to be shared with the receiver. KustoDatabaseId string `pulumi:"kustoDatabaseId"` Name string `pulumi:"name"` }
A collection of values returned by getDatasetKustoDatabase.
func LookupDatasetKustoDatabase ¶
func LookupDatasetKustoDatabase(ctx *pulumi.Context, args *LookupDatasetKustoDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatasetKustoDatabaseResult, error)
Use this data source to access information about an existing Data Share Kusto Database Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetKustoDatabase(ctx, &datashare.LookupDatasetKustoDatabaseArgs{ Name: "example-dskdds", ShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetKustoDatabaseResultOutput ¶
type LookupDatasetKustoDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatasetKustoDatabase.
func LookupDatasetKustoDatabaseOutput ¶
func LookupDatasetKustoDatabaseOutput(ctx *pulumi.Context, args LookupDatasetKustoDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatasetKustoDatabaseResultOutput
func (LookupDatasetKustoDatabaseResultOutput) DisplayName ¶
func (o LookupDatasetKustoDatabaseResultOutput) DisplayName() pulumi.StringOutput
The name of the Data Share Dataset.
func (LookupDatasetKustoDatabaseResultOutput) ElementType ¶
func (LookupDatasetKustoDatabaseResultOutput) ElementType() reflect.Type
func (LookupDatasetKustoDatabaseResultOutput) Id ¶
func (o LookupDatasetKustoDatabaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDatasetKustoDatabaseResultOutput) KustoClusterLocation ¶
func (o LookupDatasetKustoDatabaseResultOutput) KustoClusterLocation() pulumi.StringOutput
The location of the Kusto Cluster.
func (LookupDatasetKustoDatabaseResultOutput) KustoDatabaseId ¶
func (o LookupDatasetKustoDatabaseResultOutput) KustoDatabaseId() pulumi.StringOutput
The resource ID of the Kusto Cluster Database to be shared with the receiver.
func (LookupDatasetKustoDatabaseResultOutput) Name ¶
func (o LookupDatasetKustoDatabaseResultOutput) Name() pulumi.StringOutput
func (LookupDatasetKustoDatabaseResultOutput) ShareId ¶
func (o LookupDatasetKustoDatabaseResultOutput) ShareId() pulumi.StringOutput
func (LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutput ¶
func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutput() LookupDatasetKustoDatabaseResultOutput
func (LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutputWithContext ¶
func (o LookupDatasetKustoDatabaseResultOutput) ToLookupDatasetKustoDatabaseResultOutputWithContext(ctx context.Context) LookupDatasetKustoDatabaseResultOutput
type LookupShareArgs ¶
A collection of arguments for invoking getShare.
type LookupShareOutputArgs ¶
type LookupShareOutputArgs struct { pulumi.StringInput `pulumi:"accountId"` Name pulumi.StringInput `pulumi:"name"` }AccountId
A collection of arguments for invoking getShare.
func (LookupShareOutputArgs) ElementType ¶
func (LookupShareOutputArgs) ElementType() reflect.Type
type LookupShareResult ¶
type LookupShareResult struct { string `pulumi:"description"` Id string `pulumi:"id"` Kind string `pulumi:"kind"` Name string `pulumi:"name"` SnapshotSchedules []GetShareSnapshotSchedule `pulumi:"snapshotSchedules"` Terms string `pulumi:"terms"` }Description
A collection of values returned by getShare.
func LookupShare ¶
func LookupShare(ctx *pulumi.Context, args *LookupShareArgs, opts ...pulumi.InvokeOption) (*LookupShareResult, error)
Use this data source to access information about an existing Data Share.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{ Name: "example-account", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } exampleShare, err := datashare.LookupShare(ctx, &datashare.LookupShareArgs{ Name: "existing", AccountId: exampleAccount.Id, }, nil) if err != nil { return err } ctx.Export("id", exampleShare.Id) return nil }) }
```
type LookupShareResultOutput ¶
A collection of values returned by getShare.
func LookupShareOutput ¶
func LookupShareOutput(ctx *pulumi.Context, args LookupShareOutputArgs, opts ...pulumi.InvokeOption) LookupShareResultOutput
func (LookupShareResultOutput) AccountId ¶
func (o LookupShareResultOutput) AccountId() pulumi.StringOutput
func (LookupShareResultOutput) Description ¶
func (o LookupShareResultOutput) Description() pulumi.StringOutput
The description of the Data Share.
func (LookupShareResultOutput) ElementType ¶
func (LookupShareResultOutput) ElementType() reflect.Type
func (LookupShareResultOutput) Id ¶
func (o LookupShareResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupShareResultOutput) Kind ¶
func (o LookupShareResultOutput) Kind() pulumi.StringOutput
The kind of the Data Share.
func (LookupShareResultOutput) Name ¶
func (o LookupShareResultOutput) Name() pulumi.StringOutput
The name of the snapshot schedule.
func (LookupShareResultOutput) SnapshotSchedules ¶
func (o LookupShareResultOutput) SnapshotSchedules() GetShareSnapshotScheduleArrayOutput
A `snapshotSchedule` block as defined below.
func (LookupShareResultOutput) Terms ¶
func (o LookupShareResultOutput) Terms() pulumi.StringOutput
The terms of the Data Share.
func (LookupShareResultOutput) ToLookupShareResultOutput ¶
func (o LookupShareResultOutput) ToLookupShareResultOutput() LookupShareResultOutput
func (LookupShareResultOutput) ToLookupShareResultOutputWithContext ¶
func (o LookupShareResultOutput) ToLookupShareResultOutputWithContext(ctx context.Context) LookupShareResultOutput
type Share ¶
type Share struct { pulumi.StringOutput `pulumi:"accountId"` Description pulumi.StringPtrOutput `pulumi:"description"` Kind pulumi.StringOutput `pulumi:"kind"` Name pulumi.StringOutput `pulumi:"name"` SnapshotSchedule ShareSnapshotSchedulePtrOutput `pulumi:"snapshotSchedule"` Terms pulumi.StringPtrOutput `pulumi:"terms"` }AccountId
Manages a Data Share.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } _, err = datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), Description: pulumi.String("example desc"), Terms: pulumi.String("example terms"), SnapshotSchedule: &datashare.ShareSnapshotScheduleArgs{ Name: pulumi.String("example-ss"), Recurrence: pulumi.String("Day"), StartTime: pulumi.String("2020-04-17T04:47:52.9614956Z"), }, }) if err != nil { return err } return nil }) }
```
## Import
Data Shares can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:datashare/share:Share example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1
```
func GetShare ¶
func GetShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ShareState, opts ...pulumi.ResourceOption) (*Share, error)
GetShare gets an existing Share resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewShare ¶
func NewShare(ctx *pulumi.Context, name string, args *ShareArgs, opts ...pulumi.ResourceOption) (*Share, error)
NewShare registers a new resource with the given unique name, arguments, and options.
func (*Share) ElementType ¶
func (*Share) ToShareOutput ¶
func (i *Share) ToShareOutput() ShareOutput
func (*Share) ToShareOutputWithContext ¶
func (i *Share) ToShareOutputWithContext(ctx context.Context) ShareOutput
type ShareArgs ¶
type ShareArgs struct { pulumi.StringInput Description pulumi.StringPtrInput Kind pulumi.StringInput Name pulumi.StringPtrInput SnapshotSchedule ShareSnapshotSchedulePtrInput Terms pulumi.StringPtrInput }AccountId
The set of arguments for constructing a Share resource.
func (ShareArgs) ElementType ¶
type ShareArray ¶
type ShareArray []ShareInput
func (ShareArray) ElementType ¶
func (ShareArray) ElementType() reflect.Type
func (ShareArray) ToShareArrayOutput ¶
func (i ShareArray) ToShareArrayOutput() ShareArrayOutput
func (ShareArray) ToShareArrayOutputWithContext ¶
func (i ShareArray) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput
type ShareArrayInput ¶
ShareArrayInput is an input type that accepts ShareArray and ShareArrayOutput values. You can construct a concrete instance of `ShareArrayInput` via:
ShareArray{ ShareArgs{...} }
type ShareArrayOutput ¶
func (ShareArrayOutput) ElementType ¶
func (ShareArrayOutput) ElementType() reflect.Type
func (ShareArrayOutput) Index ¶
func (o ShareArrayOutput) Index(i pulumi.IntInput) ShareOutput
func (ShareArrayOutput) ToShareArrayOutput ¶
func (o ShareArrayOutput) ToShareArrayOutput() ShareArrayOutput
func (ShareArrayOutput) ToShareArrayOutputWithContext ¶
func (o ShareArrayOutput) ToShareArrayOutputWithContext(ctx context.Context) ShareArrayOutput
type ShareInput ¶
type ShareMap ¶
type ShareMap map[string]ShareInput
func (ShareMap) ElementType ¶
func (ShareMap) ToShareMapOutput ¶
func (i ShareMap) ToShareMapOutput() ShareMapOutput
func (ShareMap) ToShareMapOutputWithContext ¶
func (i ShareMap) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput
type ShareMapInput ¶
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 ¶
func (ShareMapOutput) ElementType ¶
func (ShareMapOutput) ElementType() reflect.Type
func (ShareMapOutput) MapIndex ¶
func (o ShareMapOutput) MapIndex(k pulumi.StringInput) ShareOutput
func (ShareMapOutput) ToShareMapOutput ¶
func (o ShareMapOutput) ToShareMapOutput() ShareMapOutput
func (ShareMapOutput) ToShareMapOutputWithContext ¶
func (o ShareMapOutput) ToShareMapOutputWithContext(ctx context.Context) ShareMapOutput
type ShareOutput ¶
func (ShareOutput) AccountId ¶ added in v5.5.0
func (o ShareOutput) AccountId() pulumi.StringOutput
The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
func (ShareOutput) Description ¶ added in v5.5.0
func (o ShareOutput) Description() pulumi.StringPtrOutput
The Data Share's description.
func (ShareOutput) ElementType ¶
func (ShareOutput) ElementType() reflect.Type
func (ShareOutput) Kind ¶ added in v5.5.0
func (o ShareOutput) Kind() pulumi.StringOutput
The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
func (ShareOutput) Name ¶ added in v5.5.0
func (o ShareOutput) Name() pulumi.StringOutput
The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
func (ShareOutput) SnapshotSchedule ¶ added in v5.5.0
func (o ShareOutput) SnapshotSchedule() ShareSnapshotSchedulePtrOutput
A `snapshotSchedule` block as defined below.
func (ShareOutput) Terms ¶ added in v5.5.0
func (o ShareOutput) Terms() pulumi.StringPtrOutput
The terms of the Data Share.
func (ShareOutput) ToShareOutput ¶
func (o ShareOutput) ToShareOutput() ShareOutput
func (ShareOutput) ToShareOutputWithContext ¶
func (o ShareOutput) ToShareOutputWithContext(ctx context.Context) ShareOutput
type ShareSnapshotSchedule ¶
type ShareSnapshotScheduleArgs ¶
type ShareSnapshotScheduleArgs struct { pulumi.StringInput `pulumi:"name"` Recurrence pulumi.StringInput `pulumi:"recurrence"` StartTime pulumi.StringInput `pulumi:"startTime"` }Name
func (ShareSnapshotScheduleArgs) ElementType ¶
func (ShareSnapshotScheduleArgs) ElementType() reflect.Type
func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput ¶
func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext ¶
func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput ¶
func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext ¶
func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareSnapshotScheduleInput ¶
ShareSnapshotScheduleInput is an input type that accepts ShareSnapshotScheduleArgs and ShareSnapshotScheduleOutput values. You can construct a concrete instance of `ShareSnapshotScheduleInput` via:
ShareSnapshotScheduleArgs{...}
type ShareSnapshotScheduleOutput ¶
func (ShareSnapshotScheduleOutput) ElementType ¶
func (ShareSnapshotScheduleOutput) ElementType() reflect.Type
func (ShareSnapshotScheduleOutput) Name ¶
func (o ShareSnapshotScheduleOutput) Name() pulumi.StringOutput
The name of the snapshot schedule.
func (ShareSnapshotScheduleOutput) Recurrence ¶
func (o ShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
func (ShareSnapshotScheduleOutput) StartTime ¶
func (o ShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
The synchronization with the source data's start time.
func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput ¶
func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext ¶
func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput ¶
func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext ¶
func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareSnapshotSchedulePtrInput ¶
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 ¶
func ShareSnapshotSchedulePtr(v *ShareSnapshotScheduleArgs) ShareSnapshotSchedulePtrInput
type ShareSnapshotSchedulePtrOutput ¶
func (ShareSnapshotSchedulePtrOutput) Elem ¶
func (o ShareSnapshotSchedulePtrOutput) Elem() ShareSnapshotScheduleOutput
func (ShareSnapshotSchedulePtrOutput) ElementType ¶
func (ShareSnapshotSchedulePtrOutput) ElementType() reflect.Type
func (ShareSnapshotSchedulePtrOutput) Name ¶
func (o ShareSnapshotSchedulePtrOutput) Name() pulumi.StringPtrOutput
The name of the snapshot schedule.
func (ShareSnapshotSchedulePtrOutput) Recurrence ¶
func (o ShareSnapshotSchedulePtrOutput) Recurrence() pulumi.StringPtrOutput
The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
func (ShareSnapshotSchedulePtrOutput) StartTime ¶
func (o ShareSnapshotSchedulePtrOutput) StartTime() pulumi.StringPtrOutput
The synchronization with the source data's start time.
func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput ¶
func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext ¶
func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareState ¶
type ShareState struct { pulumi.StringPtrInput Description pulumi.StringPtrInput Kind pulumi.StringPtrInput Name pulumi.StringPtrInput SnapshotSchedule ShareSnapshotSchedulePtrInput Terms pulumi.StringPtrInput }AccountId
func (ShareState) ElementType ¶
func (ShareState) ElementType() reflect.Type