synapse

package
v5.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FirewallRule

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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.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

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

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

func (*FirewallRule) ElementType() reflect.Type

func (*FirewallRule) ToFirewallRuleOutput

func (i *FirewallRule) ToFirewallRuleOutput() FirewallRuleOutput

func (*FirewallRule) ToFirewallRuleOutputWithContext

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

type FirewallRuleArgs

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

func (FirewallRuleArgs) ElementType() reflect.Type

type FirewallRuleArray

type FirewallRuleArray []FirewallRuleInput

func (FirewallRuleArray) ElementType

func (FirewallRuleArray) ElementType() reflect.Type

func (FirewallRuleArray) ToFirewallRuleArrayOutput

func (i FirewallRuleArray) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArray) ToFirewallRuleArrayOutputWithContext

func (i FirewallRuleArray) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput

type FirewallRuleArrayInput

type FirewallRuleArrayInput interface {
	pulumi.Input

	ToFirewallRuleArrayOutput() FirewallRuleArrayOutput
	ToFirewallRuleArrayOutputWithContext(context.Context) FirewallRuleArrayOutput
}

FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values. You can construct a concrete instance of `FirewallRuleArrayInput` via:

FirewallRuleArray{ FirewallRuleArgs{...} }

type FirewallRuleArrayOutput

type FirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (FirewallRuleArrayOutput) ElementType

func (FirewallRuleArrayOutput) ElementType() reflect.Type

func (FirewallRuleArrayOutput) Index

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutput

func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutput() FirewallRuleArrayOutput

func (FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext

func (o FirewallRuleArrayOutput) ToFirewallRuleArrayOutputWithContext(ctx context.Context) FirewallRuleArrayOutput

type FirewallRuleInput

type FirewallRuleInput interface {
	pulumi.Input

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

type FirewallRuleMap

type FirewallRuleMap map[string]FirewallRuleInput

func (FirewallRuleMap) ElementType

func (FirewallRuleMap) ElementType() reflect.Type

func (FirewallRuleMap) ToFirewallRuleMapOutput

func (i FirewallRuleMap) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMap) ToFirewallRuleMapOutputWithContext

func (i FirewallRuleMap) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput

type FirewallRuleMapInput

type FirewallRuleMapInput interface {
	pulumi.Input

	ToFirewallRuleMapOutput() FirewallRuleMapOutput
	ToFirewallRuleMapOutputWithContext(context.Context) FirewallRuleMapOutput
}

FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values. You can construct a concrete instance of `FirewallRuleMapInput` via:

FirewallRuleMap{ "key": FirewallRuleArgs{...} }

type FirewallRuleMapOutput

type FirewallRuleMapOutput struct{ *pulumi.OutputState }

func (FirewallRuleMapOutput) ElementType

func (FirewallRuleMapOutput) ElementType() reflect.Type

func (FirewallRuleMapOutput) MapIndex

func (FirewallRuleMapOutput) ToFirewallRuleMapOutput

func (o FirewallRuleMapOutput) ToFirewallRuleMapOutput() FirewallRuleMapOutput

func (FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext

func (o FirewallRuleMapOutput) ToFirewallRuleMapOutputWithContext(ctx context.Context) FirewallRuleMapOutput

type FirewallRuleOutput

type FirewallRuleOutput struct{ *pulumi.OutputState }

func (FirewallRuleOutput) ElementType

func (FirewallRuleOutput) ElementType() reflect.Type

func (FirewallRuleOutput) EndIpAddress added in v5.5.0

func (o FirewallRuleOutput) EndIpAddress() pulumi.StringOutput

The ending IP address to allow through the firewall for this rule.

func (FirewallRuleOutput) Name added in v5.5.0

The Name of the firewall rule. Changing this forces a new resource to be created.

func (FirewallRuleOutput) StartIpAddress added in v5.5.0

func (o FirewallRuleOutput) StartIpAddress() pulumi.StringOutput

The starting IP address to allow through the firewall for this rule.

func (FirewallRuleOutput) SynapseWorkspaceId added in v5.5.0

func (o FirewallRuleOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace on which to create the Firewall Rule. Changing this forces a new resource to be created.

func (FirewallRuleOutput) ToFirewallRuleOutput

func (o FirewallRuleOutput) ToFirewallRuleOutput() FirewallRuleOutput

func (FirewallRuleOutput) ToFirewallRuleOutputWithContext

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

type FirewallRuleState

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

func (FirewallRuleState) ElementType() reflect.Type

type GetWorkspaceIdentity

type GetWorkspaceIdentity struct {
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity 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 GetWorkspaceIdentityArgs

type GetWorkspaceIdentityArgs struct {
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetWorkspaceIdentityArgs) ElementType

func (GetWorkspaceIdentityArgs) ElementType() reflect.Type

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput

func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext

func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput

type GetWorkspaceIdentityArray

type GetWorkspaceIdentityArray []GetWorkspaceIdentityInput

func (GetWorkspaceIdentityArray) ElementType

func (GetWorkspaceIdentityArray) ElementType() reflect.Type

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput

func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext

func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput

type GetWorkspaceIdentityArrayInput

type GetWorkspaceIdentityArrayInput interface {
	pulumi.Input

	ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput
	ToGetWorkspaceIdentityArrayOutputWithContext(context.Context) GetWorkspaceIdentityArrayOutput
}

GetWorkspaceIdentityArrayInput is an input type that accepts GetWorkspaceIdentityArray and GetWorkspaceIdentityArrayOutput values. You can construct a concrete instance of `GetWorkspaceIdentityArrayInput` via:

GetWorkspaceIdentityArray{ GetWorkspaceIdentityArgs{...} }

type GetWorkspaceIdentityArrayOutput

type GetWorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityArrayOutput) ElementType

func (GetWorkspaceIdentityArrayOutput) Index

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput

func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext

func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext(ctx context.Context) GetWorkspaceIdentityArrayOutput

type GetWorkspaceIdentityInput

type GetWorkspaceIdentityInput interface {
	pulumi.Input

	ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput
	ToGetWorkspaceIdentityOutputWithContext(context.Context) GetWorkspaceIdentityOutput
}

GetWorkspaceIdentityInput is an input type that accepts GetWorkspaceIdentityArgs and GetWorkspaceIdentityOutput values. You can construct a concrete instance of `GetWorkspaceIdentityInput` via:

GetWorkspaceIdentityArgs{...}

type GetWorkspaceIdentityOutput

type GetWorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityOutput) ElementType

func (GetWorkspaceIdentityOutput) ElementType() reflect.Type

func (GetWorkspaceIdentityOutput) IdentityIds added in v5.24.0

func (GetWorkspaceIdentityOutput) PrincipalId

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

func (GetWorkspaceIdentityOutput) TenantId

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

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput

func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext

func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext(ctx context.Context) GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityOutput) Type

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

type IntegrationRuntimeAzure

type IntegrationRuntimeAzure struct {
	pulumi.CustomResourceState

	// Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
	ComputeType pulumi.StringPtrOutput `pulumi:"computeType"`
	// Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
	CoreCount pulumi.IntPtrOutput `pulumi:"coreCount"`
	// Integration runtime description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The Azure Region where the Synapse Azure Integration Runtime should exist. Use `AutoResolve` to create an auto-resolve integration runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
	TimeToLiveMin pulumi.IntPtrOutput `pulumi:"timeToLiveMin"`
}

Manages a Synapse Azure Integration Runtime.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		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{
			Location:                        exampleResourceGroup.Location,
			ResourceGroupName:               exampleResourceGroup.Name,
			StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(),
			SqlAdministratorLogin:           pulumi.String("sqladminuser"),
			SqlAdministratorLoginPassword:   pulumi.String("H@Sh1CoR3!"),
			ManagedVirtualNetworkEnabled:    pulumi.Bool(true),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewIntegrationRuntimeAzure(ctx, "exampleIntegrationRuntimeAzure", &synapse.IntegrationRuntimeAzureArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			Location:           exampleResourceGroup.Location,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Azure Integration Runtimes can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/integrationRuntimeAzure:IntegrationRuntimeAzure example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationRuntimes/IntegrationRuntime1

```

func GetIntegrationRuntimeAzure

func GetIntegrationRuntimeAzure(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationRuntimeAzureState, opts ...pulumi.ResourceOption) (*IntegrationRuntimeAzure, error)

GetIntegrationRuntimeAzure gets an existing IntegrationRuntimeAzure 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 NewIntegrationRuntimeAzure

func NewIntegrationRuntimeAzure(ctx *pulumi.Context,
	name string, args *IntegrationRuntimeAzureArgs, opts ...pulumi.ResourceOption) (*IntegrationRuntimeAzure, error)

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

func (*IntegrationRuntimeAzure) ElementType

func (*IntegrationRuntimeAzure) ElementType() reflect.Type

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput

func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutputWithContext

func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput

type IntegrationRuntimeAzureArgs

type IntegrationRuntimeAzureArgs struct {
	// Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
	ComputeType pulumi.StringPtrInput
	// Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
	CoreCount pulumi.IntPtrInput
	// Integration runtime description.
	Description pulumi.StringPtrInput
	// The Azure Region where the Synapse Azure Integration Runtime should exist. Use `AutoResolve` to create an auto-resolve integration runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Name pulumi.StringPtrInput
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringInput
	// Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
	TimeToLiveMin pulumi.IntPtrInput
}

The set of arguments for constructing a IntegrationRuntimeAzure resource.

func (IntegrationRuntimeAzureArgs) ElementType

type IntegrationRuntimeAzureArray

type IntegrationRuntimeAzureArray []IntegrationRuntimeAzureInput

func (IntegrationRuntimeAzureArray) ElementType

func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput

func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput

func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext

func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput

type IntegrationRuntimeAzureArrayInput

type IntegrationRuntimeAzureArrayInput interface {
	pulumi.Input

	ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput
	ToIntegrationRuntimeAzureArrayOutputWithContext(context.Context) IntegrationRuntimeAzureArrayOutput
}

IntegrationRuntimeAzureArrayInput is an input type that accepts IntegrationRuntimeAzureArray and IntegrationRuntimeAzureArrayOutput values. You can construct a concrete instance of `IntegrationRuntimeAzureArrayInput` via:

IntegrationRuntimeAzureArray{ IntegrationRuntimeAzureArgs{...} }

type IntegrationRuntimeAzureArrayOutput

type IntegrationRuntimeAzureArrayOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureArrayOutput) ElementType

func (IntegrationRuntimeAzureArrayOutput) Index

func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput

func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput

func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext

func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext(ctx context.Context) IntegrationRuntimeAzureArrayOutput

type IntegrationRuntimeAzureInput

type IntegrationRuntimeAzureInput interface {
	pulumi.Input

	ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput
	ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput
}

type IntegrationRuntimeAzureMap

type IntegrationRuntimeAzureMap map[string]IntegrationRuntimeAzureInput

func (IntegrationRuntimeAzureMap) ElementType

func (IntegrationRuntimeAzureMap) ElementType() reflect.Type

func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput

func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput

func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext

func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput

type IntegrationRuntimeAzureMapInput

type IntegrationRuntimeAzureMapInput interface {
	pulumi.Input

	ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput
	ToIntegrationRuntimeAzureMapOutputWithContext(context.Context) IntegrationRuntimeAzureMapOutput
}

IntegrationRuntimeAzureMapInput is an input type that accepts IntegrationRuntimeAzureMap and IntegrationRuntimeAzureMapOutput values. You can construct a concrete instance of `IntegrationRuntimeAzureMapInput` via:

IntegrationRuntimeAzureMap{ "key": IntegrationRuntimeAzureArgs{...} }

type IntegrationRuntimeAzureMapOutput

type IntegrationRuntimeAzureMapOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureMapOutput) ElementType

func (IntegrationRuntimeAzureMapOutput) MapIndex

func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput

func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput

func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext

func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext(ctx context.Context) IntegrationRuntimeAzureMapOutput

type IntegrationRuntimeAzureOutput

type IntegrationRuntimeAzureOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureOutput) ComputeType added in v5.5.0

Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.

func (IntegrationRuntimeAzureOutput) CoreCount added in v5.5.0

Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.

func (IntegrationRuntimeAzureOutput) Description added in v5.5.0

Integration runtime description.

func (IntegrationRuntimeAzureOutput) ElementType

func (IntegrationRuntimeAzureOutput) Location added in v5.5.0

The Azure Region where the Synapse Azure Integration Runtime should exist. Use `AutoResolve` to create an auto-resolve integration runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.

func (IntegrationRuntimeAzureOutput) Name added in v5.5.0

The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.

func (IntegrationRuntimeAzureOutput) SynapseWorkspaceId added in v5.5.0

func (o IntegrationRuntimeAzureOutput) SynapseWorkspaceId() pulumi.StringOutput

The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.

func (IntegrationRuntimeAzureOutput) TimeToLiveMin added in v5.5.0

Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput

func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutputWithContext

func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutputWithContext(ctx context.Context) IntegrationRuntimeAzureOutput

type IntegrationRuntimeAzureState

type IntegrationRuntimeAzureState struct {
	// Compute type of the cluster which will execute data flow job. Valid values are `General`, `ComputeOptimized` and `MemoryOptimized`. Defaults to `General`.
	ComputeType pulumi.StringPtrInput
	// Core count of the cluster which will execute data flow job. Valid values are `8`, `16`, `32`, `48`, `80`, `144` and `272`. Defaults to `8`.
	CoreCount pulumi.IntPtrInput
	// Integration runtime description.
	Description pulumi.StringPtrInput
	// The Azure Region where the Synapse Azure Integration Runtime should exist. Use `AutoResolve` to create an auto-resolve integration runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Synapse Azure Integration Runtime. Changing this forces a new Synapse Azure Integration Runtime to be created.
	Name pulumi.StringPtrInput
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Azure Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
	// Time to live (in minutes) setting of the cluster which will execute data flow job. Defaults to `0`.
	TimeToLiveMin pulumi.IntPtrInput
}

func (IntegrationRuntimeAzureState) ElementType

type IntegrationRuntimeSelfHosted

type IntegrationRuntimeSelfHosted struct {
	pulumi.CustomResourceState

	// The primary integration runtime authentication key.
	AuthorizationKeyPrimary pulumi.StringOutput `pulumi:"authorizationKeyPrimary"`
	// The secondary integration runtime authentication key.
	AuthorizationKeySecondary pulumi.StringOutput `pulumi:"authorizationKeySecondary"`
	// Integration runtime description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
}

Manages a Synapse Self-hosted Integration Runtime.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		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{
			Location:                        exampleResourceGroup.Location,
			ResourceGroupName:               exampleResourceGroup.Name,
			StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(),
			SqlAdministratorLogin:           pulumi.String("sqladminuser"),
			SqlAdministratorLoginPassword:   pulumi.String("H@Sh1CoR3!"),
			ManagedVirtualNetworkEnabled:    pulumi.Bool(true),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewIntegrationRuntimeSelfHosted(ctx, "exampleIntegrationRuntimeSelfHosted", &synapse.IntegrationRuntimeSelfHostedArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Self-hosted Integration Runtimes can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationRuntimes/IntegrationRuntime1

```

func GetIntegrationRuntimeSelfHosted

func GetIntegrationRuntimeSelfHosted(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationRuntimeSelfHostedState, opts ...pulumi.ResourceOption) (*IntegrationRuntimeSelfHosted, error)

GetIntegrationRuntimeSelfHosted gets an existing IntegrationRuntimeSelfHosted 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 NewIntegrationRuntimeSelfHosted

func NewIntegrationRuntimeSelfHosted(ctx *pulumi.Context,
	name string, args *IntegrationRuntimeSelfHostedArgs, opts ...pulumi.ResourceOption) (*IntegrationRuntimeSelfHosted, error)

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

func (*IntegrationRuntimeSelfHosted) ElementType

func (*IntegrationRuntimeSelfHosted) ElementType() reflect.Type

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput

func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext

func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput

type IntegrationRuntimeSelfHostedArgs

type IntegrationRuntimeSelfHostedArgs struct {
	// Integration runtime description.
	Description pulumi.StringPtrInput
	// The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	Name pulumi.StringPtrInput
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringInput
}

The set of arguments for constructing a IntegrationRuntimeSelfHosted resource.

func (IntegrationRuntimeSelfHostedArgs) ElementType

type IntegrationRuntimeSelfHostedArray

type IntegrationRuntimeSelfHostedArray []IntegrationRuntimeSelfHostedInput

func (IntegrationRuntimeSelfHostedArray) ElementType

func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput

func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput

func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext

func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput

type IntegrationRuntimeSelfHostedArrayInput

type IntegrationRuntimeSelfHostedArrayInput interface {
	pulumi.Input

	ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput
	ToIntegrationRuntimeSelfHostedArrayOutputWithContext(context.Context) IntegrationRuntimeSelfHostedArrayOutput
}

IntegrationRuntimeSelfHostedArrayInput is an input type that accepts IntegrationRuntimeSelfHostedArray and IntegrationRuntimeSelfHostedArrayOutput values. You can construct a concrete instance of `IntegrationRuntimeSelfHostedArrayInput` via:

IntegrationRuntimeSelfHostedArray{ IntegrationRuntimeSelfHostedArgs{...} }

type IntegrationRuntimeSelfHostedArrayOutput

type IntegrationRuntimeSelfHostedArrayOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedArrayOutput) ElementType

func (IntegrationRuntimeSelfHostedArrayOutput) Index

func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput

func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput

func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext

func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedArrayOutput

type IntegrationRuntimeSelfHostedInput

type IntegrationRuntimeSelfHostedInput interface {
	pulumi.Input

	ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput
	ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput
}

type IntegrationRuntimeSelfHostedMap

type IntegrationRuntimeSelfHostedMap map[string]IntegrationRuntimeSelfHostedInput

func (IntegrationRuntimeSelfHostedMap) ElementType

func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput

func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput

func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext

func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput

type IntegrationRuntimeSelfHostedMapInput

type IntegrationRuntimeSelfHostedMapInput interface {
	pulumi.Input

	ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput
	ToIntegrationRuntimeSelfHostedMapOutputWithContext(context.Context) IntegrationRuntimeSelfHostedMapOutput
}

IntegrationRuntimeSelfHostedMapInput is an input type that accepts IntegrationRuntimeSelfHostedMap and IntegrationRuntimeSelfHostedMapOutput values. You can construct a concrete instance of `IntegrationRuntimeSelfHostedMapInput` via:

IntegrationRuntimeSelfHostedMap{ "key": IntegrationRuntimeSelfHostedArgs{...} }

type IntegrationRuntimeSelfHostedMapOutput

type IntegrationRuntimeSelfHostedMapOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedMapOutput) ElementType

func (IntegrationRuntimeSelfHostedMapOutput) MapIndex

func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput

func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput

func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext

func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedMapOutput

type IntegrationRuntimeSelfHostedOutput

type IntegrationRuntimeSelfHostedOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedOutput) AuthorizationKeyPrimary added in v5.5.0

func (o IntegrationRuntimeSelfHostedOutput) AuthorizationKeyPrimary() pulumi.StringOutput

The primary integration runtime authentication key.

func (IntegrationRuntimeSelfHostedOutput) AuthorizationKeySecondary added in v5.5.0

func (o IntegrationRuntimeSelfHostedOutput) AuthorizationKeySecondary() pulumi.StringOutput

The secondary integration runtime authentication key.

func (IntegrationRuntimeSelfHostedOutput) Description added in v5.5.0

Integration runtime description.

func (IntegrationRuntimeSelfHostedOutput) ElementType

func (IntegrationRuntimeSelfHostedOutput) Name added in v5.5.0

The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.

func (IntegrationRuntimeSelfHostedOutput) SynapseWorkspaceId added in v5.5.0

The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput

func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext

func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedOutput

type IntegrationRuntimeSelfHostedState

type IntegrationRuntimeSelfHostedState struct {
	// The primary integration runtime authentication key.
	AuthorizationKeyPrimary pulumi.StringPtrInput
	// The secondary integration runtime authentication key.
	AuthorizationKeySecondary pulumi.StringPtrInput
	// Integration runtime description.
	Description pulumi.StringPtrInput
	// The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	Name pulumi.StringPtrInput
	// The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (IntegrationRuntimeSelfHostedState) ElementType

type LinkedService

type LinkedService struct {
	pulumi.CustomResourceState

	// A map of additional properties to associate with the Synapse Linked Service.
	AdditionalProperties pulumi.StringMapOutput `pulumi:"additionalProperties"`
	// List of tags that can be used for describing the Synapse Linked Service.
	Annotations pulumi.StringArrayOutput `pulumi:"annotations"`
	// The description for the Synapse Linked Service.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A `integrationRuntime` block as defined below.
	IntegrationRuntime LinkedServiceIntegrationRuntimePtrOutput `pulumi:"integrationRuntime"`
	// The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of parameters to associate with the Synapse Linked Service.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// The type of data stores that will be connected to Synapse. Valid Values include `AmazonMWS`, `AmazonRdsForOracle`, `AmazonRdsForSqlServer`, `AmazonRedshift`, `AmazonS3`, `AzureBatch`,
	// `AzureBlobFS`, `AzureBlobStorage`, `AzureDataExplorer`, `AzureDataLakeAnalytics`, `AzureDataLakeStore`, `AzureDatabricks`, `AzureDatabricksDeltaLake`, `AzureFileStorage`, `AzureFunction`,
	// `AzureKeyVault`, `AzureML`, `AzureMLService`, `AzureMariaDB`, `AzureMySql`, `AzurePostgreSql`, `AzureSqlDW`, `AzureSqlDatabase`, `AzureSqlMI`, `AzureSearch`, `AzureStorage`,
	// `AzureTableStorage`, `Cassandra`, `CommonDataServiceForApps`, `Concur`, `CosmosDb`, `CosmosDbMongoDbApi`, `Couchbase`, `CustomDataSource`, `Db2`, `Drill`,
	// `Dynamics`, `DynamicsAX`, `DynamicsCrm`, `Eloqua`, `FileServer`, `FtpServer`, `GoogleAdWords`, `GoogleBigQuery`, `GoogleCloudStorage`, `Greenplum`, `HBase`, `HDInsight`,
	// `HDInsightOnDemand`, `HttpServer`, `Hdfs`, `Hive`, `Hubspot`, `Impala`, `Informix`, `Jira`, `LinkedService`, `Magento`, `MariaDB`, `Marketo`, `MicrosoftAccess`, `MongoDb`,
	// `MongoDbAtlas`, `MongoDbV2`, `MySql`, `Netezza`, `OData`, `Odbc`, `Office365`, `Oracle`, `OracleServiceCloud`, `Paypal`, `Phoenix`, `PostgreSql`, `Presto`, `QuickBooks`,
	// `Responsys`, `RestService`, `SqlServer`, `Salesforce`, `SalesforceMarketingCloud`, `SalesforceServiceCloud`, `SapBW`, `SapCloudForCustomer`, `SapEcc`, `SapHana`, `SapOpenHub`,
	// `SapTable`, `ServiceNow`, `Sftp`, `SharePointOnlineList`, `Shopify`, `Snowflake`, `Spark`, `Square`, `Sybase`, `Teradata`, `Vertica`, `Web`, `Xero`, `Zoho`.
	Type pulumi.StringOutput `pulumi:"type"`
	// A JSON object that contains the properties of the Synapse Linked Service.
	TypePropertiesJson pulumi.StringOutput `pulumi:"typePropertiesJson"`
}

Manages a Synapse Linked Service.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: 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!"),
			ManagedVirtualNetworkEnabled:    pulumi.Bool(true),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewLinkedService(ctx, "exampleLinkedService", &synapse.LinkedServiceArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			Type:               pulumi.String("AzureBlobStorage"),
			TypePropertiesJson: exampleAccount.PrimaryConnectionString.ApplyT(func(primaryConnectionString string) (string, error) {
				return fmt.Sprintf("{\n  \"connectionString\": \"%v\"\n}\n", primaryConnectionString), nil
			}).(pulumi.StringOutput),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleFirewallRule,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/linkedService:LinkedService example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/linkedServices/linkedservice1

```

func GetLinkedService

func GetLinkedService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LinkedServiceState, opts ...pulumi.ResourceOption) (*LinkedService, error)

GetLinkedService gets an existing LinkedService 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 NewLinkedService

func NewLinkedService(ctx *pulumi.Context,
	name string, args *LinkedServiceArgs, opts ...pulumi.ResourceOption) (*LinkedService, error)

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

func (*LinkedService) ElementType

func (*LinkedService) ElementType() reflect.Type

func (*LinkedService) ToLinkedServiceOutput

func (i *LinkedService) ToLinkedServiceOutput() LinkedServiceOutput

func (*LinkedService) ToLinkedServiceOutputWithContext

func (i *LinkedService) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput

type LinkedServiceArgs

type LinkedServiceArgs struct {
	// A map of additional properties to associate with the Synapse Linked Service.
	AdditionalProperties pulumi.StringMapInput
	// List of tags that can be used for describing the Synapse Linked Service.
	Annotations pulumi.StringArrayInput
	// The description for the Synapse Linked Service.
	Description pulumi.StringPtrInput
	// A `integrationRuntime` block as defined below.
	IntegrationRuntime LinkedServiceIntegrationRuntimePtrInput
	// The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created.
	Name pulumi.StringPtrInput
	// A map of parameters to associate with the Synapse Linked Service.
	Parameters pulumi.StringMapInput
	// The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created.
	SynapseWorkspaceId pulumi.StringInput
	// The type of data stores that will be connected to Synapse. Valid Values include `AmazonMWS`, `AmazonRdsForOracle`, `AmazonRdsForSqlServer`, `AmazonRedshift`, `AmazonS3`, `AzureBatch`,
	// `AzureBlobFS`, `AzureBlobStorage`, `AzureDataExplorer`, `AzureDataLakeAnalytics`, `AzureDataLakeStore`, `AzureDatabricks`, `AzureDatabricksDeltaLake`, `AzureFileStorage`, `AzureFunction`,
	// `AzureKeyVault`, `AzureML`, `AzureMLService`, `AzureMariaDB`, `AzureMySql`, `AzurePostgreSql`, `AzureSqlDW`, `AzureSqlDatabase`, `AzureSqlMI`, `AzureSearch`, `AzureStorage`,
	// `AzureTableStorage`, `Cassandra`, `CommonDataServiceForApps`, `Concur`, `CosmosDb`, `CosmosDbMongoDbApi`, `Couchbase`, `CustomDataSource`, `Db2`, `Drill`,
	// `Dynamics`, `DynamicsAX`, `DynamicsCrm`, `Eloqua`, `FileServer`, `FtpServer`, `GoogleAdWords`, `GoogleBigQuery`, `GoogleCloudStorage`, `Greenplum`, `HBase`, `HDInsight`,
	// `HDInsightOnDemand`, `HttpServer`, `Hdfs`, `Hive`, `Hubspot`, `Impala`, `Informix`, `Jira`, `LinkedService`, `Magento`, `MariaDB`, `Marketo`, `MicrosoftAccess`, `MongoDb`,
	// `MongoDbAtlas`, `MongoDbV2`, `MySql`, `Netezza`, `OData`, `Odbc`, `Office365`, `Oracle`, `OracleServiceCloud`, `Paypal`, `Phoenix`, `PostgreSql`, `Presto`, `QuickBooks`,
	// `Responsys`, `RestService`, `SqlServer`, `Salesforce`, `SalesforceMarketingCloud`, `SalesforceServiceCloud`, `SapBW`, `SapCloudForCustomer`, `SapEcc`, `SapHana`, `SapOpenHub`,
	// `SapTable`, `ServiceNow`, `Sftp`, `SharePointOnlineList`, `Shopify`, `Snowflake`, `Spark`, `Square`, `Sybase`, `Teradata`, `Vertica`, `Web`, `Xero`, `Zoho`.
	Type pulumi.StringInput
	// A JSON object that contains the properties of the Synapse Linked Service.
	TypePropertiesJson pulumi.StringInput
}

The set of arguments for constructing a LinkedService resource.

func (LinkedServiceArgs) ElementType

func (LinkedServiceArgs) ElementType() reflect.Type

type LinkedServiceArray

type LinkedServiceArray []LinkedServiceInput

func (LinkedServiceArray) ElementType

func (LinkedServiceArray) ElementType() reflect.Type

func (LinkedServiceArray) ToLinkedServiceArrayOutput

func (i LinkedServiceArray) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArray) ToLinkedServiceArrayOutputWithContext

func (i LinkedServiceArray) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput

type LinkedServiceArrayInput

type LinkedServiceArrayInput interface {
	pulumi.Input

	ToLinkedServiceArrayOutput() LinkedServiceArrayOutput
	ToLinkedServiceArrayOutputWithContext(context.Context) LinkedServiceArrayOutput
}

LinkedServiceArrayInput is an input type that accepts LinkedServiceArray and LinkedServiceArrayOutput values. You can construct a concrete instance of `LinkedServiceArrayInput` via:

LinkedServiceArray{ LinkedServiceArgs{...} }

type LinkedServiceArrayOutput

type LinkedServiceArrayOutput struct{ *pulumi.OutputState }

func (LinkedServiceArrayOutput) ElementType

func (LinkedServiceArrayOutput) ElementType() reflect.Type

func (LinkedServiceArrayOutput) Index

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutput

func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext

func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext(ctx context.Context) LinkedServiceArrayOutput

type LinkedServiceInput

type LinkedServiceInput interface {
	pulumi.Input

	ToLinkedServiceOutput() LinkedServiceOutput
	ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput
}

type LinkedServiceIntegrationRuntime

type LinkedServiceIntegrationRuntime struct {
	// The integration runtime reference to associate with the Synapse Linked Service.
	Name string `pulumi:"name"`
	// A map of parameters to associate with the integration runtime.
	Parameters map[string]string `pulumi:"parameters"`
}

type LinkedServiceIntegrationRuntimeArgs

type LinkedServiceIntegrationRuntimeArgs struct {
	// The integration runtime reference to associate with the Synapse Linked Service.
	Name pulumi.StringInput `pulumi:"name"`
	// A map of parameters to associate with the integration runtime.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
}

func (LinkedServiceIntegrationRuntimeArgs) ElementType

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput

type LinkedServiceIntegrationRuntimeInput

type LinkedServiceIntegrationRuntimeInput interface {
	pulumi.Input

	ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput
	ToLinkedServiceIntegrationRuntimeOutputWithContext(context.Context) LinkedServiceIntegrationRuntimeOutput
}

LinkedServiceIntegrationRuntimeInput is an input type that accepts LinkedServiceIntegrationRuntimeArgs and LinkedServiceIntegrationRuntimeOutput values. You can construct a concrete instance of `LinkedServiceIntegrationRuntimeInput` via:

LinkedServiceIntegrationRuntimeArgs{...}

type LinkedServiceIntegrationRuntimeOutput

type LinkedServiceIntegrationRuntimeOutput struct{ *pulumi.OutputState }

func (LinkedServiceIntegrationRuntimeOutput) ElementType

func (LinkedServiceIntegrationRuntimeOutput) Name

The integration runtime reference to associate with the Synapse Linked Service.

func (LinkedServiceIntegrationRuntimeOutput) Parameters

A map of parameters to associate with the integration runtime.

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput

type LinkedServiceIntegrationRuntimePtrInput

type LinkedServiceIntegrationRuntimePtrInput interface {
	pulumi.Input

	ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput
	ToLinkedServiceIntegrationRuntimePtrOutputWithContext(context.Context) LinkedServiceIntegrationRuntimePtrOutput
}

LinkedServiceIntegrationRuntimePtrInput is an input type that accepts LinkedServiceIntegrationRuntimeArgs, LinkedServiceIntegrationRuntimePtr and LinkedServiceIntegrationRuntimePtrOutput values. You can construct a concrete instance of `LinkedServiceIntegrationRuntimePtrInput` via:

        LinkedServiceIntegrationRuntimeArgs{...}

or:

        nil

type LinkedServiceIntegrationRuntimePtrOutput

type LinkedServiceIntegrationRuntimePtrOutput struct{ *pulumi.OutputState }

func (LinkedServiceIntegrationRuntimePtrOutput) Elem

func (LinkedServiceIntegrationRuntimePtrOutput) ElementType

func (LinkedServiceIntegrationRuntimePtrOutput) Name

The integration runtime reference to associate with the Synapse Linked Service.

func (LinkedServiceIntegrationRuntimePtrOutput) Parameters

A map of parameters to associate with the integration runtime.

func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput

func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext

func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext(ctx context.Context) LinkedServiceIntegrationRuntimePtrOutput

type LinkedServiceMap

type LinkedServiceMap map[string]LinkedServiceInput

func (LinkedServiceMap) ElementType

func (LinkedServiceMap) ElementType() reflect.Type

func (LinkedServiceMap) ToLinkedServiceMapOutput

func (i LinkedServiceMap) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMap) ToLinkedServiceMapOutputWithContext

func (i LinkedServiceMap) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput

type LinkedServiceMapInput

type LinkedServiceMapInput interface {
	pulumi.Input

	ToLinkedServiceMapOutput() LinkedServiceMapOutput
	ToLinkedServiceMapOutputWithContext(context.Context) LinkedServiceMapOutput
}

LinkedServiceMapInput is an input type that accepts LinkedServiceMap and LinkedServiceMapOutput values. You can construct a concrete instance of `LinkedServiceMapInput` via:

LinkedServiceMap{ "key": LinkedServiceArgs{...} }

type LinkedServiceMapOutput

type LinkedServiceMapOutput struct{ *pulumi.OutputState }

func (LinkedServiceMapOutput) ElementType

func (LinkedServiceMapOutput) ElementType() reflect.Type

func (LinkedServiceMapOutput) MapIndex

func (LinkedServiceMapOutput) ToLinkedServiceMapOutput

func (o LinkedServiceMapOutput) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext

func (o LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext(ctx context.Context) LinkedServiceMapOutput

type LinkedServiceOutput

type LinkedServiceOutput struct{ *pulumi.OutputState }

func (LinkedServiceOutput) AdditionalProperties added in v5.5.0

func (o LinkedServiceOutput) AdditionalProperties() pulumi.StringMapOutput

A map of additional properties to associate with the Synapse Linked Service.

func (LinkedServiceOutput) Annotations added in v5.5.0

List of tags that can be used for describing the Synapse Linked Service.

func (LinkedServiceOutput) Description added in v5.5.0

func (o LinkedServiceOutput) Description() pulumi.StringPtrOutput

The description for the Synapse Linked Service.

func (LinkedServiceOutput) ElementType

func (LinkedServiceOutput) ElementType() reflect.Type

func (LinkedServiceOutput) IntegrationRuntime added in v5.5.0

A `integrationRuntime` block as defined below.

func (LinkedServiceOutput) Name added in v5.5.0

The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created.

func (LinkedServiceOutput) Parameters added in v5.5.0

A map of parameters to associate with the Synapse Linked Service.

func (LinkedServiceOutput) SynapseWorkspaceId added in v5.5.0

func (o LinkedServiceOutput) SynapseWorkspaceId() pulumi.StringOutput

The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created.

func (LinkedServiceOutput) ToLinkedServiceOutput

func (o LinkedServiceOutput) ToLinkedServiceOutput() LinkedServiceOutput

func (LinkedServiceOutput) ToLinkedServiceOutputWithContext

func (o LinkedServiceOutput) ToLinkedServiceOutputWithContext(ctx context.Context) LinkedServiceOutput

func (LinkedServiceOutput) Type added in v5.5.0

The type of data stores that will be connected to Synapse. Valid Values include `AmazonMWS`, `AmazonRdsForOracle`, `AmazonRdsForSqlServer`, `AmazonRedshift`, `AmazonS3`, `AzureBatch`, `AzureBlobFS`, `AzureBlobStorage`, `AzureDataExplorer`, `AzureDataLakeAnalytics`, `AzureDataLakeStore`, `AzureDatabricks`, `AzureDatabricksDeltaLake`, `AzureFileStorage`, `AzureFunction`, `AzureKeyVault`, `AzureML`, `AzureMLService`, `AzureMariaDB`, `AzureMySql`, `AzurePostgreSql`, `AzureSqlDW`, `AzureSqlDatabase`, `AzureSqlMI`, `AzureSearch`, `AzureStorage`, `AzureTableStorage`, `Cassandra`, `CommonDataServiceForApps`, `Concur`, `CosmosDb`, `CosmosDbMongoDbApi`, `Couchbase`, `CustomDataSource`, `Db2`, `Drill`, `Dynamics`, `DynamicsAX`, `DynamicsCrm`, `Eloqua`, `FileServer`, `FtpServer`, `GoogleAdWords`, `GoogleBigQuery`, `GoogleCloudStorage`, `Greenplum`, `HBase`, `HDInsight`, `HDInsightOnDemand`, `HttpServer`, `Hdfs`, `Hive`, `Hubspot`, `Impala`, `Informix`, `Jira`, `LinkedService`, `Magento`, `MariaDB`, `Marketo`, `MicrosoftAccess`, `MongoDb`, `MongoDbAtlas`, `MongoDbV2`, `MySql`, `Netezza`, `OData`, `Odbc`, `Office365`, `Oracle`, `OracleServiceCloud`, `Paypal`, `Phoenix`, `PostgreSql`, `Presto`, `QuickBooks`, `Responsys`, `RestService`, `SqlServer`, `Salesforce`, `SalesforceMarketingCloud`, `SalesforceServiceCloud`, `SapBW`, `SapCloudForCustomer`, `SapEcc`, `SapHana`, `SapOpenHub`, `SapTable`, `ServiceNow`, `Sftp`, `SharePointOnlineList`, `Shopify`, `Snowflake`, `Spark`, `Square`, `Sybase`, `Teradata`, `Vertica`, `Web`, `Xero`, `Zoho`.

func (LinkedServiceOutput) TypePropertiesJson added in v5.5.0

func (o LinkedServiceOutput) TypePropertiesJson() pulumi.StringOutput

A JSON object that contains the properties of the Synapse Linked Service.

type LinkedServiceState

type LinkedServiceState struct {
	// A map of additional properties to associate with the Synapse Linked Service.
	AdditionalProperties pulumi.StringMapInput
	// List of tags that can be used for describing the Synapse Linked Service.
	Annotations pulumi.StringArrayInput
	// The description for the Synapse Linked Service.
	Description pulumi.StringPtrInput
	// A `integrationRuntime` block as defined below.
	IntegrationRuntime LinkedServiceIntegrationRuntimePtrInput
	// The name which should be used for this Synapse Linked Service. Changing this forces a new Synapse Linked Service to be created.
	Name pulumi.StringPtrInput
	// A map of parameters to associate with the Synapse Linked Service.
	Parameters pulumi.StringMapInput
	// The Synapse Workspace ID in which to associate the Linked Service with. Changing this forces a new Synapse Linked Service to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
	// The type of data stores that will be connected to Synapse. Valid Values include `AmazonMWS`, `AmazonRdsForOracle`, `AmazonRdsForSqlServer`, `AmazonRedshift`, `AmazonS3`, `AzureBatch`,
	// `AzureBlobFS`, `AzureBlobStorage`, `AzureDataExplorer`, `AzureDataLakeAnalytics`, `AzureDataLakeStore`, `AzureDatabricks`, `AzureDatabricksDeltaLake`, `AzureFileStorage`, `AzureFunction`,
	// `AzureKeyVault`, `AzureML`, `AzureMLService`, `AzureMariaDB`, `AzureMySql`, `AzurePostgreSql`, `AzureSqlDW`, `AzureSqlDatabase`, `AzureSqlMI`, `AzureSearch`, `AzureStorage`,
	// `AzureTableStorage`, `Cassandra`, `CommonDataServiceForApps`, `Concur`, `CosmosDb`, `CosmosDbMongoDbApi`, `Couchbase`, `CustomDataSource`, `Db2`, `Drill`,
	// `Dynamics`, `DynamicsAX`, `DynamicsCrm`, `Eloqua`, `FileServer`, `FtpServer`, `GoogleAdWords`, `GoogleBigQuery`, `GoogleCloudStorage`, `Greenplum`, `HBase`, `HDInsight`,
	// `HDInsightOnDemand`, `HttpServer`, `Hdfs`, `Hive`, `Hubspot`, `Impala`, `Informix`, `Jira`, `LinkedService`, `Magento`, `MariaDB`, `Marketo`, `MicrosoftAccess`, `MongoDb`,
	// `MongoDbAtlas`, `MongoDbV2`, `MySql`, `Netezza`, `OData`, `Odbc`, `Office365`, `Oracle`, `OracleServiceCloud`, `Paypal`, `Phoenix`, `PostgreSql`, `Presto`, `QuickBooks`,
	// `Responsys`, `RestService`, `SqlServer`, `Salesforce`, `SalesforceMarketingCloud`, `SalesforceServiceCloud`, `SapBW`, `SapCloudForCustomer`, `SapEcc`, `SapHana`, `SapOpenHub`,
	// `SapTable`, `ServiceNow`, `Sftp`, `SharePointOnlineList`, `Shopify`, `Snowflake`, `Spark`, `Square`, `Sybase`, `Teradata`, `Vertica`, `Web`, `Xero`, `Zoho`.
	Type pulumi.StringPtrInput
	// A JSON object that contains the properties of the Synapse Linked Service.
	TypePropertiesJson pulumi.StringPtrInput
}

func (LinkedServiceState) ElementType

func (LinkedServiceState) 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 LookupWorkspaceOutputArgs

type LookupWorkspaceOutputArgs struct {
	// The name of this Synapse Workspace.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Synapse Workspace exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getWorkspace.

func (LookupWorkspaceOutputArgs) ElementType

func (LookupWorkspaceOutputArgs) ElementType() reflect.Type

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"`
	// An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace.
	Identities []GetWorkspaceIdentity `pulumi:"identities"`
	// 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/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/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 LookupWorkspaceResultOutput

type LookupWorkspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWorkspace.

func (LookupWorkspaceResultOutput) ConnectivityEndpoints

func (o LookupWorkspaceResultOutput) ConnectivityEndpoints() pulumi.StringMapOutput

A list of Connectivity endpoints for this Synapse Workspace.

func (LookupWorkspaceResultOutput) ElementType

func (LookupWorkspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupWorkspaceResultOutput) Identities

An `identity` block as defined below, which contains the Managed Service Identity information for this Synapse Workspace.

func (LookupWorkspaceResultOutput) Location

The Azure location where the Synapse Workspace exists.

func (LookupWorkspaceResultOutput) Name

func (LookupWorkspaceResultOutput) ResourceGroupName

func (o LookupWorkspaceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupWorkspaceResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput

func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext

func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext(ctx context.Context) LookupWorkspaceResultOutput

type ManagedPrivateEndpoint

type ManagedPrivateEndpoint struct {
	pulumi.CustomResourceState

	// Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringOutput `pulumi:"subresourceName"`
	// The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
}

Manages a Synapse Managed Private Endpoint.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			ManagedVirtualNetworkEnabled:    pulumi.Bool(true),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		exampleConnect, err := storage.NewAccount(ctx, "exampleConnect", &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
		}
		_, err = synapse.NewManagedPrivateEndpoint(ctx, "exampleManagedPrivateEndpoint", &synapse.ManagedPrivateEndpointArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			TargetResourceId:   exampleConnect.ID(),
			SubresourceName:    pulumi.String("blob"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleFirewallRule,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Managed Private Endpoint can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/managedPrivateEndpoint:ManagedPrivateEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/managedVirtualNetworks/default/managedPrivateEndpoints/endpoint1

```

func GetManagedPrivateEndpoint

func GetManagedPrivateEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedPrivateEndpointState, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)

GetManagedPrivateEndpoint gets an existing ManagedPrivateEndpoint 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 NewManagedPrivateEndpoint

func NewManagedPrivateEndpoint(ctx *pulumi.Context,
	name string, args *ManagedPrivateEndpointArgs, opts ...pulumi.ResourceOption) (*ManagedPrivateEndpoint, error)

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

func (*ManagedPrivateEndpoint) ElementType

func (*ManagedPrivateEndpoint) ElementType() reflect.Type

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput

type ManagedPrivateEndpointArgs

type ManagedPrivateEndpointArgs struct {
	// Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringInput
	// The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringInput
	// The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringInput
}

The set of arguments for constructing a ManagedPrivateEndpoint resource.

func (ManagedPrivateEndpointArgs) ElementType

func (ManagedPrivateEndpointArgs) ElementType() reflect.Type

type ManagedPrivateEndpointArray

type ManagedPrivateEndpointArray []ManagedPrivateEndpointInput

func (ManagedPrivateEndpointArray) ElementType

func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput

func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput

func (ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext

func (i ManagedPrivateEndpointArray) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointArrayInput

type ManagedPrivateEndpointArrayInput interface {
	pulumi.Input

	ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput
	ToManagedPrivateEndpointArrayOutputWithContext(context.Context) ManagedPrivateEndpointArrayOutput
}

ManagedPrivateEndpointArrayInput is an input type that accepts ManagedPrivateEndpointArray and ManagedPrivateEndpointArrayOutput values. You can construct a concrete instance of `ManagedPrivateEndpointArrayInput` via:

ManagedPrivateEndpointArray{ ManagedPrivateEndpointArgs{...} }

type ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointArrayOutput) ElementType

func (ManagedPrivateEndpointArrayOutput) Index

func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput

func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutput() ManagedPrivateEndpointArrayOutput

func (ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext

func (o ManagedPrivateEndpointArrayOutput) ToManagedPrivateEndpointArrayOutputWithContext(ctx context.Context) ManagedPrivateEndpointArrayOutput

type ManagedPrivateEndpointInput

type ManagedPrivateEndpointInput interface {
	pulumi.Input

	ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput
	ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput
}

type ManagedPrivateEndpointMap

type ManagedPrivateEndpointMap map[string]ManagedPrivateEndpointInput

func (ManagedPrivateEndpointMap) ElementType

func (ManagedPrivateEndpointMap) ElementType() reflect.Type

func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput

func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput

func (ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext

func (i ManagedPrivateEndpointMap) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointMapInput

type ManagedPrivateEndpointMapInput interface {
	pulumi.Input

	ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput
	ToManagedPrivateEndpointMapOutputWithContext(context.Context) ManagedPrivateEndpointMapOutput
}

ManagedPrivateEndpointMapInput is an input type that accepts ManagedPrivateEndpointMap and ManagedPrivateEndpointMapOutput values. You can construct a concrete instance of `ManagedPrivateEndpointMapInput` via:

ManagedPrivateEndpointMap{ "key": ManagedPrivateEndpointArgs{...} }

type ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointMapOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointMapOutput) ElementType

func (ManagedPrivateEndpointMapOutput) MapIndex

func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput

func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutput() ManagedPrivateEndpointMapOutput

func (ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext

func (o ManagedPrivateEndpointMapOutput) ToManagedPrivateEndpointMapOutputWithContext(ctx context.Context) ManagedPrivateEndpointMapOutput

type ManagedPrivateEndpointOutput

type ManagedPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointOutput) ElementType

func (ManagedPrivateEndpointOutput) Name added in v5.5.0

Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) SubresourceName added in v5.5.0

func (o ManagedPrivateEndpointOutput) SubresourceName() pulumi.StringOutput

Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) SynapseWorkspaceId added in v5.5.0

func (o ManagedPrivateEndpointOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) TargetResourceId added in v5.5.0

func (o ManagedPrivateEndpointOutput) TargetResourceId() pulumi.StringOutput

The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created.

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutput() ManagedPrivateEndpointOutput

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointOutputWithContext(ctx context.Context) ManagedPrivateEndpointOutput

type ManagedPrivateEndpointState

type ManagedPrivateEndpointState struct {
	// Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created.
	SubresourceName pulumi.StringPtrInput
	// The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
	// The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringPtrInput
}

func (ManagedPrivateEndpointState) ElementType

type PrivateLinkHub

type PrivateLinkHub struct {
	pulumi.CustomResourceState

	// Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Synapse Private Link Hub.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Synapse Private Link Hub.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := synapse.NewPrivateLinkHub(ctx, "example", &synapse.PrivateLinkHubArgs{
			Location:          pulumi.String("West Europe"),
			ResourceGroupName: pulumi.String("example-rg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse Private Link Hub can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/privateLinkHub:PrivateLinkHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1

```

func GetPrivateLinkHub

func GetPrivateLinkHub(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateLinkHubState, opts ...pulumi.ResourceOption) (*PrivateLinkHub, error)

GetPrivateLinkHub gets an existing PrivateLinkHub 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 NewPrivateLinkHub

func NewPrivateLinkHub(ctx *pulumi.Context,
	name string, args *PrivateLinkHubArgs, opts ...pulumi.ResourceOption) (*PrivateLinkHub, error)

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

func (*PrivateLinkHub) ElementType

func (*PrivateLinkHub) ElementType() reflect.Type

func (*PrivateLinkHub) ToPrivateLinkHubOutput

func (i *PrivateLinkHub) ToPrivateLinkHubOutput() PrivateLinkHubOutput

func (*PrivateLinkHub) ToPrivateLinkHubOutputWithContext

func (i *PrivateLinkHub) ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput

type PrivateLinkHubArgs

type PrivateLinkHubArgs struct {
	// Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Synapse Private Link Hub.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a PrivateLinkHub resource.

func (PrivateLinkHubArgs) ElementType

func (PrivateLinkHubArgs) ElementType() reflect.Type

type PrivateLinkHubArray

type PrivateLinkHubArray []PrivateLinkHubInput

func (PrivateLinkHubArray) ElementType

func (PrivateLinkHubArray) ElementType() reflect.Type

func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutput

func (i PrivateLinkHubArray) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput

func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutputWithContext

func (i PrivateLinkHubArray) ToPrivateLinkHubArrayOutputWithContext(ctx context.Context) PrivateLinkHubArrayOutput

type PrivateLinkHubArrayInput

type PrivateLinkHubArrayInput interface {
	pulumi.Input

	ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput
	ToPrivateLinkHubArrayOutputWithContext(context.Context) PrivateLinkHubArrayOutput
}

PrivateLinkHubArrayInput is an input type that accepts PrivateLinkHubArray and PrivateLinkHubArrayOutput values. You can construct a concrete instance of `PrivateLinkHubArrayInput` via:

PrivateLinkHubArray{ PrivateLinkHubArgs{...} }

type PrivateLinkHubArrayOutput

type PrivateLinkHubArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubArrayOutput) ElementType

func (PrivateLinkHubArrayOutput) ElementType() reflect.Type

func (PrivateLinkHubArrayOutput) Index

func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput

func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput

func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext

func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext(ctx context.Context) PrivateLinkHubArrayOutput

type PrivateLinkHubInput

type PrivateLinkHubInput interface {
	pulumi.Input

	ToPrivateLinkHubOutput() PrivateLinkHubOutput
	ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput
}

type PrivateLinkHubMap

type PrivateLinkHubMap map[string]PrivateLinkHubInput

func (PrivateLinkHubMap) ElementType

func (PrivateLinkHubMap) ElementType() reflect.Type

func (PrivateLinkHubMap) ToPrivateLinkHubMapOutput

func (i PrivateLinkHubMap) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput

func (PrivateLinkHubMap) ToPrivateLinkHubMapOutputWithContext

func (i PrivateLinkHubMap) ToPrivateLinkHubMapOutputWithContext(ctx context.Context) PrivateLinkHubMapOutput

type PrivateLinkHubMapInput

type PrivateLinkHubMapInput interface {
	pulumi.Input

	ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput
	ToPrivateLinkHubMapOutputWithContext(context.Context) PrivateLinkHubMapOutput
}

PrivateLinkHubMapInput is an input type that accepts PrivateLinkHubMap and PrivateLinkHubMapOutput values. You can construct a concrete instance of `PrivateLinkHubMapInput` via:

PrivateLinkHubMap{ "key": PrivateLinkHubArgs{...} }

type PrivateLinkHubMapOutput

type PrivateLinkHubMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubMapOutput) ElementType

func (PrivateLinkHubMapOutput) ElementType() reflect.Type

func (PrivateLinkHubMapOutput) MapIndex

func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput

func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput

func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext

func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext(ctx context.Context) PrivateLinkHubMapOutput

type PrivateLinkHubOutput

type PrivateLinkHubOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubOutput) ElementType

func (PrivateLinkHubOutput) ElementType() reflect.Type

func (PrivateLinkHubOutput) Location added in v5.5.0

Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created.

func (PrivateLinkHubOutput) Name added in v5.5.0

The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created.

func (PrivateLinkHubOutput) ResourceGroupName added in v5.5.0

func (o PrivateLinkHubOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created.

func (PrivateLinkHubOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Synapse Private Link Hub.

func (PrivateLinkHubOutput) ToPrivateLinkHubOutput

func (o PrivateLinkHubOutput) ToPrivateLinkHubOutput() PrivateLinkHubOutput

func (PrivateLinkHubOutput) ToPrivateLinkHubOutputWithContext

func (o PrivateLinkHubOutput) ToPrivateLinkHubOutputWithContext(ctx context.Context) PrivateLinkHubOutput

type PrivateLinkHubState

type PrivateLinkHubState struct {
	// Specifies the Azure location where the Synapse Private Link Hub exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for this Synapse Private Link Hub. Changing this forces a new Synapse Private Link Hub to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Synapse Private Link Hub. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Synapse Private Link Hub.
	Tags pulumi.StringMapInput
}

func (PrivateLinkHubState) ElementType

func (PrivateLinkHubState) ElementType() reflect.Type

type RoleAssignment

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 Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseSparkPoolId pulumi.StringPtrOutput `pulumi:"synapseSparkPoolId"`
	// The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrOutput `pulumi:"synapseWorkspaceId"`
}

Manages a Synapse Role Assignment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: exampleWorkspace.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("Synapse SQL Administrator"),
			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

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

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

func (*RoleAssignment) ElementType() reflect.Type

func (*RoleAssignment) ToRoleAssignmentOutput

func (i *RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput

func (*RoleAssignment) ToRoleAssignmentOutputWithContext

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

type RoleAssignmentArgs

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 Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseSparkPoolId pulumi.StringPtrInput
	// The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

The set of arguments for constructing a RoleAssignment resource.

func (RoleAssignmentArgs) ElementType

func (RoleAssignmentArgs) ElementType() reflect.Type

type RoleAssignmentArray

type RoleAssignmentArray []RoleAssignmentInput

func (RoleAssignmentArray) ElementType

func (RoleAssignmentArray) ElementType() reflect.Type

func (RoleAssignmentArray) ToRoleAssignmentArrayOutput

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentArrayInput

type RoleAssignmentArrayInput interface {
	pulumi.Input

	ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
	ToRoleAssignmentArrayOutputWithContext(context.Context) RoleAssignmentArrayOutput
}

RoleAssignmentArrayInput is an input type that accepts RoleAssignmentArray and RoleAssignmentArrayOutput values. You can construct a concrete instance of `RoleAssignmentArrayInput` via:

RoleAssignmentArray{ RoleAssignmentArgs{...} }

type RoleAssignmentArrayOutput

type RoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (RoleAssignmentArrayOutput) ElementType

func (RoleAssignmentArrayOutput) ElementType() reflect.Type

func (RoleAssignmentArrayOutput) Index

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentInput

type RoleAssignmentInput interface {
	pulumi.Input

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

type RoleAssignmentMap

type RoleAssignmentMap map[string]RoleAssignmentInput

func (RoleAssignmentMap) ElementType

func (RoleAssignmentMap) ElementType() reflect.Type

func (RoleAssignmentMap) ToRoleAssignmentMapOutput

func (i RoleAssignmentMap) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext

func (i RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentMapInput

type RoleAssignmentMapInput interface {
	pulumi.Input

	ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
	ToRoleAssignmentMapOutputWithContext(context.Context) RoleAssignmentMapOutput
}

RoleAssignmentMapInput is an input type that accepts RoleAssignmentMap and RoleAssignmentMapOutput values. You can construct a concrete instance of `RoleAssignmentMapInput` via:

RoleAssignmentMap{ "key": RoleAssignmentArgs{...} }

type RoleAssignmentMapOutput

type RoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (RoleAssignmentMapOutput) ElementType

func (RoleAssignmentMapOutput) ElementType() reflect.Type

func (RoleAssignmentMapOutput) MapIndex

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutput

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentOutput

type RoleAssignmentOutput struct{ *pulumi.OutputState }

func (RoleAssignmentOutput) ElementType

func (RoleAssignmentOutput) ElementType() reflect.Type

func (RoleAssignmentOutput) PrincipalId added in v5.5.0

func (o RoleAssignmentOutput) PrincipalId() pulumi.StringOutput

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.

func (RoleAssignmentOutput) RoleName added in v5.5.0

The Role Name of the Synapse Built-In Role. Changing this forces a new resource to be created.

func (RoleAssignmentOutput) SynapseSparkPoolId added in v5.5.0

func (o RoleAssignmentOutput) SynapseSparkPoolId() pulumi.StringPtrOutput

The Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.

func (RoleAssignmentOutput) SynapseWorkspaceId added in v5.5.0

func (o RoleAssignmentOutput) SynapseWorkspaceId() pulumi.StringPtrOutput

The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.

func (RoleAssignmentOutput) ToRoleAssignmentOutput

func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext

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

type RoleAssignmentState

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 Synapse Spark Pool which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseSparkPoolId pulumi.StringPtrInput
	// The Synapse Workspace which the Synapse Role Assignment applies to. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (RoleAssignmentState) ElementType

func (RoleAssignmentState) ElementType() reflect.Type

type SparkPool

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"`
	// The cache size in the Spark Pool.
	CacheSize pulumi.IntPtrOutput `pulumi:"cacheSize"`
	// Indicates whether compute isolation is enabled or not. Defaults to `false`.
	ComputeIsolationEnabled pulumi.BoolPtrOutput `pulumi:"computeIsolationEnabled"`
	// Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`.
	DynamicExecutorAllocationEnabled pulumi.BoolPtrOutput `pulumi:"dynamicExecutorAllocationEnabled"`
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrOutput `pulumi:"libraryRequirement"`
	// The maximum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MaxExecutors pulumi.IntPtrOutput `pulumi:"maxExecutors"`
	// The minimum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MinExecutors pulumi.IntPtrOutput `pulumi:"minExecutors"`
	// 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 values are `Small`, `Medium`, `Large`, `None`, `XLarge`, `XXLarge` and `XXXLarge`.
	NodeSize pulumi.StringOutput `pulumi:"nodeSize"`
	// The kind of nodes that the Spark Pool provides. Possible values are `MemoryOptimized` and `None`.
	NodeSizeFamily pulumi.StringOutput `pulumi:"nodeSizeFamily"`
	// Indicates whether session level packages are enabled or not. Defaults to `false`.
	SessionLevelPackagesEnabled pulumi.BoolPtrOutput `pulumi:"sessionLevelPackagesEnabled"`
	// A `sparkConfig` block as defined below.
	SparkConfig SparkPoolSparkConfigPtrOutput `pulumi:"sparkConfig"`
	// 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 values are `2.4` and `3.1` and `3.2`. 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.

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

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

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

func (*SparkPool) ElementType() reflect.Type

func (*SparkPool) ToSparkPoolOutput

func (i *SparkPool) ToSparkPoolOutput() SparkPoolOutput

func (*SparkPool) ToSparkPoolOutputWithContext

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

type SparkPoolArgs

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
	// The cache size in the Spark Pool.
	CacheSize pulumi.IntPtrInput
	// Indicates whether compute isolation is enabled or not. Defaults to `false`.
	ComputeIsolationEnabled pulumi.BoolPtrInput
	// Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`.
	DynamicExecutorAllocationEnabled pulumi.BoolPtrInput
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrInput
	// The maximum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MaxExecutors pulumi.IntPtrInput
	// The minimum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MinExecutors pulumi.IntPtrInput
	// 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 values are `Small`, `Medium`, `Large`, `None`, `XLarge`, `XXLarge` and `XXXLarge`.
	NodeSize pulumi.StringInput
	// The kind of nodes that the Spark Pool provides. Possible values are `MemoryOptimized` and `None`.
	NodeSizeFamily pulumi.StringInput
	// Indicates whether session level packages are enabled or not. Defaults to `false`.
	SessionLevelPackagesEnabled pulumi.BoolPtrInput
	// A `sparkConfig` block as defined below.
	SparkConfig SparkPoolSparkConfigPtrInput
	// 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 values are `2.4` and `3.1` and `3.2`. 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

func (SparkPoolArgs) ElementType() reflect.Type

type SparkPoolArray

type SparkPoolArray []SparkPoolInput

func (SparkPoolArray) ElementType

func (SparkPoolArray) ElementType() reflect.Type

func (SparkPoolArray) ToSparkPoolArrayOutput

func (i SparkPoolArray) ToSparkPoolArrayOutput() SparkPoolArrayOutput

func (SparkPoolArray) ToSparkPoolArrayOutputWithContext

func (i SparkPoolArray) ToSparkPoolArrayOutputWithContext(ctx context.Context) SparkPoolArrayOutput

type SparkPoolArrayInput

type SparkPoolArrayInput interface {
	pulumi.Input

	ToSparkPoolArrayOutput() SparkPoolArrayOutput
	ToSparkPoolArrayOutputWithContext(context.Context) SparkPoolArrayOutput
}

SparkPoolArrayInput is an input type that accepts SparkPoolArray and SparkPoolArrayOutput values. You can construct a concrete instance of `SparkPoolArrayInput` via:

SparkPoolArray{ SparkPoolArgs{...} }

type SparkPoolArrayOutput

type SparkPoolArrayOutput struct{ *pulumi.OutputState }

func (SparkPoolArrayOutput) ElementType

func (SparkPoolArrayOutput) ElementType() reflect.Type

func (SparkPoolArrayOutput) Index

func (SparkPoolArrayOutput) ToSparkPoolArrayOutput

func (o SparkPoolArrayOutput) ToSparkPoolArrayOutput() SparkPoolArrayOutput

func (SparkPoolArrayOutput) ToSparkPoolArrayOutputWithContext

func (o SparkPoolArrayOutput) ToSparkPoolArrayOutputWithContext(ctx context.Context) SparkPoolArrayOutput

type SparkPoolAutoPause

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

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

func (SparkPoolAutoPauseArgs) ElementType() reflect.Type

func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput

func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput

func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext

func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput

func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput

func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput

func (SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext

func (i SparkPoolAutoPauseArgs) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput

type SparkPoolAutoPauseInput

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

type SparkPoolAutoPauseOutput struct{ *pulumi.OutputState }

func (SparkPoolAutoPauseOutput) DelayInMinutes

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

func (SparkPoolAutoPauseOutput) ElementType() reflect.Type

func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput

func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutput() SparkPoolAutoPauseOutput

func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext

func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPauseOutputWithContext(ctx context.Context) SparkPoolAutoPauseOutput

func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput

func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput

func (SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext

func (o SparkPoolAutoPauseOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput

type SparkPoolAutoPausePtrInput

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

type SparkPoolAutoPausePtrOutput

type SparkPoolAutoPausePtrOutput struct{ *pulumi.OutputState }

func (SparkPoolAutoPausePtrOutput) DelayInMinutes

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

func (SparkPoolAutoPausePtrOutput) ElementType

func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput

func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutput() SparkPoolAutoPausePtrOutput

func (SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext

func (o SparkPoolAutoPausePtrOutput) ToSparkPoolAutoPausePtrOutputWithContext(ctx context.Context) SparkPoolAutoPausePtrOutput

type SparkPoolAutoScale

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

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

func (SparkPoolAutoScaleArgs) ElementType() reflect.Type

func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput

func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput

func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext

func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput

func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput

func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput

func (SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext

func (i SparkPoolAutoScaleArgs) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput

type SparkPoolAutoScaleInput

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

type SparkPoolAutoScaleOutput struct{ *pulumi.OutputState }

func (SparkPoolAutoScaleOutput) ElementType

func (SparkPoolAutoScaleOutput) ElementType() reflect.Type

func (SparkPoolAutoScaleOutput) MaxNodeCount

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

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

func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutput() SparkPoolAutoScaleOutput

func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext

func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScaleOutputWithContext(ctx context.Context) SparkPoolAutoScaleOutput

func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput

func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput

func (SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext

func (o SparkPoolAutoScaleOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput

type SparkPoolAutoScalePtrInput

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

type SparkPoolAutoScalePtrOutput

type SparkPoolAutoScalePtrOutput struct{ *pulumi.OutputState }

func (SparkPoolAutoScalePtrOutput) Elem

func (SparkPoolAutoScalePtrOutput) ElementType

func (SparkPoolAutoScalePtrOutput) MaxNodeCount

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

func (SparkPoolAutoScalePtrOutput) MinNodeCount

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

func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput

func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutput() SparkPoolAutoScalePtrOutput

func (SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext

func (o SparkPoolAutoScalePtrOutput) ToSparkPoolAutoScalePtrOutputWithContext(ctx context.Context) SparkPoolAutoScalePtrOutput

type SparkPoolInput

type SparkPoolInput interface {
	pulumi.Input

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

type SparkPoolLibraryRequirement

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

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

func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput

func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput

func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext

func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput

func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput

func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput

func (SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext

func (i SparkPoolLibraryRequirementArgs) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput

type SparkPoolLibraryRequirementInput

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

type SparkPoolLibraryRequirementOutput struct{ *pulumi.OutputState }

func (SparkPoolLibraryRequirementOutput) Content

The content of library requirements.

func (SparkPoolLibraryRequirementOutput) ElementType

func (SparkPoolLibraryRequirementOutput) Filename

The name of the library requirements file.

func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput

func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutput() SparkPoolLibraryRequirementOutput

func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext

func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementOutput

func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput

func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput

func (SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext

func (o SparkPoolLibraryRequirementOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput

type SparkPoolLibraryRequirementPtrInput

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

type SparkPoolLibraryRequirementPtrOutput

type SparkPoolLibraryRequirementPtrOutput struct{ *pulumi.OutputState }

func (SparkPoolLibraryRequirementPtrOutput) Content

The content of library requirements.

func (SparkPoolLibraryRequirementPtrOutput) Elem

func (SparkPoolLibraryRequirementPtrOutput) ElementType

func (SparkPoolLibraryRequirementPtrOutput) Filename

The name of the library requirements file.

func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput

func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutput() SparkPoolLibraryRequirementPtrOutput

func (SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext

func (o SparkPoolLibraryRequirementPtrOutput) ToSparkPoolLibraryRequirementPtrOutputWithContext(ctx context.Context) SparkPoolLibraryRequirementPtrOutput

type SparkPoolMap

type SparkPoolMap map[string]SparkPoolInput

func (SparkPoolMap) ElementType

func (SparkPoolMap) ElementType() reflect.Type

func (SparkPoolMap) ToSparkPoolMapOutput

func (i SparkPoolMap) ToSparkPoolMapOutput() SparkPoolMapOutput

func (SparkPoolMap) ToSparkPoolMapOutputWithContext

func (i SparkPoolMap) ToSparkPoolMapOutputWithContext(ctx context.Context) SparkPoolMapOutput

type SparkPoolMapInput

type SparkPoolMapInput interface {
	pulumi.Input

	ToSparkPoolMapOutput() SparkPoolMapOutput
	ToSparkPoolMapOutputWithContext(context.Context) SparkPoolMapOutput
}

SparkPoolMapInput is an input type that accepts SparkPoolMap and SparkPoolMapOutput values. You can construct a concrete instance of `SparkPoolMapInput` via:

SparkPoolMap{ "key": SparkPoolArgs{...} }

type SparkPoolMapOutput

type SparkPoolMapOutput struct{ *pulumi.OutputState }

func (SparkPoolMapOutput) ElementType

func (SparkPoolMapOutput) ElementType() reflect.Type

func (SparkPoolMapOutput) MapIndex

func (SparkPoolMapOutput) ToSparkPoolMapOutput

func (o SparkPoolMapOutput) ToSparkPoolMapOutput() SparkPoolMapOutput

func (SparkPoolMapOutput) ToSparkPoolMapOutputWithContext

func (o SparkPoolMapOutput) ToSparkPoolMapOutputWithContext(ctx context.Context) SparkPoolMapOutput

type SparkPoolOutput

type SparkPoolOutput struct{ *pulumi.OutputState }

func (SparkPoolOutput) AutoPause added in v5.5.0

An `autoPause` block as defined below.

func (SparkPoolOutput) AutoScale added in v5.5.0

An `autoScale` block as defined below. Exactly one of `nodeCount` or `autoScale` must be specified.

func (SparkPoolOutput) CacheSize added in v5.5.0

func (o SparkPoolOutput) CacheSize() pulumi.IntPtrOutput

The cache size in the Spark Pool.

func (SparkPoolOutput) ComputeIsolationEnabled added in v5.5.0

func (o SparkPoolOutput) ComputeIsolationEnabled() pulumi.BoolPtrOutput

Indicates whether compute isolation is enabled or not. Defaults to `false`.

func (SparkPoolOutput) DynamicExecutorAllocationEnabled added in v5.5.0

func (o SparkPoolOutput) DynamicExecutorAllocationEnabled() pulumi.BoolPtrOutput

Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`.

func (SparkPoolOutput) ElementType

func (SparkPoolOutput) ElementType() reflect.Type

func (SparkPoolOutput) LibraryRequirement added in v5.5.0

A `libraryRequirement` block as defined below.

func (SparkPoolOutput) MaxExecutors added in v5.24.0

func (o SparkPoolOutput) MaxExecutors() pulumi.IntPtrOutput

The maximum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.

func (SparkPoolOutput) MinExecutors added in v5.24.0

func (o SparkPoolOutput) MinExecutors() pulumi.IntPtrOutput

The minimum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.

func (SparkPoolOutput) Name added in v5.5.0

The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.

func (SparkPoolOutput) NodeCount added in v5.5.0

func (o SparkPoolOutput) NodeCount() pulumi.IntPtrOutput

The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.

func (SparkPoolOutput) NodeSize added in v5.5.0

func (o SparkPoolOutput) NodeSize() pulumi.StringOutput

The level of node in the Spark Pool. Possible values are `Small`, `Medium`, `Large`, `None`, `XLarge`, `XXLarge` and `XXXLarge`.

func (SparkPoolOutput) NodeSizeFamily added in v5.5.0

func (o SparkPoolOutput) NodeSizeFamily() pulumi.StringOutput

The kind of nodes that the Spark Pool provides. Possible values are `MemoryOptimized` and `None`.

func (SparkPoolOutput) SessionLevelPackagesEnabled added in v5.5.0

func (o SparkPoolOutput) SessionLevelPackagesEnabled() pulumi.BoolPtrOutput

Indicates whether session level packages are enabled or not. Defaults to `false`.

func (SparkPoolOutput) SparkConfig added in v5.5.0

A `sparkConfig` block as defined below.

func (SparkPoolOutput) SparkEventsFolder added in v5.5.0

func (o SparkPoolOutput) SparkEventsFolder() pulumi.StringPtrOutput

The Spark events folder. Defaults to `/events`.

func (SparkPoolOutput) SparkLogFolder added in v5.5.0

func (o SparkPoolOutput) SparkLogFolder() pulumi.StringPtrOutput

The default folder where Spark logs will be written. Defaults to `/logs`.

func (SparkPoolOutput) SparkVersion added in v5.5.0

func (o SparkPoolOutput) SparkVersion() pulumi.StringPtrOutput

The Apache Spark version. Possible values are `2.4` and `3.1` and `3.2`. Defaults to `2.4`.

func (SparkPoolOutput) SynapseWorkspaceId added in v5.5.0

func (o SparkPoolOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace where the Synapse Spark Pool should exist. Changing this forces a new Synapse Spark Pool to be created.

func (SparkPoolOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Synapse Spark Pool.

func (SparkPoolOutput) ToSparkPoolOutput

func (o SparkPoolOutput) ToSparkPoolOutput() SparkPoolOutput

func (SparkPoolOutput) ToSparkPoolOutputWithContext

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

type SparkPoolSparkConfig

type SparkPoolSparkConfig struct {
	// The contents of a spark configuration.
	Content string `pulumi:"content"`
	// The name of the file where the spark configuration `content` will be stored.
	Filename string `pulumi:"filename"`
}

type SparkPoolSparkConfigArgs

type SparkPoolSparkConfigArgs struct {
	// The contents of a spark configuration.
	Content pulumi.StringInput `pulumi:"content"`
	// The name of the file where the spark configuration `content` will be stored.
	Filename pulumi.StringInput `pulumi:"filename"`
}

func (SparkPoolSparkConfigArgs) ElementType

func (SparkPoolSparkConfigArgs) ElementType() reflect.Type

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput

type SparkPoolSparkConfigInput

type SparkPoolSparkConfigInput interface {
	pulumi.Input

	ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput
	ToSparkPoolSparkConfigOutputWithContext(context.Context) SparkPoolSparkConfigOutput
}

SparkPoolSparkConfigInput is an input type that accepts SparkPoolSparkConfigArgs and SparkPoolSparkConfigOutput values. You can construct a concrete instance of `SparkPoolSparkConfigInput` via:

SparkPoolSparkConfigArgs{...}

type SparkPoolSparkConfigOutput

type SparkPoolSparkConfigOutput struct{ *pulumi.OutputState }

func (SparkPoolSparkConfigOutput) Content

The contents of a spark configuration.

func (SparkPoolSparkConfigOutput) ElementType

func (SparkPoolSparkConfigOutput) ElementType() reflect.Type

func (SparkPoolSparkConfigOutput) Filename

The name of the file where the spark configuration `content` will be stored.

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext(ctx context.Context) SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput

type SparkPoolSparkConfigPtrInput

type SparkPoolSparkConfigPtrInput interface {
	pulumi.Input

	ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput
	ToSparkPoolSparkConfigPtrOutputWithContext(context.Context) SparkPoolSparkConfigPtrOutput
}

SparkPoolSparkConfigPtrInput is an input type that accepts SparkPoolSparkConfigArgs, SparkPoolSparkConfigPtr and SparkPoolSparkConfigPtrOutput values. You can construct a concrete instance of `SparkPoolSparkConfigPtrInput` via:

        SparkPoolSparkConfigArgs{...}

or:

        nil

type SparkPoolSparkConfigPtrOutput

type SparkPoolSparkConfigPtrOutput struct{ *pulumi.OutputState }

func (SparkPoolSparkConfigPtrOutput) Content

The contents of a spark configuration.

func (SparkPoolSparkConfigPtrOutput) Elem

func (SparkPoolSparkConfigPtrOutput) ElementType

func (SparkPoolSparkConfigPtrOutput) Filename

The name of the file where the spark configuration `content` will be stored.

func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput

func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext

func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext(ctx context.Context) SparkPoolSparkConfigPtrOutput

type SparkPoolState

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
	// The cache size in the Spark Pool.
	CacheSize pulumi.IntPtrInput
	// Indicates whether compute isolation is enabled or not. Defaults to `false`.
	ComputeIsolationEnabled pulumi.BoolPtrInput
	// Indicates whether Dynamic Executor Allocation is enabled or not. Defaults to `false`.
	DynamicExecutorAllocationEnabled pulumi.BoolPtrInput
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrInput
	// The maximum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MaxExecutors pulumi.IntPtrInput
	// The minimum number of executors allocated only when `dynamicExecutorAllocationEnabled` set to `true`.
	MinExecutors pulumi.IntPtrInput
	// 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 values are `Small`, `Medium`, `Large`, `None`, `XLarge`, `XXLarge` and `XXXLarge`.
	NodeSize pulumi.StringPtrInput
	// The kind of nodes that the Spark Pool provides. Possible values are `MemoryOptimized` and `None`.
	NodeSizeFamily pulumi.StringPtrInput
	// Indicates whether session level packages are enabled or not. Defaults to `false`.
	SessionLevelPackagesEnabled pulumi.BoolPtrInput
	// A `sparkConfig` block as defined below.
	SparkConfig SparkPoolSparkConfigPtrInput
	// 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 values are `2.4` and `3.1` and `3.2`. 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

func (SparkPoolState) ElementType() reflect.Type

type SqlPool

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`. Changing this forces a new resource to be created.
	CreateMode pulumi.StringPtrOutput `pulumi:"createMode"`
	// Is transparent data encryption enabled?
	DataEncrypted pulumi.BoolPtrOutput `pulumi:"dataEncrypted"`
	// The name which should be used for this Synapse SQL Pool. Changing this forces a new synapse SQL Pool 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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		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

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

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

func (*SqlPool) ElementType() reflect.Type

func (*SqlPool) ToSqlPoolOutput

func (i *SqlPool) ToSqlPoolOutput() SqlPoolOutput

func (*SqlPool) ToSqlPoolOutputWithContext

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

type SqlPoolArgs

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`. Changing this forces a new resource to be created.
	CreateMode pulumi.StringPtrInput
	// Is transparent data encryption enabled?
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse SQL Pool. Changing this forces a new synapse SQL Pool 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

func (SqlPoolArgs) ElementType() reflect.Type

type SqlPoolArray

type SqlPoolArray []SqlPoolInput

func (SqlPoolArray) ElementType

func (SqlPoolArray) ElementType() reflect.Type

func (SqlPoolArray) ToSqlPoolArrayOutput

func (i SqlPoolArray) ToSqlPoolArrayOutput() SqlPoolArrayOutput

func (SqlPoolArray) ToSqlPoolArrayOutputWithContext

func (i SqlPoolArray) ToSqlPoolArrayOutputWithContext(ctx context.Context) SqlPoolArrayOutput

type SqlPoolArrayInput

type SqlPoolArrayInput interface {
	pulumi.Input

	ToSqlPoolArrayOutput() SqlPoolArrayOutput
	ToSqlPoolArrayOutputWithContext(context.Context) SqlPoolArrayOutput
}

SqlPoolArrayInput is an input type that accepts SqlPoolArray and SqlPoolArrayOutput values. You can construct a concrete instance of `SqlPoolArrayInput` via:

SqlPoolArray{ SqlPoolArgs{...} }

type SqlPoolArrayOutput

type SqlPoolArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolArrayOutput) ElementType

func (SqlPoolArrayOutput) ElementType() reflect.Type

func (SqlPoolArrayOutput) Index

func (SqlPoolArrayOutput) ToSqlPoolArrayOutput

func (o SqlPoolArrayOutput) ToSqlPoolArrayOutput() SqlPoolArrayOutput

func (SqlPoolArrayOutput) ToSqlPoolArrayOutputWithContext

func (o SqlPoolArrayOutput) ToSqlPoolArrayOutputWithContext(ctx context.Context) SqlPoolArrayOutput

type SqlPoolExtendedAuditingPolicy

type SqlPoolExtendedAuditingPolicy struct {
	pulumi.CustomResourceState

	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"`
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"`
	// The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"`
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"`
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"`
}

Manages a Synapse SQL Pool Extended Auditing Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolExtendedAuditingPolicy(ctx, "exampleSqlPoolExtendedAuditingPolicy", &synapse.SqlPoolExtendedAuditingPolicyArgs{
			SqlPoolId:                          exampleSqlPool.ID(),
			StorageEndpoint:                    auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey:            auditLogs.PrimaryAccessKey,
			StorageAccountAccessKeyIsSecondary: pulumi.Bool(false),
			RetentionInDays:                    pulumi.Int(6),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Extended Auditing Policys can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolExtendedAuditingPolicy:SqlPoolExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/extendedAuditingSettings/default

```

func GetSqlPoolExtendedAuditingPolicy

func GetSqlPoolExtendedAuditingPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*SqlPoolExtendedAuditingPolicy, error)

GetSqlPoolExtendedAuditingPolicy gets an existing SqlPoolExtendedAuditingPolicy 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 NewSqlPoolExtendedAuditingPolicy

func NewSqlPoolExtendedAuditingPolicy(ctx *pulumi.Context,
	name string, args *SqlPoolExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*SqlPoolExtendedAuditingPolicy, error)

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

func (*SqlPoolExtendedAuditingPolicy) ElementType

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput

func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext

func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput

type SqlPoolExtendedAuditingPolicyArgs

type SqlPoolExtendedAuditingPolicyArgs struct {
	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrInput
	// The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringInput
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrInput
}

The set of arguments for constructing a SqlPoolExtendedAuditingPolicy resource.

func (SqlPoolExtendedAuditingPolicyArgs) ElementType

type SqlPoolExtendedAuditingPolicyArray

type SqlPoolExtendedAuditingPolicyArray []SqlPoolExtendedAuditingPolicyInput

func (SqlPoolExtendedAuditingPolicyArray) ElementType

func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput

func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput

func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext

func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput

type SqlPoolExtendedAuditingPolicyArrayInput

type SqlPoolExtendedAuditingPolicyArrayInput interface {
	pulumi.Input

	ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput
	ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(context.Context) SqlPoolExtendedAuditingPolicyArrayOutput
}

SqlPoolExtendedAuditingPolicyArrayInput is an input type that accepts SqlPoolExtendedAuditingPolicyArray and SqlPoolExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `SqlPoolExtendedAuditingPolicyArrayInput` via:

SqlPoolExtendedAuditingPolicyArray{ SqlPoolExtendedAuditingPolicyArgs{...} }

type SqlPoolExtendedAuditingPolicyArrayOutput

type SqlPoolExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyArrayOutput) ElementType

func (SqlPoolExtendedAuditingPolicyArrayOutput) Index

func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput

func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput

func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext

func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyArrayOutput

type SqlPoolExtendedAuditingPolicyInput

type SqlPoolExtendedAuditingPolicyInput interface {
	pulumi.Input

	ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput
	ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput
}

type SqlPoolExtendedAuditingPolicyMap

type SqlPoolExtendedAuditingPolicyMap map[string]SqlPoolExtendedAuditingPolicyInput

func (SqlPoolExtendedAuditingPolicyMap) ElementType

func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput

func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput

func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext

func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput

type SqlPoolExtendedAuditingPolicyMapInput

type SqlPoolExtendedAuditingPolicyMapInput interface {
	pulumi.Input

	ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput
	ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(context.Context) SqlPoolExtendedAuditingPolicyMapOutput
}

SqlPoolExtendedAuditingPolicyMapInput is an input type that accepts SqlPoolExtendedAuditingPolicyMap and SqlPoolExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `SqlPoolExtendedAuditingPolicyMapInput` via:

SqlPoolExtendedAuditingPolicyMap{ "key": SqlPoolExtendedAuditingPolicyArgs{...} }

type SqlPoolExtendedAuditingPolicyMapOutput

type SqlPoolExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyMapOutput) ElementType

func (SqlPoolExtendedAuditingPolicyMapOutput) MapIndex

func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput

func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput

func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext

func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyMapOutput

type SqlPoolExtendedAuditingPolicyOutput

type SqlPoolExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyOutput) ElementType

func (SqlPoolExtendedAuditingPolicyOutput) LogMonitoringEnabled added in v5.5.0

func (o SqlPoolExtendedAuditingPolicyOutput) LogMonitoringEnabled() pulumi.BoolPtrOutput

Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.

func (SqlPoolExtendedAuditingPolicyOutput) RetentionInDays added in v5.5.0

The number of days to retain logs for in the storage account. Defaults to `0`.

func (SqlPoolExtendedAuditingPolicyOutput) SqlPoolId added in v5.5.0

The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created.

func (SqlPoolExtendedAuditingPolicyOutput) StorageAccountAccessKey added in v5.5.0

func (o SqlPoolExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput

The access key to use for the auditing storage account.

func (SqlPoolExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary added in v5.5.0

func (o SqlPoolExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput

Is `storageAccountAccessKey` value the storage's secondary key?

func (SqlPoolExtendedAuditingPolicyOutput) StorageEndpoint added in v5.5.0

The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput

func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext

func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyOutput

type SqlPoolExtendedAuditingPolicyState

type SqlPoolExtendedAuditingPolicyState struct {
	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrInput
	// The ID of the Synapse SQL pool to set the extended auditing policy. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringPtrInput
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrInput
}

func (SqlPoolExtendedAuditingPolicyState) ElementType

type SqlPoolInput

type SqlPoolInput interface {
	pulumi.Input

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

type SqlPoolMap

type SqlPoolMap map[string]SqlPoolInput

func (SqlPoolMap) ElementType

func (SqlPoolMap) ElementType() reflect.Type

func (SqlPoolMap) ToSqlPoolMapOutput

func (i SqlPoolMap) ToSqlPoolMapOutput() SqlPoolMapOutput

func (SqlPoolMap) ToSqlPoolMapOutputWithContext

func (i SqlPoolMap) ToSqlPoolMapOutputWithContext(ctx context.Context) SqlPoolMapOutput

type SqlPoolMapInput

type SqlPoolMapInput interface {
	pulumi.Input

	ToSqlPoolMapOutput() SqlPoolMapOutput
	ToSqlPoolMapOutputWithContext(context.Context) SqlPoolMapOutput
}

SqlPoolMapInput is an input type that accepts SqlPoolMap and SqlPoolMapOutput values. You can construct a concrete instance of `SqlPoolMapInput` via:

SqlPoolMap{ "key": SqlPoolArgs{...} }

type SqlPoolMapOutput

type SqlPoolMapOutput struct{ *pulumi.OutputState }

func (SqlPoolMapOutput) ElementType

func (SqlPoolMapOutput) ElementType() reflect.Type

func (SqlPoolMapOutput) MapIndex

func (SqlPoolMapOutput) ToSqlPoolMapOutput

func (o SqlPoolMapOutput) ToSqlPoolMapOutput() SqlPoolMapOutput

func (SqlPoolMapOutput) ToSqlPoolMapOutputWithContext

func (o SqlPoolMapOutput) ToSqlPoolMapOutputWithContext(ctx context.Context) SqlPoolMapOutput

type SqlPoolOutput

type SqlPoolOutput struct{ *pulumi.OutputState }

func (SqlPoolOutput) Collation added in v5.5.0

func (o SqlPoolOutput) Collation() pulumi.StringOutput

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.

func (SqlPoolOutput) CreateMode added in v5.5.0

func (o SqlPoolOutput) CreateMode() pulumi.StringPtrOutput

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`. Changing this forces a new resource to be created.

func (SqlPoolOutput) DataEncrypted added in v5.5.0

func (o SqlPoolOutput) DataEncrypted() pulumi.BoolPtrOutput

Is transparent data encryption enabled?

func (SqlPoolOutput) ElementType

func (SqlPoolOutput) ElementType() reflect.Type

func (SqlPoolOutput) Name added in v5.5.0

The name which should be used for this Synapse SQL Pool. Changing this forces a new synapse SQL Pool to be created.

func (SqlPoolOutput) RecoveryDatabaseId added in v5.5.0

func (o SqlPoolOutput) RecoveryDatabaseId() pulumi.StringPtrOutput

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.

func (SqlPoolOutput) Restore added in v5.5.0

A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.

func (SqlPoolOutput) SkuName added in v5.5.0

func (o SqlPoolOutput) SkuName() pulumi.StringOutput

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

func (SqlPoolOutput) SynapseWorkspaceId added in v5.5.0

func (o SqlPoolOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of Synapse Workspace within which this SQL Pool should be created. Changing this forces a new Synapse SQL Pool to be created.

func (SqlPoolOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Synapse SQL Pool.

func (SqlPoolOutput) ToSqlPoolOutput

func (o SqlPoolOutput) ToSqlPoolOutput() SqlPoolOutput

func (SqlPoolOutput) ToSqlPoolOutputWithContext

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

type SqlPoolRestore

type SqlPoolRestore struct {
	// Specifies the Snapshot time to restore formatted as an RFC3339 date string. 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

type SqlPoolRestoreArgs struct {
	// Specifies the Snapshot time to restore formatted as an RFC3339 date string. 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

func (SqlPoolRestoreArgs) ElementType() reflect.Type

func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutput

func (i SqlPoolRestoreArgs) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput

func (SqlPoolRestoreArgs) ToSqlPoolRestoreOutputWithContext

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

func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput

func (i SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestoreArgs) ToSqlPoolRestorePtrOutputWithContext

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

type SqlPoolRestoreInput

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

type SqlPoolRestoreOutput struct{ *pulumi.OutputState }

func (SqlPoolRestoreOutput) ElementType

func (SqlPoolRestoreOutput) ElementType() reflect.Type

func (SqlPoolRestoreOutput) PointInTime

func (o SqlPoolRestoreOutput) PointInTime() pulumi.StringOutput

Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.

func (SqlPoolRestoreOutput) SourceDatabaseId

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

func (o SqlPoolRestoreOutput) ToSqlPoolRestoreOutput() SqlPoolRestoreOutput

func (SqlPoolRestoreOutput) ToSqlPoolRestoreOutputWithContext

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

func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput

func (o SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestoreOutput) ToSqlPoolRestorePtrOutputWithContext

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

type SqlPoolRestorePtrInput

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

type SqlPoolRestorePtrOutput

type SqlPoolRestorePtrOutput struct{ *pulumi.OutputState }

func (SqlPoolRestorePtrOutput) Elem

func (SqlPoolRestorePtrOutput) ElementType

func (SqlPoolRestorePtrOutput) ElementType() reflect.Type

func (SqlPoolRestorePtrOutput) PointInTime

Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.

func (SqlPoolRestorePtrOutput) SourceDatabaseId

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

func (o SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutput() SqlPoolRestorePtrOutput

func (SqlPoolRestorePtrOutput) ToSqlPoolRestorePtrOutputWithContext

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

type SqlPoolSecurityAlertPolicy

type SqlPoolSecurityAlertPolicy struct {
	pulumi.CustomResourceState

	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayOutput `pulumi:"disabledAlerts"`
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrOutput `pulumi:"emailAccountAdminsEnabled"`
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayOutput `pulumi:"emailAddresses"`
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringOutput `pulumi:"policyState"`
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"`
	// Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"`
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"`
}

Manages a Security Alert Policy for a Synapse SQL Pool.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			AadAdmin: &synapse.WorkspaceAadAdminTypeArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{
			SqlPoolId:               exampleSqlPool.ID(),
			PolicyState:             pulumi.String("Enabled"),
			StorageEndpoint:         auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey: auditLogs.PrimaryAccessKey,
			DisabledAlerts: pulumi.StringArray{
				pulumi.String("Sql_Injection"),
				pulumi.String("Data_Exfiltration"),
			},
			RetentionDays: pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Security Alert Policies can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolSecurityAlertPolicy:SqlPoolSecurityAlertPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/securityAlertPolicies/default

```

func GetSqlPoolSecurityAlertPolicy

func GetSqlPoolSecurityAlertPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolSecurityAlertPolicyState, opts ...pulumi.ResourceOption) (*SqlPoolSecurityAlertPolicy, error)

GetSqlPoolSecurityAlertPolicy gets an existing SqlPoolSecurityAlertPolicy 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 NewSqlPoolSecurityAlertPolicy

func NewSqlPoolSecurityAlertPolicy(ctx *pulumi.Context,
	name string, args *SqlPoolSecurityAlertPolicyArgs, opts ...pulumi.ResourceOption) (*SqlPoolSecurityAlertPolicy, error)

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

func (*SqlPoolSecurityAlertPolicy) ElementType

func (*SqlPoolSecurityAlertPolicy) ElementType() reflect.Type

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput

func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext

func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput

type SqlPoolSecurityAlertPolicyArgs

type SqlPoolSecurityAlertPolicyArgs struct {
	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayInput
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrInput
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayInput
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringInput
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrInput
	// Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringInput
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrInput
}

The set of arguments for constructing a SqlPoolSecurityAlertPolicy resource.

func (SqlPoolSecurityAlertPolicyArgs) ElementType

type SqlPoolSecurityAlertPolicyArray

type SqlPoolSecurityAlertPolicyArray []SqlPoolSecurityAlertPolicyInput

func (SqlPoolSecurityAlertPolicyArray) ElementType

func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput

func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput

func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext

func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput

type SqlPoolSecurityAlertPolicyArrayInput

type SqlPoolSecurityAlertPolicyArrayInput interface {
	pulumi.Input

	ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput
	ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(context.Context) SqlPoolSecurityAlertPolicyArrayOutput
}

SqlPoolSecurityAlertPolicyArrayInput is an input type that accepts SqlPoolSecurityAlertPolicyArray and SqlPoolSecurityAlertPolicyArrayOutput values. You can construct a concrete instance of `SqlPoolSecurityAlertPolicyArrayInput` via:

SqlPoolSecurityAlertPolicyArray{ SqlPoolSecurityAlertPolicyArgs{...} }

type SqlPoolSecurityAlertPolicyArrayOutput

type SqlPoolSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyArrayOutput) ElementType

func (SqlPoolSecurityAlertPolicyArrayOutput) Index

func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput

func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput

func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext

func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyArrayOutput

type SqlPoolSecurityAlertPolicyInput

type SqlPoolSecurityAlertPolicyInput interface {
	pulumi.Input

	ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput
	ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput
}

type SqlPoolSecurityAlertPolicyMap

type SqlPoolSecurityAlertPolicyMap map[string]SqlPoolSecurityAlertPolicyInput

func (SqlPoolSecurityAlertPolicyMap) ElementType

func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput

func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput

func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext

func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput

type SqlPoolSecurityAlertPolicyMapInput

type SqlPoolSecurityAlertPolicyMapInput interface {
	pulumi.Input

	ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput
	ToSqlPoolSecurityAlertPolicyMapOutputWithContext(context.Context) SqlPoolSecurityAlertPolicyMapOutput
}

SqlPoolSecurityAlertPolicyMapInput is an input type that accepts SqlPoolSecurityAlertPolicyMap and SqlPoolSecurityAlertPolicyMapOutput values. You can construct a concrete instance of `SqlPoolSecurityAlertPolicyMapInput` via:

SqlPoolSecurityAlertPolicyMap{ "key": SqlPoolSecurityAlertPolicyArgs{...} }

type SqlPoolSecurityAlertPolicyMapOutput

type SqlPoolSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyMapOutput) ElementType

func (SqlPoolSecurityAlertPolicyMapOutput) MapIndex

func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput

func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput

func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext

func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyMapOutput

type SqlPoolSecurityAlertPolicyOutput

type SqlPoolSecurityAlertPolicyOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyOutput) DisabledAlerts added in v5.5.0

Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.

func (SqlPoolSecurityAlertPolicyOutput) ElementType

func (SqlPoolSecurityAlertPolicyOutput) EmailAccountAdminsEnabled added in v5.5.0

func (o SqlPoolSecurityAlertPolicyOutput) EmailAccountAdminsEnabled() pulumi.BoolPtrOutput

Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.

func (SqlPoolSecurityAlertPolicyOutput) EmailAddresses added in v5.5.0

Specifies an array of email addresses to which the alert is sent.

func (SqlPoolSecurityAlertPolicyOutput) PolicyState added in v5.5.0

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Possible values are `Disabled`, `Enabled` and `New`.

func (SqlPoolSecurityAlertPolicyOutput) RetentionDays added in v5.5.0

Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.

func (SqlPoolSecurityAlertPolicyOutput) SqlPoolId added in v5.5.0

Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created.

func (SqlPoolSecurityAlertPolicyOutput) StorageAccountAccessKey added in v5.5.0

func (o SqlPoolSecurityAlertPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput

Specifies the identifier key of the Threat Detection audit storage account.

func (SqlPoolSecurityAlertPolicyOutput) StorageEndpoint added in v5.5.0

Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput

func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext

func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyOutput

type SqlPoolSecurityAlertPolicyState

type SqlPoolSecurityAlertPolicyState struct {
	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayInput
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrInput
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayInput
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific SQL pool. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringPtrInput
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrInput
	// Specifies the ID of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolId pulumi.StringPtrInput
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrInput
}

func (SqlPoolSecurityAlertPolicyState) ElementType

type SqlPoolState

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`. Changing this forces a new resource to be created.
	CreateMode pulumi.StringPtrInput
	// Is transparent data encryption enabled?
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse SQL Pool. Changing this forces a new synapse SQL Pool 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

func (SqlPoolState) ElementType() reflect.Type

type SqlPoolVulnerabilityAssessment

type SqlPoolVulnerabilityAssessment struct {
	pulumi.CustomResourceState

	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansOutput `pulumi:"recurringScans"`
	// The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolSecurityAlertPolicyId pulumi.StringOutput `pulumi:"sqlPoolSecurityAlertPolicyId"`
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringOutput `pulumi:"storageContainerPath"`
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrOutput `pulumi:"storageContainerSasKey"`
}

Manages the Vulnerability Assessment for a Synapse SQL Pool.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName: exampleAccount.Name,
		})
		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!"),
			AadAdmin: &synapse.WorkspaceAadAdminTypeArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleSqlPoolSecurityAlertPolicy, err := synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{
			SqlPoolId:               exampleSqlPool.ID(),
			PolicyState:             pulumi.String("Enabled"),
			StorageEndpoint:         auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey: auditLogs.PrimaryAccessKey,
			DisabledAlerts: pulumi.StringArray{
				pulumi.String("Sql_Injection"),
				pulumi.String("Data_Exfiltration"),
			},
			RetentionDays: pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolVulnerabilityAssessment(ctx, "exampleSqlPoolVulnerabilityAssessment", &synapse.SqlPoolVulnerabilityAssessmentArgs{
			SqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.ID(),
			StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) {
				primaryBlobEndpoint := _args[0].(string)
				name := _args[1].(string)
				return fmt.Sprintf("%v%v/", primaryBlobEndpoint, name), nil
			}).(pulumi.StringOutput),
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
			RecurringScans: &synapse.SqlPoolVulnerabilityAssessmentRecurringScansArgs{
				Enabled:                        pulumi.Bool(true),
				EmailSubscriptionAdminsEnabled: pulumi.Bool(true),
				Emails: pulumi.StringArray{
					pulumi.String("email@example1.com"),
					pulumi.String("email@example2.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Vulnerability Assessment can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolVulnerabilityAssessment:SqlPoolVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/vulnerabilityAssessments/default

```

func GetSqlPoolVulnerabilityAssessment

func GetSqlPoolVulnerabilityAssessment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessment, error)

GetSqlPoolVulnerabilityAssessment gets an existing SqlPoolVulnerabilityAssessment 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 NewSqlPoolVulnerabilityAssessment

func NewSqlPoolVulnerabilityAssessment(ctx *pulumi.Context,
	name string, args *SqlPoolVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessment, error)

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

func (*SqlPoolVulnerabilityAssessment) ElementType

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput

func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext

func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput

type SqlPoolVulnerabilityAssessmentArgs

type SqlPoolVulnerabilityAssessmentArgs struct {
	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansPtrInput
	// The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolSecurityAlertPolicyId pulumi.StringInput
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringInput
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrInput
}

The set of arguments for constructing a SqlPoolVulnerabilityAssessment resource.

func (SqlPoolVulnerabilityAssessmentArgs) ElementType

type SqlPoolVulnerabilityAssessmentArray

type SqlPoolVulnerabilityAssessmentArray []SqlPoolVulnerabilityAssessmentInput

func (SqlPoolVulnerabilityAssessmentArray) ElementType

func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput

func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput

func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext

func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput

type SqlPoolVulnerabilityAssessmentArrayInput

type SqlPoolVulnerabilityAssessmentArrayInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput
	ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentArrayOutput
}

SqlPoolVulnerabilityAssessmentArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentArray and SqlPoolVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentArrayInput` via:

SqlPoolVulnerabilityAssessmentArray{ SqlPoolVulnerabilityAssessmentArgs{...} }

type SqlPoolVulnerabilityAssessmentArrayOutput

type SqlPoolVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentArrayOutput) ElementType

func (SqlPoolVulnerabilityAssessmentArrayOutput) Index

func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput

func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput

func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext

func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentArrayOutput

type SqlPoolVulnerabilityAssessmentBaseline

type SqlPoolVulnerabilityAssessmentBaseline struct {
	pulumi.CustomResourceState

	// One or more `baseline` blocks as defined below.
	Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput `pulumi:"baselines"`
	// The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the vulnerability assessment rule.
	RuleName pulumi.StringOutput `pulumi:"ruleName"`
	// The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created.
	SqlPoolVulnerabilityAssessmentId pulumi.StringOutput `pulumi:"sqlPoolVulnerabilityAssessmentId"`
}

Manages a Synapse SQL Pool Vulnerability Assessment Rule Baseline.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		exampleSqlPoolSecurityAlertPolicy, err := synapse.NewSqlPoolSecurityAlertPolicy(ctx, "exampleSqlPoolSecurityAlertPolicy", &synapse.SqlPoolSecurityAlertPolicyArgs{
			SqlPoolId:               exampleSqlPool.ID(),
			PolicyState:             pulumi.String("Enabled"),
			StorageEndpoint:         exampleAccount.PrimaryBlobEndpoint,
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		exampleSqlPoolVulnerabilityAssessment, err := synapse.NewSqlPoolVulnerabilityAssessment(ctx, "exampleSqlPoolVulnerabilityAssessment", &synapse.SqlPoolVulnerabilityAssessmentArgs{
			SqlPoolSecurityAlertPolicyId: exampleSqlPoolSecurityAlertPolicy.ID(),
			StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) {
				primaryBlobEndpoint := _args[0].(string)
				name := _args[1].(string)
				return fmt.Sprintf("%v%v/", primaryBlobEndpoint, name), nil
			}).(pulumi.StringOutput),
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolVulnerabilityAssessmentBaseline(ctx, "exampleSqlPoolVulnerabilityAssessmentBaseline", &synapse.SqlPoolVulnerabilityAssessmentBaselineArgs{
			RuleName:                         pulumi.String("VA1017"),
			SqlPoolVulnerabilityAssessmentId: exampleSqlPoolVulnerabilityAssessment.ID(),
			Baselines: synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArray{
				&synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{
					Results: pulumi.StringArray{
						pulumi.String("userA"),
						pulumi.String("SELECT"),
					},
				},
				&synapse.SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{
					Results: pulumi.StringArray{
						pulumi.String("userB"),
						pulumi.String("SELECT"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Vulnerability Assessment Rule Baselines can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolVulnerabilityAssessmentBaseline:SqlPoolVulnerabilityAssessmentBaseline example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/vulnerabilityAssessments/default/rules/rule1/baselines/baseline1

```

func GetSqlPoolVulnerabilityAssessmentBaseline

func GetSqlPoolVulnerabilityAssessmentBaseline(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolVulnerabilityAssessmentBaselineState, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessmentBaseline, error)

GetSqlPoolVulnerabilityAssessmentBaseline gets an existing SqlPoolVulnerabilityAssessmentBaseline 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 NewSqlPoolVulnerabilityAssessmentBaseline

func NewSqlPoolVulnerabilityAssessmentBaseline(ctx *pulumi.Context,
	name string, args *SqlPoolVulnerabilityAssessmentBaselineArgs, opts ...pulumi.ResourceOption) (*SqlPoolVulnerabilityAssessmentBaseline, error)

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

func (*SqlPoolVulnerabilityAssessmentBaseline) ElementType

func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput

func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput

func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext

func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineArgs

type SqlPoolVulnerabilityAssessmentBaselineArgs struct {
	// One or more `baseline` blocks as defined below.
	Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput
	// The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline.
	Name pulumi.StringPtrInput
	// The ID of the vulnerability assessment rule.
	RuleName pulumi.StringInput
	// The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created.
	SqlPoolVulnerabilityAssessmentId pulumi.StringInput
}

The set of arguments for constructing a SqlPoolVulnerabilityAssessmentBaseline resource.

func (SqlPoolVulnerabilityAssessmentBaselineArgs) ElementType

type SqlPoolVulnerabilityAssessmentBaselineArray

type SqlPoolVulnerabilityAssessmentBaselineArray []SqlPoolVulnerabilityAssessmentBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineArray) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext

func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineArrayInput

type SqlPoolVulnerabilityAssessmentBaselineArrayInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput
	ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput
}

SqlPoolVulnerabilityAssessmentBaselineArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineArray and SqlPoolVulnerabilityAssessmentBaselineArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineArrayInput` via:

SqlPoolVulnerabilityAssessmentBaselineArray{ SqlPoolVulnerabilityAssessmentBaselineArgs{...} }

type SqlPoolVulnerabilityAssessmentBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) Index

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext

func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineBaseline

type SqlPoolVulnerabilityAssessmentBaselineBaseline struct {
	// Specifies a list of rule baseline result.
	Results []string `pulumi:"results"`
}

type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs

type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs struct {
	// Specifies a list of rule baseline result.
	Results pulumi.StringArrayInput `pulumi:"results"`
}

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineBaselineArray

type SqlPoolVulnerabilityAssessmentBaselineBaselineArray []SqlPoolVulnerabilityAssessmentBaselineBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
	ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput
}

SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineBaselineArray and SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput` via:

SqlPoolVulnerabilityAssessmentBaselineBaselineArray{ SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{...} }

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) Index

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext

func (o SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

type SqlPoolVulnerabilityAssessmentBaselineBaselineInput

type SqlPoolVulnerabilityAssessmentBaselineBaselineInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
	ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput
}

SqlPoolVulnerabilityAssessmentBaselineBaselineInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineBaselineArgs and SqlPoolVulnerabilityAssessmentBaselineBaselineOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineBaselineInput` via:

SqlPoolVulnerabilityAssessmentBaselineBaselineArgs{...}

type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) Results

Specifies a list of rule baseline result.

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext

func (o SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineInput

type SqlPoolVulnerabilityAssessmentBaselineInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput
	ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput
}

type SqlPoolVulnerabilityAssessmentBaselineMap

type SqlPoolVulnerabilityAssessmentBaselineMap map[string]SqlPoolVulnerabilityAssessmentBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineMap) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput

func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput

func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext

func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput

type SqlPoolVulnerabilityAssessmentBaselineMapInput

type SqlPoolVulnerabilityAssessmentBaselineMapInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput
	ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput
}

SqlPoolVulnerabilityAssessmentBaselineMapInput is an input type that accepts SqlPoolVulnerabilityAssessmentBaselineMap and SqlPoolVulnerabilityAssessmentBaselineMapOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentBaselineMapInput` via:

SqlPoolVulnerabilityAssessmentBaselineMap{ "key": SqlPoolVulnerabilityAssessmentBaselineArgs{...} }

type SqlPoolVulnerabilityAssessmentBaselineMapOutput

type SqlPoolVulnerabilityAssessmentBaselineMapOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) MapIndex

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput

func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext

func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineMapOutput

type SqlPoolVulnerabilityAssessmentBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineOutput) Baselines added in v5.5.0

One or more `baseline` blocks as defined below.

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ElementType

func (SqlPoolVulnerabilityAssessmentBaselineOutput) Name added in v5.5.0

The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline.

func (SqlPoolVulnerabilityAssessmentBaselineOutput) RuleName added in v5.5.0

The ID of the vulnerability assessment rule.

func (SqlPoolVulnerabilityAssessmentBaselineOutput) SqlPoolVulnerabilityAssessmentId added in v5.5.0

func (o SqlPoolVulnerabilityAssessmentBaselineOutput) SqlPoolVulnerabilityAssessmentId() pulumi.StringOutput

The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created.

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput

func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext

func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentBaselineOutput

type SqlPoolVulnerabilityAssessmentBaselineState

type SqlPoolVulnerabilityAssessmentBaselineState struct {
	// One or more `baseline` blocks as defined below.
	Baselines SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput
	// The name which should be used for this Synapse SQL Pool Vulnerability Assessment Rule Baseline.
	Name pulumi.StringPtrInput
	// The ID of the vulnerability assessment rule.
	RuleName pulumi.StringPtrInput
	// The ID of the Synapse SQL Pool Vulnerability Assessment. Changing this forces a new Synapse SQL Pool Vulnerability Assessment Rule Baseline to be created.
	SqlPoolVulnerabilityAssessmentId pulumi.StringPtrInput
}

func (SqlPoolVulnerabilityAssessmentBaselineState) ElementType

type SqlPoolVulnerabilityAssessmentInput

type SqlPoolVulnerabilityAssessmentInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput
	ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput
}

type SqlPoolVulnerabilityAssessmentMap

type SqlPoolVulnerabilityAssessmentMap map[string]SqlPoolVulnerabilityAssessmentInput

func (SqlPoolVulnerabilityAssessmentMap) ElementType

func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput

func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput

func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext

func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput

type SqlPoolVulnerabilityAssessmentMapInput

type SqlPoolVulnerabilityAssessmentMapInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput
	ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentMapOutput
}

SqlPoolVulnerabilityAssessmentMapInput is an input type that accepts SqlPoolVulnerabilityAssessmentMap and SqlPoolVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentMapInput` via:

SqlPoolVulnerabilityAssessmentMap{ "key": SqlPoolVulnerabilityAssessmentArgs{...} }

type SqlPoolVulnerabilityAssessmentMapOutput

type SqlPoolVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentMapOutput) ElementType

func (SqlPoolVulnerabilityAssessmentMapOutput) MapIndex

func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput

func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput

func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext

func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentMapOutput

type SqlPoolVulnerabilityAssessmentOutput

type SqlPoolVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentOutput) ElementType

func (SqlPoolVulnerabilityAssessmentOutput) RecurringScans added in v5.5.0

The recurring scans settings. The `recurringScans` block supports fields documented below.

func (SqlPoolVulnerabilityAssessmentOutput) SqlPoolSecurityAlertPolicyId added in v5.5.0

func (o SqlPoolVulnerabilityAssessmentOutput) SqlPoolSecurityAlertPolicyId() pulumi.StringOutput

The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created.

func (SqlPoolVulnerabilityAssessmentOutput) StorageAccountAccessKey added in v5.5.0

func (o SqlPoolVulnerabilityAssessmentOutput) StorageAccountAccessKey() pulumi.StringPtrOutput

Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.

func (SqlPoolVulnerabilityAssessmentOutput) StorageContainerPath added in v5.5.0

func (o SqlPoolVulnerabilityAssessmentOutput) StorageContainerPath() pulumi.StringOutput

A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).

func (SqlPoolVulnerabilityAssessmentOutput) StorageContainerSasKey added in v5.5.0

func (o SqlPoolVulnerabilityAssessmentOutput) StorageContainerSasKey() pulumi.StringPtrOutput

A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput

func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext

func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentOutput

type SqlPoolVulnerabilityAssessmentRecurringScans

type SqlPoolVulnerabilityAssessmentRecurringScans struct {
	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
	EmailSubscriptionAdminsEnabled *bool `pulumi:"emailSubscriptionAdminsEnabled"`
	// Specifies an array of email addresses to which the scan notification is sent.
	Emails []string `pulumi:"emails"`
	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
	Enabled *bool `pulumi:"enabled"`
}

type SqlPoolVulnerabilityAssessmentRecurringScansArgs

type SqlPoolVulnerabilityAssessmentRecurringScansArgs struct {
	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
	EmailSubscriptionAdminsEnabled pulumi.BoolPtrInput `pulumi:"emailSubscriptionAdminsEnabled"`
	// Specifies an array of email addresses to which the scan notification is sent.
	Emails pulumi.StringArrayInput `pulumi:"emails"`
	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ElementType

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

type SqlPoolVulnerabilityAssessmentRecurringScansInput

type SqlPoolVulnerabilityAssessmentRecurringScansInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput
	ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput
}

SqlPoolVulnerabilityAssessmentRecurringScansInput is an input type that accepts SqlPoolVulnerabilityAssessmentRecurringScansArgs and SqlPoolVulnerabilityAssessmentRecurringScansOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentRecurringScansInput` via:

SqlPoolVulnerabilityAssessmentRecurringScansArgs{...}

type SqlPoolVulnerabilityAssessmentRecurringScansOutput

type SqlPoolVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ElementType

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled() pulumi.BoolPtrOutput

Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) Emails

Specifies an array of email addresses to which the scan notification is sent.

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) Enabled

Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput

type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
	ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput
}

SqlPoolVulnerabilityAssessmentRecurringScansPtrInput is an input type that accepts SqlPoolVulnerabilityAssessmentRecurringScansArgs, SqlPoolVulnerabilityAssessmentRecurringScansPtr and SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput values. You can construct a concrete instance of `SqlPoolVulnerabilityAssessmentRecurringScansPtrInput` via:

        SqlPoolVulnerabilityAssessmentRecurringScansArgs{...}

or:

        nil

type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Elem

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ElementType

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled

Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Emails

Specifies an array of email addresses to which the scan notification is sent.

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Enabled

Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (o SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

type SqlPoolVulnerabilityAssessmentState

type SqlPoolVulnerabilityAssessmentState struct {
	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans SqlPoolVulnerabilityAssessmentRecurringScansPtrInput
	// The ID of the security alert policy of the Synapse SQL Pool. Changing this forces a new resource to be created.
	SqlPoolSecurityAlertPolicyId pulumi.StringPtrInput
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringPtrInput
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrInput
}

func (SqlPoolVulnerabilityAssessmentState) ElementType

type SqlPoolWorkloadClassifier

type SqlPoolWorkloadClassifier struct {
	pulumi.CustomResourceState

	// Specifies the session context value that a request can be classified against.
	Context pulumi.StringPtrOutput `pulumi:"context"`
	// The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone.
	EndTime pulumi.StringPtrOutput `pulumi:"endTime"`
	// The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`.
	Importance pulumi.StringPtrOutput `pulumi:"importance"`
	// Specifies the label value that a request can be classified against.
	Label pulumi.StringPtrOutput `pulumi:"label"`
	// The workload classifier member name used to classified against.
	MemberName pulumi.StringOutput `pulumi:"memberName"`
	// The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone.
	StartTime pulumi.StringPtrOutput `pulumi:"startTime"`
	// The ID of the Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	WorkloadGroupId pulumi.StringOutput `pulumi:"workloadGroupId"`
}

Manages a Synapse SQL Pool Workload Classifier.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		exampleSqlPoolWorkloadGroup, err := synapse.NewSqlPoolWorkloadGroup(ctx, "exampleSqlPoolWorkloadGroup", &synapse.SqlPoolWorkloadGroupArgs{
			SqlPoolId:                      exampleSqlPool.ID(),
			Importance:                     pulumi.String("normal"),
			MaxResourcePercent:             pulumi.Int(100),
			MinResourcePercent:             pulumi.Int(0),
			MaxResourcePercentPerRequest:   pulumi.Float64(3),
			MinResourcePercentPerRequest:   pulumi.Float64(3),
			QueryExecutionTimeoutInSeconds: pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolWorkloadClassifier(ctx, "exampleSqlPoolWorkloadClassifier", &synapse.SqlPoolWorkloadClassifierArgs{
			WorkloadGroupId: exampleSqlPoolWorkloadGroup.ID(),
			Context:         pulumi.String("example_context"),
			EndTime:         pulumi.String("14:00"),
			Importance:      pulumi.String("high"),
			Label:           pulumi.String("example_label"),
			MemberName:      pulumi.String("dbo"),
			StartTime:       pulumi.String("12:00"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Workload Classifiers can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolWorkloadClassifier:SqlPoolWorkloadClassifier example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/workloadGroups/workloadGroup1/workloadClassifiers/workloadClassifier1

```

func GetSqlPoolWorkloadClassifier

func GetSqlPoolWorkloadClassifier(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolWorkloadClassifierState, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadClassifier, error)

GetSqlPoolWorkloadClassifier gets an existing SqlPoolWorkloadClassifier 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 NewSqlPoolWorkloadClassifier

func NewSqlPoolWorkloadClassifier(ctx *pulumi.Context,
	name string, args *SqlPoolWorkloadClassifierArgs, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadClassifier, error)

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

func (*SqlPoolWorkloadClassifier) ElementType

func (*SqlPoolWorkloadClassifier) ElementType() reflect.Type

func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput

func (i *SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput

func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutputWithContext

func (i *SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput

type SqlPoolWorkloadClassifierArgs

type SqlPoolWorkloadClassifierArgs struct {
	// Specifies the session context value that a request can be classified against.
	Context pulumi.StringPtrInput
	// The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone.
	EndTime pulumi.StringPtrInput
	// The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`.
	Importance pulumi.StringPtrInput
	// Specifies the label value that a request can be classified against.
	Label pulumi.StringPtrInput
	// The workload classifier member name used to classified against.
	MemberName pulumi.StringInput
	// The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	Name pulumi.StringPtrInput
	// The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone.
	StartTime pulumi.StringPtrInput
	// The ID of the Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	WorkloadGroupId pulumi.StringInput
}

The set of arguments for constructing a SqlPoolWorkloadClassifier resource.

func (SqlPoolWorkloadClassifierArgs) ElementType

type SqlPoolWorkloadClassifierArray

type SqlPoolWorkloadClassifierArray []SqlPoolWorkloadClassifierInput

func (SqlPoolWorkloadClassifierArray) ElementType

func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput

func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput

func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext

func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput

type SqlPoolWorkloadClassifierArrayInput

type SqlPoolWorkloadClassifierArrayInput interface {
	pulumi.Input

	ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput
	ToSqlPoolWorkloadClassifierArrayOutputWithContext(context.Context) SqlPoolWorkloadClassifierArrayOutput
}

SqlPoolWorkloadClassifierArrayInput is an input type that accepts SqlPoolWorkloadClassifierArray and SqlPoolWorkloadClassifierArrayOutput values. You can construct a concrete instance of `SqlPoolWorkloadClassifierArrayInput` via:

SqlPoolWorkloadClassifierArray{ SqlPoolWorkloadClassifierArgs{...} }

type SqlPoolWorkloadClassifierArrayOutput

type SqlPoolWorkloadClassifierArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierArrayOutput) ElementType

func (SqlPoolWorkloadClassifierArrayOutput) Index

func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput

func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput

func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext

func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierArrayOutput

type SqlPoolWorkloadClassifierInput

type SqlPoolWorkloadClassifierInput interface {
	pulumi.Input

	ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput
	ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput
}

type SqlPoolWorkloadClassifierMap

type SqlPoolWorkloadClassifierMap map[string]SqlPoolWorkloadClassifierInput

func (SqlPoolWorkloadClassifierMap) ElementType

func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput

func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput

func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext

func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput

type SqlPoolWorkloadClassifierMapInput

type SqlPoolWorkloadClassifierMapInput interface {
	pulumi.Input

	ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput
	ToSqlPoolWorkloadClassifierMapOutputWithContext(context.Context) SqlPoolWorkloadClassifierMapOutput
}

SqlPoolWorkloadClassifierMapInput is an input type that accepts SqlPoolWorkloadClassifierMap and SqlPoolWorkloadClassifierMapOutput values. You can construct a concrete instance of `SqlPoolWorkloadClassifierMapInput` via:

SqlPoolWorkloadClassifierMap{ "key": SqlPoolWorkloadClassifierArgs{...} }

type SqlPoolWorkloadClassifierMapOutput

type SqlPoolWorkloadClassifierMapOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierMapOutput) ElementType

func (SqlPoolWorkloadClassifierMapOutput) MapIndex

func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput

func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput

func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext

func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierMapOutput

type SqlPoolWorkloadClassifierOutput

type SqlPoolWorkloadClassifierOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierOutput) Context added in v5.5.0

Specifies the session context value that a request can be classified against.

func (SqlPoolWorkloadClassifierOutput) ElementType

func (SqlPoolWorkloadClassifierOutput) EndTime added in v5.5.0

The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone.

func (SqlPoolWorkloadClassifierOutput) Importance added in v5.5.0

The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`.

func (SqlPoolWorkloadClassifierOutput) Label added in v5.5.0

Specifies the label value that a request can be classified against.

func (SqlPoolWorkloadClassifierOutput) MemberName added in v5.5.0

The workload classifier member name used to classified against.

func (SqlPoolWorkloadClassifierOutput) Name added in v5.5.0

The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.

func (SqlPoolWorkloadClassifierOutput) StartTime added in v5.5.0

The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone.

func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput

func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput

func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext

func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext(ctx context.Context) SqlPoolWorkloadClassifierOutput

func (SqlPoolWorkloadClassifierOutput) WorkloadGroupId added in v5.5.0

The ID of the Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.

type SqlPoolWorkloadClassifierState

type SqlPoolWorkloadClassifierState struct {
	// Specifies the session context value that a request can be classified against.
	Context pulumi.StringPtrInput
	// The workload classifier end time for classification. It's of the `HH:MM` format in UTC time zone.
	EndTime pulumi.StringPtrInput
	// The workload classifier importance. The allowed values are `low`, `belowNormal`, `normal`, `aboveNormal` and `high`.
	Importance pulumi.StringPtrInput
	// Specifies the label value that a request can be classified against.
	Label pulumi.StringPtrInput
	// The workload classifier member name used to classified against.
	MemberName pulumi.StringPtrInput
	// The name which should be used for this Synapse SQL Pool Workload Classifier. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	Name pulumi.StringPtrInput
	// The workload classifier start time for classification. It's of the `HH:MM` format in UTC time zone.
	StartTime pulumi.StringPtrInput
	// The ID of the Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Classifier to be created.
	WorkloadGroupId pulumi.StringPtrInput
}

func (SqlPoolWorkloadClassifierState) ElementType

type SqlPoolWorkloadGroup

type SqlPoolWorkloadGroup struct {
	pulumi.CustomResourceState

	// The workload group importance level. Defaults to `normal`.
	Importance pulumi.StringPtrOutput `pulumi:"importance"`
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntOutput `pulumi:"maxResourcePercent"`
	// The workload group request maximum grant percentage. Defaults to `3`.
	MaxResourcePercentPerRequest pulumi.Float64PtrOutput `pulumi:"maxResourcePercentPerRequest"`
	// The workload group minimum percentage resource.
	MinResourcePercent pulumi.IntOutput `pulumi:"minResourcePercent"`
	// The workload group request minimum grant percentage.
	MinResourcePercentPerRequest pulumi.Float64PtrOutput `pulumi:"minResourcePercentPerRequest"`
	// The name which should be used for this Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The workload group query execution timeout.
	QueryExecutionTimeoutInSeconds pulumi.IntPtrOutput `pulumi:"queryExecutionTimeoutInSeconds"`
	// The ID of the Synapse SQL Pool. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	SqlPoolId pulumi.StringOutput `pulumi:"sqlPoolId"`
}

Manages a Synapse SQL Pool Workload Group.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
			StorageAccountId: 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleSqlPool, err := synapse.NewSqlPool(ctx, "exampleSqlPool", &synapse.SqlPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			SkuName:            pulumi.String("DW100c"),
			CreateMode:         pulumi.String("Default"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewSqlPoolWorkloadGroup(ctx, "exampleSqlPoolWorkloadGroup", &synapse.SqlPoolWorkloadGroupArgs{
			SqlPoolId:                      exampleSqlPool.ID(),
			Importance:                     pulumi.String("normal"),
			MaxResourcePercent:             pulumi.Int(100),
			MinResourcePercent:             pulumi.Int(0),
			MaxResourcePercentPerRequest:   pulumi.Float64(3),
			MinResourcePercentPerRequest:   pulumi.Float64(3),
			QueryExecutionTimeoutInSeconds: pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Synapse SQL Pool Workload Groups can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:synapse/sqlPoolWorkloadGroup:SqlPoolWorkloadGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlPools/sqlPool1/workloadGroups/workloadGroup1

```

func GetSqlPoolWorkloadGroup

func GetSqlPoolWorkloadGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SqlPoolWorkloadGroupState, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadGroup, error)

GetSqlPoolWorkloadGroup gets an existing SqlPoolWorkloadGroup 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 NewSqlPoolWorkloadGroup

func NewSqlPoolWorkloadGroup(ctx *pulumi.Context,
	name string, args *SqlPoolWorkloadGroupArgs, opts ...pulumi.ResourceOption) (*SqlPoolWorkloadGroup, error)

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

func (*SqlPoolWorkloadGroup) ElementType

func (*SqlPoolWorkloadGroup) ElementType() reflect.Type

func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput

func (i *SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput

func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutputWithContext

func (i *SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput

type SqlPoolWorkloadGroupArgs

type SqlPoolWorkloadGroupArgs struct {
	// The workload group importance level. Defaults to `normal`.
	Importance pulumi.StringPtrInput
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntInput
	// The workload group request maximum grant percentage. Defaults to `3`.
	MaxResourcePercentPerRequest pulumi.Float64PtrInput
	// The workload group minimum percentage resource.
	MinResourcePercent pulumi.IntInput
	// The workload group request minimum grant percentage.
	MinResourcePercentPerRequest pulumi.Float64PtrInput
	// The name which should be used for this Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	Name pulumi.StringPtrInput
	// The workload group query execution timeout.
	QueryExecutionTimeoutInSeconds pulumi.IntPtrInput
	// The ID of the Synapse SQL Pool. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	SqlPoolId pulumi.StringInput
}

The set of arguments for constructing a SqlPoolWorkloadGroup resource.

func (SqlPoolWorkloadGroupArgs) ElementType

func (SqlPoolWorkloadGroupArgs) ElementType() reflect.Type

type SqlPoolWorkloadGroupArray

type SqlPoolWorkloadGroupArray []SqlPoolWorkloadGroupInput

func (SqlPoolWorkloadGroupArray) ElementType

func (SqlPoolWorkloadGroupArray) ElementType() reflect.Type

func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput

func (i SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput

func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutputWithContext

func (i SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupArrayOutput

type SqlPoolWorkloadGroupArrayInput

type SqlPoolWorkloadGroupArrayInput interface {
	pulumi.Input

	ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput
	ToSqlPoolWorkloadGroupArrayOutputWithContext(context.Context) SqlPoolWorkloadGroupArrayOutput
}

SqlPoolWorkloadGroupArrayInput is an input type that accepts SqlPoolWorkloadGroupArray and SqlPoolWorkloadGroupArrayOutput values. You can construct a concrete instance of `SqlPoolWorkloadGroupArrayInput` via:

SqlPoolWorkloadGroupArray{ SqlPoolWorkloadGroupArgs{...} }

type SqlPoolWorkloadGroupArrayOutput

type SqlPoolWorkloadGroupArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupArrayOutput) ElementType

func (SqlPoolWorkloadGroupArrayOutput) Index

func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput

func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput

func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext

func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupArrayOutput

type SqlPoolWorkloadGroupInput

type SqlPoolWorkloadGroupInput interface {
	pulumi.Input

	ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput
	ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput
}

type SqlPoolWorkloadGroupMap

type SqlPoolWorkloadGroupMap map[string]SqlPoolWorkloadGroupInput

func (SqlPoolWorkloadGroupMap) ElementType

func (SqlPoolWorkloadGroupMap) ElementType() reflect.Type

func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput

func (i SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput

func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutputWithContext

func (i SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupMapOutput

type SqlPoolWorkloadGroupMapInput

type SqlPoolWorkloadGroupMapInput interface {
	pulumi.Input

	ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput
	ToSqlPoolWorkloadGroupMapOutputWithContext(context.Context) SqlPoolWorkloadGroupMapOutput
}

SqlPoolWorkloadGroupMapInput is an input type that accepts SqlPoolWorkloadGroupMap and SqlPoolWorkloadGroupMapOutput values. You can construct a concrete instance of `SqlPoolWorkloadGroupMapInput` via:

SqlPoolWorkloadGroupMap{ "key": SqlPoolWorkloadGroupArgs{...} }

type SqlPoolWorkloadGroupMapOutput

type SqlPoolWorkloadGroupMapOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupMapOutput) ElementType

func (SqlPoolWorkloadGroupMapOutput) MapIndex

func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput

func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput

func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext

func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupMapOutput

type SqlPoolWorkloadGroupOutput

type SqlPoolWorkloadGroupOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupOutput) ElementType

func (SqlPoolWorkloadGroupOutput) ElementType() reflect.Type

func (SqlPoolWorkloadGroupOutput) Importance added in v5.5.0

The workload group importance level. Defaults to `normal`.

func (SqlPoolWorkloadGroupOutput) MaxResourcePercent added in v5.5.0

func (o SqlPoolWorkloadGroupOutput) MaxResourcePercent() pulumi.IntOutput

The workload group cap percentage resource.

func (SqlPoolWorkloadGroupOutput) MaxResourcePercentPerRequest added in v5.5.0

func (o SqlPoolWorkloadGroupOutput) MaxResourcePercentPerRequest() pulumi.Float64PtrOutput

The workload group request maximum grant percentage. Defaults to `3`.

func (SqlPoolWorkloadGroupOutput) MinResourcePercent added in v5.5.0

func (o SqlPoolWorkloadGroupOutput) MinResourcePercent() pulumi.IntOutput

The workload group minimum percentage resource.

func (SqlPoolWorkloadGroupOutput) MinResourcePercentPerRequest added in v5.5.0

func (o SqlPoolWorkloadGroupOutput) MinResourcePercentPerRequest() pulumi.Float64PtrOutput

The workload group request minimum grant percentage.

func (SqlPoolWorkloadGroupOutput) Name added in v5.5.0

The name which should be used for this Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Group to be created.

func (SqlPoolWorkloadGroupOutput) QueryExecutionTimeoutInSeconds added in v5.5.0

func (o SqlPoolWorkloadGroupOutput) QueryExecutionTimeoutInSeconds() pulumi.IntPtrOutput

The workload group query execution timeout.

func (SqlPoolWorkloadGroupOutput) SqlPoolId added in v5.5.0

The ID of the Synapse SQL Pool. Changing this forces a new Synapse SQL Pool Workload Group to be created.

func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput

func (o SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput

func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutputWithContext

func (o SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutputWithContext(ctx context.Context) SqlPoolWorkloadGroupOutput

type SqlPoolWorkloadGroupState

type SqlPoolWorkloadGroupState struct {
	// The workload group importance level. Defaults to `normal`.
	Importance pulumi.StringPtrInput
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntPtrInput
	// The workload group request maximum grant percentage. Defaults to `3`.
	MaxResourcePercentPerRequest pulumi.Float64PtrInput
	// The workload group minimum percentage resource.
	MinResourcePercent pulumi.IntPtrInput
	// The workload group request minimum grant percentage.
	MinResourcePercentPerRequest pulumi.Float64PtrInput
	// The name which should be used for this Synapse SQL Pool Workload Group. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	Name pulumi.StringPtrInput
	// The workload group query execution timeout.
	QueryExecutionTimeoutInSeconds pulumi.IntPtrInput
	// The ID of the Synapse SQL Pool. Changing this forces a new Synapse SQL Pool Workload Group to be created.
	SqlPoolId pulumi.StringPtrInput
}

func (SqlPoolWorkloadGroupState) ElementType

func (SqlPoolWorkloadGroupState) ElementType() reflect.Type

type Workspace

type Workspace struct {
	pulumi.CustomResourceState

	// An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`.
	AadAdmin WorkspaceAadAdminTypeOutput `pulumi:"aadAdmin"`
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrOutput `pulumi:"azureDevopsRepo"`
	// Subnet ID used for computes in workspace Changing this forces a new resource to be created.
	ComputeSubnetId pulumi.StringPtrOutput `pulumi:"computeSubnetId"`
	// A list of Connectivity endpoints for this Synapse Workspace.
	ConnectivityEndpoints pulumi.StringMapOutput `pulumi:"connectivityEndpoints"`
	// A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`.
	CustomerManagedKey WorkspaceCustomerManagedKeyPtrOutput `pulumi:"customerManagedKey"`
	// Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created.
	DataExfiltrationProtectionEnabled pulumi.BoolPtrOutput `pulumi:"dataExfiltrationProtectionEnabled"`
	// A `githubRepo` block as defined below.
	GithubRepo WorkspaceGithubRepoPtrOutput `pulumi:"githubRepo"`
	// An `identity` block as defined below.
	Identity WorkspaceIdentityPtrOutput `pulumi:"identity"`
	// Allowed AAD Tenant Ids For Linking.
	LinkingAllowedForAadTenantIds pulumi.StringArrayOutput `pulumi:"linkingAllowedForAadTenantIds"`
	// 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. Changing this forces a new resource to be created.
	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"`
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// The ID of purview account.
	PurviewId pulumi.StringPtrOutput `pulumi:"purviewId"`
	// 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"`
	// An `sqlAadAdmin` block as defined below.
	SqlAadAdmin WorkspaceSqlAadAdminTypeOutput `pulumi:"sqlAadAdmin"`
	// Specifies The login name of the SQL administrator. Changing this forces a new resource to be created. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLogin pulumi.StringPtrOutput `pulumi:"sqlAdministratorLogin"`
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLoginPassword pulumi.StringPtrOutput `pulumi:"sqlAdministratorLoginPassword"`
	// Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools?
	SqlIdentityControlEnabled pulumi.BoolPtrOutput `pulumi:"sqlIdentityControlEnabled"`
	// 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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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.WorkspaceAadAdminTypeArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Creating A Workspace With Customer Managed Key And Azure AD Admin

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		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
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               *pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   *pulumi.String(current.TenantId),
			ObjectId:   *pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("unwrapKey"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			deployer,
		}))
		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!"),
			CustomerManagedKey: &synapse.WorkspaceCustomerManagedKeyArgs{
				KeyVersionlessId: exampleKey.VersionlessId,
				KeyName:          pulumi.String("enckey"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		workspacePolicy, err := keyvault.NewAccessPolicy(ctx, "workspacePolicy", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (*string, error) {
				return &identity.TenantId, nil
			}).(pulumi.StringPtrOutput),
			ObjectId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (*string, error) {
				return &identity.PrincipalId, nil
			}).(pulumi.StringPtrOutput),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Get"),
				pulumi.String("WrapKey"),
				pulumi.String("UnwrapKey"),
			},
		})
		if err != nil {
			return err
		}
		exampleWorkspaceKey, err := synapse.NewWorkspaceKey(ctx, "exampleWorkspaceKey", &synapse.WorkspaceKeyArgs{
			CustomerManagedKeyVersionlessId: exampleKey.VersionlessId,
			SynapseWorkspaceId:              exampleWorkspace.ID(),
			Active:                          pulumi.Bool(true),
			CustomerManagedKeyName:          pulumi.String("enckey"),
		}, pulumi.DependsOn([]pulumi.Resource{
			workspacePolicy,
		}))
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceAadAdmin(ctx, "exampleWorkspaceAadAdmin", &synapse.WorkspaceAadAdminArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			Login:              pulumi.String("AzureAD Admin"),
			ObjectId:           pulumi.String("00000000-0000-0000-0000-000000000000"),
			TenantId:           pulumi.String("00000000-0000-0000-0000-000000000000"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleWorkspaceKey,
		}))
		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

func (*Workspace) ElementType() reflect.Type

func (*Workspace) ToWorkspaceOutput

func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput

func (*Workspace) ToWorkspaceOutputWithContext

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

type WorkspaceAadAdmin

type WorkspaceAadAdmin struct {
	pulumi.CustomResourceState

	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringOutput `pulumi:"login"`
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringOutput `pulumi:"objectId"`
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
}

Manages an Azure Active Directory Administrator setting for a Synapse Workspace

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               *pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   *pulumi.String(current.TenantId),
			ObjectId:   *pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("unwrapKey"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			deployer,
		}))
		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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceAadAdmin(ctx, "exampleWorkspaceAadAdmin", &synapse.WorkspaceAadAdminArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			Login:              pulumi.String("AzureAD Admin"),
			ObjectId:           *pulumi.String(current.ObjectId),
			TenantId:           *pulumi.String(current.TenantId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceAadAdmin:WorkspaceAadAdmin example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory

```

func GetWorkspaceAadAdmin

func GetWorkspaceAadAdmin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceAadAdminState, opts ...pulumi.ResourceOption) (*WorkspaceAadAdmin, error)

GetWorkspaceAadAdmin gets an existing WorkspaceAadAdmin 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 NewWorkspaceAadAdmin

func NewWorkspaceAadAdmin(ctx *pulumi.Context,
	name string, args *WorkspaceAadAdminArgs, opts ...pulumi.ResourceOption) (*WorkspaceAadAdmin, error)

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

func (*WorkspaceAadAdmin) ElementType

func (*WorkspaceAadAdmin) ElementType() reflect.Type

func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutput

func (i *WorkspaceAadAdmin) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput

func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutputWithContext

func (i *WorkspaceAadAdmin) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput

type WorkspaceAadAdminArgs

type WorkspaceAadAdminArgs struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringInput
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringInput
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringInput
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceAadAdmin resource.

func (WorkspaceAadAdminArgs) ElementType

func (WorkspaceAadAdminArgs) ElementType() reflect.Type

type WorkspaceAadAdminArray

type WorkspaceAadAdminArray []WorkspaceAadAdminInput

func (WorkspaceAadAdminArray) ElementType

func (WorkspaceAadAdminArray) ElementType() reflect.Type

func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput

func (i WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput

func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutputWithContext

func (i WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceAadAdminArrayOutput

type WorkspaceAadAdminArrayInput

type WorkspaceAadAdminArrayInput interface {
	pulumi.Input

	ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput
	ToWorkspaceAadAdminArrayOutputWithContext(context.Context) WorkspaceAadAdminArrayOutput
}

WorkspaceAadAdminArrayInput is an input type that accepts WorkspaceAadAdminArray and WorkspaceAadAdminArrayOutput values. You can construct a concrete instance of `WorkspaceAadAdminArrayInput` via:

WorkspaceAadAdminArray{ WorkspaceAadAdminArgs{...} }

type WorkspaceAadAdminArrayOutput

type WorkspaceAadAdminArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminArrayOutput) ElementType

func (WorkspaceAadAdminArrayOutput) Index

func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput

func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput

func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext

func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceAadAdminArrayOutput

type WorkspaceAadAdminInput

type WorkspaceAadAdminInput interface {
	pulumi.Input

	ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput
	ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput
}

type WorkspaceAadAdminMap

type WorkspaceAadAdminMap map[string]WorkspaceAadAdminInput

func (WorkspaceAadAdminMap) ElementType

func (WorkspaceAadAdminMap) ElementType() reflect.Type

func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput

func (i WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput

func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutputWithContext

func (i WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutputWithContext(ctx context.Context) WorkspaceAadAdminMapOutput

type WorkspaceAadAdminMapInput

type WorkspaceAadAdminMapInput interface {
	pulumi.Input

	ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput
	ToWorkspaceAadAdminMapOutputWithContext(context.Context) WorkspaceAadAdminMapOutput
}

WorkspaceAadAdminMapInput is an input type that accepts WorkspaceAadAdminMap and WorkspaceAadAdminMapOutput values. You can construct a concrete instance of `WorkspaceAadAdminMapInput` via:

WorkspaceAadAdminMap{ "key": WorkspaceAadAdminArgs{...} }

type WorkspaceAadAdminMapOutput

type WorkspaceAadAdminMapOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminMapOutput) ElementType

func (WorkspaceAadAdminMapOutput) ElementType() reflect.Type

func (WorkspaceAadAdminMapOutput) MapIndex

func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput

func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput

func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext

func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext(ctx context.Context) WorkspaceAadAdminMapOutput

type WorkspaceAadAdminOutput

type WorkspaceAadAdminOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminOutput) ElementType

func (WorkspaceAadAdminOutput) ElementType() reflect.Type

func (WorkspaceAadAdminOutput) Login added in v5.5.0

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

func (WorkspaceAadAdminOutput) ObjectId added in v5.5.0

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

func (WorkspaceAadAdminOutput) SynapseWorkspaceId added in v5.5.0

func (o WorkspaceAadAdminOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace where the Azure AD Administrator should be configured.

func (WorkspaceAadAdminOutput) TenantId added in v5.5.0

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

type WorkspaceAadAdminState

type WorkspaceAadAdminState struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringPtrInput
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringPtrInput
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringPtrInput
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringPtrInput
}

func (WorkspaceAadAdminState) ElementType

func (WorkspaceAadAdminState) ElementType() reflect.Type

type WorkspaceAadAdminType

type WorkspaceAadAdminType 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 WorkspaceAadAdminTypeArgs

type WorkspaceAadAdminTypeArgs 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 (WorkspaceAadAdminTypeArgs) ElementType

func (WorkspaceAadAdminTypeArgs) ElementType() reflect.Type

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput

type WorkspaceAadAdminTypeInput

type WorkspaceAadAdminTypeInput interface {
	pulumi.Input

	ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput
	ToWorkspaceAadAdminTypeOutputWithContext(context.Context) WorkspaceAadAdminTypeOutput
}

WorkspaceAadAdminTypeInput is an input type that accepts WorkspaceAadAdminTypeArgs and WorkspaceAadAdminTypeOutput values. You can construct a concrete instance of `WorkspaceAadAdminTypeInput` via:

WorkspaceAadAdminTypeArgs{...}

type WorkspaceAadAdminTypeOutput

type WorkspaceAadAdminTypeOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminTypeOutput) ElementType

func (WorkspaceAadAdminTypeOutput) Login

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

func (WorkspaceAadAdminTypeOutput) ObjectId

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

func (WorkspaceAadAdminTypeOutput) TenantId

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

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput

type WorkspaceAadAdminTypePtrInput

type WorkspaceAadAdminTypePtrInput interface {
	pulumi.Input

	ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput
	ToWorkspaceAadAdminTypePtrOutputWithContext(context.Context) WorkspaceAadAdminTypePtrOutput
}

WorkspaceAadAdminTypePtrInput is an input type that accepts WorkspaceAadAdminTypeArgs, WorkspaceAadAdminTypePtr and WorkspaceAadAdminTypePtrOutput values. You can construct a concrete instance of `WorkspaceAadAdminTypePtrInput` via:

        WorkspaceAadAdminTypeArgs{...}

or:

        nil

type WorkspaceAadAdminTypePtrOutput

type WorkspaceAadAdminTypePtrOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminTypePtrOutput) Elem

func (WorkspaceAadAdminTypePtrOutput) ElementType

func (WorkspaceAadAdminTypePtrOutput) Login

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

func (WorkspaceAadAdminTypePtrOutput) ObjectId

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

func (WorkspaceAadAdminTypePtrOutput) TenantId

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

func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput

func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext

func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceAadAdminTypePtrOutput

type WorkspaceArgs

type WorkspaceArgs struct {
	// An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`.
	AadAdmin WorkspaceAadAdminTypePtrInput
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput
	// Subnet ID used for computes in workspace Changing this forces a new resource to be created.
	ComputeSubnetId pulumi.StringPtrInput
	// A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`.
	CustomerManagedKey WorkspaceCustomerManagedKeyPtrInput
	// Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created.
	DataExfiltrationProtectionEnabled pulumi.BoolPtrInput
	// A `githubRepo` block as defined below.
	GithubRepo WorkspaceGithubRepoPtrInput
	// An `identity` block as defined below.
	Identity WorkspaceIdentityPtrInput
	// Allowed AAD Tenant Ids For Linking.
	LinkingAllowedForAadTenantIds pulumi.StringArrayInput
	// 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. Changing this forces a new resource to be created.
	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
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The ID of purview account.
	PurviewId 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
	// An `sqlAadAdmin` block as defined below.
	SqlAadAdmin WorkspaceSqlAadAdminTypePtrInput
	// Specifies The login name of the SQL administrator. Changing this forces a new resource to be created. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLoginPassword pulumi.StringPtrInput
	// Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools?
	SqlIdentityControlEnabled pulumi.BoolPtrInput
	// 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 WorkspaceArray

type WorkspaceArray []WorkspaceInput

func (WorkspaceArray) ElementType

func (WorkspaceArray) ElementType() reflect.Type

func (WorkspaceArray) ToWorkspaceArrayOutput

func (i WorkspaceArray) ToWorkspaceArrayOutput() WorkspaceArrayOutput

func (WorkspaceArray) ToWorkspaceArrayOutputWithContext

func (i WorkspaceArray) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput

type WorkspaceArrayInput

type WorkspaceArrayInput interface {
	pulumi.Input

	ToWorkspaceArrayOutput() WorkspaceArrayOutput
	ToWorkspaceArrayOutputWithContext(context.Context) WorkspaceArrayOutput
}

WorkspaceArrayInput is an input type that accepts WorkspaceArray and WorkspaceArrayOutput values. You can construct a concrete instance of `WorkspaceArrayInput` via:

WorkspaceArray{ WorkspaceArgs{...} }

type WorkspaceArrayOutput

type WorkspaceArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceArrayOutput) ElementType

func (WorkspaceArrayOutput) ElementType() reflect.Type

func (WorkspaceArrayOutput) Index

func (WorkspaceArrayOutput) ToWorkspaceArrayOutput

func (o WorkspaceArrayOutput) ToWorkspaceArrayOutput() WorkspaceArrayOutput

func (WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext

func (o WorkspaceArrayOutput) ToWorkspaceArrayOutputWithContext(ctx context.Context) WorkspaceArrayOutput

type WorkspaceAzureDevopsRepo

type WorkspaceAzureDevopsRepo struct {
	// Specifies the Azure DevOps account name.
	AccountName string `pulumi:"accountName"`
	// Specifies the collaboration branch of the repository to get code from.
	BranchName string `pulumi:"branchName"`
	// The last commit ID.
	LastCommitId *string `pulumi:"lastCommitId"`
	// Specifies the name of the Azure DevOps project.
	ProjectName string `pulumi:"projectName"`
	// Specifies the name of the git repository.
	RepositoryName string `pulumi:"repositoryName"`
	// Specifies the root folder within the repository. Set to `/` for the top level.
	RootFolder string `pulumi:"rootFolder"`
	// the ID of the tenant for the Azure DevOps account.
	TenantId *string `pulumi:"tenantId"`
}

type WorkspaceAzureDevopsRepoArgs

type WorkspaceAzureDevopsRepoArgs struct {
	// Specifies the Azure DevOps account name.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Specifies the collaboration branch of the repository to get code from.
	BranchName pulumi.StringInput `pulumi:"branchName"`
	// The last commit ID.
	LastCommitId pulumi.StringPtrInput `pulumi:"lastCommitId"`
	// Specifies the name of the Azure DevOps project.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// Specifies the name of the git repository.
	RepositoryName pulumi.StringInput `pulumi:"repositoryName"`
	// Specifies the root folder within the repository. Set to `/` for the top level.
	RootFolder pulumi.StringInput `pulumi:"rootFolder"`
	// the ID of the tenant for the Azure DevOps account.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

func (WorkspaceAzureDevopsRepoArgs) ElementType

func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutput

func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput

func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutputWithContext

func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput

func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutput

func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput

func (WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutputWithContext

func (i WorkspaceAzureDevopsRepoArgs) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput

type WorkspaceAzureDevopsRepoInput

type WorkspaceAzureDevopsRepoInput interface {
	pulumi.Input

	ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput
	ToWorkspaceAzureDevopsRepoOutputWithContext(context.Context) WorkspaceAzureDevopsRepoOutput
}

WorkspaceAzureDevopsRepoInput is an input type that accepts WorkspaceAzureDevopsRepoArgs and WorkspaceAzureDevopsRepoOutput values. You can construct a concrete instance of `WorkspaceAzureDevopsRepoInput` via:

WorkspaceAzureDevopsRepoArgs{...}

type WorkspaceAzureDevopsRepoOutput

type WorkspaceAzureDevopsRepoOutput struct{ *pulumi.OutputState }

func (WorkspaceAzureDevopsRepoOutput) AccountName

Specifies the Azure DevOps account name.

func (WorkspaceAzureDevopsRepoOutput) BranchName

Specifies the collaboration branch of the repository to get code from.

func (WorkspaceAzureDevopsRepoOutput) ElementType

func (WorkspaceAzureDevopsRepoOutput) LastCommitId

The last commit ID.

func (WorkspaceAzureDevopsRepoOutput) ProjectName

Specifies the name of the Azure DevOps project.

func (WorkspaceAzureDevopsRepoOutput) RepositoryName

Specifies the name of the git repository.

func (WorkspaceAzureDevopsRepoOutput) RootFolder

Specifies the root folder within the repository. Set to `/` for the top level.

func (WorkspaceAzureDevopsRepoOutput) TenantId

the ID of the tenant for the Azure DevOps account.

func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutput

func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutput() WorkspaceAzureDevopsRepoOutput

func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutputWithContext

func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoOutput

func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutput

func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput

func (WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext

func (o WorkspaceAzureDevopsRepoOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput

type WorkspaceAzureDevopsRepoPtrInput

type WorkspaceAzureDevopsRepoPtrInput interface {
	pulumi.Input

	ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput
	ToWorkspaceAzureDevopsRepoPtrOutputWithContext(context.Context) WorkspaceAzureDevopsRepoPtrOutput
}

WorkspaceAzureDevopsRepoPtrInput is an input type that accepts WorkspaceAzureDevopsRepoArgs, WorkspaceAzureDevopsRepoPtr and WorkspaceAzureDevopsRepoPtrOutput values. You can construct a concrete instance of `WorkspaceAzureDevopsRepoPtrInput` via:

        WorkspaceAzureDevopsRepoArgs{...}

or:

        nil

type WorkspaceAzureDevopsRepoPtrOutput

type WorkspaceAzureDevopsRepoPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceAzureDevopsRepoPtrOutput) AccountName

Specifies the Azure DevOps account name.

func (WorkspaceAzureDevopsRepoPtrOutput) BranchName

Specifies the collaboration branch of the repository to get code from.

func (WorkspaceAzureDevopsRepoPtrOutput) Elem

func (WorkspaceAzureDevopsRepoPtrOutput) ElementType

func (WorkspaceAzureDevopsRepoPtrOutput) LastCommitId

The last commit ID.

func (WorkspaceAzureDevopsRepoPtrOutput) ProjectName

Specifies the name of the Azure DevOps project.

func (WorkspaceAzureDevopsRepoPtrOutput) RepositoryName

Specifies the name of the git repository.

func (WorkspaceAzureDevopsRepoPtrOutput) RootFolder

Specifies the root folder within the repository. Set to `/` for the top level.

func (WorkspaceAzureDevopsRepoPtrOutput) TenantId

the ID of the tenant for the Azure DevOps account.

func (WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutput

func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutput() WorkspaceAzureDevopsRepoPtrOutput

func (WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext

func (o WorkspaceAzureDevopsRepoPtrOutput) ToWorkspaceAzureDevopsRepoPtrOutputWithContext(ctx context.Context) WorkspaceAzureDevopsRepoPtrOutput

type WorkspaceCustomerManagedKey

type WorkspaceCustomerManagedKey struct {
	// An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.
	KeyName *string `pulumi:"keyName"`
	// The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).
	KeyVersionlessId string `pulumi:"keyVersionlessId"`
}

type WorkspaceCustomerManagedKeyArgs

type WorkspaceCustomerManagedKeyArgs struct {
	// An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.
	KeyName pulumi.StringPtrInput `pulumi:"keyName"`
	// The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).
	KeyVersionlessId pulumi.StringInput `pulumi:"keyVersionlessId"`
}

func (WorkspaceCustomerManagedKeyArgs) ElementType

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput

type WorkspaceCustomerManagedKeyInput

type WorkspaceCustomerManagedKeyInput interface {
	pulumi.Input

	ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput
	ToWorkspaceCustomerManagedKeyOutputWithContext(context.Context) WorkspaceCustomerManagedKeyOutput
}

WorkspaceCustomerManagedKeyInput is an input type that accepts WorkspaceCustomerManagedKeyArgs and WorkspaceCustomerManagedKeyOutput values. You can construct a concrete instance of `WorkspaceCustomerManagedKeyInput` via:

WorkspaceCustomerManagedKeyArgs{...}

type WorkspaceCustomerManagedKeyOutput

type WorkspaceCustomerManagedKeyOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomerManagedKeyOutput) ElementType

func (WorkspaceCustomerManagedKeyOutput) KeyName

An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.

func (WorkspaceCustomerManagedKeyOutput) KeyVersionlessId

The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput

type WorkspaceCustomerManagedKeyPtrInput

type WorkspaceCustomerManagedKeyPtrInput interface {
	pulumi.Input

	ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput
	ToWorkspaceCustomerManagedKeyPtrOutputWithContext(context.Context) WorkspaceCustomerManagedKeyPtrOutput
}

WorkspaceCustomerManagedKeyPtrInput is an input type that accepts WorkspaceCustomerManagedKeyArgs, WorkspaceCustomerManagedKeyPtr and WorkspaceCustomerManagedKeyPtrOutput values. You can construct a concrete instance of `WorkspaceCustomerManagedKeyPtrInput` via:

        WorkspaceCustomerManagedKeyArgs{...}

or:

        nil

type WorkspaceCustomerManagedKeyPtrOutput

type WorkspaceCustomerManagedKeyPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomerManagedKeyPtrOutput) Elem

func (WorkspaceCustomerManagedKeyPtrOutput) ElementType

func (WorkspaceCustomerManagedKeyPtrOutput) KeyName

An identifier for the key. Name needs to match the name of the key used with the `synapse.WorkspaceKey` resource. Defaults to "cmk" if not specified.

func (WorkspaceCustomerManagedKeyPtrOutput) KeyVersionlessId

The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption (e.g. `https://example-keyvault.vault.azure.net/type/cmk/`).

func (WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput

func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext

func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext(ctx context.Context) WorkspaceCustomerManagedKeyPtrOutput

type WorkspaceExtendedAuditingPolicy

type WorkspaceExtendedAuditingPolicy struct {
	pulumi.CustomResourceState

	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"`
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"`
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrOutput `pulumi:"storageAccountAccessKeyIsSecondary"`
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"`
	// The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
}

Manages a Synapse Workspace Extended Auditing Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceExtendedAuditingPolicy(ctx, "exampleWorkspaceExtendedAuditingPolicy", &synapse.WorkspaceExtendedAuditingPolicyArgs{
			SynapseWorkspaceId:                 exampleWorkspace.ID(),
			StorageEndpoint:                    auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey:            auditLogs.PrimaryAccessKey,
			StorageAccountAccessKeyIsSecondary: pulumi.Bool(false),
			RetentionInDays:                    pulumi.Int(6),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceExtendedAuditingPolicy:WorkspaceExtendedAuditingPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/extendedAuditingSettings/default

```

func GetWorkspaceExtendedAuditingPolicy

func GetWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceExtendedAuditingPolicyState, opts ...pulumi.ResourceOption) (*WorkspaceExtendedAuditingPolicy, error)

GetWorkspaceExtendedAuditingPolicy gets an existing WorkspaceExtendedAuditingPolicy 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 NewWorkspaceExtendedAuditingPolicy

func NewWorkspaceExtendedAuditingPolicy(ctx *pulumi.Context,
	name string, args *WorkspaceExtendedAuditingPolicyArgs, opts ...pulumi.ResourceOption) (*WorkspaceExtendedAuditingPolicy, error)

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

func (*WorkspaceExtendedAuditingPolicy) ElementType

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput

func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext

func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput

type WorkspaceExtendedAuditingPolicyArgs

type WorkspaceExtendedAuditingPolicyArgs struct {
	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrInput
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrInput
	// The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceExtendedAuditingPolicy resource.

func (WorkspaceExtendedAuditingPolicyArgs) ElementType

type WorkspaceExtendedAuditingPolicyArray

type WorkspaceExtendedAuditingPolicyArray []WorkspaceExtendedAuditingPolicyInput

func (WorkspaceExtendedAuditingPolicyArray) ElementType

func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput

func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput

func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext

func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput

type WorkspaceExtendedAuditingPolicyArrayInput

type WorkspaceExtendedAuditingPolicyArrayInput interface {
	pulumi.Input

	ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput
	ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(context.Context) WorkspaceExtendedAuditingPolicyArrayOutput
}

WorkspaceExtendedAuditingPolicyArrayInput is an input type that accepts WorkspaceExtendedAuditingPolicyArray and WorkspaceExtendedAuditingPolicyArrayOutput values. You can construct a concrete instance of `WorkspaceExtendedAuditingPolicyArrayInput` via:

WorkspaceExtendedAuditingPolicyArray{ WorkspaceExtendedAuditingPolicyArgs{...} }

type WorkspaceExtendedAuditingPolicyArrayOutput

type WorkspaceExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyArrayOutput) ElementType

func (WorkspaceExtendedAuditingPolicyArrayOutput) Index

func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput

func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput

func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext

func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyArrayOutput

type WorkspaceExtendedAuditingPolicyInput

type WorkspaceExtendedAuditingPolicyInput interface {
	pulumi.Input

	ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput
	ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput
}

type WorkspaceExtendedAuditingPolicyMap

type WorkspaceExtendedAuditingPolicyMap map[string]WorkspaceExtendedAuditingPolicyInput

func (WorkspaceExtendedAuditingPolicyMap) ElementType

func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput

func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput

func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext

func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput

type WorkspaceExtendedAuditingPolicyMapInput

type WorkspaceExtendedAuditingPolicyMapInput interface {
	pulumi.Input

	ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput
	ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(context.Context) WorkspaceExtendedAuditingPolicyMapOutput
}

WorkspaceExtendedAuditingPolicyMapInput is an input type that accepts WorkspaceExtendedAuditingPolicyMap and WorkspaceExtendedAuditingPolicyMapOutput values. You can construct a concrete instance of `WorkspaceExtendedAuditingPolicyMapInput` via:

WorkspaceExtendedAuditingPolicyMap{ "key": WorkspaceExtendedAuditingPolicyArgs{...} }

type WorkspaceExtendedAuditingPolicyMapOutput

type WorkspaceExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyMapOutput) ElementType

func (WorkspaceExtendedAuditingPolicyMapOutput) MapIndex

func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput

func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput

func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext

func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyMapOutput

type WorkspaceExtendedAuditingPolicyOutput

type WorkspaceExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyOutput) ElementType

func (WorkspaceExtendedAuditingPolicyOutput) LogMonitoringEnabled added in v5.5.0

Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.

func (WorkspaceExtendedAuditingPolicyOutput) RetentionInDays added in v5.5.0

The number of days to retain logs for in the storage account. Defaults to `0`.

func (WorkspaceExtendedAuditingPolicyOutput) StorageAccountAccessKey added in v5.5.0

func (o WorkspaceExtendedAuditingPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput

The access key to use for the auditing storage account.

func (WorkspaceExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary added in v5.5.0

func (o WorkspaceExtendedAuditingPolicyOutput) StorageAccountAccessKeyIsSecondary() pulumi.BoolPtrOutput

Is `storageAccountAccessKey` value the storage's secondary key?

func (WorkspaceExtendedAuditingPolicyOutput) StorageEndpoint added in v5.5.0

The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.

func (WorkspaceExtendedAuditingPolicyOutput) SynapseWorkspaceId added in v5.5.0

The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created.

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput

func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext

func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyOutput

type WorkspaceExtendedAuditingPolicyState

type WorkspaceExtendedAuditingPolicyState struct {
	// Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its master database audit events to Azure Monitor. Defaults to `true`.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account. Defaults to `0`.
	RetentionInDays pulumi.IntPtrInput
	// The access key to use for the auditing storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Is `storageAccountAccessKey` value the storage's secondary key?
	StorageAccountAccessKeyIsSecondary pulumi.BoolPtrInput
	// The blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrInput
	// The ID of the Synapse workspace to set the extended auditing policy. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (WorkspaceExtendedAuditingPolicyState) ElementType

type WorkspaceGithubRepo

type WorkspaceGithubRepo struct {
	// Specifies the GitHub account name.
	AccountName string `pulumi:"accountName"`
	// Specifies the collaboration branch of the repository to get code from.
	BranchName string `pulumi:"branchName"`
	// Specifies the GitHub Enterprise host name. For example: <https://github.mydomain.com>.
	GitUrl *string `pulumi:"gitUrl"`
	// The last commit ID.
	LastCommitId *string `pulumi:"lastCommitId"`
	// Specifies the name of the git repository.
	RepositoryName string `pulumi:"repositoryName"`
	// Specifies the root folder within the repository. Set to `/` for the top level.
	RootFolder string `pulumi:"rootFolder"`
}

type WorkspaceGithubRepoArgs

type WorkspaceGithubRepoArgs struct {
	// Specifies the GitHub account name.
	AccountName pulumi.StringInput `pulumi:"accountName"`
	// Specifies the collaboration branch of the repository to get code from.
	BranchName pulumi.StringInput `pulumi:"branchName"`
	// Specifies the GitHub Enterprise host name. For example: <https://github.mydomain.com>.
	GitUrl pulumi.StringPtrInput `pulumi:"gitUrl"`
	// The last commit ID.
	LastCommitId pulumi.StringPtrInput `pulumi:"lastCommitId"`
	// Specifies the name of the git repository.
	RepositoryName pulumi.StringInput `pulumi:"repositoryName"`
	// Specifies the root folder within the repository. Set to `/` for the top level.
	RootFolder pulumi.StringInput `pulumi:"rootFolder"`
}

func (WorkspaceGithubRepoArgs) ElementType

func (WorkspaceGithubRepoArgs) ElementType() reflect.Type

func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutput

func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput

func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutputWithContext

func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput

func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutput

func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput

func (WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutputWithContext

func (i WorkspaceGithubRepoArgs) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput

type WorkspaceGithubRepoInput

type WorkspaceGithubRepoInput interface {
	pulumi.Input

	ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput
	ToWorkspaceGithubRepoOutputWithContext(context.Context) WorkspaceGithubRepoOutput
}

WorkspaceGithubRepoInput is an input type that accepts WorkspaceGithubRepoArgs and WorkspaceGithubRepoOutput values. You can construct a concrete instance of `WorkspaceGithubRepoInput` via:

WorkspaceGithubRepoArgs{...}

type WorkspaceGithubRepoOutput

type WorkspaceGithubRepoOutput struct{ *pulumi.OutputState }

func (WorkspaceGithubRepoOutput) AccountName

Specifies the GitHub account name.

func (WorkspaceGithubRepoOutput) BranchName

Specifies the collaboration branch of the repository to get code from.

func (WorkspaceGithubRepoOutput) ElementType

func (WorkspaceGithubRepoOutput) ElementType() reflect.Type

func (WorkspaceGithubRepoOutput) GitUrl

Specifies the GitHub Enterprise host name. For example: <https://github.mydomain.com>.

func (WorkspaceGithubRepoOutput) LastCommitId

The last commit ID.

func (WorkspaceGithubRepoOutput) RepositoryName

func (o WorkspaceGithubRepoOutput) RepositoryName() pulumi.StringOutput

Specifies the name of the git repository.

func (WorkspaceGithubRepoOutput) RootFolder

Specifies the root folder within the repository. Set to `/` for the top level.

func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutput

func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutput() WorkspaceGithubRepoOutput

func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutputWithContext

func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoOutputWithContext(ctx context.Context) WorkspaceGithubRepoOutput

func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutput

func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput

func (WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutputWithContext

func (o WorkspaceGithubRepoOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput

type WorkspaceGithubRepoPtrInput

type WorkspaceGithubRepoPtrInput interface {
	pulumi.Input

	ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput
	ToWorkspaceGithubRepoPtrOutputWithContext(context.Context) WorkspaceGithubRepoPtrOutput
}

WorkspaceGithubRepoPtrInput is an input type that accepts WorkspaceGithubRepoArgs, WorkspaceGithubRepoPtr and WorkspaceGithubRepoPtrOutput values. You can construct a concrete instance of `WorkspaceGithubRepoPtrInput` via:

        WorkspaceGithubRepoArgs{...}

or:

        nil

type WorkspaceGithubRepoPtrOutput

type WorkspaceGithubRepoPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceGithubRepoPtrOutput) AccountName

Specifies the GitHub account name.

func (WorkspaceGithubRepoPtrOutput) BranchName

Specifies the collaboration branch of the repository to get code from.

func (WorkspaceGithubRepoPtrOutput) Elem

func (WorkspaceGithubRepoPtrOutput) ElementType

func (WorkspaceGithubRepoPtrOutput) GitUrl

Specifies the GitHub Enterprise host name. For example: <https://github.mydomain.com>.

func (WorkspaceGithubRepoPtrOutput) LastCommitId

The last commit ID.

func (WorkspaceGithubRepoPtrOutput) RepositoryName

Specifies the name of the git repository.

func (WorkspaceGithubRepoPtrOutput) RootFolder

Specifies the root folder within the repository. Set to `/` for the top level.

func (WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutput

func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutput() WorkspaceGithubRepoPtrOutput

func (WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutputWithContext

func (o WorkspaceGithubRepoPtrOutput) ToWorkspaceGithubRepoPtrOutputWithContext(ctx context.Context) WorkspaceGithubRepoPtrOutput

type WorkspaceIdentity

type WorkspaceIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Synapse Workspace.
	IdentityIds []string `pulumi:"identityIds"`
	// 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"`
	// Specifies the type of Managed Service Identity that should be associated with this Synapse Workspace. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type WorkspaceIdentityArgs

type WorkspaceIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Synapse Workspace.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// 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"`
	// Specifies the type of Managed Service Identity that should be associated with this Synapse Workspace. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `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

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput

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) IdentityIds added in v5.24.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Synapse Workspace.

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

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput

func (WorkspaceIdentityOutput) Type

Specifies the type of Managed Service Identity that should be associated with this Synapse Workspace. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type WorkspaceIdentityPtrInput

type WorkspaceIdentityPtrInput interface {
	pulumi.Input

	ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput
	ToWorkspaceIdentityPtrOutputWithContext(context.Context) WorkspaceIdentityPtrOutput
}

WorkspaceIdentityPtrInput is an input type that accepts WorkspaceIdentityArgs, WorkspaceIdentityPtr and WorkspaceIdentityPtrOutput values. You can construct a concrete instance of `WorkspaceIdentityPtrInput` via:

        WorkspaceIdentityArgs{...}

or:

        nil

type WorkspaceIdentityPtrOutput

type WorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityPtrOutput) Elem

func (WorkspaceIdentityPtrOutput) ElementType

func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type

func (WorkspaceIdentityPtrOutput) IdentityIds added in v5.24.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Synapse Workspace.

func (WorkspaceIdentityPtrOutput) PrincipalId

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

func (WorkspaceIdentityPtrOutput) TenantId

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

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput

func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext

func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext(ctx context.Context) WorkspaceIdentityPtrOutput

func (WorkspaceIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be associated with this Synapse Workspace. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type WorkspaceInput

type WorkspaceInput interface {
	pulumi.Input

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

type WorkspaceKey

type WorkspaceKey struct {
	pulumi.CustomResourceState

	// Specifies if the workspace should be encrypted with this key.
	Active pulumi.BoolOutput `pulumi:"active"`
	// Specifies the name of the workspace key. Should match the name of the key in the synapse workspace.
	CustomerManagedKeyName pulumi.StringOutput `pulumi:"customerManagedKeyName"`
	// The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption
	CustomerManagedKeyVersionlessId pulumi.StringPtrOutput `pulumi:"customerManagedKeyVersionlessId"`
	// The ID of the Synapse Workspace where the encryption key should be configured.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
}

Manages Synapse Workspace keys

> **Note:** Keys that are actively protecting a workspace cannot be deleted. When the keys resource is deleted, if the key is inactive it will be deleted, if it is active it will not be deleted.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               *pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   *pulumi.String(current.TenantId),
			ObjectId:   *pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("unwrapKey"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			deployer,
		}))
		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!"),
			CustomerManagedKey: &synapse.WorkspaceCustomerManagedKeyArgs{
				KeyVersionlessId: exampleKey.VersionlessId,
				KeyName:          pulumi.String("enckey"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		workspacePolicy, err := keyvault.NewAccessPolicy(ctx, "workspacePolicy", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (*string, error) {
				return &identity.TenantId, nil
			}).(pulumi.StringPtrOutput),
			ObjectId: exampleWorkspace.Identity.ApplyT(func(identity synapse.WorkspaceIdentity) (*string, error) {
				return &identity.PrincipalId, nil
			}).(pulumi.StringPtrOutput),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Get"),
				pulumi.String("WrapKey"),
				pulumi.String("UnwrapKey"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceKey(ctx, "exampleWorkspaceKey", &synapse.WorkspaceKeyArgs{
			CustomerManagedKeyVersionlessId: exampleKey.VersionlessId,
			SynapseWorkspaceId:              exampleWorkspace.ID(),
			Active:                          pulumi.Bool(true),
			CustomerManagedKeyName:          pulumi.String("enckey"),
		}, pulumi.DependsOn([]pulumi.Resource{
			workspacePolicy,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceKey:WorkspaceKey example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/keys/key1

```

func GetWorkspaceKey

func GetWorkspaceKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceKeyState, opts ...pulumi.ResourceOption) (*WorkspaceKey, error)

GetWorkspaceKey gets an existing WorkspaceKey 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 NewWorkspaceKey

func NewWorkspaceKey(ctx *pulumi.Context,
	name string, args *WorkspaceKeyArgs, opts ...pulumi.ResourceOption) (*WorkspaceKey, error)

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

func (*WorkspaceKey) ElementType

func (*WorkspaceKey) ElementType() reflect.Type

func (*WorkspaceKey) ToWorkspaceKeyOutput

func (i *WorkspaceKey) ToWorkspaceKeyOutput() WorkspaceKeyOutput

func (*WorkspaceKey) ToWorkspaceKeyOutputWithContext

func (i *WorkspaceKey) ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput

type WorkspaceKeyArgs

type WorkspaceKeyArgs struct {
	// Specifies if the workspace should be encrypted with this key.
	Active pulumi.BoolInput
	// Specifies the name of the workspace key. Should match the name of the key in the synapse workspace.
	CustomerManagedKeyName pulumi.StringInput
	// The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption
	CustomerManagedKeyVersionlessId pulumi.StringPtrInput
	// The ID of the Synapse Workspace where the encryption key should be configured.
	SynapseWorkspaceId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceKey resource.

func (WorkspaceKeyArgs) ElementType

func (WorkspaceKeyArgs) ElementType() reflect.Type

type WorkspaceKeyArray

type WorkspaceKeyArray []WorkspaceKeyInput

func (WorkspaceKeyArray) ElementType

func (WorkspaceKeyArray) ElementType() reflect.Type

func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutput

func (i WorkspaceKeyArray) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput

func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutputWithContext

func (i WorkspaceKeyArray) ToWorkspaceKeyArrayOutputWithContext(ctx context.Context) WorkspaceKeyArrayOutput

type WorkspaceKeyArrayInput

type WorkspaceKeyArrayInput interface {
	pulumi.Input

	ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput
	ToWorkspaceKeyArrayOutputWithContext(context.Context) WorkspaceKeyArrayOutput
}

WorkspaceKeyArrayInput is an input type that accepts WorkspaceKeyArray and WorkspaceKeyArrayOutput values. You can construct a concrete instance of `WorkspaceKeyArrayInput` via:

WorkspaceKeyArray{ WorkspaceKeyArgs{...} }

type WorkspaceKeyArrayOutput

type WorkspaceKeyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyArrayOutput) ElementType

func (WorkspaceKeyArrayOutput) ElementType() reflect.Type

func (WorkspaceKeyArrayOutput) Index

func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput

func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput

func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext

func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext(ctx context.Context) WorkspaceKeyArrayOutput

type WorkspaceKeyInput

type WorkspaceKeyInput interface {
	pulumi.Input

	ToWorkspaceKeyOutput() WorkspaceKeyOutput
	ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput
}

type WorkspaceKeyMap

type WorkspaceKeyMap map[string]WorkspaceKeyInput

func (WorkspaceKeyMap) ElementType

func (WorkspaceKeyMap) ElementType() reflect.Type

func (WorkspaceKeyMap) ToWorkspaceKeyMapOutput

func (i WorkspaceKeyMap) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput

func (WorkspaceKeyMap) ToWorkspaceKeyMapOutputWithContext

func (i WorkspaceKeyMap) ToWorkspaceKeyMapOutputWithContext(ctx context.Context) WorkspaceKeyMapOutput

type WorkspaceKeyMapInput

type WorkspaceKeyMapInput interface {
	pulumi.Input

	ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput
	ToWorkspaceKeyMapOutputWithContext(context.Context) WorkspaceKeyMapOutput
}

WorkspaceKeyMapInput is an input type that accepts WorkspaceKeyMap and WorkspaceKeyMapOutput values. You can construct a concrete instance of `WorkspaceKeyMapInput` via:

WorkspaceKeyMap{ "key": WorkspaceKeyArgs{...} }

type WorkspaceKeyMapOutput

type WorkspaceKeyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyMapOutput) ElementType

func (WorkspaceKeyMapOutput) ElementType() reflect.Type

func (WorkspaceKeyMapOutput) MapIndex

func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput

func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput

func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext

func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext(ctx context.Context) WorkspaceKeyMapOutput

type WorkspaceKeyOutput

type WorkspaceKeyOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyOutput) Active added in v5.5.0

Specifies if the workspace should be encrypted with this key.

func (WorkspaceKeyOutput) CustomerManagedKeyName added in v5.5.0

func (o WorkspaceKeyOutput) CustomerManagedKeyName() pulumi.StringOutput

Specifies the name of the workspace key. Should match the name of the key in the synapse workspace.

func (WorkspaceKeyOutput) CustomerManagedKeyVersionlessId added in v5.5.0

func (o WorkspaceKeyOutput) CustomerManagedKeyVersionlessId() pulumi.StringPtrOutput

The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption

func (WorkspaceKeyOutput) ElementType

func (WorkspaceKeyOutput) ElementType() reflect.Type

func (WorkspaceKeyOutput) SynapseWorkspaceId added in v5.5.0

func (o WorkspaceKeyOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace where the encryption key should be configured.

func (WorkspaceKeyOutput) ToWorkspaceKeyOutput

func (o WorkspaceKeyOutput) ToWorkspaceKeyOutput() WorkspaceKeyOutput

func (WorkspaceKeyOutput) ToWorkspaceKeyOutputWithContext

func (o WorkspaceKeyOutput) ToWorkspaceKeyOutputWithContext(ctx context.Context) WorkspaceKeyOutput

type WorkspaceKeyState

type WorkspaceKeyState struct {
	// Specifies if the workspace should be encrypted with this key.
	Active pulumi.BoolPtrInput
	// Specifies the name of the workspace key. Should match the name of the key in the synapse workspace.
	CustomerManagedKeyName pulumi.StringPtrInput
	// The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption
	CustomerManagedKeyVersionlessId pulumi.StringPtrInput
	// The ID of the Synapse Workspace where the encryption key should be configured.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (WorkspaceKeyState) ElementType

func (WorkspaceKeyState) ElementType() reflect.Type

type WorkspaceMap

type WorkspaceMap map[string]WorkspaceInput

func (WorkspaceMap) ElementType

func (WorkspaceMap) ElementType() reflect.Type

func (WorkspaceMap) ToWorkspaceMapOutput

func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput

func (WorkspaceMap) ToWorkspaceMapOutputWithContext

func (i WorkspaceMap) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput

type WorkspaceMapInput

type WorkspaceMapInput interface {
	pulumi.Input

	ToWorkspaceMapOutput() WorkspaceMapOutput
	ToWorkspaceMapOutputWithContext(context.Context) WorkspaceMapOutput
}

WorkspaceMapInput is an input type that accepts WorkspaceMap and WorkspaceMapOutput values. You can construct a concrete instance of `WorkspaceMapInput` via:

WorkspaceMap{ "key": WorkspaceArgs{...} }

type WorkspaceMapOutput

type WorkspaceMapOutput struct{ *pulumi.OutputState }

func (WorkspaceMapOutput) ElementType

func (WorkspaceMapOutput) ElementType() reflect.Type

func (WorkspaceMapOutput) MapIndex

func (WorkspaceMapOutput) ToWorkspaceMapOutput

func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput

func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext

func (o WorkspaceMapOutput) ToWorkspaceMapOutputWithContext(ctx context.Context) WorkspaceMapOutput

type WorkspaceOutput

type WorkspaceOutput struct{ *pulumi.OutputState }

func (WorkspaceOutput) AadAdmin added in v5.5.0

An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`.

func (WorkspaceOutput) AzureDevopsRepo added in v5.5.0

An `azureDevopsRepo` block as defined below.

func (WorkspaceOutput) ComputeSubnetId added in v5.5.0

func (o WorkspaceOutput) ComputeSubnetId() pulumi.StringPtrOutput

Subnet ID used for computes in workspace Changing this forces a new resource to be created.

func (WorkspaceOutput) ConnectivityEndpoints added in v5.5.0

func (o WorkspaceOutput) ConnectivityEndpoints() pulumi.StringMapOutput

A list of Connectivity endpoints for this Synapse Workspace.

func (WorkspaceOutput) CustomerManagedKey added in v5.5.0

A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`.

func (WorkspaceOutput) DataExfiltrationProtectionEnabled added in v5.5.0

func (o WorkspaceOutput) DataExfiltrationProtectionEnabled() pulumi.BoolPtrOutput

Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created.

func (WorkspaceOutput) ElementType

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) GithubRepo added in v5.5.0

A `githubRepo` block as defined below.

func (WorkspaceOutput) Identity added in v5.5.0

An `identity` block as defined below.

func (WorkspaceOutput) LinkingAllowedForAadTenantIds added in v5.5.0

func (o WorkspaceOutput) LinkingAllowedForAadTenantIds() pulumi.StringArrayOutput

Allowed AAD Tenant Ids For Linking.

func (WorkspaceOutput) Location added in v5.5.0

func (o WorkspaceOutput) Location() pulumi.StringOutput

Specifies the Azure Region where the synapse Workspace should exist. Changing this forces a new resource to be created.

func (WorkspaceOutput) ManagedResourceGroupName added in v5.5.0

func (o WorkspaceOutput) ManagedResourceGroupName() pulumi.StringOutput

Workspace managed resource group. Changing this forces a new resource to be created.

func (WorkspaceOutput) ManagedVirtualNetworkEnabled added in v5.5.0

func (o WorkspaceOutput) ManagedVirtualNetworkEnabled() pulumi.BoolPtrOutput

Is Virtual Network enabled for all computes in this workspace? Changing this forces a new resource to be created.

func (WorkspaceOutput) Name added in v5.5.0

Specifies the name which should be used for this synapse Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) PublicNetworkAccessEnabled added in v5.5.0

func (o WorkspaceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether public network access is allowed for the Cognitive Account. Defaults to `true`.

func (WorkspaceOutput) PurviewId added in v5.5.0

func (o WorkspaceOutput) PurviewId() pulumi.StringPtrOutput

The ID of purview account.

func (WorkspaceOutput) ResourceGroupName added in v5.5.0

func (o WorkspaceOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created.

func (WorkspaceOutput) SqlAadAdmin added in v5.5.0

An `sqlAadAdmin` block as defined below.

func (WorkspaceOutput) SqlAdministratorLogin added in v5.5.0

func (o WorkspaceOutput) SqlAdministratorLogin() pulumi.StringPtrOutput

Specifies The login name of the SQL administrator. Changing this forces a new resource to be created. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.

func (WorkspaceOutput) SqlAdministratorLoginPassword added in v5.5.0

func (o WorkspaceOutput) SqlAdministratorLoginPassword() pulumi.StringPtrOutput

The Password associated with the `sqlAdministratorLogin` for the SQL administrator. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.

func (WorkspaceOutput) SqlIdentityControlEnabled added in v5.5.0

func (o WorkspaceOutput) SqlIdentityControlEnabled() pulumi.BoolPtrOutput

Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools?

func (WorkspaceOutput) StorageDataLakeGen2FilesystemId added in v5.5.0

func (o WorkspaceOutput) StorageDataLakeGen2FilesystemId() pulumi.StringOutput

Specifies the ID of storage data lake gen2 filesystem resource. Changing this forces a new resource to be created.

func (WorkspaceOutput) Tags added in v5.5.0

A mapping of tags which should be assigned to the Synapse Workspace.

func (WorkspaceOutput) ToWorkspaceOutput

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext

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

type WorkspaceSecurityAlertPolicy

type WorkspaceSecurityAlertPolicy struct {
	pulumi.CustomResourceState

	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayOutput `pulumi:"disabledAlerts"`
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrOutput `pulumi:"emailAccountAdminsEnabled"`
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayOutput `pulumi:"emailAddresses"`
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringOutput `pulumi:"policyState"`
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"`
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrOutput `pulumi:"storageEndpoint"`
	// Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
}

Manages a Security Alert Policy for a Synapse Workspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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!"),
			AadAdmin: &synapse.WorkspaceAadAdminTypeArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceSecurityAlertPolicy(ctx, "exampleWorkspaceSecurityAlertPolicy", &synapse.WorkspaceSecurityAlertPolicyArgs{
			SynapseWorkspaceId:      exampleWorkspace.ID(),
			PolicyState:             pulumi.String("Enabled"),
			StorageEndpoint:         auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey: auditLogs.PrimaryAccessKey,
			DisabledAlerts: pulumi.StringArray{
				pulumi.String("Sql_Injection"),
				pulumi.String("Data_Exfiltration"),
			},
			RetentionDays: pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceSecurityAlertPolicy:WorkspaceSecurityAlertPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/securityAlertPolicies/Default

```

func GetWorkspaceSecurityAlertPolicy

func GetWorkspaceSecurityAlertPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceSecurityAlertPolicyState, opts ...pulumi.ResourceOption) (*WorkspaceSecurityAlertPolicy, error)

GetWorkspaceSecurityAlertPolicy gets an existing WorkspaceSecurityAlertPolicy 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 NewWorkspaceSecurityAlertPolicy

func NewWorkspaceSecurityAlertPolicy(ctx *pulumi.Context,
	name string, args *WorkspaceSecurityAlertPolicyArgs, opts ...pulumi.ResourceOption) (*WorkspaceSecurityAlertPolicy, error)

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

func (*WorkspaceSecurityAlertPolicy) ElementType

func (*WorkspaceSecurityAlertPolicy) ElementType() reflect.Type

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput

func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext

func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput

type WorkspaceSecurityAlertPolicyArgs

type WorkspaceSecurityAlertPolicyArgs struct {
	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayInput
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrInput
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayInput
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringInput
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrInput
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrInput
	// Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceSecurityAlertPolicy resource.

func (WorkspaceSecurityAlertPolicyArgs) ElementType

type WorkspaceSecurityAlertPolicyArray

type WorkspaceSecurityAlertPolicyArray []WorkspaceSecurityAlertPolicyInput

func (WorkspaceSecurityAlertPolicyArray) ElementType

func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput

func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput

func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext

func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput

type WorkspaceSecurityAlertPolicyArrayInput

type WorkspaceSecurityAlertPolicyArrayInput interface {
	pulumi.Input

	ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput
	ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(context.Context) WorkspaceSecurityAlertPolicyArrayOutput
}

WorkspaceSecurityAlertPolicyArrayInput is an input type that accepts WorkspaceSecurityAlertPolicyArray and WorkspaceSecurityAlertPolicyArrayOutput values. You can construct a concrete instance of `WorkspaceSecurityAlertPolicyArrayInput` via:

WorkspaceSecurityAlertPolicyArray{ WorkspaceSecurityAlertPolicyArgs{...} }

type WorkspaceSecurityAlertPolicyArrayOutput

type WorkspaceSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyArrayOutput) ElementType

func (WorkspaceSecurityAlertPolicyArrayOutput) Index

func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput

func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput

func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext

func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyArrayOutput

type WorkspaceSecurityAlertPolicyInput

type WorkspaceSecurityAlertPolicyInput interface {
	pulumi.Input

	ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput
	ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput
}

type WorkspaceSecurityAlertPolicyMap

type WorkspaceSecurityAlertPolicyMap map[string]WorkspaceSecurityAlertPolicyInput

func (WorkspaceSecurityAlertPolicyMap) ElementType

func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput

func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput

func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext

func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput

type WorkspaceSecurityAlertPolicyMapInput

type WorkspaceSecurityAlertPolicyMapInput interface {
	pulumi.Input

	ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput
	ToWorkspaceSecurityAlertPolicyMapOutputWithContext(context.Context) WorkspaceSecurityAlertPolicyMapOutput
}

WorkspaceSecurityAlertPolicyMapInput is an input type that accepts WorkspaceSecurityAlertPolicyMap and WorkspaceSecurityAlertPolicyMapOutput values. You can construct a concrete instance of `WorkspaceSecurityAlertPolicyMapInput` via:

WorkspaceSecurityAlertPolicyMap{ "key": WorkspaceSecurityAlertPolicyArgs{...} }

type WorkspaceSecurityAlertPolicyMapOutput

type WorkspaceSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyMapOutput) ElementType

func (WorkspaceSecurityAlertPolicyMapOutput) MapIndex

func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput

func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput

func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext

func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyMapOutput

type WorkspaceSecurityAlertPolicyOutput

type WorkspaceSecurityAlertPolicyOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyOutput) DisabledAlerts added in v5.5.0

Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.

func (WorkspaceSecurityAlertPolicyOutput) ElementType

func (WorkspaceSecurityAlertPolicyOutput) EmailAccountAdminsEnabled added in v5.5.0

func (o WorkspaceSecurityAlertPolicyOutput) EmailAccountAdminsEnabled() pulumi.BoolPtrOutput

Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.

func (WorkspaceSecurityAlertPolicyOutput) EmailAddresses added in v5.5.0

Specifies an array of email addresses to which the alert is sent.

func (WorkspaceSecurityAlertPolicyOutput) PolicyState added in v5.5.0

Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Possible values are `Disabled`, `Enabled` and `New`.

func (WorkspaceSecurityAlertPolicyOutput) RetentionDays added in v5.5.0

Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.

func (WorkspaceSecurityAlertPolicyOutput) StorageAccountAccessKey added in v5.5.0

func (o WorkspaceSecurityAlertPolicyOutput) StorageAccountAccessKey() pulumi.StringPtrOutput

Specifies the identifier key of the Threat Detection audit storage account.

func (WorkspaceSecurityAlertPolicyOutput) StorageEndpoint added in v5.5.0

Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.

func (WorkspaceSecurityAlertPolicyOutput) SynapseWorkspaceId added in v5.5.0

Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created.

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput

func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext

func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyOutput

type WorkspaceSecurityAlertPolicyState

type WorkspaceSecurityAlertPolicyState struct {
	// Specifies an array of alerts that are disabled. Allowed values are: `Sql_Injection`, `Sql_Injection_Vulnerability`, `Access_Anomaly`, `Data_Exfiltration`, `Unsafe_Action`.
	DisabledAlerts pulumi.StringArrayInput
	// Boolean flag which specifies if the alert is sent to the account administrators or not. Defaults to `false`.
	EmailAccountAdminsEnabled pulumi.BoolPtrInput
	// Specifies an array of email addresses to which the alert is sent.
	EmailAddresses pulumi.StringArrayInput
	// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific workspace. Possible values are `Disabled`, `Enabled` and `New`.
	PolicyState pulumi.StringPtrInput
	// Specifies the number of days to keep in the Threat Detection audit logs. Defaults to `0`.
	RetentionDays pulumi.IntPtrInput
	// Specifies the identifier key of the Threat Detection audit storage account.
	StorageAccountAccessKey pulumi.StringPtrInput
	// Specifies the blob storage endpoint (e.g. <https://example.blob.core.windows.net>). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrInput
	// Specifies the ID of the Synapse Workspace. Changing this forces a new resource to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
}

func (WorkspaceSecurityAlertPolicyState) ElementType

type WorkspaceSqlAadAdmin

type WorkspaceSqlAadAdmin struct {
	pulumi.CustomResourceState

	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringOutput `pulumi:"login"`
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringOutput `pulumi:"objectId"`
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
}

Manages an Azure Active Directory SQL Administrator setting for a Synapse Workspace

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               *pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		deployer, err := keyvault.NewAccessPolicy(ctx, "deployer", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   *pulumi.String(current.TenantId),
			ObjectId:   *pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("unwrapKey"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			deployer,
		}))
		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!"),
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceSqlAadAdmin(ctx, "exampleWorkspaceSqlAadAdmin", &synapse.WorkspaceSqlAadAdminArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			Login:              pulumi.String("AzureAD Admin"),
			ObjectId:           *pulumi.String(current.ObjectId),
			TenantId:           *pulumi.String(current.TenantId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceSqlAadAdmin:WorkspaceSqlAadAdmin example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/sqlAdministrators/activeDirectory

```

func GetWorkspaceSqlAadAdmin

func GetWorkspaceSqlAadAdmin(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceSqlAadAdminState, opts ...pulumi.ResourceOption) (*WorkspaceSqlAadAdmin, error)

GetWorkspaceSqlAadAdmin gets an existing WorkspaceSqlAadAdmin 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 NewWorkspaceSqlAadAdmin

func NewWorkspaceSqlAadAdmin(ctx *pulumi.Context,
	name string, args *WorkspaceSqlAadAdminArgs, opts ...pulumi.ResourceOption) (*WorkspaceSqlAadAdmin, error)

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

func (*WorkspaceSqlAadAdmin) ElementType

func (*WorkspaceSqlAadAdmin) ElementType() reflect.Type

func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput

func (i *WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput

func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutputWithContext

func (i *WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput

type WorkspaceSqlAadAdminArgs

type WorkspaceSqlAadAdminArgs struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringInput
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringInput
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringInput
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceSqlAadAdmin resource.

func (WorkspaceSqlAadAdminArgs) ElementType

func (WorkspaceSqlAadAdminArgs) ElementType() reflect.Type

type WorkspaceSqlAadAdminArray

type WorkspaceSqlAadAdminArray []WorkspaceSqlAadAdminInput

func (WorkspaceSqlAadAdminArray) ElementType

func (WorkspaceSqlAadAdminArray) ElementType() reflect.Type

func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput

func (i WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput

func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutputWithContext

func (i WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminArrayOutput

type WorkspaceSqlAadAdminArrayInput

type WorkspaceSqlAadAdminArrayInput interface {
	pulumi.Input

	ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput
	ToWorkspaceSqlAadAdminArrayOutputWithContext(context.Context) WorkspaceSqlAadAdminArrayOutput
}

WorkspaceSqlAadAdminArrayInput is an input type that accepts WorkspaceSqlAadAdminArray and WorkspaceSqlAadAdminArrayOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminArrayInput` via:

WorkspaceSqlAadAdminArray{ WorkspaceSqlAadAdminArgs{...} }

type WorkspaceSqlAadAdminArrayOutput

type WorkspaceSqlAadAdminArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminArrayOutput) ElementType

func (WorkspaceSqlAadAdminArrayOutput) Index

func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput

func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput

func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext

func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminArrayOutput

type WorkspaceSqlAadAdminInput

type WorkspaceSqlAadAdminInput interface {
	pulumi.Input

	ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput
	ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput
}

type WorkspaceSqlAadAdminMap

type WorkspaceSqlAadAdminMap map[string]WorkspaceSqlAadAdminInput

func (WorkspaceSqlAadAdminMap) ElementType

func (WorkspaceSqlAadAdminMap) ElementType() reflect.Type

func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput

func (i WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput

func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutputWithContext

func (i WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminMapOutput

type WorkspaceSqlAadAdminMapInput

type WorkspaceSqlAadAdminMapInput interface {
	pulumi.Input

	ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput
	ToWorkspaceSqlAadAdminMapOutputWithContext(context.Context) WorkspaceSqlAadAdminMapOutput
}

WorkspaceSqlAadAdminMapInput is an input type that accepts WorkspaceSqlAadAdminMap and WorkspaceSqlAadAdminMapOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminMapInput` via:

WorkspaceSqlAadAdminMap{ "key": WorkspaceSqlAadAdminArgs{...} }

type WorkspaceSqlAadAdminMapOutput

type WorkspaceSqlAadAdminMapOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminMapOutput) ElementType

func (WorkspaceSqlAadAdminMapOutput) MapIndex

func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput

func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput

func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext

func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminMapOutput

type WorkspaceSqlAadAdminOutput

type WorkspaceSqlAadAdminOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminOutput) ElementType

func (WorkspaceSqlAadAdminOutput) ElementType() reflect.Type

func (WorkspaceSqlAadAdminOutput) Login added in v5.5.0

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

func (WorkspaceSqlAadAdminOutput) ObjectId added in v5.5.0

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

func (WorkspaceSqlAadAdminOutput) SynapseWorkspaceId added in v5.5.0

func (o WorkspaceSqlAadAdminOutput) SynapseWorkspaceId() pulumi.StringOutput

The ID of the Synapse Workspace where the Azure AD Administrator should be configured.

func (WorkspaceSqlAadAdminOutput) TenantId added in v5.5.0

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

func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput

func (o WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput

func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutputWithContext

func (o WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminOutput

type WorkspaceSqlAadAdminState

type WorkspaceSqlAadAdminState struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace.
	Login pulumi.StringPtrInput
	// The object id of the Azure AD Administrator of this Synapse Workspace.
	ObjectId pulumi.StringPtrInput
	// The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
	SynapseWorkspaceId pulumi.StringPtrInput
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringPtrInput
}

func (WorkspaceSqlAadAdminState) ElementType

func (WorkspaceSqlAadAdminState) ElementType() reflect.Type

type WorkspaceSqlAadAdminType

type WorkspaceSqlAadAdminType struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace SQL.
	Login string `pulumi:"login"`
	// The object id of the Azure AD Administrator of this Synapse Workspace SQL.
	ObjectId string `pulumi:"objectId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
	TenantId string `pulumi:"tenantId"`
}

type WorkspaceSqlAadAdminTypeArgs

type WorkspaceSqlAadAdminTypeArgs struct {
	// The login name of the Azure AD Administrator of this Synapse Workspace SQL.
	Login pulumi.StringInput `pulumi:"login"`
	// The object id of the Azure AD Administrator of this Synapse Workspace SQL.
	ObjectId pulumi.StringInput `pulumi:"objectId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
}

func (WorkspaceSqlAadAdminTypeArgs) ElementType

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput

type WorkspaceSqlAadAdminTypeInput

type WorkspaceSqlAadAdminTypeInput interface {
	pulumi.Input

	ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput
	ToWorkspaceSqlAadAdminTypeOutputWithContext(context.Context) WorkspaceSqlAadAdminTypeOutput
}

WorkspaceSqlAadAdminTypeInput is an input type that accepts WorkspaceSqlAadAdminTypeArgs and WorkspaceSqlAadAdminTypeOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminTypeInput` via:

WorkspaceSqlAadAdminTypeArgs{...}

type WorkspaceSqlAadAdminTypeOutput

type WorkspaceSqlAadAdminTypeOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminTypeOutput) ElementType

func (WorkspaceSqlAadAdminTypeOutput) Login

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

func (WorkspaceSqlAadAdminTypeOutput) ObjectId

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

func (WorkspaceSqlAadAdminTypeOutput) TenantId

The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput

type WorkspaceSqlAadAdminTypePtrInput

type WorkspaceSqlAadAdminTypePtrInput interface {
	pulumi.Input

	ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput
	ToWorkspaceSqlAadAdminTypePtrOutputWithContext(context.Context) WorkspaceSqlAadAdminTypePtrOutput
}

WorkspaceSqlAadAdminTypePtrInput is an input type that accepts WorkspaceSqlAadAdminTypeArgs, WorkspaceSqlAadAdminTypePtr and WorkspaceSqlAadAdminTypePtrOutput values. You can construct a concrete instance of `WorkspaceSqlAadAdminTypePtrInput` via:

        WorkspaceSqlAadAdminTypeArgs{...}

or:

        nil

type WorkspaceSqlAadAdminTypePtrOutput

type WorkspaceSqlAadAdminTypePtrOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminTypePtrOutput) Elem

func (WorkspaceSqlAadAdminTypePtrOutput) ElementType

func (WorkspaceSqlAadAdminTypePtrOutput) Login

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

func (WorkspaceSqlAadAdminTypePtrOutput) ObjectId

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

func (WorkspaceSqlAadAdminTypePtrOutput) TenantId

The tenant id of the Azure AD Administrator of this Synapse Workspace SQL.

func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput

func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext

func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext(ctx context.Context) WorkspaceSqlAadAdminTypePtrOutput

type WorkspaceState

type WorkspaceState struct {
	// An `aadAdmin` block as defined below. Conflicts with `customerManagedKey`.
	AadAdmin WorkspaceAadAdminTypePtrInput
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput
	// Subnet ID used for computes in workspace Changing this forces a new resource to be created.
	ComputeSubnetId pulumi.StringPtrInput
	// A list of Connectivity endpoints for this Synapse Workspace.
	ConnectivityEndpoints pulumi.StringMapInput
	// A `customerManagedKey` block as defined below. Conflicts with `aadAdmin`.
	CustomerManagedKey WorkspaceCustomerManagedKeyPtrInput
	// Is data exfiltration protection enabled in this workspace? If set to `true`, `managedVirtualNetworkEnabled` must also be set to `true`. Changing this forces a new resource to be created.
	DataExfiltrationProtectionEnabled pulumi.BoolPtrInput
	// A `githubRepo` block as defined below.
	GithubRepo WorkspaceGithubRepoPtrInput
	// An `identity` block as defined below.
	Identity WorkspaceIdentityPtrInput
	// Allowed AAD Tenant Ids For Linking.
	LinkingAllowedForAadTenantIds pulumi.StringArrayInput
	// 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. Changing this forces a new resource to be created.
	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
	// Whether public network access is allowed for the Cognitive Account. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The ID of purview account.
	PurviewId 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
	// An `sqlAadAdmin` block as defined below.
	SqlAadAdmin WorkspaceSqlAadAdminTypePtrInput
	// Specifies The login name of the SQL administrator. Changing this forces a new resource to be created. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator. If this is not provided `aadAdmin` or `customerManagedKey` must be provided.
	SqlAdministratorLoginPassword pulumi.StringPtrInput
	// Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools?
	SqlIdentityControlEnabled pulumi.BoolPtrInput
	// 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

type WorkspaceVulnerabilityAssessment

type WorkspaceVulnerabilityAssessment struct {
	pulumi.CustomResourceState

	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansOutput `pulumi:"recurringScans"`
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrOutput `pulumi:"storageAccountAccessKey"`
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringOutput `pulumi:"storageContainerPath"`
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrOutput `pulumi:"storageContainerSasKey"`
	// The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created.
	WorkspaceSecurityAlertPolicyId pulumi.StringOutput `pulumi:"workspaceSecurityAlertPolicyId"`
}

Manages the Vulnerability Assessment for a Synapse Workspace.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := 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
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName: exampleAccount.Name,
		})
		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!"),
			AadAdmin: &synapse.WorkspaceAadAdminTypeArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Identity: &synapse.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		auditLogs, err := storage.NewAccount(ctx, "auditLogs", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspaceSecurityAlertPolicy, err := synapse.NewWorkspaceSecurityAlertPolicy(ctx, "exampleWorkspaceSecurityAlertPolicy", &synapse.WorkspaceSecurityAlertPolicyArgs{
			SynapseWorkspaceId:      exampleWorkspace.ID(),
			PolicyState:             pulumi.String("Enabled"),
			StorageEndpoint:         auditLogs.PrimaryBlobEndpoint,
			StorageAccountAccessKey: auditLogs.PrimaryAccessKey,
			DisabledAlerts: pulumi.StringArray{
				pulumi.String("Sql_Injection"),
				pulumi.String("Data_Exfiltration"),
			},
			RetentionDays: pulumi.Int(20),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceVulnerabilityAssessment(ctx, "exampleWorkspaceVulnerabilityAssessment", &synapse.WorkspaceVulnerabilityAssessmentArgs{
			WorkspaceSecurityAlertPolicyId: exampleWorkspaceSecurityAlertPolicy.ID(),
			StorageContainerPath: pulumi.All(exampleAccount.PrimaryBlobEndpoint, exampleContainer.Name).ApplyT(func(_args []interface{}) (string, error) {
				primaryBlobEndpoint := _args[0].(string)
				name := _args[1].(string)
				return fmt.Sprintf("%v%v/", primaryBlobEndpoint, name), nil
			}).(pulumi.StringOutput),
			StorageAccountAccessKey: exampleAccount.PrimaryAccessKey,
			RecurringScans: &synapse.WorkspaceVulnerabilityAssessmentRecurringScansArgs{
				Enabled:                        pulumi.Bool(true),
				EmailSubscriptionAdminsEnabled: pulumi.Bool(true),
				Emails: pulumi.StringArray{
					pulumi.String("email@example1.com"),
					pulumi.String("email@example2.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:synapse/workspaceVulnerabilityAssessment:WorkspaceVulnerabilityAssessment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/vulnerabilityAssessments/default

```

func GetWorkspaceVulnerabilityAssessment

func GetWorkspaceVulnerabilityAssessment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceVulnerabilityAssessmentState, opts ...pulumi.ResourceOption) (*WorkspaceVulnerabilityAssessment, error)

GetWorkspaceVulnerabilityAssessment gets an existing WorkspaceVulnerabilityAssessment 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 NewWorkspaceVulnerabilityAssessment

func NewWorkspaceVulnerabilityAssessment(ctx *pulumi.Context,
	name string, args *WorkspaceVulnerabilityAssessmentArgs, opts ...pulumi.ResourceOption) (*WorkspaceVulnerabilityAssessment, error)

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

func (*WorkspaceVulnerabilityAssessment) ElementType

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput

func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext

func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput

type WorkspaceVulnerabilityAssessmentArgs

type WorkspaceVulnerabilityAssessmentArgs struct {
	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansPtrInput
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringInput
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrInput
	// The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created.
	WorkspaceSecurityAlertPolicyId pulumi.StringInput
}

The set of arguments for constructing a WorkspaceVulnerabilityAssessment resource.

func (WorkspaceVulnerabilityAssessmentArgs) ElementType

type WorkspaceVulnerabilityAssessmentArray

type WorkspaceVulnerabilityAssessmentArray []WorkspaceVulnerabilityAssessmentInput

func (WorkspaceVulnerabilityAssessmentArray) ElementType

func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput

func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput

func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext

func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput

type WorkspaceVulnerabilityAssessmentArrayInput

type WorkspaceVulnerabilityAssessmentArrayInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput
	ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentArrayOutput
}

WorkspaceVulnerabilityAssessmentArrayInput is an input type that accepts WorkspaceVulnerabilityAssessmentArray and WorkspaceVulnerabilityAssessmentArrayOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentArrayInput` via:

WorkspaceVulnerabilityAssessmentArray{ WorkspaceVulnerabilityAssessmentArgs{...} }

type WorkspaceVulnerabilityAssessmentArrayOutput

type WorkspaceVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentArrayOutput) ElementType

func (WorkspaceVulnerabilityAssessmentArrayOutput) Index

func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput

func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput

func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext

func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentArrayOutput

type WorkspaceVulnerabilityAssessmentInput

type WorkspaceVulnerabilityAssessmentInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput
	ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput
}

type WorkspaceVulnerabilityAssessmentMap

type WorkspaceVulnerabilityAssessmentMap map[string]WorkspaceVulnerabilityAssessmentInput

func (WorkspaceVulnerabilityAssessmentMap) ElementType

func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput

func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput

func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext

func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput

type WorkspaceVulnerabilityAssessmentMapInput

type WorkspaceVulnerabilityAssessmentMapInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput
	ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentMapOutput
}

WorkspaceVulnerabilityAssessmentMapInput is an input type that accepts WorkspaceVulnerabilityAssessmentMap and WorkspaceVulnerabilityAssessmentMapOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentMapInput` via:

WorkspaceVulnerabilityAssessmentMap{ "key": WorkspaceVulnerabilityAssessmentArgs{...} }

type WorkspaceVulnerabilityAssessmentMapOutput

type WorkspaceVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentMapOutput) ElementType

func (WorkspaceVulnerabilityAssessmentMapOutput) MapIndex

func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput

func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput

func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext

func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentMapOutput

type WorkspaceVulnerabilityAssessmentOutput

type WorkspaceVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentOutput) ElementType

func (WorkspaceVulnerabilityAssessmentOutput) RecurringScans added in v5.5.0

The recurring scans settings. The `recurringScans` block supports fields documented below.

func (WorkspaceVulnerabilityAssessmentOutput) StorageAccountAccessKey added in v5.5.0

Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.

func (WorkspaceVulnerabilityAssessmentOutput) StorageContainerPath added in v5.5.0

A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).

func (WorkspaceVulnerabilityAssessmentOutput) StorageContainerSasKey added in v5.5.0

A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput

func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext

func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentOutput

func (WorkspaceVulnerabilityAssessmentOutput) WorkspaceSecurityAlertPolicyId added in v5.5.0

func (o WorkspaceVulnerabilityAssessmentOutput) WorkspaceSecurityAlertPolicyId() pulumi.StringOutput

The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created.

type WorkspaceVulnerabilityAssessmentRecurringScans

type WorkspaceVulnerabilityAssessmentRecurringScans struct {
	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
	EmailSubscriptionAdminsEnabled *bool `pulumi:"emailSubscriptionAdminsEnabled"`
	// Specifies an array of email addresses to which the scan notification is sent.
	Emails []string `pulumi:"emails"`
	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
	Enabled *bool `pulumi:"enabled"`
}

type WorkspaceVulnerabilityAssessmentRecurringScansArgs

type WorkspaceVulnerabilityAssessmentRecurringScansArgs struct {
	// Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.
	EmailSubscriptionAdminsEnabled pulumi.BoolPtrInput `pulumi:"emailSubscriptionAdminsEnabled"`
	// Specifies an array of email addresses to which the scan notification is sent.
	Emails pulumi.StringArrayInput `pulumi:"emails"`
	// Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ElementType

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentRecurringScansInput

type WorkspaceVulnerabilityAssessmentRecurringScansInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput
	ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput
}

WorkspaceVulnerabilityAssessmentRecurringScansInput is an input type that accepts WorkspaceVulnerabilityAssessmentRecurringScansArgs and WorkspaceVulnerabilityAssessmentRecurringScansOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentRecurringScansInput` via:

WorkspaceVulnerabilityAssessmentRecurringScansArgs{...}

type WorkspaceVulnerabilityAssessmentRecurringScansOutput

type WorkspaceVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ElementType

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled

Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Emails

Specifies an array of email addresses to which the scan notification is sent.

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Enabled

Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput

type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
	ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput
}

WorkspaceVulnerabilityAssessmentRecurringScansPtrInput is an input type that accepts WorkspaceVulnerabilityAssessmentRecurringScansArgs, WorkspaceVulnerabilityAssessmentRecurringScansPtr and WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput values. You can construct a concrete instance of `WorkspaceVulnerabilityAssessmentRecurringScansPtrInput` via:

        WorkspaceVulnerabilityAssessmentRecurringScansArgs{...}

or:

        nil

type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Elem

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ElementType

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled

Boolean flag which specifies if the schedule scan notification will be sent to the subscription administrators. Defaults to `false`.

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Emails

Specifies an array of email addresses to which the scan notification is sent.

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Enabled

Boolean flag which specifies if recurring scans is enabled or disabled. Defaults to `false`.

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext

func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentState

type WorkspaceVulnerabilityAssessmentState struct {
	// The recurring scans settings. The `recurringScans` block supports fields documented below.
	RecurringScans WorkspaceVulnerabilityAssessmentRecurringScansPtrInput
	// Specifies the identifier key of the storage account for vulnerability assessment scan results. If `storageContainerSasKey` isn't specified, `storageAccountAccessKey` is required.
	StorageAccountAccessKey pulumi.StringPtrInput
	// A blob storage container path to hold the scan results (e.g. <https://example.blob.core.windows.net/VaScans/>).
	StorageContainerPath pulumi.StringPtrInput
	// A shared access signature (SAS Key) that has write access to the blob container specified in `storageContainerPath` parameter. If `storageAccountAccessKey` isn't specified, `storageContainerSasKey` is required.
	StorageContainerSasKey pulumi.StringPtrInput
	// The ID of the security alert policy of the Synapse Workspace. Changing this forces a new resource to be created.
	WorkspaceSecurityAlertPolicyId pulumi.StringPtrInput
}

func (WorkspaceVulnerabilityAssessmentState) ElementType

Jump to

Keyboard shortcuts

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