Documentation
¶
Index ¶
- type Account
- type AccountArgs
- 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 AccountState
- type DatasetBlobStorage
- type DatasetBlobStorageArgs
- 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 DatasetDataLakeGen1
- type DatasetDataLakeGen1Args
- type DatasetDataLakeGen1State
- type DatasetDataLakeGen2
- type DatasetDataLakeGen2Args
- type DatasetDataLakeGen2State
- type DatasetKustoCluster
- type DatasetKustoClusterArgs
- type DatasetKustoClusterState
- 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 LookupAccountResult
- type LookupDatasetBlobStorageArgs
- type LookupDatasetBlobStorageResult
- type LookupDatasetDataLakeGen1Args
- type LookupDatasetDataLakeGen1Result
- type LookupDatasetDataLakeGen2Args
- type LookupDatasetDataLakeGen2Result
- type LookupDatasetKustoClusterArgs
- type LookupDatasetKustoClusterResult
- type LookupShareArgs
- type LookupShareResult
- type Share
- type ShareArgs
- 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. Identity AccountIdentityOutput `pulumi:"identity"` // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Data Share Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
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.
type AccountArgs ¶
type AccountArgs struct { // An `identity` block as defined below. Identity AccountIdentityInput // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountIdentity ¶
type AccountIdentity struct { // The Principal ID for the Service Principal associated with the Identity of this Data Share Account. PrincipalId *string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this Data Share Account. TenantId *string `pulumi:"tenantId"` // Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Type string `pulumi:"type"` }
type AccountIdentityArgs ¶
type AccountIdentityArgs struct { // The Principal ID for the Service Principal associated with the Identity of this Data Share Account. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this Data Share Account. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (AccountIdentityArgs) ElementType ¶
func (AccountIdentityArgs) ElementType() reflect.Type
func (AccountIdentityArgs) ToAccountIdentityOutput ¶
func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput
func (AccountIdentityArgs) ToAccountIdentityOutputWithContext ¶
func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput
func (AccountIdentityArgs) ToAccountIdentityPtrOutput ¶
func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext ¶
func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput
type AccountIdentityInput ¶
type AccountIdentityInput interface { pulumi.Input ToAccountIdentityOutput() AccountIdentityOutput ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput }
AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:
AccountIdentityArgs{...}
type AccountIdentityOutput ¶
type AccountIdentityOutput struct{ *pulumi.OutputState }
func (AccountIdentityOutput) ElementType ¶
func (AccountIdentityOutput) ElementType() reflect.Type
func (AccountIdentityOutput) PrincipalId ¶
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 identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`.
type AccountIdentityPtrInput ¶
type AccountIdentityPtrInput interface { pulumi.Input ToAccountIdentityPtrOutput() AccountIdentityPtrOutput ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput }
AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:
AccountIdentityArgs{...} or: nil
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 identity type of the Data Share Account. At this time the only allowed value is `SystemAssigned`.
type AccountState ¶
type AccountState struct { // An `identity` block as defined below. Identity AccountIdentityPtrInput // The Azure Region where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. Location pulumi.StringPtrInput // The name which should be used for this Data Share Account. Changing this forces a new Data Share Account to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Data Share Account should exist. Changing this forces a new Data Share Account to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Data Share Account. Tags pulumi.StringMapInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type DatasetBlobStorage ¶ added in v3.10.0
type DatasetBlobStorage struct { pulumi.CustomResourceState // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringOutput `pulumi:"containerName"` DataShareId pulumi.StringOutput `pulumi:"dataShareId"` // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FilePath pulumi.StringPtrOutput `pulumi:"filePath"` // The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FolderPath pulumi.StringPtrOutput `pulumi:"folderPath"` // The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` // A `storageAccount` block as defined below. StorageAccount DatasetBlobStorageStorageAccountOutput `pulumi:"storageAccount"` }
Manages a Data Share Blob Storage Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage" "github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), }) if err != nil { return err } _, err = storage.NewAccount(ctx, "exampleStorage_accountAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("RAGRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: pulumi.String(exampleStorage / accountAccount.Name), ContainerAccessType: pulumi.String("container"), }) if err != nil { return err } exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: pulumi.String(exampleStorage / accountAccount.Id), RoleDefinitionName: pulumi.String("Storage Blob Data Reader"), PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (string, error) { return exampleServicePrincipal.ObjectId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetBlobStorage(ctx, "exampleDatasetBlobStorage", &datashare.DatasetBlobStorageArgs{ DataShareId: exampleShare.ID(), ContainerName: exampleContainer.Name, StorageAccount: &datashare.DatasetBlobStorageStorageAccountArgs{ Name: pulumi.String(exampleStorage / accountAccount.Name), ResourceGroupName: pulumi.String(exampleStorage / accountAccount.ResourceGroupName), SubscriptionId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, FilePath: pulumi.String("myfile.txt"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
func GetDatasetBlobStorage ¶ added in v3.10.0
func GetDatasetBlobStorage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetBlobStorageState, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)
GetDatasetBlobStorage gets an existing DatasetBlobStorage resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetBlobStorage ¶ added in v3.10.0
func NewDatasetBlobStorage(ctx *pulumi.Context, name string, args *DatasetBlobStorageArgs, opts ...pulumi.ResourceOption) (*DatasetBlobStorage, error)
NewDatasetBlobStorage registers a new resource with the given unique name, arguments, and options.
type DatasetBlobStorageArgs ¶ added in v3.10.0
type DatasetBlobStorageArgs struct { // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringInput DataShareId pulumi.StringInput // The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FilePath pulumi.StringPtrInput // The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringPtrInput // A `storageAccount` block as defined below. StorageAccount DatasetBlobStorageStorageAccountInput }
The set of arguments for constructing a DatasetBlobStorage resource.
func (DatasetBlobStorageArgs) ElementType ¶ added in v3.10.0
func (DatasetBlobStorageArgs) ElementType() reflect.Type
type DatasetBlobStorageState ¶ added in v3.10.0
type DatasetBlobStorageState struct { // The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ContainerName pulumi.StringPtrInput DataShareId pulumi.StringPtrInput // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FilePath pulumi.StringPtrInput // The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringPtrInput // A `storageAccount` block as defined below. StorageAccount DatasetBlobStorageStorageAccountPtrInput }
func (DatasetBlobStorageState) ElementType ¶ added in v3.10.0
func (DatasetBlobStorageState) ElementType() reflect.Type
type DatasetBlobStorageStorageAccount ¶ added in v3.10.0
type DatasetBlobStorageStorageAccount struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. Name string `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ResourceGroupName string `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. SubscriptionId string `pulumi:"subscriptionId"` }
type DatasetBlobStorageStorageAccountArgs ¶ added in v3.10.0
type DatasetBlobStorageStorageAccountArgs struct { // The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. Name pulumi.StringInput `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` }
func (DatasetBlobStorageStorageAccountArgs) ElementType ¶ added in v3.10.0
func (DatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput ¶ added in v3.10.0
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext ¶ added in v3.10.0
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput ¶ added in v3.10.0
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶ added in v3.10.0
func (i DatasetBlobStorageStorageAccountArgs) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetBlobStorageStorageAccountInput ¶ added in v3.10.0
type DatasetBlobStorageStorageAccountInput interface { pulumi.Input ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput ToDatasetBlobStorageStorageAccountOutputWithContext(context.Context) DatasetBlobStorageStorageAccountOutput }
DatasetBlobStorageStorageAccountInput is an input type that accepts DatasetBlobStorageStorageAccountArgs and DatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountInput` via:
DatasetBlobStorageStorageAccountArgs{...}
type DatasetBlobStorageStorageAccountOutput ¶ added in v3.10.0
type DatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageStorageAccountOutput) ElementType ¶ added in v3.10.0
func (DatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountOutput) Name ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutput() DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetBlobStorageStorageAccountPtrInput ¶ added in v3.10.0
type DatasetBlobStorageStorageAccountPtrInput interface { pulumi.Input ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput ToDatasetBlobStorageStorageAccountPtrOutputWithContext(context.Context) DatasetBlobStorageStorageAccountPtrOutput }
DatasetBlobStorageStorageAccountPtrInput is an input type that accepts DatasetBlobStorageStorageAccountArgs, DatasetBlobStorageStorageAccountPtr and DatasetBlobStorageStorageAccountPtrOutput values. You can construct a concrete instance of `DatasetBlobStorageStorageAccountPtrInput` via:
DatasetBlobStorageStorageAccountArgs{...} or: nil
func DatasetBlobStorageStorageAccountPtr ¶ added in v3.10.0
func DatasetBlobStorageStorageAccountPtr(v *DatasetBlobStorageStorageAccountArgs) DatasetBlobStorageStorageAccountPtrInput
type DatasetBlobStorageStorageAccountPtrOutput ¶ added in v3.10.0
type DatasetBlobStorageStorageAccountPtrOutput struct{ *pulumi.OutputState }
func (DatasetBlobStorageStorageAccountPtrOutput) ElementType ¶ added in v3.10.0
func (DatasetBlobStorageStorageAccountPtrOutput) ElementType() reflect.Type
func (DatasetBlobStorageStorageAccountPtrOutput) Name ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
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 ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutput() DatasetBlobStorageStorageAccountPtrOutput
func (DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext ¶ added in v3.10.0
func (o DatasetBlobStorageStorageAccountPtrOutput) ToDatasetBlobStorageStorageAccountPtrOutputWithContext(ctx context.Context) DatasetBlobStorageStorageAccountPtrOutput
type DatasetDataLakeGen1 ¶ added in v3.13.0
type DatasetDataLakeGen1 struct { pulumi.CustomResourceState // The resource ID of the Data Lake Store to be shared with the receiver. DataLakeStoreId pulumi.StringOutput `pulumi:"dataLakeStoreId"` DataShareId pulumi.StringOutput `pulumi:"dataShareId"` // The displayed name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FileName pulumi.StringPtrOutput `pulumi:"fileName"` // The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FolderPath pulumi.StringOutput `pulumi:"folderPath"` // The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Data Share Data Lake Gen1 Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datalake" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), }) if err != nil { return err } exampleStore, err := datalake.NewStore(ctx, "exampleStore", &datalake.StoreArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, FirewallState: pulumi.String("Disabled"), }) if err != nil { return err } _, err = datalake.NewStoreFile(ctx, "exampleStoreFile", &datalake.StoreFileArgs{ AccountName: exampleStore.Name, LocalFilePath: pulumi.String("./example/myfile.txt"), RemoteFilePath: pulumi.String("/example/myfile.txt"), }) if err != nil { return err } exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: exampleStore.ID(), RoleDefinitionName: pulumi.String("Owner"), PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (string, error) { return exampleServicePrincipal.ObjectId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetDataLakeGen1(ctx, "exampleDatasetDataLakeGen1", &datashare.DatasetDataLakeGen1Args{ DataShareId: exampleShare.ID(), DataLakeStoreId: exampleStore.ID(), FileName: pulumi.String("myfile.txt"), FolderPath: pulumi.String("example"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
func GetDatasetDataLakeGen1 ¶ added in v3.13.0
func GetDatasetDataLakeGen1(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetDataLakeGen1State, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen1, error)
GetDatasetDataLakeGen1 gets an existing DatasetDataLakeGen1 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetDataLakeGen1 ¶ added in v3.13.0
func NewDatasetDataLakeGen1(ctx *pulumi.Context, name string, args *DatasetDataLakeGen1Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen1, error)
NewDatasetDataLakeGen1 registers a new resource with the given unique name, arguments, and options.
type DatasetDataLakeGen1Args ¶ added in v3.13.0
type DatasetDataLakeGen1Args struct { // The resource ID of the Data Lake Store to be shared with the receiver. DataLakeStoreId pulumi.StringInput DataShareId pulumi.StringInput // The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FileName pulumi.StringPtrInput // The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FolderPath pulumi.StringInput // The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a DatasetDataLakeGen1 resource.
func (DatasetDataLakeGen1Args) ElementType ¶ added in v3.13.0
func (DatasetDataLakeGen1Args) ElementType() reflect.Type
type DatasetDataLakeGen1State ¶ added in v3.13.0
type DatasetDataLakeGen1State struct { // The resource ID of the Data Lake Store to be shared with the receiver. DataLakeStoreId pulumi.StringPtrInput DataShareId pulumi.StringPtrInput // The displayed name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The file name of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FileName pulumi.StringPtrInput // The folder path of the data lake store to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. FolderPath pulumi.StringPtrInput // The name of the Data Share Data Lake Gen1 Dataset. Changing this forces a new Data Share Data Lake Gen1 Dataset to be created. Name pulumi.StringPtrInput }
func (DatasetDataLakeGen1State) ElementType ¶ added in v3.13.0
func (DatasetDataLakeGen1State) ElementType() reflect.Type
type DatasetDataLakeGen2 ¶ added in v3.22.0
type DatasetDataLakeGen2 struct { pulumi.CustomResourceState // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrOutput `pulumi:"filePath"` // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringOutput `pulumi:"fileSystemName"` // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrOutput `pulumi:"folderPath"` // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` ShareId pulumi.StringOutput `pulumi:"shareId"` // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"` }
Manages a Data Share Data Lake Gen2 Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage" "github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Identity: &datashare.AccountIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), }) if err != nil { return err } _, err = storage.NewAccount(ctx, "exampleStorage_accountAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountKind: pulumi.String("BlobStorage"), AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: pulumi.String(exampleStorage / accountAccount.Id), }) if err != nil { return err } exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{ Scope: pulumi.String(exampleStorage / accountAccount.Id), RoleDefinitionName: pulumi.String("Storage Blob Data Reader"), PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal azuread.LookupServicePrincipalResult) (string, error) { return exampleServicePrincipal.ObjectId, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = datashare.NewDatasetDataLakeGen2(ctx, "exampleDatasetDataLakeGen2", &datashare.DatasetDataLakeGen2Args{ ShareId: exampleShare.ID(), StorageAccountId: pulumi.String(exampleStorage / accountAccount.Id), FileSystemName: exampleDataLakeGen2Filesystem.Name, FilePath: pulumi.String("myfile.txt"), }, pulumi.DependsOn([]pulumi.Resource{ exampleAssignment, })) if err != nil { return err } return nil }) }
```
func GetDatasetDataLakeGen2 ¶ added in v3.22.0
func GetDatasetDataLakeGen2(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetDataLakeGen2State, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)
GetDatasetDataLakeGen2 gets an existing DatasetDataLakeGen2 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetDataLakeGen2 ¶ added in v3.22.0
func NewDatasetDataLakeGen2(ctx *pulumi.Context, name string, args *DatasetDataLakeGen2Args, opts ...pulumi.ResourceOption) (*DatasetDataLakeGen2, error)
NewDatasetDataLakeGen2 registers a new resource with the given unique name, arguments, and options.
type DatasetDataLakeGen2Args ¶ added in v3.22.0
type DatasetDataLakeGen2Args struct { // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrInput // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringInput // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringInput // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. StorageAccountId pulumi.StringInput }
The set of arguments for constructing a DatasetDataLakeGen2 resource.
func (DatasetDataLakeGen2Args) ElementType ¶ added in v3.22.0
func (DatasetDataLakeGen2Args) ElementType() reflect.Type
type DatasetDataLakeGen2State ¶ added in v3.22.0
type DatasetDataLakeGen2State struct { // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The path of the file in the data lake file system to be shared with the receiver. Conflicts with `folderPath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FilePath pulumi.StringPtrInput // The name of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FileSystemName pulumi.StringPtrInput // The folder path in the data lake file system to be shared with the receiver. Conflicts with `filePath` Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. FolderPath pulumi.StringPtrInput // The name which should be used for this Data Share Data Lake Gen2 Dataset. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringPtrInput // The resource id of the storage account of the data lake file system to be shared with the receiver. Changing this forces a new Data Share Data Lake Gen2 Dataset to be created. StorageAccountId pulumi.StringPtrInput }
func (DatasetDataLakeGen2State) ElementType ¶ added in v3.22.0
func (DatasetDataLakeGen2State) ElementType() reflect.Type
type DatasetKustoCluster ¶ added in v3.23.0
type DatasetKustoCluster struct { pulumi.CustomResourceState // The name of the Data Share Dataset. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringOutput `pulumi:"kustoClusterId"` // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringOutput `pulumi:"kustoClusterLocation"` // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringOutput `pulumi:"name"` ShareId pulumi.StringOutput `pulumi:"shareId"` }
Manages a Data Share Kusto Cluster Dataset.
func GetDatasetKustoCluster ¶ added in v3.23.0
func GetDatasetKustoCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetKustoClusterState, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)
GetDatasetKustoCluster gets an existing DatasetKustoCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatasetKustoCluster ¶ added in v3.23.0
func NewDatasetKustoCluster(ctx *pulumi.Context, name string, args *DatasetKustoClusterArgs, opts ...pulumi.ResourceOption) (*DatasetKustoCluster, error)
NewDatasetKustoCluster registers a new resource with the given unique name, arguments, and options.
type DatasetKustoClusterArgs ¶ added in v3.23.0
type DatasetKustoClusterArgs struct { // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringInput // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringInput }
The set of arguments for constructing a DatasetKustoCluster resource.
func (DatasetKustoClusterArgs) ElementType ¶ added in v3.23.0
func (DatasetKustoClusterArgs) ElementType() reflect.Type
type DatasetKustoClusterState ¶ added in v3.23.0
type DatasetKustoClusterState struct { // The name of the Data Share Dataset. DisplayName pulumi.StringPtrInput // The resource ID of the Kusto Cluster to be shared with the receiver. Changing this forces a new Data Share Kusto Cluster Dataset to be created. KustoClusterId pulumi.StringPtrInput // The location of the Kusto Cluster. KustoClusterLocation pulumi.StringPtrInput // The name which should be used for this Data Share Kusto Cluster Dataset. Changing this forces a new Data Share Kusto Cluster Dataset to be created. Name pulumi.StringPtrInput ShareId pulumi.StringPtrInput }
func (DatasetKustoClusterState) ElementType ¶ added in v3.23.0
func (DatasetKustoClusterState) ElementType() reflect.Type
type GetAccountIdentity ¶
type GetAccountIdentityArgs ¶
type GetAccountIdentityArgs struct { // The ID of the Principal (Client) in Azure Active Directory. PrincipalId pulumi.StringInput `pulumi:"principalId"` // The ID of the Azure Active Directory Tenant. TenantId pulumi.StringInput `pulumi:"tenantId"` // The identity type of the Data Share Account. Type pulumi.StringInput `pulumi:"type"` }
func (GetAccountIdentityArgs) ElementType ¶
func (GetAccountIdentityArgs) ElementType() reflect.Type
func (GetAccountIdentityArgs) ToGetAccountIdentityOutput ¶
func (i GetAccountIdentityArgs) ToGetAccountIdentityOutput() GetAccountIdentityOutput
func (GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext ¶
func (i GetAccountIdentityArgs) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput
type GetAccountIdentityArray ¶
type GetAccountIdentityArray []GetAccountIdentityInput
func (GetAccountIdentityArray) ElementType ¶
func (GetAccountIdentityArray) ElementType() reflect.Type
func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutput ¶
func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput
func (GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext ¶
func (i GetAccountIdentityArray) ToGetAccountIdentityArrayOutputWithContext(ctx context.Context) GetAccountIdentityArrayOutput
type GetAccountIdentityArrayInput ¶
type GetAccountIdentityArrayInput interface { pulumi.Input ToGetAccountIdentityArrayOutput() GetAccountIdentityArrayOutput ToGetAccountIdentityArrayOutputWithContext(context.Context) GetAccountIdentityArrayOutput }
GetAccountIdentityArrayInput is an input type that accepts GetAccountIdentityArray and GetAccountIdentityArrayOutput values. You can construct a concrete instance of `GetAccountIdentityArrayInput` via:
GetAccountIdentityArray{ GetAccountIdentityArgs{...} }
type GetAccountIdentityArrayOutput ¶
type GetAccountIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetAccountIdentityArrayOutput) ElementType ¶
func (GetAccountIdentityArrayOutput) 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 ID of the Principal (Client) in Azure Active Directory.
func (GetAccountIdentityOutput) TenantId ¶
func (o GetAccountIdentityOutput) TenantId() pulumi.StringOutput
The ID of the Azure Active Directory Tenant.
func (GetAccountIdentityOutput) ToGetAccountIdentityOutput ¶
func (o GetAccountIdentityOutput) ToGetAccountIdentityOutput() GetAccountIdentityOutput
func (GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext ¶
func (o GetAccountIdentityOutput) ToGetAccountIdentityOutputWithContext(ctx context.Context) GetAccountIdentityOutput
func (GetAccountIdentityOutput) Type ¶
func (o GetAccountIdentityOutput) Type() pulumi.StringOutput
The identity type of the Data Share Account.
type GetDatasetBlobStorageStorageAccount ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccount struct { // The name of this Data Share Blob Storage Dataset. Name string `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. ResourceGroupName string `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. SubscriptionId string `pulumi:"subscriptionId"` }
type GetDatasetBlobStorageStorageAccountArgs ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountArgs struct { // The name of this Data Share Blob Storage Dataset. Name pulumi.StringInput `pulumi:"name"` // The resource group name of the storage account to be shared with the receiver. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The subscription id of the storage account to be shared with the receiver. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` }
func (GetDatasetBlobStorageStorageAccountArgs) ElementType ¶ added in v3.10.0
func (GetDatasetBlobStorageStorageAccountArgs) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput ¶ added in v3.10.0
func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
func (GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext ¶ added in v3.10.0
func (i GetDatasetBlobStorageStorageAccountArgs) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
type GetDatasetBlobStorageStorageAccountArray ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountArray []GetDatasetBlobStorageStorageAccountInput
func (GetDatasetBlobStorageStorageAccountArray) ElementType ¶ added in v3.10.0
func (GetDatasetBlobStorageStorageAccountArray) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput ¶ added in v3.10.0
func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
func (GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext ¶ added in v3.10.0
func (i GetDatasetBlobStorageStorageAccountArray) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
type GetDatasetBlobStorageStorageAccountArrayInput ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountArrayInput interface { pulumi.Input ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountArrayOutput }
GetDatasetBlobStorageStorageAccountArrayInput is an input type that accepts GetDatasetBlobStorageStorageAccountArray and GetDatasetBlobStorageStorageAccountArrayOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountArrayInput` via:
GetDatasetBlobStorageStorageAccountArray{ GetDatasetBlobStorageStorageAccountArgs{...} }
type GetDatasetBlobStorageStorageAccountArrayOutput ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountArrayOutput struct{ *pulumi.OutputState }
func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType ¶ added in v3.10.0
func (GetDatasetBlobStorageStorageAccountArrayOutput) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutput() GetDatasetBlobStorageStorageAccountArrayOutput
func (GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountArrayOutput) ToGetDatasetBlobStorageStorageAccountArrayOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountArrayOutput
type GetDatasetBlobStorageStorageAccountInput ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountInput interface { pulumi.Input ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput ToGetDatasetBlobStorageStorageAccountOutputWithContext(context.Context) GetDatasetBlobStorageStorageAccountOutput }
GetDatasetBlobStorageStorageAccountInput is an input type that accepts GetDatasetBlobStorageStorageAccountArgs and GetDatasetBlobStorageStorageAccountOutput values. You can construct a concrete instance of `GetDatasetBlobStorageStorageAccountInput` via:
GetDatasetBlobStorageStorageAccountArgs{...}
type GetDatasetBlobStorageStorageAccountOutput ¶ added in v3.10.0
type GetDatasetBlobStorageStorageAccountOutput struct{ *pulumi.OutputState }
func (GetDatasetBlobStorageStorageAccountOutput) ElementType ¶ added in v3.10.0
func (GetDatasetBlobStorageStorageAccountOutput) ElementType() reflect.Type
func (GetDatasetBlobStorageStorageAccountOutput) Name ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountOutput) Name() pulumi.StringOutput
The name of this Data Share Blob Storage Dataset.
func (GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountOutput) ResourceGroupName() pulumi.StringOutput
The resource group name of the storage account to be shared with the receiver.
func (GetDatasetBlobStorageStorageAccountOutput) SubscriptionId ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountOutput) SubscriptionId() pulumi.StringOutput
The subscription id of the storage account to be shared with the receiver.
func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutput() GetDatasetBlobStorageStorageAccountOutput
func (GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext ¶ added in v3.10.0
func (o GetDatasetBlobStorageStorageAccountOutput) ToGetDatasetBlobStorageStorageAccountOutputWithContext(ctx context.Context) GetDatasetBlobStorageStorageAccountOutput
type GetShareSnapshotSchedule ¶ added in v3.6.0
type GetShareSnapshotScheduleArgs ¶ added in v3.6.0
type GetShareSnapshotScheduleArgs struct { pulumi.StringInput `pulumi:"name"` Recurrence pulumi.StringInput `pulumi:"recurrence"` StartTime pulumi.StringInput `pulumi:"startTime"` }Name
func (GetShareSnapshotScheduleArgs) ElementType ¶ added in v3.6.0
func (GetShareSnapshotScheduleArgs) ElementType() reflect.Type
func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput ¶ added in v3.6.0
func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext ¶ added in v3.6.0
func (i GetShareSnapshotScheduleArgs) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
type GetShareSnapshotScheduleArray ¶ added in v3.6.0
type GetShareSnapshotScheduleArray []GetShareSnapshotScheduleInput
func (GetShareSnapshotScheduleArray) ElementType ¶ added in v3.6.0
func (GetShareSnapshotScheduleArray) ElementType() reflect.Type
func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput ¶ added in v3.6.0
func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
func (GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext ¶ added in v3.6.0
func (i GetShareSnapshotScheduleArray) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
type GetShareSnapshotScheduleArrayInput ¶ added in v3.6.0
GetShareSnapshotScheduleArrayInput is an input type that accepts GetShareSnapshotScheduleArray and GetShareSnapshotScheduleArrayOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleArrayInput` via:
GetShareSnapshotScheduleArray{ GetShareSnapshotScheduleArgs{...} }
type GetShareSnapshotScheduleArrayOutput ¶ added in v3.6.0
func (GetShareSnapshotScheduleArrayOutput) ElementType ¶ added in v3.6.0
func (GetShareSnapshotScheduleArrayOutput) ElementType() reflect.Type
func (GetShareSnapshotScheduleArrayOutput) Index ¶ added in v3.6.0
func (o GetShareSnapshotScheduleArrayOutput) Index(i pulumi.IntInput) GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput ¶ added in v3.6.0
func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutput() GetShareSnapshotScheduleArrayOutput
func (GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext ¶ added in v3.6.0
func (o GetShareSnapshotScheduleArrayOutput) ToGetShareSnapshotScheduleArrayOutputWithContext(ctx context.Context) GetShareSnapshotScheduleArrayOutput
type GetShareSnapshotScheduleInput ¶ added in v3.6.0
GetShareSnapshotScheduleInput is an input type that accepts GetShareSnapshotScheduleArgs and GetShareSnapshotScheduleOutput values. You can construct a concrete instance of `GetShareSnapshotScheduleInput` via:
GetShareSnapshotScheduleArgs{...}
type GetShareSnapshotScheduleOutput ¶ added in v3.6.0
func (GetShareSnapshotScheduleOutput) ElementType ¶ added in v3.6.0
func (GetShareSnapshotScheduleOutput) ElementType() reflect.Type
func (GetShareSnapshotScheduleOutput) Name ¶ added in v3.6.0
func (o GetShareSnapshotScheduleOutput) Name() pulumi.StringOutput
The name of this Data Share.
func (GetShareSnapshotScheduleOutput) Recurrence ¶ added in v3.6.0
func (o GetShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
The interval of the synchronization with the source data.
func (GetShareSnapshotScheduleOutput) StartTime ¶ added in v3.6.0
func (o GetShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
The synchronization with the source data's start time.
func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput ¶ added in v3.6.0
func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutput() GetShareSnapshotScheduleOutput
func (GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext ¶ added in v3.6.0
func (o GetShareSnapshotScheduleOutput) ToGetShareSnapshotScheduleOutputWithContext(ctx context.Context) GetShareSnapshotScheduleOutput
type LookupAccountArgs ¶
type LookupAccountArgs struct { // The name of this Data Share Account. Name string `pulumi:"name"` // The name of the Resource Group where the Data Share Account exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
type LookupAccountResult ¶
type LookupAccountResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An `identity` block as defined below. Identities []GetAccountIdentity `pulumi:"identities"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Data Share Account. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)
Use this data source to access information about an existing Data Share Account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{ Name: "example-account", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetBlobStorageArgs ¶ added in v3.10.0
type LookupDatasetBlobStorageArgs struct { 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 LookupDatasetBlobStorageResult ¶ added in v3.10.0
type LookupDatasetBlobStorageResult struct { // The name of the storage account container to be shared with the receiver. ContainerName string `pulumi:"containerName"` // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The path of the file in the storage container to be shared with the receiver. FilePath string `pulumi:"filePath"` // The folder path of the file in the storage container to be shared with the receiver. FolderPath string `pulumi:"folderPath"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the storage account to be shared with the receiver. Name string `pulumi:"name"` // A `storageAccount` block as defined below. StorageAccounts []GetDatasetBlobStorageStorageAccount `pulumi:"storageAccounts"` }
A collection of values returned by getDatasetBlobStorage.
func LookupDatasetBlobStorage ¶ added in v3.10.0
func LookupDatasetBlobStorage(ctx *pulumi.Context, args *LookupDatasetBlobStorageArgs, opts ...pulumi.InvokeOption) (*LookupDatasetBlobStorageResult, error)
Use this data source to access information about an existing Data Share Blob Storage Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetBlobStorage(ctx, &datashare.LookupDatasetBlobStorageArgs{ Name: "example-dsbsds", DataShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetDataLakeGen1Args ¶ added in v3.14.0
type LookupDatasetDataLakeGen1Args struct { string `pulumi:"dataShareId"` // The name of the Data Share Data Lake Gen1 Dataset. Name string `pulumi:"name"` }DataShareId
A collection of arguments for invoking getDatasetDataLakeGen1.
type LookupDatasetDataLakeGen1Result ¶ added in v3.14.0
type LookupDatasetDataLakeGen1Result struct { // The resource ID of the Data Lake Store to be shared with the receiver. DataLakeStoreId string `pulumi:"dataLakeStoreId"` // The displayed name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The file name of the data lake store to be shared with the receiver. FileName string `pulumi:"fileName"` // The folder path of the data lake store to be shared with the receiver. FolderPath string `pulumi:"folderPath"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getDatasetDataLakeGen1.
func LookupDatasetDataLakeGen1 ¶ added in v3.14.0
func LookupDatasetDataLakeGen1(ctx *pulumi.Context, args *LookupDatasetDataLakeGen1Args, opts ...pulumi.InvokeOption) (*LookupDatasetDataLakeGen1Result, error)
Use this data source to access information about an existing DataShareDataLakeGen1Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetDataLakeGen1(ctx, &datashare.LookupDatasetDataLakeGen1Args{ Name: "example-dsdsdlg1", DataShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetDataLakeGen2Args ¶ added in v3.22.0
type LookupDatasetDataLakeGen2Args struct { // The name of this Data Share Data Lake Gen2 Dataset. Name string `pulumi:"name"` ShareId string `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetDataLakeGen2.
type LookupDatasetDataLakeGen2Result ¶ added in v3.22.0
type LookupDatasetDataLakeGen2Result struct { // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The path of the file in the data lake file system to be shared with the receiver. FilePath string `pulumi:"filePath"` // The name of the data lake file system to be shared with the receiver. FileSystemName string `pulumi:"fileSystemName"` // The folder path in the data lake file system to be shared with the receiver. FolderPath string `pulumi:"folderPath"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The resource ID of the storage account of the data lake file system to be shared with the receiver. StorageAccountId string `pulumi:"storageAccountId"` }
A collection of values returned by getDatasetDataLakeGen2.
func LookupDatasetDataLakeGen2 ¶ added in v3.22.0
func LookupDatasetDataLakeGen2(ctx *pulumi.Context, args *LookupDatasetDataLakeGen2Args, opts ...pulumi.InvokeOption) (*LookupDatasetDataLakeGen2Result, error)
Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetDataLakeGen2(ctx, &datashare.LookupDatasetDataLakeGen2Args{ Name: "example-dsdlg2ds", ShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupDatasetKustoClusterArgs ¶ added in v3.23.0
type LookupDatasetKustoClusterArgs struct { // The name of this Data Share Kusto Cluster Dataset. Name string `pulumi:"name"` ShareId string `pulumi:"shareId"` }
A collection of arguments for invoking getDatasetKustoCluster.
type LookupDatasetKustoClusterResult ¶ added in v3.23.0
type LookupDatasetKustoClusterResult struct { // The name of the Data Share Dataset. DisplayName string `pulumi:"displayName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The resource ID of the Kusto Cluster to be shared with the receiver. KustoClusterId string `pulumi:"kustoClusterId"` // The location of the Kusto Cluster. KustoClusterLocation string `pulumi:"kustoClusterLocation"` Name string `pulumi:"name"` }
A collection of values returned by getDatasetKustoCluster.
func LookupDatasetKustoCluster ¶ added in v3.23.0
func LookupDatasetKustoCluster(ctx *pulumi.Context, args *LookupDatasetKustoClusterArgs, opts ...pulumi.InvokeOption) (*LookupDatasetKustoClusterResult, error)
Use this data source to access information about an existing Data Share Kusto Cluster Dataset.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := datashare.LookupDatasetKustoCluster(ctx, &datashare.LookupDatasetKustoClusterArgs{ Name: "example-dskc", ShareId: "example-share-id", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupShareArgs ¶ added in v3.6.0
A collection of arguments for invoking getShare.
type LookupShareResult ¶ added in v3.6.0
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 ¶ added in v3.6.0
func LookupShare(ctx *pulumi.Context, args *LookupShareArgs, opts ...pulumi.InvokeOption) (*LookupShareResult, error)
Use this data source to access information about an existing Data Share.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleAccount, err := datashare.LookupAccount(ctx, &datashare.LookupAccountArgs{ Name: "example-account", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } exampleShare, err := datashare.LookupShare(ctx, &datashare.LookupShareArgs{ Name: "existing", AccountId: exampleAccount.Id, }, nil) if err != nil { return err } ctx.Export("id", exampleShare.Id) return nil }) }
```
type Share ¶ added in v3.6.0
type Share struct { pulumi.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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/datashare" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } _, err = datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{ AccountId: exampleAccount.ID(), Kind: pulumi.String("CopyBased"), Description: pulumi.String("example desc"), Terms: pulumi.String("example terms"), SnapshotSchedule: &datashare.ShareSnapshotScheduleArgs{ Name: pulumi.String("example-ss"), Recurrence: pulumi.String("Day"), StartTime: pulumi.String("2020-04-17T04:47:52.9614956Z"), }, }) if err != nil { return err } return nil }) }
```
func GetShare ¶ added in v3.6.0
func GetShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ShareState, opts ...pulumi.ResourceOption) (*Share, error)
GetShare gets an existing Share resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type ShareArgs ¶ added in v3.6.0
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 ¶ added in v3.6.0
type ShareSnapshotSchedule ¶ added in v3.6.0
type ShareSnapshotScheduleArgs ¶ added in v3.6.0
type ShareSnapshotScheduleArgs struct { pulumi.StringInput `pulumi:"name"` Recurrence pulumi.StringInput `pulumi:"recurrence"` StartTime pulumi.StringInput `pulumi:"startTime"` }Name
func (ShareSnapshotScheduleArgs) ElementType ¶ added in v3.6.0
func (ShareSnapshotScheduleArgs) ElementType() reflect.Type
func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput ¶ added in v3.6.0
func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext ¶ added in v3.6.0
func (i ShareSnapshotScheduleArgs) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput ¶ added in v3.6.0
func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext ¶ added in v3.6.0
func (i ShareSnapshotScheduleArgs) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareSnapshotScheduleInput ¶ added in v3.6.0
ShareSnapshotScheduleInput is an input type that accepts ShareSnapshotScheduleArgs and ShareSnapshotScheduleOutput values. You can construct a concrete instance of `ShareSnapshotScheduleInput` via:
ShareSnapshotScheduleArgs{...}
type ShareSnapshotScheduleOutput ¶ added in v3.6.0
func (ShareSnapshotScheduleOutput) ElementType ¶ added in v3.6.0
func (ShareSnapshotScheduleOutput) ElementType() reflect.Type
func (ShareSnapshotScheduleOutput) Name ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) Name() pulumi.StringOutput
The name of the snapshot schedule.
func (ShareSnapshotScheduleOutput) Recurrence ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) Recurrence() pulumi.StringOutput
The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
func (ShareSnapshotScheduleOutput) StartTime ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) StartTime() pulumi.StringOutput
The synchronization with the source data's start time.
func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutput() ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) ToShareSnapshotScheduleOutputWithContext(ctx context.Context) ShareSnapshotScheduleOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext ¶ added in v3.6.0
func (o ShareSnapshotScheduleOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareSnapshotSchedulePtrInput ¶ added in v3.6.0
ShareSnapshotSchedulePtrInput is an input type that accepts ShareSnapshotScheduleArgs, ShareSnapshotSchedulePtr and ShareSnapshotSchedulePtrOutput values. You can construct a concrete instance of `ShareSnapshotSchedulePtrInput` via:
ShareSnapshotScheduleArgs{...} or: nil
func ShareSnapshotSchedulePtr ¶ added in v3.6.0
func ShareSnapshotSchedulePtr(v *ShareSnapshotScheduleArgs) ShareSnapshotSchedulePtrInput
type ShareSnapshotSchedulePtrOutput ¶ added in v3.6.0
func (ShareSnapshotSchedulePtrOutput) Elem ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) Elem() ShareSnapshotScheduleOutput
func (ShareSnapshotSchedulePtrOutput) ElementType ¶ added in v3.6.0
func (ShareSnapshotSchedulePtrOutput) ElementType() reflect.Type
func (ShareSnapshotSchedulePtrOutput) Name ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) Name() pulumi.StringPtrOutput
The name of the snapshot schedule.
func (ShareSnapshotSchedulePtrOutput) Recurrence ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) Recurrence() pulumi.StringPtrOutput
The interval of the synchronization with the source data. Possible values are `Hour` and `Day`.
func (ShareSnapshotSchedulePtrOutput) StartTime ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) StartTime() pulumi.StringPtrOutput
The synchronization with the source data's start time.
func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutput() ShareSnapshotSchedulePtrOutput
func (ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext ¶ added in v3.6.0
func (o ShareSnapshotSchedulePtrOutput) ToShareSnapshotSchedulePtrOutputWithContext(ctx context.Context) ShareSnapshotSchedulePtrOutput
type ShareState ¶ added in v3.6.0
type ShareState struct { pulumi.StringPtrInput Description pulumi.StringPtrInput Kind pulumi.StringPtrInput Name pulumi.StringPtrInput SnapshotSchedule ShareSnapshotSchedulePtrInput Terms pulumi.StringPtrInput }AccountId
func (ShareState) ElementType ¶ added in v3.6.0
func (ShareState) ElementType() reflect.Type