synapse

package
v3.40.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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
	})
}

```

## Import

Synapse Firewall Rule can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/firewallRule:FirewallRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.Synapse/workspaces/workspace1/firewallRules/rule1

```

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.

func (FirewallRule) ElementType added in v3.31.1

func (FirewallRule) ElementType() reflect.Type

func (FirewallRule) ToFirewallRuleOutput added in v3.31.1

func (i FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRule) ToFirewallRuleOutputWithContext added in v3.31.1

func (i FirewallRule) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

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

type FirewallRuleInput interface {
	pulumi.Input

	ToFirewallRuleOutput() FirewallRuleOutput
	ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput
}

type FirewallRuleOutput added in v3.31.1

type FirewallRuleOutput struct {
	*pulumi.OutputState
}

func (FirewallRuleOutput) ElementType added in v3.31.1

func (FirewallRuleOutput) ElementType() reflect.Type

func (FirewallRuleOutput) ToFirewallRuleOutput added in v3.31.1

func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRuleOutput) ToFirewallRuleOutputWithContext added in v3.31.1

func (o FirewallRuleOutput) ToFirewallRuleOutputWithContext(ctx context.Context) FirewallRuleOutput

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

type RoleAssignment struct {
	pulumi.CustomResourceState

	// The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringOutput `pulumi:"principalId"`
	// The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created.
	RoleName pulumi.StringOutput `pulumi:"roleName"`
	// The ID of the Synapse Workspace on which to create the Role Assignment. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
}

Allows you to Manages a Synapse Role Assignment.

## 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
		}
		exampleFirewallRule, 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
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = synapse.NewRoleAssignment(ctx, "exampleRoleAssignment", &synapse.RoleAssignmentArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			RoleName:           pulumi.String("Sql Admin"),
			PrincipalId:        pulumi.String(current.ObjectId),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleFirewallRule,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Role Assignment can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/roleAssignment:RoleAssignment example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1|000000000000"

```

func GetRoleAssignment added in v3.29.0

func GetRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

GetRoleAssignment gets an existing RoleAssignment 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 NewRoleAssignment added in v3.29.0

func NewRoleAssignment(ctx *pulumi.Context,
	name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

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

func (RoleAssignment) ElementType added in v3.31.1

func (RoleAssignment) ElementType() reflect.Type

func (RoleAssignment) ToRoleAssignmentOutput added in v3.31.1

func (i RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignment) ToRoleAssignmentOutputWithContext added in v3.31.1

func (i RoleAssignment) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentArgs added in v3.29.0

type RoleAssignmentArgs struct {
	// The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringInput
	// The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created.
	RoleName pulumi.StringInput
	// The ID of the Synapse Workspace on which to create the Role Assignment. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringInput
}

The set of arguments for constructing a RoleAssignment resource.

func (RoleAssignmentArgs) ElementType added in v3.29.0

func (RoleAssignmentArgs) ElementType() reflect.Type

type RoleAssignmentInput added in v3.31.1

type RoleAssignmentInput interface {
	pulumi.Input

	ToRoleAssignmentOutput() RoleAssignmentOutput
	ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
}

type RoleAssignmentOutput added in v3.31.1

type RoleAssignmentOutput struct {
	*pulumi.OutputState
}

func (RoleAssignmentOutput) ElementType added in v3.31.1

func (RoleAssignmentOutput) ElementType() reflect.Type

func (RoleAssignmentOutput) ToRoleAssignmentOutput added in v3.31.1

func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext added in v3.31.1

func (o RoleAssignmentOutput) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

type RoleAssignmentState added in v3.29.0

type RoleAssignmentState struct {
	// The ID of the Principal (User, Group or Service Principal) to assign the Synapse Role Definition to. Changing this forces a new resource to be created.
	PrincipalId pulumi.StringPtrInput
	// The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created.
	RoleName pulumi.StringPtrInput
	// The ID of the Synapse Workspace on which to create the Role Assignment. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (RoleAssignmentState) ElementType added in v3.29.0

func (RoleAssignmentState) ElementType() reflect.Type

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
	})
}

```

## Import

Synapse Spark Pool can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sparkPool:SparkPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/bigDataPools/sparkPool1

```

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.

func (SparkPool) ElementType added in v3.31.1

func (SparkPool) ElementType() reflect.Type

func (SparkPool) ToSparkPoolOutput added in v3.31.1

func (i SparkPool) ToSparkPoolOutput() SparkPoolOutput

func (SparkPool) ToSparkPoolOutputWithContext added in v3.31.1

func (i SparkPool) ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput

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 (SparkPoolAutoPausePtrOutput) ElementType added in v3.17.0

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 SparkPoolAutoScale struct {
	// The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.
	MaxNodeCount int `pulumi:"maxNodeCount"`
	// The minimum number of nodes the Spark Pool can support. Must be between `3` and `200`.
	MinNodeCount int `pulumi:"minNodeCount"`
}

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 (SparkPoolAutoScalePtrOutput) ElementType added in v3.17.0

func (SparkPoolAutoScalePtrOutput) MaxNodeCount added in v3.17.0

The maximum number of nodes the Spark Pool can support. Must be between `3` and `200`.

func (SparkPoolAutoScalePtrOutput) MinNodeCount added in v3.17.0

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

type SparkPoolInput interface {
	pulumi.Input

	ToSparkPoolOutput() SparkPoolOutput
	ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput
}

type SparkPoolLibraryRequirement added in v3.17.0

type SparkPoolLibraryRequirement struct {
	// The content of library requirements.
	Content string `pulumi:"content"`
	// The name of the library requirements file.
	Filename string `pulumi:"filename"`
}

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) 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

The content of library requirements.

func (SparkPoolLibraryRequirementOutput) ElementType added in v3.17.0

func (SparkPoolLibraryRequirementOutput) Filename added in v3.17.0

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

type SparkPoolLibraryRequirementPtrOutput added in v3.17.0

type SparkPoolLibraryRequirementPtrOutput struct{ *pulumi.OutputState }

func (SparkPoolLibraryRequirementPtrOutput) Content added in v3.17.0

The content of library requirements.

func (SparkPoolLibraryRequirementPtrOutput) Elem added in v3.17.0

func (SparkPoolLibraryRequirementPtrOutput) ElementType added in v3.17.0

func (SparkPoolLibraryRequirementPtrOutput) Filename added in v3.17.0

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

type SparkPoolOutput struct {
	*pulumi.OutputState
}

func (SparkPoolOutput) ElementType added in v3.31.1

func (SparkPoolOutput) ElementType() reflect.Type

func (SparkPoolOutput) ToSparkPoolOutput added in v3.31.1

func (o SparkPoolOutput) ToSparkPoolOutput() SparkPoolOutput

func (SparkPoolOutput) ToSparkPoolOutputWithContext added in v3.31.1

func (o SparkPoolOutput) ToSparkPoolOutputWithContext(ctx context.Context) SparkPoolOutput

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

type SqlPool struct {
	pulumi.CustomResourceState

	// The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created.
	Collation pulumi.StringOutput `pulumi:"collation"`
	// Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`.
	CreateMode    pulumi.StringPtrOutput `pulumi:"createMode"`
	DataEncrypted pulumi.BoolPtrOutput   `pulumi:"dataEncrypted"`
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrOutput `pulumi:"recoveryDatabaseId"`
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrOutput `pulumi:"restore"`
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Synapse Sql 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("BlobStorage"),
		})
		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.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Sql Pool can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPool:SqlPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1

```

func GetSqlPool added in v3.22.0

func GetSqlPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolState, opts ...pulumi.ResourceOption) (*SqlPool, error)

GetSqlPool gets an existing SqlPool 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 NewSqlPool added in v3.22.0

func NewSqlPool(ctx *pulumi.Context,
	name string, args *SqlPoolArgs, opts ...pulumi.ResourceOption) (*SqlPool, error)

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

func (SqlPool) ElementType added in v3.31.1

func (SqlPool) ElementType() reflect.Type

func (SqlPool) ToSqlPoolOutput added in v3.31.1

func (i SqlPool) ToSqlPoolOutput() SqlPoolOutput

func (SqlPool) ToSqlPoolOutputWithContext added in v3.31.1

func (i SqlPool) ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput

type SqlPoolArgs added in v3.22.0

type SqlPoolArgs struct {
	// The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created.
	Collation pulumi.StringPtrInput
	// Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`.
	CreateMode    pulumi.StringPtrInput
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringPtrInput
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrInput
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrInput
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringInput
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringInput
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a SqlPool resource.

func (SqlPoolArgs) ElementType added in v3.22.0

func (SqlPoolArgs) ElementType() reflect.Type

type SqlPoolInput added in v3.31.1

type SqlPoolInput interface {
	pulumi.Input

	ToSqlPoolOutput() SqlPoolOutput
	ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput
}

type SqlPoolOutput added in v3.31.1

type SqlPoolOutput struct {
	*pulumi.OutputState
}

func (SqlPoolOutput) ElementType added in v3.31.1

func (SqlPoolOutput) ElementType() reflect.Type

func (SqlPoolOutput) ToSqlPoolOutput added in v3.31.1

func (o SqlPoolOutput) ToSqlPoolOutput() SqlPoolOutput

func (SqlPoolOutput) ToSqlPoolOutputWithContext added in v3.31.1

func (o SqlPoolOutput) ToSqlPoolOutputWithContext(ctx context.Context) SqlPoolOutput

type SqlPoolRestore added in v3.22.0

type SqlPoolRestore struct {
	// Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.
	PointInTime string `pulumi:"pointInTime"`
	// The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.
	SourceDatabaseId string `pulumi:"sourceDatabaseId"`
}

type SqlPoolRestoreArgs added in v3.22.0

type SqlPoolRestoreArgs struct {
	// Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.
	PointInTime pulumi.StringInput `pulumi:"pointInTime"`
	// The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.
	SourceDatabaseId pulumi.StringInput `pulumi:"sourceDatabaseId"`
}

func (SqlPoolRestoreArgs) ElementType added in v3.22.0

func (SqlPoolRestoreArgs) ElementType() reflect.Type

func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutput added in v3.22.0

func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput

func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext added in v3.22.0

func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput

func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput added in v3.22.0

func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext added in v3.22.0

func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput

type SqlPoolRestoreInput added in v3.22.0

type SqlPoolRestoreInput interface {
	pulumi.Input

	ToSqlPoolRestoreOutput() SqlPoolRestoreOutput
	ToSqlPoolRestoreOutputWithContext(context.Context) SqlPoolRestoreOutput
}

SqlPoolRestoreInput is an input type that accepts SqlPoolRestoreArgs and SqlPoolRestoreOutput values. You can construct a concrete instance of `SqlPoolRestoreInput` via:

SqlPoolRestoreArgs{...}

type SqlPoolRestoreOutput added in v3.22.0

type SqlPoolRestoreOutput struct{ *pulumi.OutputState }

func (SqlPoolRestoreOutput) ElementType added in v3.22.0

func (SqlPoolRestoreOutput) ElementType() reflect.Type

func (SqlPoolRestoreOutput) PointInTime added in v3.22.0

func (o SqlPoolRestoreOutput) PointInTime() pulumi.StringOutput

Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.

func (SqlPoolRestoreOutput) SourceDatabaseId added in v3.22.0

func (o SqlPoolRestoreOutput) SourceDatabaseId() pulumi.StringOutput

The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.

func (SqlPoolRestoreOutput) ToSqlPoolRestoreOutput added in v3.22.0

func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput

func (SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext added in v3.22.0

func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext(ctx context.Context) SqlPoolRestoreOutput

func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput added in v3.22.0

func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext added in v3.22.0

func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput

type SqlPoolRestorePtrInput added in v3.22.0

type SqlPoolRestorePtrInput interface {
	pulumi.Input

	ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput
	ToSqlPoolRestorePtrOutputWithContext(context.Context) SqlPoolRestorePtrOutput
}

SqlPoolRestorePtrInput is an input type that accepts SqlPoolRestoreArgs, SqlPoolRestorePtr and SqlPoolRestorePtrOutput values. You can construct a concrete instance of `SqlPoolRestorePtrInput` via:

        SqlPoolRestoreArgs{...}

or:

        nil

func SqlPoolRestorePtr added in v3.22.0

func SqlPoolRestorePtr(v *SqlPoolRestoreArgs) SqlPoolRestorePtrInput

type SqlPoolRestorePtrOutput added in v3.22.0

type SqlPoolRestorePtrOutput struct{ *pulumi.OutputState }

func (SqlPoolRestorePtrOutput) Elem added in v3.22.0

func (SqlPoolRestorePtrOutput) ElementType added in v3.22.0

func (SqlPoolRestorePtrOutput) ElementType() reflect.Type

func (SqlPoolRestorePtrOutput) PointInTime added in v3.22.0

Specifies the Snapshot time to restore. Changing this forces a new Synapse Sql Pool to be created.

func (SqlPoolRestorePtrOutput) SourceDatabaseId added in v3.22.0

func (o SqlPoolRestorePtrOutput) SourceDatabaseId() pulumi.StringPtrOutput

The ID of the Synapse Sql Pool or Sql Database which is to restore. Changing this forces a new Synapse Sql Pool to be created.

func (SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput added in v3.22.0

func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext added in v3.22.0

func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext(ctx context.Context) SqlPoolRestorePtrOutput

type SqlPoolState added in v3.22.0

type SqlPoolState struct {
	// The name of the collation to use with this pool, only applicable when `createMode` is set to `Default`. Azure default is `SQL_LATIN1_GENERAL_CP1_CI_AS`. Changing this forces a new resource to be created.
	Collation pulumi.StringPtrInput
	// Specifies how to create the Sql Pool. Valid values are: `Default`, `Recovery` or `PointInTimeRestore`. Must be `Default` to create a new database. Defaults to `Default`.
	CreateMode    pulumi.StringPtrInput
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringPtrInput
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrInput
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrInput
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringPtrInput
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapInput
}

func (SqlPoolState) ElementType added in v3.22.0

func (SqlPoolState) 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
	})
}

```

## Import

Synapse Workspace can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1

```

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.

func (Workspace) ElementType added in v3.31.1

func (Workspace) ElementType() reflect.Type

func (Workspace) ToWorkspaceOutput added in v3.31.1

func (i Workspace) ToWorkspaceOutput() WorkspaceOutput

func (Workspace) ToWorkspaceOutputWithContext added in v3.31.1

func (i Workspace) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput

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

The login name of the Azure AD Administrator of this Synapse Workspace.

func (WorkspaceAadAdminOutput) ObjectId

The object id of the Azure AD Administrator of this Synapse Workspace.

func (WorkspaceAadAdminOutput) TenantId

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

type WorkspaceAadAdminPtrOutput

type WorkspaceAadAdminPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminPtrOutput) Elem

func (WorkspaceAadAdminPtrOutput) ElementType

func (WorkspaceAadAdminPtrOutput) ElementType() reflect.Type

func (WorkspaceAadAdminPtrOutput) Login

The login name of the Azure AD Administrator of this Synapse Workspace.

func (WorkspaceAadAdminPtrOutput) ObjectId

The object id of the Azure AD Administrator of this Synapse Workspace.

func (WorkspaceAadAdminPtrOutput) TenantId

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) Index

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

The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.

func (WorkspaceIdentityOutput) TenantId

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

The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.

type WorkspaceInput added in v3.31.1

type WorkspaceInput interface {
	pulumi.Input

	ToWorkspaceOutput() WorkspaceOutput
	ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput
}

type WorkspaceOutput added in v3.31.1

type WorkspaceOutput struct {
	*pulumi.OutputState
}

func (WorkspaceOutput) ElementType added in v3.31.1

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) ToWorkspaceOutput added in v3.31.1

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext added in v3.31.1

func (o WorkspaceOutput) ToWorkspaceOutputWithContext(ctx context.Context) WorkspaceOutput

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

Jump to

Keyboard shortcuts

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