synapse

package
v4.39.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetFirewallRule

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) 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 added in v4.7.0

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

type GetWorkspaceIdentityArgs struct {
	// 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 added in v4.7.0

func (GetWorkspaceIdentityArgs) ElementType() reflect.Type

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput added in v4.7.0

func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext added in v4.7.0

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

type GetWorkspaceIdentityArray added in v4.7.0

type GetWorkspaceIdentityArray []GetWorkspaceIdentityInput

func (GetWorkspaceIdentityArray) ElementType added in v4.7.0

func (GetWorkspaceIdentityArray) ElementType() reflect.Type

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput added in v4.7.0

func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext added in v4.7.0

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

type GetWorkspaceIdentityArrayInput added in v4.7.0

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 added in v4.7.0

type GetWorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityArrayOutput) ElementType added in v4.7.0

func (GetWorkspaceIdentityArrayOutput) Index added in v4.7.0

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput added in v4.7.0

func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext added in v4.7.0

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

type GetWorkspaceIdentityInput added in v4.7.0

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 added in v4.7.0

type GetWorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityOutput) ElementType added in v4.7.0

func (GetWorkspaceIdentityOutput) ElementType() reflect.Type

func (GetWorkspaceIdentityOutput) PrincipalId added in v4.7.0

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

func (GetWorkspaceIdentityOutput) TenantId added in v4.7.0

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

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput added in v4.7.0

func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext added in v4.7.0

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

func (GetWorkspaceIdentityOutput) Type added in v4.7.0

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

type IntegrationRuntimeAzure added in v4.19.0

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. 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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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),
		})
		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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*IntegrationRuntimeAzure) ElementType() reflect.Type

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput added in v4.19.0

func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzureOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureArgs added in v4.19.0

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. 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 added in v4.19.0

type IntegrationRuntimeAzureArray added in v4.19.0

type IntegrationRuntimeAzureArray []IntegrationRuntimeAzureInput

func (IntegrationRuntimeAzureArray) ElementType added in v4.19.0

func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput added in v4.19.0

func (i IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput

func (IntegrationRuntimeAzureArray) ToIntegrationRuntimeAzureArrayOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureArrayInput added in v4.19.0

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 added in v4.19.0

type IntegrationRuntimeAzureArrayOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureArrayOutput) ElementType added in v4.19.0

func (IntegrationRuntimeAzureArrayOutput) Index added in v4.19.0

func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput added in v4.19.0

func (o IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutput() IntegrationRuntimeAzureArrayOutput

func (IntegrationRuntimeAzureArrayOutput) ToIntegrationRuntimeAzureArrayOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureInput added in v4.19.0

type IntegrationRuntimeAzureInput interface {
	pulumi.Input

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

type IntegrationRuntimeAzureMap added in v4.19.0

type IntegrationRuntimeAzureMap map[string]IntegrationRuntimeAzureInput

func (IntegrationRuntimeAzureMap) ElementType added in v4.19.0

func (IntegrationRuntimeAzureMap) ElementType() reflect.Type

func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput added in v4.19.0

func (i IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput

func (IntegrationRuntimeAzureMap) ToIntegrationRuntimeAzureMapOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureMapInput added in v4.19.0

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 added in v4.19.0

type IntegrationRuntimeAzureMapOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureMapOutput) ElementType added in v4.19.0

func (IntegrationRuntimeAzureMapOutput) MapIndex added in v4.19.0

func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput added in v4.19.0

func (o IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutput() IntegrationRuntimeAzureMapOutput

func (IntegrationRuntimeAzureMapOutput) ToIntegrationRuntimeAzureMapOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureOutput added in v4.19.0

type IntegrationRuntimeAzureOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzureOutput) ElementType added in v4.19.0

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput added in v4.19.0

func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutput() IntegrationRuntimeAzureOutput

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzureOutputWithContext added in v4.19.0

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

type IntegrationRuntimeAzureState added in v4.19.0

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. 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 added in v4.19.0

type IntegrationRuntimeSelfHosted added in v4.19.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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),
		})
		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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*IntegrationRuntimeSelfHosted) ElementType() reflect.Type

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput added in v4.19.0

func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedArgs added in v4.19.0

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 added in v4.19.0

type IntegrationRuntimeSelfHostedArray added in v4.19.0

type IntegrationRuntimeSelfHostedArray []IntegrationRuntimeSelfHostedInput

func (IntegrationRuntimeSelfHostedArray) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput added in v4.19.0

func (i IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput

func (IntegrationRuntimeSelfHostedArray) ToIntegrationRuntimeSelfHostedArrayOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedArrayInput added in v4.19.0

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 added in v4.19.0

type IntegrationRuntimeSelfHostedArrayOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedArrayOutput) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedArrayOutput) Index added in v4.19.0

func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput added in v4.19.0

func (o IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutput() IntegrationRuntimeSelfHostedArrayOutput

func (IntegrationRuntimeSelfHostedArrayOutput) ToIntegrationRuntimeSelfHostedArrayOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedInput added in v4.19.0

type IntegrationRuntimeSelfHostedInput interface {
	pulumi.Input

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

type IntegrationRuntimeSelfHostedMap added in v4.19.0

type IntegrationRuntimeSelfHostedMap map[string]IntegrationRuntimeSelfHostedInput

func (IntegrationRuntimeSelfHostedMap) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput added in v4.19.0

func (i IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput

func (IntegrationRuntimeSelfHostedMap) ToIntegrationRuntimeSelfHostedMapOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedMapInput added in v4.19.0

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 added in v4.19.0

type IntegrationRuntimeSelfHostedMapOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedMapOutput) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedMapOutput) MapIndex added in v4.19.0

func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput added in v4.19.0

func (o IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutput() IntegrationRuntimeSelfHostedMapOutput

func (IntegrationRuntimeSelfHostedMapOutput) ToIntegrationRuntimeSelfHostedMapOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedOutput added in v4.19.0

type IntegrationRuntimeSelfHostedOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedOutput) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput added in v4.19.0

func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutput() IntegrationRuntimeSelfHostedOutput

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedOutputWithContext added in v4.19.0

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

type IntegrationRuntimeSelfHostedState added in v4.19.0

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 added in v4.19.0

type LinkedService added in v4.19.0

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. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created.
	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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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),
		})
		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: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "{\n", "  \"connectionString\": \"", azurerm_storage_account.Test.Primary_connection_string, "\"\n", "}\n")),
		}, 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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*LinkedService) ElementType() reflect.Type

func (*LinkedService) ToLinkedServiceOutput added in v4.19.0

func (i *LinkedService) ToLinkedServiceOutput() LinkedServiceOutput

func (*LinkedService) ToLinkedServiceOutputWithContext added in v4.19.0

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

type LinkedServiceArgs added in v4.19.0

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. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created.
	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 added in v4.19.0

func (LinkedServiceArgs) ElementType() reflect.Type

type LinkedServiceArray added in v4.19.0

type LinkedServiceArray []LinkedServiceInput

func (LinkedServiceArray) ElementType added in v4.19.0

func (LinkedServiceArray) ElementType() reflect.Type

func (LinkedServiceArray) ToLinkedServiceArrayOutput added in v4.19.0

func (i LinkedServiceArray) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArray) ToLinkedServiceArrayOutputWithContext added in v4.19.0

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

type LinkedServiceArrayInput added in v4.19.0

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 added in v4.19.0

type LinkedServiceArrayOutput struct{ *pulumi.OutputState }

func (LinkedServiceArrayOutput) ElementType added in v4.19.0

func (LinkedServiceArrayOutput) ElementType() reflect.Type

func (LinkedServiceArrayOutput) Index added in v4.19.0

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutput added in v4.19.0

func (o LinkedServiceArrayOutput) ToLinkedServiceArrayOutput() LinkedServiceArrayOutput

func (LinkedServiceArrayOutput) ToLinkedServiceArrayOutputWithContext added in v4.19.0

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

type LinkedServiceInput added in v4.19.0

type LinkedServiceInput interface {
	pulumi.Input

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

type LinkedServiceIntegrationRuntime added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput added in v4.19.0

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimeOutputWithContext added in v4.19.0

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

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput added in v4.19.0

func (i LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimeArgs) ToLinkedServiceIntegrationRuntimePtrOutputWithContext added in v4.19.0

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

type LinkedServiceIntegrationRuntimeInput added in v4.19.0

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 added in v4.19.0

type LinkedServiceIntegrationRuntimeOutput struct{ *pulumi.OutputState }

func (LinkedServiceIntegrationRuntimeOutput) ElementType added in v4.19.0

func (LinkedServiceIntegrationRuntimeOutput) Name added in v4.19.0

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

func (LinkedServiceIntegrationRuntimeOutput) Parameters added in v4.19.0

A map of parameters to associate with the integration runtime.

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput added in v4.19.0

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutput() LinkedServiceIntegrationRuntimeOutput

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimeOutputWithContext added in v4.19.0

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

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput added in v4.19.0

func (o LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimeOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext added in v4.19.0

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

type LinkedServiceIntegrationRuntimePtrInput added in v4.19.0

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 added in v4.19.0

type LinkedServiceIntegrationRuntimePtrOutput struct{ *pulumi.OutputState }

func (LinkedServiceIntegrationRuntimePtrOutput) Elem added in v4.19.0

func (LinkedServiceIntegrationRuntimePtrOutput) ElementType added in v4.19.0

func (LinkedServiceIntegrationRuntimePtrOutput) Name added in v4.19.0

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

func (LinkedServiceIntegrationRuntimePtrOutput) Parameters added in v4.19.0

A map of parameters to associate with the integration runtime.

func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput added in v4.19.0

func (o LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutput() LinkedServiceIntegrationRuntimePtrOutput

func (LinkedServiceIntegrationRuntimePtrOutput) ToLinkedServiceIntegrationRuntimePtrOutputWithContext added in v4.19.0

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

type LinkedServiceMap added in v4.19.0

type LinkedServiceMap map[string]LinkedServiceInput

func (LinkedServiceMap) ElementType added in v4.19.0

func (LinkedServiceMap) ElementType() reflect.Type

func (LinkedServiceMap) ToLinkedServiceMapOutput added in v4.19.0

func (i LinkedServiceMap) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMap) ToLinkedServiceMapOutputWithContext added in v4.19.0

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

type LinkedServiceMapInput added in v4.19.0

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 added in v4.19.0

type LinkedServiceMapOutput struct{ *pulumi.OutputState }

func (LinkedServiceMapOutput) ElementType added in v4.19.0

func (LinkedServiceMapOutput) ElementType() reflect.Type

func (LinkedServiceMapOutput) MapIndex added in v4.19.0

func (LinkedServiceMapOutput) ToLinkedServiceMapOutput added in v4.19.0

func (o LinkedServiceMapOutput) ToLinkedServiceMapOutput() LinkedServiceMapOutput

func (LinkedServiceMapOutput) ToLinkedServiceMapOutputWithContext added in v4.19.0

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

type LinkedServiceOutput added in v4.19.0

type LinkedServiceOutput struct{ *pulumi.OutputState }

func (LinkedServiceOutput) ElementType added in v4.19.0

func (LinkedServiceOutput) ElementType() reflect.Type

func (LinkedServiceOutput) ToLinkedServiceOutput added in v4.19.0

func (o LinkedServiceOutput) ToLinkedServiceOutput() LinkedServiceOutput

func (LinkedServiceOutput) ToLinkedServiceOutputWithContext added in v4.19.0

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

type LinkedServiceState added in v4.19.0

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. For full list of supported data stores, please refer to [Azure Synapse connector](https://docs.microsoft.com/en-us/azure/data-factory/connector-overview). Changing this forces a new Synapse Linked Service to be created.
	Type pulumi.StringPtrInput
	// A JSON object that contains the properties of the Synapse Linked Service.
	TypePropertiesJson pulumi.StringPtrInput
}

func (LinkedServiceState) ElementType added in v4.19.0

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 added in v4.20.0

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 added in v4.20.0

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/v4/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 added in v4.20.0

type LookupWorkspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWorkspace.

func LookupWorkspaceOutput added in v4.20.0

func (LookupWorkspaceResultOutput) ConnectivityEndpoints added in v4.20.0

func (o LookupWorkspaceResultOutput) ConnectivityEndpoints() pulumi.StringMapOutput

A list of Connectivity endpoints for this Synapse Workspace.

func (LookupWorkspaceResultOutput) ElementType added in v4.20.0

func (LookupWorkspaceResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupWorkspaceResultOutput) Identities added in v4.20.0

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

func (LookupWorkspaceResultOutput) Location added in v4.20.0

The Azure location where the Synapse Workspace exists.

func (LookupWorkspaceResultOutput) Name added in v4.20.0

func (LookupWorkspaceResultOutput) ResourceGroupName added in v4.20.0

func (o LookupWorkspaceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupWorkspaceResultOutput) Tags added in v4.20.0

A mapping of tags assigned to the resource.

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput added in v4.20.0

func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext added in v4.20.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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),
		})
		if err != nil {
			return err
		}
		exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		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) 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 added in v4.11.0

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/v4/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 added in v4.11.0

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 added in v4.11.0

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 added in v4.11.0

func (*PrivateLinkHub) ElementType() reflect.Type

func (*PrivateLinkHub) ToPrivateLinkHubOutput added in v4.11.0

func (i *PrivateLinkHub) ToPrivateLinkHubOutput() PrivateLinkHubOutput

func (*PrivateLinkHub) ToPrivateLinkHubOutputWithContext added in v4.11.0

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

type PrivateLinkHubArgs added in v4.11.0

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 added in v4.11.0

func (PrivateLinkHubArgs) ElementType() reflect.Type

type PrivateLinkHubArray added in v4.11.0

type PrivateLinkHubArray []PrivateLinkHubInput

func (PrivateLinkHubArray) ElementType added in v4.11.0

func (PrivateLinkHubArray) ElementType() reflect.Type

func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutput added in v4.11.0

func (i PrivateLinkHubArray) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput

func (PrivateLinkHubArray) ToPrivateLinkHubArrayOutputWithContext added in v4.11.0

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

type PrivateLinkHubArrayInput added in v4.11.0

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 added in v4.11.0

type PrivateLinkHubArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubArrayOutput) ElementType added in v4.11.0

func (PrivateLinkHubArrayOutput) ElementType() reflect.Type

func (PrivateLinkHubArrayOutput) Index added in v4.11.0

func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput added in v4.11.0

func (o PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutput() PrivateLinkHubArrayOutput

func (PrivateLinkHubArrayOutput) ToPrivateLinkHubArrayOutputWithContext added in v4.11.0

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

type PrivateLinkHubInput added in v4.11.0

type PrivateLinkHubInput interface {
	pulumi.Input

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

type PrivateLinkHubMap added in v4.11.0

type PrivateLinkHubMap map[string]PrivateLinkHubInput

func (PrivateLinkHubMap) ElementType added in v4.11.0

func (PrivateLinkHubMap) ElementType() reflect.Type

func (PrivateLinkHubMap) ToPrivateLinkHubMapOutput added in v4.11.0

func (i PrivateLinkHubMap) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput

func (PrivateLinkHubMap) ToPrivateLinkHubMapOutputWithContext added in v4.11.0

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

type PrivateLinkHubMapInput added in v4.11.0

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 added in v4.11.0

type PrivateLinkHubMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubMapOutput) ElementType added in v4.11.0

func (PrivateLinkHubMapOutput) ElementType() reflect.Type

func (PrivateLinkHubMapOutput) MapIndex added in v4.11.0

func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput added in v4.11.0

func (o PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutput() PrivateLinkHubMapOutput

func (PrivateLinkHubMapOutput) ToPrivateLinkHubMapOutputWithContext added in v4.11.0

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

type PrivateLinkHubOutput added in v4.11.0

type PrivateLinkHubOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubOutput) ElementType added in v4.11.0

func (PrivateLinkHubOutput) ElementType() reflect.Type

func (PrivateLinkHubOutput) ToPrivateLinkHubOutput added in v4.11.0

func (o PrivateLinkHubOutput) ToPrivateLinkHubOutput() PrivateLinkHubOutput

func (PrivateLinkHubOutput) ToPrivateLinkHubOutputWithContext added in v4.11.0

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

type PrivateLinkHubState added in v4.11.0

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 added in v4.11.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		if err != nil {
			return err
		}
		exampleFirewallRule, err := synapse.NewFirewallRule(ctx, "exampleFirewallRule", &synapse.FirewallRuleArgs{
			SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.Id),
			StartIpAddress:     pulumi.String("0.0.0.0"),
			EndIpAddress:       pulumi.String("255.255.255.255"),
		})
		if err != nil {
			return err
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = synapse.NewRoleAssignment(ctx, "exampleRoleAssignment", &synapse.RoleAssignmentArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			RoleName:           pulumi.String("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) 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 name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"`
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringOutput `pulumi:"nodeSize"`
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringOutput `pulumi:"nodeSizeFamily"`
	// 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`. 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 name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringPtrInput
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrInput
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringInput
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringInput
	// 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`. 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) ElementType

func (SparkPoolOutput) ElementType() reflect.Type

func (SparkPoolOutput) ToSparkPoolOutput

func (o SparkPoolOutput) ToSparkPoolOutput() SparkPoolOutput

func (SparkPoolOutput) ToSparkPoolOutputWithContext

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

type SparkPoolSparkConfig added in v4.24.0

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 added in v4.24.0

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 added in v4.24.0

func (SparkPoolSparkConfigArgs) ElementType() reflect.Type

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput added in v4.24.0

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigOutputWithContext added in v4.24.0

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

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput added in v4.24.0

func (i SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigArgs) ToSparkPoolSparkConfigPtrOutputWithContext added in v4.24.0

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

type SparkPoolSparkConfigInput added in v4.24.0

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 added in v4.24.0

type SparkPoolSparkConfigOutput struct{ *pulumi.OutputState }

func (SparkPoolSparkConfigOutput) Content added in v4.24.0

The contents of a spark configuration.

func (SparkPoolSparkConfigOutput) ElementType added in v4.24.0

func (SparkPoolSparkConfigOutput) ElementType() reflect.Type

func (SparkPoolSparkConfigOutput) Filename added in v4.24.0

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

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput added in v4.24.0

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutput() SparkPoolSparkConfigOutput

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigOutputWithContext added in v4.24.0

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

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput added in v4.24.0

func (o SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigOutput) ToSparkPoolSparkConfigPtrOutputWithContext added in v4.24.0

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

type SparkPoolSparkConfigPtrInput added in v4.24.0

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

func SparkPoolSparkConfigPtr added in v4.24.0

func SparkPoolSparkConfigPtr(v *SparkPoolSparkConfigArgs) SparkPoolSparkConfigPtrInput

type SparkPoolSparkConfigPtrOutput added in v4.24.0

type SparkPoolSparkConfigPtrOutput struct{ *pulumi.OutputState }

func (SparkPoolSparkConfigPtrOutput) Content added in v4.24.0

The contents of a spark configuration.

func (SparkPoolSparkConfigPtrOutput) Elem added in v4.24.0

func (SparkPoolSparkConfigPtrOutput) ElementType added in v4.24.0

func (SparkPoolSparkConfigPtrOutput) Filename added in v4.24.0

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

func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput added in v4.24.0

func (o SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutput() SparkPoolSparkConfigPtrOutput

func (SparkPoolSparkConfigPtrOutput) ToSparkPoolSparkConfigPtrOutputWithContext added in v4.24.0

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 name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringPtrInput
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrInput
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringPtrInput
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringPtrInput
	// 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`. 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`.
	CreateMode pulumi.StringPtrOutput `pulumi:"createMode"`
	// Is transparent data encryption enabled? Defaults to `false`.
	DataEncrypted pulumi.BoolPtrOutput `pulumi:"dataEncrypted"`
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrOutput `pulumi:"recoveryDatabaseId"`
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrOutput `pulumi:"restore"`
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringOutput `pulumi:"synapseWorkspaceId"`
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Synapse Sql Pool.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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`.
	CreateMode pulumi.StringPtrInput
	// Is transparent data encryption enabled? Defaults to `false`.
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringPtrInput
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrInput
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrInput
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringInput
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringInput
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a SqlPool resource.

func (SqlPoolArgs) ElementType

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 added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"`
	// The number of days to retain logs for in the storage account.
	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://MyAccount.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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 added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput added in v4.20.0

func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyArgs added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account.
	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://MyAccount.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 added in v4.20.0

type SqlPoolExtendedAuditingPolicyArray added in v4.20.0

type SqlPoolExtendedAuditingPolicyArray []SqlPoolExtendedAuditingPolicyInput

func (SqlPoolExtendedAuditingPolicyArray) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput added in v4.20.0

func (i SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput

func (SqlPoolExtendedAuditingPolicyArray) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyArrayInput added in v4.20.0

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 added in v4.20.0

type SqlPoolExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyArrayOutput) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyArrayOutput) Index added in v4.20.0

func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutput() SqlPoolExtendedAuditingPolicyArrayOutput

func (SqlPoolExtendedAuditingPolicyArrayOutput) ToSqlPoolExtendedAuditingPolicyArrayOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyInput added in v4.20.0

type SqlPoolExtendedAuditingPolicyInput interface {
	pulumi.Input

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

type SqlPoolExtendedAuditingPolicyMap added in v4.20.0

type SqlPoolExtendedAuditingPolicyMap map[string]SqlPoolExtendedAuditingPolicyInput

func (SqlPoolExtendedAuditingPolicyMap) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput added in v4.20.0

func (i SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput

func (SqlPoolExtendedAuditingPolicyMap) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyMapInput added in v4.20.0

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 added in v4.20.0

type SqlPoolExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyMapOutput) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyMapOutput) MapIndex added in v4.20.0

func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutput() SqlPoolExtendedAuditingPolicyMapOutput

func (SqlPoolExtendedAuditingPolicyMapOutput) ToSqlPoolExtendedAuditingPolicyMapOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyOutput added in v4.20.0

type SqlPoolExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyOutput) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutput() SqlPoolExtendedAuditingPolicyOutput

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyOutputWithContext added in v4.20.0

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

type SqlPoolExtendedAuditingPolicyState added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account.
	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://MyAccount.blob.core.windows.net). This blob storage will hold all extended auditing logs.
	StorageEndpoint pulumi.StringPtrInput
}

func (SqlPoolExtendedAuditingPolicyState) ElementType added in v4.20.0

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

func (SqlPoolOutput) ElementType() reflect.Type

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. 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. 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. 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. 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 added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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.WorkspaceAadAdminArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*SqlPoolSecurityAlertPolicy) ElementType() reflect.Type

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput added in v4.19.0

func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyArgs added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.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 added in v4.19.0

type SqlPoolSecurityAlertPolicyArray added in v4.19.0

type SqlPoolSecurityAlertPolicyArray []SqlPoolSecurityAlertPolicyInput

func (SqlPoolSecurityAlertPolicyArray) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput added in v4.19.0

func (i SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput

func (SqlPoolSecurityAlertPolicyArray) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyArrayInput added in v4.19.0

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 added in v4.19.0

type SqlPoolSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyArrayOutput) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyArrayOutput) Index added in v4.19.0

func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput added in v4.19.0

func (o SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutput() SqlPoolSecurityAlertPolicyArrayOutput

func (SqlPoolSecurityAlertPolicyArrayOutput) ToSqlPoolSecurityAlertPolicyArrayOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyInput added in v4.19.0

type SqlPoolSecurityAlertPolicyInput interface {
	pulumi.Input

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

type SqlPoolSecurityAlertPolicyMap added in v4.19.0

type SqlPoolSecurityAlertPolicyMap map[string]SqlPoolSecurityAlertPolicyInput

func (SqlPoolSecurityAlertPolicyMap) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput added in v4.19.0

func (i SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput

func (SqlPoolSecurityAlertPolicyMap) ToSqlPoolSecurityAlertPolicyMapOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyMapInput added in v4.19.0

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 added in v4.19.0

type SqlPoolSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyMapOutput) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyMapOutput) MapIndex added in v4.19.0

func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput added in v4.19.0

func (o SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutput() SqlPoolSecurityAlertPolicyMapOutput

func (SqlPoolSecurityAlertPolicyMapOutput) ToSqlPoolSecurityAlertPolicyMapOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyOutput added in v4.19.0

type SqlPoolSecurityAlertPolicyOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyOutput) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput added in v4.19.0

func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutput() SqlPoolSecurityAlertPolicyOutput

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyOutputWithContext added in v4.19.0

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

type SqlPoolSecurityAlertPolicyState added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.
	StorageEndpoint pulumi.StringPtrInput
}

func (SqlPoolSecurityAlertPolicyState) ElementType added in v4.19.0

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`.
	CreateMode pulumi.StringPtrInput
	// Is transparent data encryption enabled? Defaults to `false`.
	DataEncrypted pulumi.BoolPtrInput
	// The name which should be used for this Synapse Sql Pool. Changing this forces a new synapse SqlPool to be created.
	Name pulumi.StringPtrInput
	// The ID of the Synapse Sql Pool or Sql Database which is to back up, only applicable when `createMode` is set to `Recovery`. Changing this forces a new Synapse Sql Pool to be created.
	RecoveryDatabaseId pulumi.StringPtrInput
	// A `restore` block as defined below. only applicable when `createMode` is set to `PointInTimeRestore`.
	Restore SqlPoolRestorePtrInput
	// Specifies the SKU Name for this Synapse Sql Pool. Possible values are `DW100c`, `DW200c`, `DW300c`, `DW400c`, `DW500c`, `DW1000c`, `DW1500c`, `DW2000c`, `DW2500c`, `DW3000c`, `DW5000c`, `DW6000c`, `DW7500c`, `DW10000c`, `DW15000c` or `DW30000c`.
	SkuName pulumi.StringPtrInput
	// The ID of Synapse Workspace within which this Sql Pool should be created. Changing this forces a new Synapse Sql Pool to be created.
	SynapseWorkspaceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Synapse Sql Pool.
	Tags pulumi.StringMapInput
}

func (SqlPoolState) ElementType

func (SqlPoolState) ElementType() reflect.Type

type SqlPoolVulnerabilityAssessment added in v4.19.0

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://myStorage.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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.WorkspaceAadAdminArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		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: exampleAccount.PrimaryBlobEndpoint.ApplyT(func(primaryBlobEndpoint string) (string, error) {
				return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, azurerm_storage_container.Example.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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput added in v4.19.0

func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentArgs added in v4.19.0

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://myStorage.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 added in v4.19.0

type SqlPoolVulnerabilityAssessmentArray added in v4.19.0

type SqlPoolVulnerabilityAssessmentArray []SqlPoolVulnerabilityAssessmentInput

func (SqlPoolVulnerabilityAssessmentArray) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput added in v4.19.0

func (i SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput

func (SqlPoolVulnerabilityAssessmentArray) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentArrayInput added in v4.19.0

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 added in v4.19.0

type SqlPoolVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentArrayOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentArrayOutput) Index added in v4.19.0

func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutput() SqlPoolVulnerabilityAssessmentArrayOutput

func (SqlPoolVulnerabilityAssessmentArrayOutput) ToSqlPoolVulnerabilityAssessmentArrayOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentBaseline added in v4.24.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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 = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountKind:            pulumi.String("BlobStorage"),
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		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
		}
		_, 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%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: pulumi.Any(azurerm_synapse_sql_pool_vulnerability_assessment.Test.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 added in v4.24.0

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 added in v4.24.0

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 added in v4.24.0

func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput added in v4.24.0

func (i *SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput

func (*SqlPoolVulnerabilityAssessmentBaseline) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineArgs added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineArray added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineArray []SqlPoolVulnerabilityAssessmentBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineArray) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput added in v4.24.0

func (i SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineArrayInput added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) Index added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput added in v4.24.0

func (o SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineArrayOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineBaseline added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineBaselineArgs added in v4.24.0

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

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput added in v4.24.0

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArgs) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineBaselineArray added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineBaselineArray []SqlPoolVulnerabilityAssessmentBaselineBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput added in v4.24.0

func (i SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput() SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArray) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayInput added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) Index added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineArrayOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineBaselineInput added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineBaselineOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) Results added in v4.24.0

Specifies a list of rule baseline result.

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutput added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineBaselineOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineInput added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineInput interface {
	pulumi.Input

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

type SqlPoolVulnerabilityAssessmentBaselineMap added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineMap map[string]SqlPoolVulnerabilityAssessmentBaselineInput

func (SqlPoolVulnerabilityAssessmentBaselineMap) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput added in v4.24.0

func (i SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput

func (SqlPoolVulnerabilityAssessmentBaselineMap) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineMapInput added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineMapOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) MapIndex added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput added in v4.24.0

func (o SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutput() SqlPoolVulnerabilityAssessmentBaselineMapOutput

func (SqlPoolVulnerabilityAssessmentBaselineMapOutput) ToSqlPoolVulnerabilityAssessmentBaselineMapOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineOutput added in v4.24.0

type SqlPoolVulnerabilityAssessmentBaselineOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ElementType added in v4.24.0

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput added in v4.24.0

func (o SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutput() SqlPoolVulnerabilityAssessmentBaselineOutput

func (SqlPoolVulnerabilityAssessmentBaselineOutput) ToSqlPoolVulnerabilityAssessmentBaselineOutputWithContext added in v4.24.0

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

type SqlPoolVulnerabilityAssessmentBaselineState added in v4.24.0

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 added in v4.24.0

type SqlPoolVulnerabilityAssessmentInput added in v4.19.0

type SqlPoolVulnerabilityAssessmentInput interface {
	pulumi.Input

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

type SqlPoolVulnerabilityAssessmentMap added in v4.19.0

type SqlPoolVulnerabilityAssessmentMap map[string]SqlPoolVulnerabilityAssessmentInput

func (SqlPoolVulnerabilityAssessmentMap) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput added in v4.19.0

func (i SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput

func (SqlPoolVulnerabilityAssessmentMap) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentMapInput added in v4.19.0

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 added in v4.19.0

type SqlPoolVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentMapOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentMapOutput) MapIndex added in v4.19.0

func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutput() SqlPoolVulnerabilityAssessmentMapOutput

func (SqlPoolVulnerabilityAssessmentMapOutput) ToSqlPoolVulnerabilityAssessmentMapOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentOutput added in v4.19.0

type SqlPoolVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutput() SqlPoolVulnerabilityAssessmentOutput

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentRecurringScans added in v4.19.0

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 e-mail 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 added in v4.19.0

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 e-mail 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 added in v4.19.0

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput added in v4.19.0

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext added in v4.19.0

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

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (i SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansArgs) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentRecurringScansInput added in v4.19.0

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 added in v4.19.0

type SqlPoolVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled added in v4.19.0

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 added in v4.19.0

Specifies an array of e-mail addresses to which the scan notification is sent.

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) Enabled added in v4.19.0

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

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutput() SqlPoolVulnerabilityAssessmentRecurringScansOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansOutputWithContext added in v4.19.0

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

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput() SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput

func (SqlPoolVulnerabilityAssessmentRecurringScansOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentRecurringScansPtrInput added in v4.19.0

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 added in v4.19.0

type SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Elem added in v4.19.0

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled added in v4.19.0

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

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Emails added in v4.19.0

Specifies an array of e-mail addresses to which the scan notification is sent.

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) Enabled added in v4.19.0

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

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (SqlPoolVulnerabilityAssessmentRecurringScansPtrOutput) ToSqlPoolVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

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

type SqlPoolVulnerabilityAssessmentState added in v4.19.0

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://myStorage.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 added in v4.19.0

type SqlPoolWorkloadClassifier added in v4.32.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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 added in v4.32.0

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 added in v4.32.0

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 added in v4.32.0

func (*SqlPoolWorkloadClassifier) ElementType() reflect.Type

func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput added in v4.32.0

func (i *SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput

func (*SqlPoolWorkloadClassifier) ToSqlPoolWorkloadClassifierOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierArgs added in v4.32.0

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 added in v4.32.0

type SqlPoolWorkloadClassifierArray added in v4.32.0

type SqlPoolWorkloadClassifierArray []SqlPoolWorkloadClassifierInput

func (SqlPoolWorkloadClassifierArray) ElementType added in v4.32.0

func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput added in v4.32.0

func (i SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput

func (SqlPoolWorkloadClassifierArray) ToSqlPoolWorkloadClassifierArrayOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierArrayInput added in v4.32.0

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 added in v4.32.0

type SqlPoolWorkloadClassifierArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierArrayOutput) ElementType added in v4.32.0

func (SqlPoolWorkloadClassifierArrayOutput) Index added in v4.32.0

func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput added in v4.32.0

func (o SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutput() SqlPoolWorkloadClassifierArrayOutput

func (SqlPoolWorkloadClassifierArrayOutput) ToSqlPoolWorkloadClassifierArrayOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierInput added in v4.32.0

type SqlPoolWorkloadClassifierInput interface {
	pulumi.Input

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

type SqlPoolWorkloadClassifierMap added in v4.32.0

type SqlPoolWorkloadClassifierMap map[string]SqlPoolWorkloadClassifierInput

func (SqlPoolWorkloadClassifierMap) ElementType added in v4.32.0

func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput added in v4.32.0

func (i SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput

func (SqlPoolWorkloadClassifierMap) ToSqlPoolWorkloadClassifierMapOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierMapInput added in v4.32.0

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 added in v4.32.0

type SqlPoolWorkloadClassifierMapOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierMapOutput) ElementType added in v4.32.0

func (SqlPoolWorkloadClassifierMapOutput) MapIndex added in v4.32.0

func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput added in v4.32.0

func (o SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutput() SqlPoolWorkloadClassifierMapOutput

func (SqlPoolWorkloadClassifierMapOutput) ToSqlPoolWorkloadClassifierMapOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierOutput added in v4.32.0

type SqlPoolWorkloadClassifierOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadClassifierOutput) ElementType added in v4.32.0

func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput added in v4.32.0

func (o SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutput() SqlPoolWorkloadClassifierOutput

func (SqlPoolWorkloadClassifierOutput) ToSqlPoolWorkloadClassifierOutputWithContext added in v4.32.0

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

type SqlPoolWorkloadClassifierState added in v4.32.0

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 added in v4.32.0

type SqlPoolWorkloadGroup added in v4.30.0

type SqlPoolWorkloadGroup struct {
	pulumi.CustomResourceState

	// The workload group importance level.
	Importance pulumi.StringPtrOutput `pulumi:"importance"`
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntOutput `pulumi:"maxResourcePercent"`
	// The workload group request maximum grant percentage.
	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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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 added in v4.30.0

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 added in v4.30.0

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 added in v4.30.0

func (*SqlPoolWorkloadGroup) ElementType() reflect.Type

func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput added in v4.30.0

func (i *SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput

func (*SqlPoolWorkloadGroup) ToSqlPoolWorkloadGroupOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupArgs added in v4.30.0

type SqlPoolWorkloadGroupArgs struct {
	// The workload group importance level.
	Importance pulumi.StringPtrInput
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntInput
	// The workload group request maximum grant percentage.
	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 added in v4.30.0

func (SqlPoolWorkloadGroupArgs) ElementType() reflect.Type

type SqlPoolWorkloadGroupArray added in v4.30.0

type SqlPoolWorkloadGroupArray []SqlPoolWorkloadGroupInput

func (SqlPoolWorkloadGroupArray) ElementType added in v4.30.0

func (SqlPoolWorkloadGroupArray) ElementType() reflect.Type

func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput added in v4.30.0

func (i SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput

func (SqlPoolWorkloadGroupArray) ToSqlPoolWorkloadGroupArrayOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupArrayInput added in v4.30.0

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 added in v4.30.0

type SqlPoolWorkloadGroupArrayOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupArrayOutput) ElementType added in v4.30.0

func (SqlPoolWorkloadGroupArrayOutput) Index added in v4.30.0

func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput added in v4.30.0

func (o SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutput() SqlPoolWorkloadGroupArrayOutput

func (SqlPoolWorkloadGroupArrayOutput) ToSqlPoolWorkloadGroupArrayOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupInput added in v4.30.0

type SqlPoolWorkloadGroupInput interface {
	pulumi.Input

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

type SqlPoolWorkloadGroupMap added in v4.30.0

type SqlPoolWorkloadGroupMap map[string]SqlPoolWorkloadGroupInput

func (SqlPoolWorkloadGroupMap) ElementType added in v4.30.0

func (SqlPoolWorkloadGroupMap) ElementType() reflect.Type

func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput added in v4.30.0

func (i SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput

func (SqlPoolWorkloadGroupMap) ToSqlPoolWorkloadGroupMapOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupMapInput added in v4.30.0

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 added in v4.30.0

type SqlPoolWorkloadGroupMapOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupMapOutput) ElementType added in v4.30.0

func (SqlPoolWorkloadGroupMapOutput) MapIndex added in v4.30.0

func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput added in v4.30.0

func (o SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutput() SqlPoolWorkloadGroupMapOutput

func (SqlPoolWorkloadGroupMapOutput) ToSqlPoolWorkloadGroupMapOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupOutput added in v4.30.0

type SqlPoolWorkloadGroupOutput struct{ *pulumi.OutputState }

func (SqlPoolWorkloadGroupOutput) ElementType added in v4.30.0

func (SqlPoolWorkloadGroupOutput) ElementType() reflect.Type

func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput added in v4.30.0

func (o SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutput() SqlPoolWorkloadGroupOutput

func (SqlPoolWorkloadGroupOutput) ToSqlPoolWorkloadGroupOutputWithContext added in v4.30.0

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

type SqlPoolWorkloadGroupState added in v4.30.0

type SqlPoolWorkloadGroupState struct {
	// The workload group importance level.
	Importance pulumi.StringPtrInput
	// The workload group cap percentage resource.
	MaxResourcePercent pulumi.IntPtrInput
	// The workload group request maximum grant percentage.
	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 added in v4.30.0

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
	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, which contains the Managed Service Identity information for this Synapse Workspace.
	Identities WorkspaceIdentityArrayOutput `pulumi:"identities"`
	// 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.
	ManagedResourceGroupName pulumi.StringOutput `pulumi:"managedResourceGroupName"`
	// Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. 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.
	SqlAdministratorLogin pulumi.StringOutput `pulumi:"sqlAdministratorLogin"`
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	SqlAdministratorLoginPassword pulumi.StringOutput `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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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.WorkspaceAadAdminArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

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

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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"),
			},
			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.Identities.ApplyT(func(identities []synapse.WorkspaceIdentity) (string, error) {
				return identities[0].TenantId, nil
			}).(pulumi.StringOutput),
			ObjectId: exampleWorkspace.Identities.ApplyT(func(identities []synapse.WorkspaceIdentity) (string, error) {
				return identities[0].PrincipalId, nil
			}).(pulumi.StringOutput),
			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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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:               pulumi.Any(azurerm_resource_group.Exampl.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
		}
		_, 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!"),
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceAadAdmin(ctx, "test", &synapse.WorkspaceAadAdminArgs{
			SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.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 added in v4.27.0

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 added in v4.27.0

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 added in v4.27.0

func (*WorkspaceAadAdmin) ElementType() reflect.Type

func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutput added in v4.27.0

func (i *WorkspaceAadAdmin) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput

func (*WorkspaceAadAdmin) ToWorkspaceAadAdminOutputWithContext added in v4.27.0

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 added in v4.27.0

type WorkspaceAadAdminArray []WorkspaceAadAdminInput

func (WorkspaceAadAdminArray) ElementType added in v4.27.0

func (WorkspaceAadAdminArray) ElementType() reflect.Type

func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput added in v4.27.0

func (i WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput

func (WorkspaceAadAdminArray) ToWorkspaceAadAdminArrayOutputWithContext added in v4.27.0

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

type WorkspaceAadAdminArrayInput added in v4.27.0

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 added in v4.27.0

type WorkspaceAadAdminArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminArrayOutput) ElementType added in v4.27.0

func (WorkspaceAadAdminArrayOutput) Index added in v4.27.0

func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput added in v4.27.0

func (o WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutput() WorkspaceAadAdminArrayOutput

func (WorkspaceAadAdminArrayOutput) ToWorkspaceAadAdminArrayOutputWithContext added in v4.27.0

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

type WorkspaceAadAdminInput

type WorkspaceAadAdminInput interface {
	pulumi.Input

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

type WorkspaceAadAdminMap added in v4.27.0

type WorkspaceAadAdminMap map[string]WorkspaceAadAdminInput

func (WorkspaceAadAdminMap) ElementType added in v4.27.0

func (WorkspaceAadAdminMap) ElementType() reflect.Type

func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput added in v4.27.0

func (i WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput

func (WorkspaceAadAdminMap) ToWorkspaceAadAdminMapOutputWithContext added in v4.27.0

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

type WorkspaceAadAdminMapInput added in v4.27.0

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 added in v4.27.0

type WorkspaceAadAdminMapOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminMapOutput) ElementType added in v4.27.0

func (WorkspaceAadAdminMapOutput) ElementType() reflect.Type

func (WorkspaceAadAdminMapOutput) MapIndex added in v4.27.0

func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput added in v4.27.0

func (o WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutput() WorkspaceAadAdminMapOutput

func (WorkspaceAadAdminMapOutput) ToWorkspaceAadAdminMapOutputWithContext added in v4.27.0

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

func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput

func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext

func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput

type WorkspaceAadAdminState added in v4.27.0

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 added in v4.27.0

func (WorkspaceAadAdminState) ElementType() reflect.Type

type WorkspaceAadAdminType added in v4.27.0

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 added in v4.27.0

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 added in v4.27.0

func (WorkspaceAadAdminTypeArgs) ElementType() reflect.Type

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput added in v4.27.0

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypeOutputWithContext added in v4.27.0

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

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput added in v4.27.0

func (i WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypeArgs) ToWorkspaceAadAdminTypePtrOutputWithContext added in v4.27.0

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

type WorkspaceAadAdminTypeInput added in v4.27.0

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 added in v4.27.0

type WorkspaceAadAdminTypeOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminTypeOutput) ElementType added in v4.27.0

func (WorkspaceAadAdminTypeOutput) Login added in v4.27.0

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

func (WorkspaceAadAdminTypeOutput) ObjectId added in v4.27.0

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

func (WorkspaceAadAdminTypeOutput) TenantId added in v4.27.0

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

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput added in v4.27.0

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutput() WorkspaceAadAdminTypeOutput

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypeOutputWithContext added in v4.27.0

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

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput added in v4.27.0

func (o WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypeOutput) ToWorkspaceAadAdminTypePtrOutputWithContext added in v4.27.0

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

type WorkspaceAadAdminTypePtrInput added in v4.27.0

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

func WorkspaceAadAdminTypePtr added in v4.27.0

func WorkspaceAadAdminTypePtr(v *WorkspaceAadAdminTypeArgs) WorkspaceAadAdminTypePtrInput

type WorkspaceAadAdminTypePtrOutput added in v4.27.0

type WorkspaceAadAdminTypePtrOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminTypePtrOutput) Elem added in v4.27.0

func (WorkspaceAadAdminTypePtrOutput) ElementType added in v4.27.0

func (WorkspaceAadAdminTypePtrOutput) Login added in v4.27.0

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

func (WorkspaceAadAdminTypePtrOutput) ObjectId added in v4.27.0

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

func (WorkspaceAadAdminTypePtrOutput) TenantId added in v4.27.0

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

func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput added in v4.27.0

func (o WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutput() WorkspaceAadAdminTypePtrOutput

func (WorkspaceAadAdminTypePtrOutput) ToWorkspaceAadAdminTypePtrOutputWithContext added in v4.27.0

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
	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
	// 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.
	ManagedResourceGroupName pulumi.StringPtrInput
	// Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. 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.
	SqlAdministratorLogin pulumi.StringInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	SqlAdministratorLoginPassword pulumi.StringInput
	// 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 added in v4.25.0

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 added in v4.18.0

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 added in v4.25.0

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 added in v4.18.0

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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput added in v4.19.0

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyOutputWithContext added in v4.19.0

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

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput added in v4.19.0

func (i WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyArgs) ToWorkspaceCustomerManagedKeyPtrOutputWithContext added in v4.19.0

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

type WorkspaceCustomerManagedKeyInput added in v4.19.0

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 added in v4.19.0

type WorkspaceCustomerManagedKeyOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomerManagedKeyOutput) ElementType added in v4.19.0

func (WorkspaceCustomerManagedKeyOutput) KeyName added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutput() WorkspaceCustomerManagedKeyOutput

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyOutputWithContext added in v4.19.0

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

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput added in v4.19.0

func (o WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext added in v4.19.0

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

type WorkspaceCustomerManagedKeyPtrInput added in v4.19.0

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

func WorkspaceCustomerManagedKeyPtr added in v4.19.0

type WorkspaceCustomerManagedKeyPtrOutput added in v4.19.0

type WorkspaceCustomerManagedKeyPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceCustomerManagedKeyPtrOutput) Elem added in v4.19.0

func (WorkspaceCustomerManagedKeyPtrOutput) ElementType added in v4.19.0

func (WorkspaceCustomerManagedKeyPtrOutput) KeyName added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (o WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutput() WorkspaceCustomerManagedKeyPtrOutput

func (WorkspaceCustomerManagedKeyPtrOutput) ToWorkspaceCustomerManagedKeyPtrOutputWithContext added in v4.19.0

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

type WorkspaceExtendedAuditingPolicy added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrOutput `pulumi:"logMonitoringEnabled"`
	// The number of days to retain logs for in the storage account.
	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://MyAccount.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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!"),
		})
		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 Policys 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 added in v4.20.0

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 added in v4.20.0

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 added in v4.20.0

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput added in v4.20.0

func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyArgs added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account.
	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://MyAccount.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 added in v4.20.0

type WorkspaceExtendedAuditingPolicyArray added in v4.20.0

type WorkspaceExtendedAuditingPolicyArray []WorkspaceExtendedAuditingPolicyInput

func (WorkspaceExtendedAuditingPolicyArray) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput added in v4.20.0

func (i WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput

func (WorkspaceExtendedAuditingPolicyArray) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyArrayInput added in v4.20.0

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 added in v4.20.0

type WorkspaceExtendedAuditingPolicyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyArrayOutput) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyArrayOutput) Index added in v4.20.0

func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutput() WorkspaceExtendedAuditingPolicyArrayOutput

func (WorkspaceExtendedAuditingPolicyArrayOutput) ToWorkspaceExtendedAuditingPolicyArrayOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyInput added in v4.20.0

type WorkspaceExtendedAuditingPolicyInput interface {
	pulumi.Input

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

type WorkspaceExtendedAuditingPolicyMap added in v4.20.0

type WorkspaceExtendedAuditingPolicyMap map[string]WorkspaceExtendedAuditingPolicyInput

func (WorkspaceExtendedAuditingPolicyMap) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput added in v4.20.0

func (i WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput

func (WorkspaceExtendedAuditingPolicyMap) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyMapInput added in v4.20.0

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 added in v4.20.0

type WorkspaceExtendedAuditingPolicyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyMapOutput) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyMapOutput) MapIndex added in v4.20.0

func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutput() WorkspaceExtendedAuditingPolicyMapOutput

func (WorkspaceExtendedAuditingPolicyMapOutput) ToWorkspaceExtendedAuditingPolicyMapOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyOutput added in v4.20.0

type WorkspaceExtendedAuditingPolicyOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyOutput) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutput() WorkspaceExtendedAuditingPolicyOutput

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyOutputWithContext added in v4.20.0

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

type WorkspaceExtendedAuditingPolicyState added in v4.20.0

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.
	LogMonitoringEnabled pulumi.BoolPtrInput
	// The number of days to retain logs for in the storage account.
	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://MyAccount.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 added in v4.20.0

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 added in v4.25.0

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 added in v4.25.0

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 {
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	PrincipalId *string `pulumi:"principalId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId *string `pulumi:"tenantId"`
	// The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	Type *string `pulumi:"type"`
}

type WorkspaceIdentityArgs

type WorkspaceIdentityArgs struct {
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The tenant id of the Azure AD Administrator of this Synapse Workspace.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Identity Type for the Service Principal associated with the Managed Service Identity of this Synapse Workspace.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (WorkspaceIdentityArgs) ElementType

func (WorkspaceIdentityArgs) ElementType() reflect.Type

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput

type WorkspaceIdentityArray

type WorkspaceIdentityArray []WorkspaceIdentityInput

func (WorkspaceIdentityArray) ElementType

func (WorkspaceIdentityArray) ElementType() reflect.Type

func (WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutput

func (i WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput

func (WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutputWithContext

func (i WorkspaceIdentityArray) ToWorkspaceIdentityArrayOutputWithContext(ctx context.Context) WorkspaceIdentityArrayOutput

type WorkspaceIdentityArrayInput

type WorkspaceIdentityArrayInput interface {
	pulumi.Input

	ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput
	ToWorkspaceIdentityArrayOutputWithContext(context.Context) WorkspaceIdentityArrayOutput
}

WorkspaceIdentityArrayInput is an input type that accepts WorkspaceIdentityArray and WorkspaceIdentityArrayOutput values. You can construct a concrete instance of `WorkspaceIdentityArrayInput` via:

WorkspaceIdentityArray{ WorkspaceIdentityArgs{...} }

type WorkspaceIdentityArrayOutput

type WorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityArrayOutput) ElementType

func (WorkspaceIdentityArrayOutput) Index

func (WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutput

func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutput() WorkspaceIdentityArrayOutput

func (WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutputWithContext

func (o WorkspaceIdentityArrayOutput) ToWorkspaceIdentityArrayOutputWithContext(ctx context.Context) WorkspaceIdentityArrayOutput

type WorkspaceIdentityInput

type WorkspaceIdentityInput interface {
	pulumi.Input

	ToWorkspaceIdentityOutput() WorkspaceIdentityOutput
	ToWorkspaceIdentityOutputWithContext(context.Context) WorkspaceIdentityOutput
}

WorkspaceIdentityInput is an input type that accepts WorkspaceIdentityArgs and WorkspaceIdentityOutput values. You can construct a concrete instance of `WorkspaceIdentityInput` via:

WorkspaceIdentityArgs{...}

type WorkspaceIdentityOutput

type WorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityOutput) ElementType

func (WorkspaceIdentityOutput) ElementType() reflect.Type

func (WorkspaceIdentityOutput) PrincipalId

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

func (WorkspaceIdentityOutput) TenantId

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

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext(ctx context.Context) WorkspaceIdentityOutput

func (WorkspaceIdentityOutput) Type

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

type WorkspaceInput

type WorkspaceInput interface {
	pulumi.Input

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

type WorkspaceKey added in v4.19.0

type WorkspaceKey struct {
	pulumi.CustomResourceState

	Active pulumi.BoolOutput `pulumi:"active"`
	// Deprecated: As this property name contained a typo originally, please switch to using 'customer_managed_key_name' instead.
	CusomterManagedKeyName          pulumi.StringOutput    `pulumi:"cusomterManagedKeyName"`
	CustomerManagedKeyName          pulumi.StringOutput    `pulumi:"customerManagedKeyName"`
	CustomerManagedKeyVersionlessId pulumi.StringPtrOutput `pulumi:"customerManagedKeyVersionlessId"`
	SynapseWorkspaceId              pulumi.StringOutput    `pulumi:"synapseWorkspaceId"`
}

func GetWorkspaceKey added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*WorkspaceKey) ElementType() reflect.Type

func (*WorkspaceKey) ToWorkspaceKeyOutput added in v4.19.0

func (i *WorkspaceKey) ToWorkspaceKeyOutput() WorkspaceKeyOutput

func (*WorkspaceKey) ToWorkspaceKeyOutputWithContext added in v4.19.0

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

type WorkspaceKeyArgs added in v4.19.0

type WorkspaceKeyArgs struct {
	Active pulumi.BoolInput
	// Deprecated: As this property name contained a typo originally, please switch to using 'customer_managed_key_name' instead.
	CusomterManagedKeyName          pulumi.StringPtrInput
	CustomerManagedKeyName          pulumi.StringPtrInput
	CustomerManagedKeyVersionlessId pulumi.StringPtrInput
	SynapseWorkspaceId              pulumi.StringInput
}

The set of arguments for constructing a WorkspaceKey resource.

func (WorkspaceKeyArgs) ElementType added in v4.19.0

func (WorkspaceKeyArgs) ElementType() reflect.Type

type WorkspaceKeyArray added in v4.19.0

type WorkspaceKeyArray []WorkspaceKeyInput

func (WorkspaceKeyArray) ElementType added in v4.19.0

func (WorkspaceKeyArray) ElementType() reflect.Type

func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutput added in v4.19.0

func (i WorkspaceKeyArray) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput

func (WorkspaceKeyArray) ToWorkspaceKeyArrayOutputWithContext added in v4.19.0

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

type WorkspaceKeyArrayInput added in v4.19.0

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 added in v4.19.0

type WorkspaceKeyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyArrayOutput) ElementType added in v4.19.0

func (WorkspaceKeyArrayOutput) ElementType() reflect.Type

func (WorkspaceKeyArrayOutput) Index added in v4.19.0

func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput added in v4.19.0

func (o WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutput() WorkspaceKeyArrayOutput

func (WorkspaceKeyArrayOutput) ToWorkspaceKeyArrayOutputWithContext added in v4.19.0

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

type WorkspaceKeyInput added in v4.19.0

type WorkspaceKeyInput interface {
	pulumi.Input

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

type WorkspaceKeyMap added in v4.19.0

type WorkspaceKeyMap map[string]WorkspaceKeyInput

func (WorkspaceKeyMap) ElementType added in v4.19.0

func (WorkspaceKeyMap) ElementType() reflect.Type

func (WorkspaceKeyMap) ToWorkspaceKeyMapOutput added in v4.19.0

func (i WorkspaceKeyMap) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput

func (WorkspaceKeyMap) ToWorkspaceKeyMapOutputWithContext added in v4.19.0

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

type WorkspaceKeyMapInput added in v4.19.0

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 added in v4.19.0

type WorkspaceKeyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyMapOutput) ElementType added in v4.19.0

func (WorkspaceKeyMapOutput) ElementType() reflect.Type

func (WorkspaceKeyMapOutput) MapIndex added in v4.19.0

func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput added in v4.19.0

func (o WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutput() WorkspaceKeyMapOutput

func (WorkspaceKeyMapOutput) ToWorkspaceKeyMapOutputWithContext added in v4.19.0

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

type WorkspaceKeyOutput added in v4.19.0

type WorkspaceKeyOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyOutput) ElementType added in v4.19.0

func (WorkspaceKeyOutput) ElementType() reflect.Type

func (WorkspaceKeyOutput) ToWorkspaceKeyOutput added in v4.19.0

func (o WorkspaceKeyOutput) ToWorkspaceKeyOutput() WorkspaceKeyOutput

func (WorkspaceKeyOutput) ToWorkspaceKeyOutputWithContext added in v4.19.0

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

type WorkspaceKeyState added in v4.19.0

type WorkspaceKeyState struct {
	Active pulumi.BoolPtrInput
	// Deprecated: As this property name contained a typo originally, please switch to using 'customer_managed_key_name' instead.
	CusomterManagedKeyName          pulumi.StringPtrInput
	CustomerManagedKeyName          pulumi.StringPtrInput
	CustomerManagedKeyVersionlessId pulumi.StringPtrInput
	SynapseWorkspaceId              pulumi.StringPtrInput
}

func (WorkspaceKeyState) ElementType added in v4.19.0

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

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) ToWorkspaceOutput

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext

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

type WorkspaceSecurityAlertPolicy added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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.WorkspaceAadAdminArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*WorkspaceSecurityAlertPolicy) ElementType() reflect.Type

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput added in v4.19.0

func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyArgs added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.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 added in v4.19.0

type WorkspaceSecurityAlertPolicyArray added in v4.19.0

type WorkspaceSecurityAlertPolicyArray []WorkspaceSecurityAlertPolicyInput

func (WorkspaceSecurityAlertPolicyArray) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput added in v4.19.0

func (i WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput

func (WorkspaceSecurityAlertPolicyArray) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyArrayInput added in v4.19.0

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 added in v4.19.0

type WorkspaceSecurityAlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyArrayOutput) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyArrayOutput) Index added in v4.19.0

func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput added in v4.19.0

func (o WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutput() WorkspaceSecurityAlertPolicyArrayOutput

func (WorkspaceSecurityAlertPolicyArrayOutput) ToWorkspaceSecurityAlertPolicyArrayOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyInput added in v4.19.0

type WorkspaceSecurityAlertPolicyInput interface {
	pulumi.Input

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

type WorkspaceSecurityAlertPolicyMap added in v4.19.0

type WorkspaceSecurityAlertPolicyMap map[string]WorkspaceSecurityAlertPolicyInput

func (WorkspaceSecurityAlertPolicyMap) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput added in v4.19.0

func (i WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput

func (WorkspaceSecurityAlertPolicyMap) ToWorkspaceSecurityAlertPolicyMapOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyMapInput added in v4.19.0

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 added in v4.19.0

type WorkspaceSecurityAlertPolicyMapOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyMapOutput) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyMapOutput) MapIndex added in v4.19.0

func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput added in v4.19.0

func (o WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutput() WorkspaceSecurityAlertPolicyMapOutput

func (WorkspaceSecurityAlertPolicyMapOutput) ToWorkspaceSecurityAlertPolicyMapOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyOutput added in v4.19.0

type WorkspaceSecurityAlertPolicyOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyOutput) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput added in v4.19.0

func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutput() WorkspaceSecurityAlertPolicyOutput

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyOutputWithContext added in v4.19.0

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

type WorkspaceSecurityAlertPolicyState added in v4.19.0

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 e-mail 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. Allowed values are: `Disabled`, `Enabled`.
	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://MyAccount.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 added in v4.19.0

type WorkspaceSqlAadAdmin added in v4.26.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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:               pulumi.Any(azurerm_resource_group.Exampl.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
		}
		_, 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!"),
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		_, err = synapse.NewWorkspaceSqlAadAdmin(ctx, "test", &synapse.WorkspaceSqlAadAdminArgs{
			SynapseWorkspaceId: pulumi.Any(azurerm_synapse_workspace.Test.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 added in v4.32.0

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 added in v4.32.0

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 added in v4.32.0

func (*WorkspaceSqlAadAdmin) ElementType() reflect.Type

func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput added in v4.32.0

func (i *WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput

func (*WorkspaceSqlAadAdmin) ToWorkspaceSqlAadAdminOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminArgs added in v4.26.0

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 added in v4.26.0

func (WorkspaceSqlAadAdminArgs) ElementType() reflect.Type

type WorkspaceSqlAadAdminArray added in v4.32.0

type WorkspaceSqlAadAdminArray []WorkspaceSqlAadAdminInput

func (WorkspaceSqlAadAdminArray) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminArray) ElementType() reflect.Type

func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput added in v4.32.0

func (i WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput

func (WorkspaceSqlAadAdminArray) ToWorkspaceSqlAadAdminArrayOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminArrayInput added in v4.32.0

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 added in v4.32.0

type WorkspaceSqlAadAdminArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminArrayOutput) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminArrayOutput) Index added in v4.32.0

func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput added in v4.32.0

func (o WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutput() WorkspaceSqlAadAdminArrayOutput

func (WorkspaceSqlAadAdminArrayOutput) ToWorkspaceSqlAadAdminArrayOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminInput added in v4.26.0

type WorkspaceSqlAadAdminInput interface {
	pulumi.Input

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

type WorkspaceSqlAadAdminMap added in v4.32.0

type WorkspaceSqlAadAdminMap map[string]WorkspaceSqlAadAdminInput

func (WorkspaceSqlAadAdminMap) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminMap) ElementType() reflect.Type

func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput added in v4.32.0

func (i WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput

func (WorkspaceSqlAadAdminMap) ToWorkspaceSqlAadAdminMapOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminMapInput added in v4.32.0

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 added in v4.32.0

type WorkspaceSqlAadAdminMapOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminMapOutput) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminMapOutput) MapIndex added in v4.32.0

func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput added in v4.32.0

func (o WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutput() WorkspaceSqlAadAdminMapOutput

func (WorkspaceSqlAadAdminMapOutput) ToWorkspaceSqlAadAdminMapOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminOutput added in v4.26.0

type WorkspaceSqlAadAdminOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminOutput) ElementType added in v4.26.0

func (WorkspaceSqlAadAdminOutput) ElementType() reflect.Type

func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput added in v4.26.0

func (o WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutput() WorkspaceSqlAadAdminOutput

func (WorkspaceSqlAadAdminOutput) ToWorkspaceSqlAadAdminOutputWithContext added in v4.26.0

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

type WorkspaceSqlAadAdminState added in v4.32.0

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 added in v4.32.0

func (WorkspaceSqlAadAdminState) ElementType() reflect.Type

type WorkspaceSqlAadAdminType added in v4.32.0

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 added in v4.32.0

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 added in v4.32.0

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput added in v4.32.0

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypeOutputWithContext added in v4.32.0

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

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput added in v4.32.0

func (i WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypeArgs) ToWorkspaceSqlAadAdminTypePtrOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminTypeInput added in v4.32.0

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 added in v4.32.0

type WorkspaceSqlAadAdminTypeOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminTypeOutput) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminTypeOutput) Login added in v4.32.0

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

func (WorkspaceSqlAadAdminTypeOutput) ObjectId added in v4.32.0

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

func (WorkspaceSqlAadAdminTypeOutput) TenantId added in v4.32.0

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

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput added in v4.32.0

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutput() WorkspaceSqlAadAdminTypeOutput

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypeOutputWithContext added in v4.32.0

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

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput added in v4.32.0

func (o WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypeOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext added in v4.32.0

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

type WorkspaceSqlAadAdminTypePtrInput added in v4.32.0

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

func WorkspaceSqlAadAdminTypePtr added in v4.32.0

func WorkspaceSqlAadAdminTypePtr(v *WorkspaceSqlAadAdminTypeArgs) WorkspaceSqlAadAdminTypePtrInput

type WorkspaceSqlAadAdminTypePtrOutput added in v4.32.0

type WorkspaceSqlAadAdminTypePtrOutput struct{ *pulumi.OutputState }

func (WorkspaceSqlAadAdminTypePtrOutput) Elem added in v4.32.0

func (WorkspaceSqlAadAdminTypePtrOutput) ElementType added in v4.32.0

func (WorkspaceSqlAadAdminTypePtrOutput) Login added in v4.32.0

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

func (WorkspaceSqlAadAdminTypePtrOutput) ObjectId added in v4.32.0

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

func (WorkspaceSqlAadAdminTypePtrOutput) TenantId added in v4.32.0

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

func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput added in v4.32.0

func (o WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutput() WorkspaceSqlAadAdminTypePtrOutput

func (WorkspaceSqlAadAdminTypePtrOutput) ToWorkspaceSqlAadAdminTypePtrOutputWithContext added in v4.32.0

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
	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, which contains the Managed Service Identity information for this Synapse Workspace.
	Identities WorkspaceIdentityArrayInput
	// 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.
	ManagedResourceGroupName pulumi.StringPtrInput
	// Is Virtual Network enabled for all computes in this workspace? Defaults to `false`. 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.
	SqlAdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	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 added in v4.19.0

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://myStorage.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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/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.WorkspaceAadAdminArgs{
				Login:    pulumi.String("AzureAD Admin"),
				ObjectId: pulumi.String("00000000-0000-0000-0000-000000000000"),
				TenantId: pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			Tags: pulumi.StringMap{
				"Env": pulumi.String("production"),
			},
		})
		if err != nil {
			return err
		}
		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: exampleAccount.PrimaryBlobEndpoint.ApplyT(func(primaryBlobEndpoint string) (string, error) {
				return fmt.Sprintf("%v%v%v", primaryBlobEndpoint, azurerm_storage_container.Example.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 added in v4.19.0

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 added in v4.19.0

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 added in v4.19.0

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput added in v4.19.0

func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentArgs added in v4.19.0

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://myStorage.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 added in v4.19.0

type WorkspaceVulnerabilityAssessmentArray added in v4.19.0

type WorkspaceVulnerabilityAssessmentArray []WorkspaceVulnerabilityAssessmentInput

func (WorkspaceVulnerabilityAssessmentArray) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput added in v4.19.0

func (i WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput

func (WorkspaceVulnerabilityAssessmentArray) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentArrayInput added in v4.19.0

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 added in v4.19.0

type WorkspaceVulnerabilityAssessmentArrayOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentArrayOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentArrayOutput) Index added in v4.19.0

func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutput() WorkspaceVulnerabilityAssessmentArrayOutput

func (WorkspaceVulnerabilityAssessmentArrayOutput) ToWorkspaceVulnerabilityAssessmentArrayOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentInput added in v4.19.0

type WorkspaceVulnerabilityAssessmentInput interface {
	pulumi.Input

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

type WorkspaceVulnerabilityAssessmentMap added in v4.19.0

type WorkspaceVulnerabilityAssessmentMap map[string]WorkspaceVulnerabilityAssessmentInput

func (WorkspaceVulnerabilityAssessmentMap) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput added in v4.19.0

func (i WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput

func (WorkspaceVulnerabilityAssessmentMap) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentMapInput added in v4.19.0

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 added in v4.19.0

type WorkspaceVulnerabilityAssessmentMapOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentMapOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentMapOutput) MapIndex added in v4.19.0

func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutput() WorkspaceVulnerabilityAssessmentMapOutput

func (WorkspaceVulnerabilityAssessmentMapOutput) ToWorkspaceVulnerabilityAssessmentMapOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentOutput added in v4.19.0

type WorkspaceVulnerabilityAssessmentOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutput() WorkspaceVulnerabilityAssessmentOutput

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentRecurringScans added in v4.19.0

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 e-mail 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 added in v4.19.0

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 e-mail 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 added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput added in v4.19.0

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput() WorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext added in v4.19.0

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

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (i WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansArgs) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

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

type WorkspaceVulnerabilityAssessmentRecurringScansInput added in v4.19.0

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 added in v4.19.0

type WorkspaceVulnerabilityAssessmentRecurringScansOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) EmailSubscriptionAdminsEnabled added in v4.19.0

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

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Emails added in v4.19.0

Specifies an array of e-mail addresses to which the scan notification is sent.

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) Enabled added in v4.19.0

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

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutput added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput() WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

func (WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentRecurringScansOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentRecurringScansPtrInput added in v4.19.0

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 added in v4.19.0

type WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Elem added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) EmailSubscriptionAdminsEnabled added in v4.19.0

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

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Emails added in v4.19.0

Specifies an array of e-mail addresses to which the scan notification is sent.

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) Enabled added in v4.19.0

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

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutput added in v4.19.0

func (WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput) ToWorkspaceVulnerabilityAssessmentRecurringScansPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentRecurringScansPtrOutput

type WorkspaceVulnerabilityAssessmentState added in v4.19.0

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://myStorage.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 added in v4.19.0

Jump to

Keyboard shortcuts

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