Documentation
¶
Index ¶
- type FirewallRule
- type FirewallRuleArgs
- type FirewallRuleState
- type LookupWorkspaceArgs
- type LookupWorkspaceResult
- type SparkPool
- type SparkPoolArgs
- type SparkPoolAutoPause
- type SparkPoolAutoPauseArgs
- func (SparkPoolAutoPauseArgs) ElementType() reflect.Type
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoPauseInput
- type SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) DelayInMinutes() pulumi.IntOutput
- func (SparkPoolAutoPauseOutput) ElementType() reflect.Type
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoPausePtrInput
- type SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPausePtrOutput) DelayInMinutes() pulumi.IntPtrOutput
- func (o SparkPoolAutoPausePtrOutput) Elem() SparkPoolAutoPauseOutput
- func (SparkPoolAutoPausePtrOutput) ElementType() reflect.Type
- func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
- func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
- type SparkPoolAutoScale
- type SparkPoolAutoScaleArgs
- func (SparkPoolAutoScaleArgs) ElementType() reflect.Type
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolAutoScaleInput
- type SparkPoolAutoScaleOutput
- func (SparkPoolAutoScaleOutput) ElementType() reflect.Type
- func (o SparkPoolAutoScaleOutput) MaxNodeCount() pulumi.IntOutput
- func (o SparkPoolAutoScaleOutput) MinNodeCount() pulumi.IntOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolAutoScalePtrInput
- type SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScalePtrOutput) Elem() SparkPoolAutoScaleOutput
- func (SparkPoolAutoScalePtrOutput) ElementType() reflect.Type
- func (o SparkPoolAutoScalePtrOutput) MaxNodeCount() pulumi.IntPtrOutput
- func (o SparkPoolAutoScalePtrOutput) MinNodeCount() pulumi.IntPtrOutput
- func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
- func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
- type SparkPoolLibraryRequirement
- type SparkPoolLibraryRequirementArgs
- func (SparkPoolLibraryRequirementArgs) ElementType() reflect.Type
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolLibraryRequirementInput
- type SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) Content() pulumi.StringOutput
- func (SparkPoolLibraryRequirementOutput) ElementType() reflect.Type
- func (o SparkPoolLibraryRequirementOutput) Filename() pulumi.StringOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolLibraryRequirementPtrInput
- type SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) Content() pulumi.StringPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) Elem() SparkPoolLibraryRequirementOutput
- func (SparkPoolLibraryRequirementPtrOutput) ElementType() reflect.Type
- func (o SparkPoolLibraryRequirementPtrOutput) Filename() pulumi.StringPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
- func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
- type SparkPoolState
- type Workspace
- type WorkspaceAadAdmin
- type WorkspaceAadAdminArgs
- func (WorkspaceAadAdminArgs) ElementType() reflect.Type
- func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
- func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
- func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
- func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
- type WorkspaceAadAdminInput
- type WorkspaceAadAdminOutput
- func (WorkspaceAadAdminOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminOutput) Login() pulumi.StringOutput
- func (o WorkspaceAadAdminOutput) ObjectId() pulumi.StringOutput
- func (o WorkspaceAadAdminOutput) TenantId() pulumi.StringOutput
- func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
- func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
- func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
- func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
- type WorkspaceAadAdminPtrInput
- type WorkspaceAadAdminPtrOutput
- func (o WorkspaceAadAdminPtrOutput) Elem() WorkspaceAadAdminOutput
- func (WorkspaceAadAdminPtrOutput) ElementType() reflect.Type
- func (o WorkspaceAadAdminPtrOutput) Login() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminPtrOutput) ObjectId() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
- func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
- type WorkspaceArgs
- type WorkspaceIdentity
- type WorkspaceIdentityArgs
- type WorkspaceIdentityArray
- type WorkspaceIdentityArrayInput
- type WorkspaceIdentityArrayOutput
- func (WorkspaceIdentityArrayOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) WorkspaceIdentityOutput
- func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput
- func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutputWithContext(ctx context.Context) WorkspaceIdentityArrayOutput
- type WorkspaceIdentityInput
- type WorkspaceIdentityOutput
- func (WorkspaceIdentityOutput) ElementType() reflect.Type
- func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
- func (o WorkspaceIdentityOutput) Type() pulumi.StringPtrOutput
- type WorkspaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FirewallRule ¶ added in v3.16.0
type FirewallRule struct { pulumi.CustomResourceState // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringOutput `pulumi:"endIpAddress"` // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringOutput `pulumi:"startIpAddress"` // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` }
Allows you to Manages a Synapse Firewall Rule.
## 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/storage" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/synapse" "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 := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } _, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{ SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id), StartIpAddress: pulumi.String("0.0.0.0"), EndIpAddress: pulumi.String("255.255.255.255"), }) if err != nil { return err } return nil }) }
```
func GetFirewallRule ¶ added in v3.16.0
func GetFirewallRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FirewallRuleState, opts ...pulumi.ResourceOption) (*FirewallRule, error)
GetFirewallRule gets an existing FirewallRule 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 NewFirewallRule ¶ added in v3.16.0
func NewFirewallRule(ctx *pulumi.Context, name string, args *FirewallRuleArgs, opts ...pulumi.ResourceOption) (*FirewallRule, error)
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
type FirewallRuleArgs ¶ added in v3.16.0
type FirewallRuleArgs struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringInput // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringInput // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringInput }
The set of arguments for constructing a FirewallRule resource.
func (FirewallRuleArgs) ElementType ¶ added in v3.16.0
func (FirewallRuleArgs) ElementType() reflect.Type
type FirewallRuleState ¶ added in v3.16.0
type FirewallRuleState struct { // The ending IP address to allow through the firewall for this rule. EndIpAddress pulumi.StringPtrInput // The Name of the firewall rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The starting IP address to allow through the firewall for this rule. StartIpAddress pulumi.StringPtrInput // The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created. SynapseWorkspaceId pulumi.StringPtrInput }
func (FirewallRuleState) ElementType ¶ added in v3.16.0
func (FirewallRuleState) ElementType() reflect.Type
type LookupWorkspaceArgs ¶
type LookupWorkspaceArgs struct { // The name of this Synapse Workspace. Name string `pulumi:"name"` // The name of the Resource Group where the Synapse Workspace exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getWorkspace.
type LookupWorkspaceResult ¶
type LookupWorkspaceResult struct { // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints map[string]string `pulumi:"connectivityEndpoints"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure location where the Synapse Workspace exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getWorkspace.
func LookupWorkspace ¶
func LookupWorkspace(ctx *pulumi.Context, args *LookupWorkspaceArgs, opts ...pulumi.InvokeOption) (*LookupWorkspaceResult, error)
Use this data source to access information about an existing Synapse Workspace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/synapse" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := synapse.LookupWorkspace(ctx, &synapse.LookupWorkspaceArgs{ Name: "existing", ResourceGroupName: "example-resource-group", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type SparkPool ¶ added in v3.17.0
type SparkPool struct { pulumi.CustomResourceState // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrOutput `pulumi:"autoPause"` // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrOutput `pulumi:"autoScale"` // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrOutput `pulumi:"libraryRequirement"` // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringOutput `pulumi:"name"` // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"` // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringOutput `pulumi:"nodeSize"` // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringOutput `pulumi:"nodeSizeFamily"` // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrOutput `pulumi:"sparkEventsFolder"` // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrOutput `pulumi:"sparkLogFolder"` // The Apache Spark version. Possible value is `2.4`. Defaults to `2.4`. SparkVersion pulumi.StringPtrOutput `pulumi:"sparkVersion"` // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"` // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Spark Pool.
## 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/storage" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/synapse" "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 := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } exampleWorkspace, err := synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), }) if err != nil { return err } _, err = synapse.NewSparkPool(ctx, "exampleSparkPool", &synapse.SparkPoolArgs{ SynapseWorkspaceId: exampleWorkspace.ID(), NodeSizeFamily: pulumi.String("MemoryOptimized"), NodeSize: pulumi.String("Small"), AutoScale: &synapse.SparkPoolAutoScaleArgs{ MaxNodeCount: pulumi.Int(50), MinNodeCount: pulumi.Int(3), }, AutoPause: &synapse.SparkPoolAutoPauseArgs{ DelayInMinutes: pulumi.Int(15), }, Tags: pulumi.StringMap{ "ENV": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
func GetSparkPool ¶ added in v3.17.0
func GetSparkPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SparkPoolState, opts ...pulumi.ResourceOption) (*SparkPool, error)
GetSparkPool gets an existing SparkPool 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 NewSparkPool ¶ added in v3.17.0
func NewSparkPool(ctx *pulumi.Context, name string, args *SparkPoolArgs, opts ...pulumi.ResourceOption) (*SparkPool, error)
NewSparkPool registers a new resource with the given unique name, arguments, and options.
type SparkPoolArgs ¶ added in v3.17.0
type SparkPoolArgs struct { // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrInput // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrInput // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrInput // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringPtrInput // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrInput // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringInput // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringInput // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrInput // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrInput // The Apache Spark version. Possible value is `2.4`. Defaults to `2.4`. SparkVersion pulumi.StringPtrInput // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapInput }
The set of arguments for constructing a SparkPool resource.
func (SparkPoolArgs) ElementType ¶ added in v3.17.0
func (SparkPoolArgs) ElementType() reflect.Type
type SparkPoolAutoPause ¶ added in v3.17.0
type SparkPoolAutoPause struct { // Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`. DelayInMinutes int `pulumi:"delayInMinutes"` }
type SparkPoolAutoPauseArgs ¶ added in v3.17.0
type SparkPoolAutoPauseArgs struct { // Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`. DelayInMinutes pulumi.IntInput `pulumi:"delayInMinutes"` }
func (SparkPoolAutoPauseArgs) ElementType ¶ added in v3.17.0
func (SparkPoolAutoPauseArgs) ElementType() reflect.Type
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput ¶ added in v3.17.0
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext ¶ added in v3.17.0
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput ¶ added in v3.17.0
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext ¶ added in v3.17.0
func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoPauseInput ¶ added in v3.17.0
type SparkPoolAutoPauseInput interface { pulumi.Input ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput ToSparkPoolAutoPauseOutputWithContext(context.Context) SparkPoolAutoPauseOutput }
SparkPoolAutoPauseInput is an input type that accepts SparkPoolAutoPauseArgs and SparkPoolAutoPauseOutput values. You can construct a concrete instance of `SparkPoolAutoPauseInput` via:
SparkPoolAutoPauseArgs{...}
type SparkPoolAutoPauseOutput ¶ added in v3.17.0
type SparkPoolAutoPauseOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoPauseOutput) DelayInMinutes ¶ added in v3.17.0
func (o SparkPoolAutoPauseOutput) DelayInMinutes() pulumi.IntOutput
Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
func (SparkPoolAutoPauseOutput) ElementType ¶ added in v3.17.0
func (SparkPoolAutoPauseOutput) ElementType() reflect.Type
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput ¶ added in v3.17.0
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput ¶ added in v3.17.0
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoPausePtrInput ¶ added in v3.17.0
type SparkPoolAutoPausePtrInput interface { pulumi.Input ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput ToSparkPoolAutoPausePtrOutputWithContext(context.Context) SparkPoolAutoPausePtrOutput }
SparkPoolAutoPausePtrInput is an input type that accepts SparkPoolAutoPauseArgs, SparkPoolAutoPausePtr and SparkPoolAutoPausePtrOutput values. You can construct a concrete instance of `SparkPoolAutoPausePtrInput` via:
SparkPoolAutoPauseArgs{...} or: nil
func SparkPoolAutoPausePtr ¶ added in v3.17.0
func SparkPoolAutoPausePtr(v *SparkPoolAutoPauseArgs) SparkPoolAutoPausePtrInput
type SparkPoolAutoPausePtrOutput ¶ added in v3.17.0
type SparkPoolAutoPausePtrOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoPausePtrOutput) DelayInMinutes ¶ added in v3.17.0
func (o SparkPoolAutoPausePtrOutput) DelayInMinutes() pulumi.IntPtrOutput
Number of minutes of idle time before the Spark Pool is automatically paused. Must be between `5` and `10080`.
func (SparkPoolAutoPausePtrOutput) Elem ¶ added in v3.17.0
func (o SparkPoolAutoPausePtrOutput) Elem() SparkPoolAutoPauseOutput
func (SparkPoolAutoPausePtrOutput) ElementType ¶ added in v3.17.0
func (SparkPoolAutoPausePtrOutput) ElementType() reflect.Type
func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput ¶ added in v3.17.0
func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput
func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput
type SparkPoolAutoScale ¶ added in v3.17.0
type SparkPoolAutoScaleArgs ¶ added in v3.17.0
type SparkPoolAutoScaleArgs struct { // The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`. MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"` // The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`. MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"` }
func (SparkPoolAutoScaleArgs) ElementType ¶ added in v3.17.0
func (SparkPoolAutoScaleArgs) ElementType() reflect.Type
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput ¶ added in v3.17.0
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext ¶ added in v3.17.0
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput ¶ added in v3.17.0
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext ¶ added in v3.17.0
func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolAutoScaleInput ¶ added in v3.17.0
type SparkPoolAutoScaleInput interface { pulumi.Input ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput ToSparkPoolAutoScaleOutputWithContext(context.Context) SparkPoolAutoScaleOutput }
SparkPoolAutoScaleInput is an input type that accepts SparkPoolAutoScaleArgs and SparkPoolAutoScaleOutput values. You can construct a concrete instance of `SparkPoolAutoScaleInput` via:
SparkPoolAutoScaleArgs{...}
type SparkPoolAutoScaleOutput ¶ added in v3.17.0
type SparkPoolAutoScaleOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoScaleOutput) ElementType ¶ added in v3.17.0
func (SparkPoolAutoScaleOutput) ElementType() reflect.Type
func (SparkPoolAutoScaleOutput) MaxNodeCount ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) MaxNodeCount() pulumi.IntOutput
The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScaleOutput) MinNodeCount ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) MinNodeCount() pulumi.IntOutput
The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolAutoScalePtrInput ¶ added in v3.17.0
type SparkPoolAutoScalePtrInput interface { pulumi.Input ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput ToSparkPoolAutoScalePtrOutputWithContext(context.Context) SparkPoolAutoScalePtrOutput }
SparkPoolAutoScalePtrInput is an input type that accepts SparkPoolAutoScaleArgs, SparkPoolAutoScalePtr and SparkPoolAutoScalePtrOutput values. You can construct a concrete instance of `SparkPoolAutoScalePtrInput` via:
SparkPoolAutoScaleArgs{...} or: nil
func SparkPoolAutoScalePtr ¶ added in v3.17.0
func SparkPoolAutoScalePtr(v *SparkPoolAutoScaleArgs) SparkPoolAutoScalePtrInput
type SparkPoolAutoScalePtrOutput ¶ added in v3.17.0
type SparkPoolAutoScalePtrOutput struct{ *pulumi.OutputState }
func (SparkPoolAutoScalePtrOutput) Elem ¶ added in v3.17.0
func (o SparkPoolAutoScalePtrOutput) Elem() SparkPoolAutoScaleOutput
func (SparkPoolAutoScalePtrOutput) ElementType ¶ added in v3.17.0
func (SparkPoolAutoScalePtrOutput) ElementType() reflect.Type
func (SparkPoolAutoScalePtrOutput) MaxNodeCount ¶ added in v3.17.0
func (o SparkPoolAutoScalePtrOutput) MaxNodeCount() pulumi.IntPtrOutput
The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScalePtrOutput) MinNodeCount ¶ added in v3.17.0
func (o SparkPoolAutoScalePtrOutput) MinNodeCount() pulumi.IntPtrOutput
The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`.
func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput ¶ added in v3.17.0
func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput
func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput
type SparkPoolLibraryRequirement ¶ added in v3.17.0
type SparkPoolLibraryRequirementArgs ¶ added in v3.17.0
type SparkPoolLibraryRequirementArgs struct { // The content of library requirements. Content pulumi.StringInput `pulumi:"content"` // The name of the library requirements file. Filename pulumi.StringInput `pulumi:"filename"` }
func (SparkPoolLibraryRequirementArgs) ElementType ¶ added in v3.17.0
func (SparkPoolLibraryRequirementArgs) ElementType() reflect.Type
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput ¶ added in v3.17.0
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext ¶ added in v3.17.0
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput ¶ added in v3.17.0
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶ added in v3.17.0
func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolLibraryRequirementInput ¶ added in v3.17.0
type SparkPoolLibraryRequirementInput interface { pulumi.Input ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput ToSparkPoolLibraryRequirementOutputWithContext(context.Context) SparkPoolLibraryRequirementOutput }
SparkPoolLibraryRequirementInput is an input type that accepts SparkPoolLibraryRequirementArgs and SparkPoolLibraryRequirementOutput values. You can construct a concrete instance of `SparkPoolLibraryRequirementInput` via:
SparkPoolLibraryRequirementArgs{...}
type SparkPoolLibraryRequirementOutput ¶ added in v3.17.0
type SparkPoolLibraryRequirementOutput struct{ *pulumi.OutputState }
func (SparkPoolLibraryRequirementOutput) Content ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) Content() pulumi.StringOutput
The content of library requirements.
func (SparkPoolLibraryRequirementOutput) ElementType ¶ added in v3.17.0
func (SparkPoolLibraryRequirementOutput) ElementType() reflect.Type
func (SparkPoolLibraryRequirementOutput) Filename ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) Filename() pulumi.StringOutput
The name of the library requirements file.
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolLibraryRequirementPtrInput ¶ added in v3.17.0
type SparkPoolLibraryRequirementPtrInput interface { pulumi.Input ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput ToSparkPoolLibraryRequirementPtrOutputWithContext(context.Context) SparkPoolLibraryRequirementPtrOutput }
SparkPoolLibraryRequirementPtrInput is an input type that accepts SparkPoolLibraryRequirementArgs, SparkPoolLibraryRequirementPtr and SparkPoolLibraryRequirementPtrOutput values. You can construct a concrete instance of `SparkPoolLibraryRequirementPtrInput` via:
SparkPoolLibraryRequirementArgs{...} or: nil
func SparkPoolLibraryRequirementPtr ¶ added in v3.17.0
func SparkPoolLibraryRequirementPtr(v *SparkPoolLibraryRequirementArgs) SparkPoolLibraryRequirementPtrInput
type SparkPoolLibraryRequirementPtrOutput ¶ added in v3.17.0
type SparkPoolLibraryRequirementPtrOutput struct{ *pulumi.OutputState }
func (SparkPoolLibraryRequirementPtrOutput) Content ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementPtrOutput) Content() pulumi.StringPtrOutput
The content of library requirements.
func (SparkPoolLibraryRequirementPtrOutput) ElementType ¶ added in v3.17.0
func (SparkPoolLibraryRequirementPtrOutput) ElementType() reflect.Type
func (SparkPoolLibraryRequirementPtrOutput) Filename ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementPtrOutput) Filename() pulumi.StringPtrOutput
The name of the library requirements file.
func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput
func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext ¶ added in v3.17.0
func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput
type SparkPoolState ¶ added in v3.17.0
type SparkPoolState struct { // An `autoPause` block as defined below. AutoPause SparkPoolAutoPausePtrInput // An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified. AutoScale SparkPoolAutoScalePtrInput // A `libraryRequirement` block as defined below. LibraryRequirement SparkPoolLibraryRequirementPtrInput // The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created. Name pulumi.StringPtrInput // The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified. NodeCount pulumi.IntPtrInput // The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`. NodeSize pulumi.StringPtrInput // The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`. NodeSizeFamily pulumi.StringPtrInput // The Spark events folder. Defaults to `/events`. SparkEventsFolder pulumi.StringPtrInput // The default folder where Spark logs will be written. Defaults to `/logs`. SparkLogFolder pulumi.StringPtrInput // The Apache Spark version. Possible value is `2.4`. Defaults to `2.4`. SparkVersion pulumi.StringPtrInput // The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created. SynapseWorkspaceId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Spark Pool. Tags pulumi.StringMapInput }
func (SparkPoolState) ElementType ¶ added in v3.17.0
func (SparkPoolState) ElementType() reflect.Type
type Workspace ¶
type Workspace struct { pulumi.CustomResourceState // An `aadAdmin` block as defined below. AadAdmin WorkspaceAadAdminOutput `pulumi:"aadAdmin"` // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints pulumi.StringMapOutput `pulumi:"connectivityEndpoints"` // An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace. Identities WorkspaceIdentityArrayOutput `pulumi:"identities"` // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Workspace managed resource group. ManagedResourceGroupName pulumi.StringOutput `pulumi:"managedResourceGroupName"` // Is Virtual Network enabled for all computes in this workspace. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrOutput `pulumi:"managedVirtualNetworkEnabled"` // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringOutput `pulumi:"sqlAdministratorLogin"` // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringOutput `pulumi:"sqlAdministratorLoginPassword"` // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringOutput `pulumi:"storageDataLakeGen2FilesystemId"` // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Synapse Workspace.
## 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/storage" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/synapse" "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 := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), AccountKind: pulumi.String("StorageV2"), IsHnsEnabled: pulumi.Bool(true), }) if err != nil { return err } exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{ StorageAccountId: exampleAccount.ID(), }) if err != nil { return err } _, err = synapse.NewWorkspace(ctx, "exampleWorkspace", &synapse.WorkspaceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(), SqlAdministratorLogin: pulumi.String("sqladminuser"), SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), AadAdmin: &synapse.WorkspaceAadAdminArgs{ Login: pulumi.String("AzureAD Admin"), ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"), TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"), }, Tags: pulumi.StringMap{ "Env": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
```
func GetWorkspace ¶
func GetWorkspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)
GetWorkspace gets an existing Workspace 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 NewWorkspace ¶
func NewWorkspace(ctx *pulumi.Context, name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)
NewWorkspace registers a new resource with the given unique name, arguments, and options.
type WorkspaceAadAdmin ¶
type WorkspaceAadAdmin struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login string `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId string `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId string `pulumi:"tenantId"` }
type WorkspaceAadAdminArgs ¶
type WorkspaceAadAdminArgs struct { // The login name of the Azure AD Administrator of this Synapse Workspace. Login pulumi.StringInput `pulumi:"login"` // The object id of the Azure AD Administrator of this Synapse Workspace. ObjectId pulumi.StringInput `pulumi:"objectId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringInput `pulumi:"tenantId"` }
func (WorkspaceAadAdminArgs) ElementType ¶
func (WorkspaceAadAdminArgs) ElementType() reflect.Type
func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutput ¶
func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutputWithContext ¶
func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutput ¶
func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutputWithContext ¶
func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
type WorkspaceAadAdminInput ¶
type WorkspaceAadAdminInput interface { pulumi.Input ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput ToWorkspaceAadAdminOutputWithContext(context.Context) WorkspaceAadAdminOutput }
WorkspaceAadAdminInput is an input type that accepts WorkspaceAadAdminArgs and WorkspaceAadAdminOutput values. You can construct a concrete instance of `WorkspaceAadAdminInput` via:
WorkspaceAadAdminArgs{...}
type WorkspaceAadAdminOutput ¶
type WorkspaceAadAdminOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminOutput) ElementType ¶
func (WorkspaceAadAdminOutput) ElementType() reflect.Type
func (WorkspaceAadAdminOutput) Login ¶
func (o WorkspaceAadAdminOutput) Login() pulumi.StringOutput
The login name of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminOutput) ObjectId ¶
func (o WorkspaceAadAdminOutput) ObjectId() pulumi.StringOutput
The object id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminOutput) TenantId ¶
func (o WorkspaceAadAdminOutput) TenantId() pulumi.StringOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutput ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutputWithContext ¶
func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
type WorkspaceAadAdminPtrInput ¶
type WorkspaceAadAdminPtrInput interface { pulumi.Input ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput ToWorkspaceAadAdminPtrOutputWithContext(context.Context) WorkspaceAadAdminPtrOutput }
WorkspaceAadAdminPtrInput is an input type that accepts WorkspaceAadAdminArgs, WorkspaceAadAdminPtr and WorkspaceAadAdminPtrOutput values. You can construct a concrete instance of `WorkspaceAadAdminPtrInput` via:
WorkspaceAadAdminArgs{...} or: nil
func WorkspaceAadAdminPtr ¶
func WorkspaceAadAdminPtr(v *WorkspaceAadAdminArgs) WorkspaceAadAdminPtrInput
type WorkspaceAadAdminPtrOutput ¶
type WorkspaceAadAdminPtrOutput struct{ *pulumi.OutputState }
func (WorkspaceAadAdminPtrOutput) Elem ¶
func (o WorkspaceAadAdminPtrOutput) Elem() WorkspaceAadAdminOutput
func (WorkspaceAadAdminPtrOutput) ElementType ¶
func (WorkspaceAadAdminPtrOutput) ElementType() reflect.Type
func (WorkspaceAadAdminPtrOutput) Login ¶
func (o WorkspaceAadAdminPtrOutput) Login() pulumi.StringPtrOutput
The login name of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminPtrOutput) ObjectId ¶
func (o WorkspaceAadAdminPtrOutput) ObjectId() pulumi.StringPtrOutput
The object id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminPtrOutput) TenantId ¶
func (o WorkspaceAadAdminPtrOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutput ¶
func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
func (WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutputWithContext ¶
func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput
type WorkspaceArgs ¶
type WorkspaceArgs struct { // An `aadAdmin` block as defined below. AadAdmin WorkspaceAadAdminPtrInput // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Is Virtual Network enabled for all computes in this workspace. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrInput // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringInput // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringInput // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringInput // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapInput }
The set of arguments for constructing a Workspace resource.
func (WorkspaceArgs) ElementType ¶
func (WorkspaceArgs) ElementType() reflect.Type
type WorkspaceIdentity ¶
type WorkspaceIdentity struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId *string `pulumi:"principalId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId *string `pulumi:"tenantId"` // The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. Type *string `pulumi:"type"` }
type WorkspaceIdentityArgs ¶
type WorkspaceIdentityArgs struct { // The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The tenant id of the Azure AD Administrator of this Synapse Workspace. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace. Type pulumi.StringPtrInput `pulumi:"type"` }
func (WorkspaceIdentityArgs) ElementType ¶
func (WorkspaceIdentityArgs) ElementType() reflect.Type
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext ¶
func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
type WorkspaceIdentityArray ¶
type WorkspaceIdentityArray []WorkspaceIdentityInput
func (WorkspaceIdentityArray) ElementType ¶
func (WorkspaceIdentityArray) ElementType() reflect.Type
func (WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutput ¶
func (i WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput
func (WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutputWithContext ¶
func (i WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutputWithContext(ctx context.Context) WorkspaceIdentityArrayOutput
type WorkspaceIdentityArrayInput ¶
type WorkspaceIdentityArrayInput interface { pulumi.Input ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput ToWorkspaceIdentityArrayOutputWithContext(context.Context) WorkspaceIdentityArrayOutput }
WorkspaceIdentityArrayInput is an input type that accepts WorkspaceIdentityArray and WorkspaceIdentityArrayOutput values. You can construct a concrete instance of `WorkspaceIdentityArrayInput` via:
WorkspaceIdentityArray{ WorkspaceIdentityArgs{...} }
type WorkspaceIdentityArrayOutput ¶
type WorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityArrayOutput) ElementType ¶
func (WorkspaceIdentityArrayOutput) ElementType() reflect.Type
func (WorkspaceIdentityArrayOutput) Index ¶
func (o WorkspaceIdentityArrayOutput) Index(i pulumi.IntInput) WorkspaceIdentityOutput
func (WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutput ¶
func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput
func (WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutputWithContext ¶
func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutputWithContext(ctx context.Context) WorkspaceIdentityArrayOutput
type WorkspaceIdentityInput ¶
type WorkspaceIdentityInput interface { pulumi.Input ToWorkspaceIdentityOutput() WorkspaceIdentityOutput ToWorkspaceIdentityOutputWithContext(context.Context) WorkspaceIdentityOutput }
WorkspaceIdentityInput is an input type that accepts WorkspaceIdentityArgs and WorkspaceIdentityOutput values. You can construct a concrete instance of `WorkspaceIdentityInput` via:
WorkspaceIdentityArgs{...}
type WorkspaceIdentityOutput ¶
type WorkspaceIdentityOutput struct{ *pulumi.OutputState }
func (WorkspaceIdentityOutput) ElementType ¶
func (WorkspaceIdentityOutput) ElementType() reflect.Type
func (WorkspaceIdentityOutput) PrincipalId ¶
func (o WorkspaceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
func (WorkspaceIdentityOutput) TenantId ¶
func (o WorkspaceIdentityOutput) TenantId() pulumi.StringPtrOutput
The tenant id of the Azure AD Administrator of this Synapse Workspace.
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext ¶
func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput
func (WorkspaceIdentityOutput) Type ¶
func (o WorkspaceIdentityOutput) Type() pulumi.StringPtrOutput
The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
type WorkspaceState ¶
type WorkspaceState struct { // An `aadAdmin` block as defined below. AadAdmin WorkspaceAadAdminPtrInput // A list of Connectivity endpoints for this Synapse Workspace. ConnectivityEndpoints pulumi.StringMapInput // An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace. Identities WorkspaceIdentityArrayInput // Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Workspace managed resource group. ManagedResourceGroupName pulumi.StringPtrInput // Is Virtual Network enabled for all computes in this workspace. Changing this forces a new resource to be created. ManagedVirtualNetworkEnabled pulumi.BoolPtrInput // Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created. SqlAdministratorLogin pulumi.StringPtrInput // The Password associated with the `sqlAdministratorLogin` for the SQL administrator. SqlAdministratorLoginPassword pulumi.StringPtrInput // Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created. StorageDataLakeGen2FilesystemId pulumi.StringPtrInput // A mapping of tags which should be assigned to the Synapse Workspace. Tags pulumi.StringMapInput }
func (WorkspaceState) ElementType ¶
func (WorkspaceState) ElementType() reflect.Type