synapse

package
v4.20.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 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

func (*FirewallRule) ToFirewallRulePtrOutput

func (i *FirewallRule) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (*FirewallRule) ToFirewallRulePtrOutputWithContext

func (i *FirewallRule) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

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

func (FirewallRuleOutput) ToFirewallRulePtrOutput

func (o FirewallRuleOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (FirewallRuleOutput) ToFirewallRulePtrOutputWithContext

func (o FirewallRuleOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

type FirewallRulePtrInput

type FirewallRulePtrInput interface {
	pulumi.Input

	ToFirewallRulePtrOutput() FirewallRulePtrOutput
	ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput
}

type FirewallRulePtrOutput

type FirewallRulePtrOutput struct{ *pulumi.OutputState }

func (FirewallRulePtrOutput) Elem added in v4.20.0

func (FirewallRulePtrOutput) ElementType

func (FirewallRulePtrOutput) ElementType() reflect.Type

func (FirewallRulePtrOutput) ToFirewallRulePtrOutput

func (o FirewallRulePtrOutput) ToFirewallRulePtrOutput() FirewallRulePtrOutput

func (FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext

func (o FirewallRulePtrOutput) ToFirewallRulePtrOutputWithContext(ctx context.Context) FirewallRulePtrOutput

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

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzurePtrOutput added in v4.19.0

func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzurePtrOutput() IntegrationRuntimeAzurePtrOutput

func (*IntegrationRuntimeAzure) ToIntegrationRuntimeAzurePtrOutputWithContext added in v4.19.0

func (i *IntegrationRuntimeAzure) ToIntegrationRuntimeAzurePtrOutputWithContext(ctx context.Context) IntegrationRuntimeAzurePtrOutput

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

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzurePtrOutput added in v4.19.0

func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzurePtrOutput() IntegrationRuntimeAzurePtrOutput

func (IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzurePtrOutputWithContext added in v4.19.0

func (o IntegrationRuntimeAzureOutput) ToIntegrationRuntimeAzurePtrOutputWithContext(ctx context.Context) IntegrationRuntimeAzurePtrOutput

type IntegrationRuntimeAzurePtrInput added in v4.19.0

type IntegrationRuntimeAzurePtrInput interface {
	pulumi.Input

	ToIntegrationRuntimeAzurePtrOutput() IntegrationRuntimeAzurePtrOutput
	ToIntegrationRuntimeAzurePtrOutputWithContext(ctx context.Context) IntegrationRuntimeAzurePtrOutput
}

type IntegrationRuntimeAzurePtrOutput added in v4.19.0

type IntegrationRuntimeAzurePtrOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeAzurePtrOutput) Elem added in v4.20.0

func (IntegrationRuntimeAzurePtrOutput) ElementType added in v4.19.0

func (IntegrationRuntimeAzurePtrOutput) ToIntegrationRuntimeAzurePtrOutput added in v4.19.0

func (o IntegrationRuntimeAzurePtrOutput) ToIntegrationRuntimeAzurePtrOutput() IntegrationRuntimeAzurePtrOutput

func (IntegrationRuntimeAzurePtrOutput) ToIntegrationRuntimeAzurePtrOutputWithContext added in v4.19.0

func (o IntegrationRuntimeAzurePtrOutput) ToIntegrationRuntimeAzurePtrOutputWithContext(ctx context.Context) IntegrationRuntimeAzurePtrOutput

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

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedPtrOutput added in v4.19.0

func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedPtrOutput() IntegrationRuntimeSelfHostedPtrOutput

func (*IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedPtrOutputWithContext added in v4.19.0

func (i *IntegrationRuntimeSelfHosted) ToIntegrationRuntimeSelfHostedPtrOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedPtrOutput

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

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedPtrOutput added in v4.19.0

func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedPtrOutput() IntegrationRuntimeSelfHostedPtrOutput

func (IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedPtrOutputWithContext added in v4.19.0

func (o IntegrationRuntimeSelfHostedOutput) ToIntegrationRuntimeSelfHostedPtrOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedPtrOutput

type IntegrationRuntimeSelfHostedPtrInput added in v4.19.0

type IntegrationRuntimeSelfHostedPtrInput interface {
	pulumi.Input

	ToIntegrationRuntimeSelfHostedPtrOutput() IntegrationRuntimeSelfHostedPtrOutput
	ToIntegrationRuntimeSelfHostedPtrOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedPtrOutput
}

type IntegrationRuntimeSelfHostedPtrOutput added in v4.19.0

type IntegrationRuntimeSelfHostedPtrOutput struct{ *pulumi.OutputState }

func (IntegrationRuntimeSelfHostedPtrOutput) Elem added in v4.20.0

func (IntegrationRuntimeSelfHostedPtrOutput) ElementType added in v4.19.0

func (IntegrationRuntimeSelfHostedPtrOutput) ToIntegrationRuntimeSelfHostedPtrOutput added in v4.19.0

func (o IntegrationRuntimeSelfHostedPtrOutput) ToIntegrationRuntimeSelfHostedPtrOutput() IntegrationRuntimeSelfHostedPtrOutput

func (IntegrationRuntimeSelfHostedPtrOutput) ToIntegrationRuntimeSelfHostedPtrOutputWithContext added in v4.19.0

func (o IntegrationRuntimeSelfHostedPtrOutput) ToIntegrationRuntimeSelfHostedPtrOutputWithContext(ctx context.Context) IntegrationRuntimeSelfHostedPtrOutput

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

func (*LinkedService) ToLinkedServicePtrOutput added in v4.19.0

func (i *LinkedService) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (*LinkedService) ToLinkedServicePtrOutputWithContext added in v4.19.0

func (i *LinkedService) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

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

func (LinkedServiceOutput) ToLinkedServicePtrOutput added in v4.19.0

func (o LinkedServiceOutput) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (LinkedServiceOutput) ToLinkedServicePtrOutputWithContext added in v4.19.0

func (o LinkedServiceOutput) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

type LinkedServicePtrInput added in v4.19.0

type LinkedServicePtrInput interface {
	pulumi.Input

	ToLinkedServicePtrOutput() LinkedServicePtrOutput
	ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput
}

type LinkedServicePtrOutput added in v4.19.0

type LinkedServicePtrOutput struct{ *pulumi.OutputState }

func (LinkedServicePtrOutput) Elem added in v4.20.0

func (LinkedServicePtrOutput) ElementType added in v4.19.0

func (LinkedServicePtrOutput) ElementType() reflect.Type

func (LinkedServicePtrOutput) ToLinkedServicePtrOutput added in v4.19.0

func (o LinkedServicePtrOutput) ToLinkedServicePtrOutput() LinkedServicePtrOutput

func (LinkedServicePtrOutput) ToLinkedServicePtrOutputWithContext added in v4.19.0

func (o LinkedServicePtrOutput) ToLinkedServicePtrOutputWithContext(ctx context.Context) LinkedServicePtrOutput

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"`
}

Allows you to 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

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointPtrOutput

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointPtrOutput() ManagedPrivateEndpointPtrOutput

func (*ManagedPrivateEndpoint) ToManagedPrivateEndpointPtrOutputWithContext

func (i *ManagedPrivateEndpoint) ToManagedPrivateEndpointPtrOutputWithContext(ctx context.Context) ManagedPrivateEndpointPtrOutput

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

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointPtrOutput

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointPtrOutput() ManagedPrivateEndpointPtrOutput

func (ManagedPrivateEndpointOutput) ToManagedPrivateEndpointPtrOutputWithContext

func (o ManagedPrivateEndpointOutput) ToManagedPrivateEndpointPtrOutputWithContext(ctx context.Context) ManagedPrivateEndpointPtrOutput

type ManagedPrivateEndpointPtrInput

type ManagedPrivateEndpointPtrInput interface {
	pulumi.Input

	ToManagedPrivateEndpointPtrOutput() ManagedPrivateEndpointPtrOutput
	ToManagedPrivateEndpointPtrOutputWithContext(ctx context.Context) ManagedPrivateEndpointPtrOutput
}

type ManagedPrivateEndpointPtrOutput

type ManagedPrivateEndpointPtrOutput struct{ *pulumi.OutputState }

func (ManagedPrivateEndpointPtrOutput) Elem added in v4.20.0

func (ManagedPrivateEndpointPtrOutput) ElementType

func (ManagedPrivateEndpointPtrOutput) ToManagedPrivateEndpointPtrOutput

func (o ManagedPrivateEndpointPtrOutput) ToManagedPrivateEndpointPtrOutput() ManagedPrivateEndpointPtrOutput

func (ManagedPrivateEndpointPtrOutput) ToManagedPrivateEndpointPtrOutputWithContext

func (o ManagedPrivateEndpointPtrOutput) ToManagedPrivateEndpointPtrOutputWithContext(ctx context.Context) ManagedPrivateEndpointPtrOutput

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

func (*PrivateLinkHub) ToPrivateLinkHubPtrOutput added in v4.11.0

func (i *PrivateLinkHub) ToPrivateLinkHubPtrOutput() PrivateLinkHubPtrOutput

func (*PrivateLinkHub) ToPrivateLinkHubPtrOutputWithContext added in v4.11.0

func (i *PrivateLinkHub) ToPrivateLinkHubPtrOutputWithContext(ctx context.Context) PrivateLinkHubPtrOutput

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

func (PrivateLinkHubOutput) ToPrivateLinkHubPtrOutput added in v4.11.0

func (o PrivateLinkHubOutput) ToPrivateLinkHubPtrOutput() PrivateLinkHubPtrOutput

func (PrivateLinkHubOutput) ToPrivateLinkHubPtrOutputWithContext added in v4.11.0

func (o PrivateLinkHubOutput) ToPrivateLinkHubPtrOutputWithContext(ctx context.Context) PrivateLinkHubPtrOutput

type PrivateLinkHubPtrInput added in v4.11.0

type PrivateLinkHubPtrInput interface {
	pulumi.Input

	ToPrivateLinkHubPtrOutput() PrivateLinkHubPtrOutput
	ToPrivateLinkHubPtrOutputWithContext(ctx context.Context) PrivateLinkHubPtrOutput
}

type PrivateLinkHubPtrOutput added in v4.11.0

type PrivateLinkHubPtrOutput struct{ *pulumi.OutputState }

func (PrivateLinkHubPtrOutput) Elem added in v4.20.0

func (PrivateLinkHubPtrOutput) ElementType added in v4.11.0

func (PrivateLinkHubPtrOutput) ElementType() reflect.Type

func (PrivateLinkHubPtrOutput) ToPrivateLinkHubPtrOutput added in v4.11.0

func (o PrivateLinkHubPtrOutput) ToPrivateLinkHubPtrOutput() PrivateLinkHubPtrOutput

func (PrivateLinkHubPtrOutput) ToPrivateLinkHubPtrOutputWithContext added in v4.11.0

func (o PrivateLinkHubPtrOutput) ToPrivateLinkHubPtrOutputWithContext(ctx context.Context) PrivateLinkHubPtrOutput

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

func (*RoleAssignment) ToRoleAssignmentPtrOutput

func (i *RoleAssignment) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (*RoleAssignment) ToRoleAssignmentPtrOutputWithContext

func (i *RoleAssignment) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

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

func (RoleAssignmentOutput) ToRoleAssignmentPtrOutput

func (o RoleAssignmentOutput) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (RoleAssignmentOutput) ToRoleAssignmentPtrOutputWithContext

func (o RoleAssignmentOutput) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

type RoleAssignmentPtrInput

type RoleAssignmentPtrInput interface {
	pulumi.Input

	ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput
	ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput
}

type RoleAssignmentPtrOutput

type RoleAssignmentPtrOutput struct{ *pulumi.OutputState }

func (RoleAssignmentPtrOutput) Elem added in v4.20.0

func (RoleAssignmentPtrOutput) ElementType

func (RoleAssignmentPtrOutput) ElementType() reflect.Type

func (RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutput

func (o RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutputWithContext

func (o RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

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"`
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrOutput `pulumi:"libraryRequirement"`
	// The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrOutput `pulumi:"nodeCount"`
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringOutput `pulumi:"nodeSize"`
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringOutput `pulumi:"nodeSizeFamily"`
	// The Spark events folder. Defaults to `/events`.
	SparkEventsFolder pulumi.StringPtrOutput `pulumi:"sparkEventsFolder"`
	// The default folder where Spark logs will be written. Defaults to `/logs`.
	SparkLogFolder pulumi.StringPtrOutput `pulumi:"sparkLogFolder"`
	// The Apache Spark version. Possible 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.

## 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
		}
		_, err = synapse.NewSparkPool(ctx, "exampleSparkPool", &synapse.SparkPoolArgs{
			SynapseWorkspaceId: exampleWorkspace.ID(),
			NodeSizeFamily:     pulumi.String("MemoryOptimized"),
			NodeSize:           pulumi.String("Small"),
			AutoScale: &synapse.SparkPoolAutoScaleArgs{
				MaxNodeCount: pulumi.Int(50),
				MinNodeCount: pulumi.Int(3),
			},
			AutoPause: &synapse.SparkPoolAutoPauseArgs{
				DelayInMinutes: pulumi.Int(15),
			},
			Tags: pulumi.StringMap{
				"ENV": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetSparkPool

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

func (*SparkPool) ToSparkPoolPtrOutput

func (i *SparkPool) ToSparkPoolPtrOutput() SparkPoolPtrOutput

func (*SparkPool) ToSparkPoolPtrOutputWithContext

func (i *SparkPool) ToSparkPoolPtrOutputWithContext(ctx context.Context) SparkPoolPtrOutput

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
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrInput
	// The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringPtrInput
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrInput
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringInput
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringInput
	// The Spark events folder. Defaults to `/events`.
	SparkEventsFolder pulumi.StringPtrInput
	// The default folder where Spark logs will be written. Defaults to `/logs`.
	SparkLogFolder pulumi.StringPtrInput
	// The Apache Spark version. Possible 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

func (SparkPoolOutput) ToSparkPoolPtrOutput

func (o SparkPoolOutput) ToSparkPoolPtrOutput() SparkPoolPtrOutput

func (SparkPoolOutput) ToSparkPoolPtrOutputWithContext

func (o SparkPoolOutput) ToSparkPoolPtrOutputWithContext(ctx context.Context) SparkPoolPtrOutput

type SparkPoolPtrInput

type SparkPoolPtrInput interface {
	pulumi.Input

	ToSparkPoolPtrOutput() SparkPoolPtrOutput
	ToSparkPoolPtrOutputWithContext(ctx context.Context) SparkPoolPtrOutput
}

type SparkPoolPtrOutput

type SparkPoolPtrOutput struct{ *pulumi.OutputState }

func (SparkPoolPtrOutput) Elem added in v4.20.0

func (SparkPoolPtrOutput) ElementType

func (SparkPoolPtrOutput) ElementType() reflect.Type

func (SparkPoolPtrOutput) ToSparkPoolPtrOutput

func (o SparkPoolPtrOutput) ToSparkPoolPtrOutput() SparkPoolPtrOutput

func (SparkPoolPtrOutput) ToSparkPoolPtrOutputWithContext

func (o SparkPoolPtrOutput) ToSparkPoolPtrOutputWithContext(ctx context.Context) SparkPoolPtrOutput

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
	// A `libraryRequirement` block as defined below.
	LibraryRequirement SparkPoolLibraryRequirementPtrInput
	// The name which should be used for this Synapse Spark Pool. Changing this forces a new Synapse Spark Pool to be created.
	Name pulumi.StringPtrInput
	// The number of nodes in the Spark Pool. Exactly one of `nodeCount` or `autoScale` must be specified.
	NodeCount pulumi.IntPtrInput
	// The level of node in the Spark Pool. Possible value is `Small`, `Medium` and `Large`.
	NodeSize pulumi.StringPtrInput
	// The kind of nodes that the Spark Pool provides. Possible value is `MemoryOptimized`.
	NodeSizeFamily pulumi.StringPtrInput
	// The Spark events folder. Defaults to `/events`.
	SparkEventsFolder pulumi.StringPtrInput
	// The default folder where Spark logs will be written. Defaults to `/logs`.
	SparkLogFolder pulumi.StringPtrInput
	// The Apache Spark version. Possible 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

func (*SqlPool) ToSqlPoolPtrOutput

func (i *SqlPool) ToSqlPoolPtrOutput() SqlPoolPtrOutput

func (*SqlPool) ToSqlPoolPtrOutputWithContext

func (i *SqlPool) ToSqlPoolPtrOutputWithContext(ctx context.Context) SqlPoolPtrOutput

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.

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

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyPtrOutput added in v4.20.0

func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyPtrOutput() SqlPoolExtendedAuditingPolicyPtrOutput

func (*SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (i *SqlPoolExtendedAuditingPolicy) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyPtrOutput

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

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyPtrOutput added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyPtrOutput() SqlPoolExtendedAuditingPolicyPtrOutput

func (SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyOutput) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyPtrOutput

type SqlPoolExtendedAuditingPolicyPtrInput added in v4.20.0

type SqlPoolExtendedAuditingPolicyPtrInput interface {
	pulumi.Input

	ToSqlPoolExtendedAuditingPolicyPtrOutput() SqlPoolExtendedAuditingPolicyPtrOutput
	ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyPtrOutput
}

type SqlPoolExtendedAuditingPolicyPtrOutput added in v4.20.0

type SqlPoolExtendedAuditingPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolExtendedAuditingPolicyPtrOutput) Elem added in v4.20.0

func (SqlPoolExtendedAuditingPolicyPtrOutput) ElementType added in v4.20.0

func (SqlPoolExtendedAuditingPolicyPtrOutput) ToSqlPoolExtendedAuditingPolicyPtrOutput added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyPtrOutput) ToSqlPoolExtendedAuditingPolicyPtrOutput() SqlPoolExtendedAuditingPolicyPtrOutput

func (SqlPoolExtendedAuditingPolicyPtrOutput) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (o SqlPoolExtendedAuditingPolicyPtrOutput) ToSqlPoolExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) SqlPoolExtendedAuditingPolicyPtrOutput

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

func (SqlPoolOutput) ToSqlPoolPtrOutput

func (o SqlPoolOutput) ToSqlPoolPtrOutput() SqlPoolPtrOutput

func (SqlPoolOutput) ToSqlPoolPtrOutputWithContext

func (o SqlPoolOutput) ToSqlPoolPtrOutputWithContext(ctx context.Context) SqlPoolPtrOutput

type SqlPoolPtrInput

type SqlPoolPtrInput interface {
	pulumi.Input

	ToSqlPoolPtrOutput() SqlPoolPtrOutput
	ToSqlPoolPtrOutputWithContext(ctx context.Context) SqlPoolPtrOutput
}

type SqlPoolPtrOutput

type SqlPoolPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolPtrOutput) Elem added in v4.20.0

func (SqlPoolPtrOutput) ElementType

func (SqlPoolPtrOutput) ElementType() reflect.Type

func (SqlPoolPtrOutput) ToSqlPoolPtrOutput

func (o SqlPoolPtrOutput) ToSqlPoolPtrOutput() SqlPoolPtrOutput

func (SqlPoolPtrOutput) ToSqlPoolPtrOutputWithContext

func (o SqlPoolPtrOutput) ToSqlPoolPtrOutputWithContext(ctx context.Context) SqlPoolPtrOutput

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

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyPtrOutput added in v4.19.0

func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyPtrOutput() SqlPoolSecurityAlertPolicyPtrOutput

func (*SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (i *SqlPoolSecurityAlertPolicy) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyPtrOutput

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

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyPtrOutput added in v4.19.0

func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyPtrOutput() SqlPoolSecurityAlertPolicyPtrOutput

func (SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (o SqlPoolSecurityAlertPolicyOutput) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyPtrOutput

type SqlPoolSecurityAlertPolicyPtrInput added in v4.19.0

type SqlPoolSecurityAlertPolicyPtrInput interface {
	pulumi.Input

	ToSqlPoolSecurityAlertPolicyPtrOutput() SqlPoolSecurityAlertPolicyPtrOutput
	ToSqlPoolSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyPtrOutput
}

type SqlPoolSecurityAlertPolicyPtrOutput added in v4.19.0

type SqlPoolSecurityAlertPolicyPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolSecurityAlertPolicyPtrOutput) Elem added in v4.20.0

func (SqlPoolSecurityAlertPolicyPtrOutput) ElementType added in v4.19.0

func (SqlPoolSecurityAlertPolicyPtrOutput) ToSqlPoolSecurityAlertPolicyPtrOutput added in v4.19.0

func (o SqlPoolSecurityAlertPolicyPtrOutput) ToSqlPoolSecurityAlertPolicyPtrOutput() SqlPoolSecurityAlertPolicyPtrOutput

func (SqlPoolSecurityAlertPolicyPtrOutput) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (o SqlPoolSecurityAlertPolicyPtrOutput) ToSqlPoolSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) SqlPoolSecurityAlertPolicyPtrOutput

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

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentPtrOutput added in v4.19.0

func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentPtrOutput() SqlPoolVulnerabilityAssessmentPtrOutput

func (*SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (i *SqlPoolVulnerabilityAssessment) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentPtrOutput

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

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentPtrOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentPtrOutput() SqlPoolVulnerabilityAssessmentPtrOutput

func (SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentOutput) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentPtrOutput

type SqlPoolVulnerabilityAssessmentPtrInput added in v4.19.0

type SqlPoolVulnerabilityAssessmentPtrInput interface {
	pulumi.Input

	ToSqlPoolVulnerabilityAssessmentPtrOutput() SqlPoolVulnerabilityAssessmentPtrOutput
	ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentPtrOutput
}

type SqlPoolVulnerabilityAssessmentPtrOutput added in v4.19.0

type SqlPoolVulnerabilityAssessmentPtrOutput struct{ *pulumi.OutputState }

func (SqlPoolVulnerabilityAssessmentPtrOutput) Elem added in v4.20.0

func (SqlPoolVulnerabilityAssessmentPtrOutput) ElementType added in v4.19.0

func (SqlPoolVulnerabilityAssessmentPtrOutput) ToSqlPoolVulnerabilityAssessmentPtrOutput added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentPtrOutput) ToSqlPoolVulnerabilityAssessmentPtrOutput() SqlPoolVulnerabilityAssessmentPtrOutput

func (SqlPoolVulnerabilityAssessmentPtrOutput) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (o SqlPoolVulnerabilityAssessmentPtrOutput) ToSqlPoolVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) SqlPoolVulnerabilityAssessmentPtrOutput

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 Workspace

type Workspace struct {
	pulumi.CustomResourceState

	// An `aadAdmin` block as defined below.
	AadAdmin WorkspaceAadAdminOutput `pulumi:"aadAdmin"`
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrOutput `pulumi:"azureDevopsRepo"`
	// A list of Connectivity endpoints for this Synapse Workspace.
	ConnectivityEndpoints pulumi.StringMapOutput `pulumi:"connectivityEndpoints"`
	// A `customerManagedKey` block as defined below.
	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"`
	// 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"`
	// Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created.
	SqlAdministratorLogin pulumi.StringOutput `pulumi:"sqlAdministratorLogin"`
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	SqlAdministratorLoginPassword pulumi.StringOutput `pulumi:"sqlAdministratorLoginPassword"`
	// 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
	})
}

```

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

func (*Workspace) ToWorkspacePtrOutput

func (i *Workspace) ToWorkspacePtrOutput() WorkspacePtrOutput

func (*Workspace) ToWorkspacePtrOutputWithContext

func (i *Workspace) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

type WorkspaceAadAdmin

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

type WorkspaceAadAdminArgs

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

func (WorkspaceAadAdminArgs) ElementType

func (WorkspaceAadAdminArgs) ElementType() reflect.Type

func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutput

func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput

func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutputWithContext

func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminOutputWithContext(ctx context.Context) WorkspaceAadAdminOutput

func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutput

func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput

func (WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutputWithContext

func (i WorkspaceAadAdminArgs) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput

type WorkspaceAadAdminInput

type WorkspaceAadAdminInput interface {
	pulumi.Input

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

WorkspaceAadAdminInput is an input type that accepts WorkspaceAadAdminArgs and WorkspaceAadAdminOutput values. You can construct a concrete instance of `WorkspaceAadAdminInput` via:

WorkspaceAadAdminArgs{...}

type WorkspaceAadAdminOutput

type WorkspaceAadAdminOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminOutput) ElementType

func (WorkspaceAadAdminOutput) ElementType() reflect.Type

func (WorkspaceAadAdminOutput) Login

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

func (WorkspaceAadAdminOutput) ObjectId

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

func (WorkspaceAadAdminOutput) TenantId

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

func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput

func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutput() WorkspaceAadAdminOutput

func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminOutputWithContext

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

func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutput

func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput

func (WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutputWithContext

func (o WorkspaceAadAdminOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput

type WorkspaceAadAdminPtrInput

type WorkspaceAadAdminPtrInput interface {
	pulumi.Input

	ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput
	ToWorkspaceAadAdminPtrOutputWithContext(context.Context) WorkspaceAadAdminPtrOutput
}

WorkspaceAadAdminPtrInput is an input type that accepts WorkspaceAadAdminArgs, WorkspaceAadAdminPtr and WorkspaceAadAdminPtrOutput values. You can construct a concrete instance of `WorkspaceAadAdminPtrInput` via:

        WorkspaceAadAdminArgs{...}

or:

        nil

type WorkspaceAadAdminPtrOutput

type WorkspaceAadAdminPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceAadAdminPtrOutput) Elem

func (WorkspaceAadAdminPtrOutput) ElementType

func (WorkspaceAadAdminPtrOutput) ElementType() reflect.Type

func (WorkspaceAadAdminPtrOutput) Login

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

func (WorkspaceAadAdminPtrOutput) ObjectId

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

func (WorkspaceAadAdminPtrOutput) TenantId

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

func (WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutput

func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutput() WorkspaceAadAdminPtrOutput

func (WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutputWithContext

func (o WorkspaceAadAdminPtrOutput) ToWorkspaceAadAdminPtrOutputWithContext(ctx context.Context) WorkspaceAadAdminPtrOutput

type WorkspaceArgs

type WorkspaceArgs struct {
	// An `aadAdmin` block as defined below.
	AadAdmin WorkspaceAadAdminPtrInput
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput
	// A `customerManagedKey` block as defined below.
	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
	// 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
	// Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created.
	SqlAdministratorLogin pulumi.StringInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	SqlAdministratorLoginPassword pulumi.StringInput
	// 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"`
	// 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"`
	// 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) 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) 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

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyPtrOutput added in v4.20.0

func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyPtrOutput() WorkspaceExtendedAuditingPolicyPtrOutput

func (*WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (i *WorkspaceExtendedAuditingPolicy) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyPtrOutput

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

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyPtrOutput added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyPtrOutput() WorkspaceExtendedAuditingPolicyPtrOutput

func (WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyOutput) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyPtrOutput

type WorkspaceExtendedAuditingPolicyPtrInput added in v4.20.0

type WorkspaceExtendedAuditingPolicyPtrInput interface {
	pulumi.Input

	ToWorkspaceExtendedAuditingPolicyPtrOutput() WorkspaceExtendedAuditingPolicyPtrOutput
	ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyPtrOutput
}

type WorkspaceExtendedAuditingPolicyPtrOutput added in v4.20.0

type WorkspaceExtendedAuditingPolicyPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceExtendedAuditingPolicyPtrOutput) Elem added in v4.20.0

func (WorkspaceExtendedAuditingPolicyPtrOutput) ElementType added in v4.20.0

func (WorkspaceExtendedAuditingPolicyPtrOutput) ToWorkspaceExtendedAuditingPolicyPtrOutput added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyPtrOutput) ToWorkspaceExtendedAuditingPolicyPtrOutput() WorkspaceExtendedAuditingPolicyPtrOutput

func (WorkspaceExtendedAuditingPolicyPtrOutput) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext added in v4.20.0

func (o WorkspaceExtendedAuditingPolicyPtrOutput) ToWorkspaceExtendedAuditingPolicyPtrOutputWithContext(ctx context.Context) WorkspaceExtendedAuditingPolicyPtrOutput

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"`
	// 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"`
	// 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) 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) 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"`
	CusomterManagedKeyName          pulumi.StringOutput    `pulumi:"cusomterManagedKeyName"`
	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

func (*WorkspaceKey) ToWorkspaceKeyPtrOutput added in v4.19.0

func (i *WorkspaceKey) ToWorkspaceKeyPtrOutput() WorkspaceKeyPtrOutput

func (*WorkspaceKey) ToWorkspaceKeyPtrOutputWithContext added in v4.19.0

func (i *WorkspaceKey) ToWorkspaceKeyPtrOutputWithContext(ctx context.Context) WorkspaceKeyPtrOutput

type WorkspaceKeyArgs added in v4.19.0

type WorkspaceKeyArgs struct {
	Active                          pulumi.BoolInput
	CusomterManagedKeyName          pulumi.StringInput
	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

func (WorkspaceKeyOutput) ToWorkspaceKeyPtrOutput added in v4.19.0

func (o WorkspaceKeyOutput) ToWorkspaceKeyPtrOutput() WorkspaceKeyPtrOutput

func (WorkspaceKeyOutput) ToWorkspaceKeyPtrOutputWithContext added in v4.19.0

func (o WorkspaceKeyOutput) ToWorkspaceKeyPtrOutputWithContext(ctx context.Context) WorkspaceKeyPtrOutput

type WorkspaceKeyPtrInput added in v4.19.0

type WorkspaceKeyPtrInput interface {
	pulumi.Input

	ToWorkspaceKeyPtrOutput() WorkspaceKeyPtrOutput
	ToWorkspaceKeyPtrOutputWithContext(ctx context.Context) WorkspaceKeyPtrOutput
}

type WorkspaceKeyPtrOutput added in v4.19.0

type WorkspaceKeyPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceKeyPtrOutput) Elem added in v4.20.0

func (WorkspaceKeyPtrOutput) ElementType added in v4.19.0

func (WorkspaceKeyPtrOutput) ElementType() reflect.Type

func (WorkspaceKeyPtrOutput) ToWorkspaceKeyPtrOutput added in v4.19.0

func (o WorkspaceKeyPtrOutput) ToWorkspaceKeyPtrOutput() WorkspaceKeyPtrOutput

func (WorkspaceKeyPtrOutput) ToWorkspaceKeyPtrOutputWithContext added in v4.19.0

func (o WorkspaceKeyPtrOutput) ToWorkspaceKeyPtrOutputWithContext(ctx context.Context) WorkspaceKeyPtrOutput

type WorkspaceKeyState added in v4.19.0

type WorkspaceKeyState struct {
	Active                          pulumi.BoolPtrInput
	CusomterManagedKeyName          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

func (WorkspaceOutput) ToWorkspacePtrOutput

func (o WorkspaceOutput) ToWorkspacePtrOutput() WorkspacePtrOutput

func (WorkspaceOutput) ToWorkspacePtrOutputWithContext

func (o WorkspaceOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

type WorkspacePtrInput

type WorkspacePtrInput interface {
	pulumi.Input

	ToWorkspacePtrOutput() WorkspacePtrOutput
	ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput
}

type WorkspacePtrOutput

type WorkspacePtrOutput struct{ *pulumi.OutputState }

func (WorkspacePtrOutput) Elem added in v4.20.0

func (WorkspacePtrOutput) ElementType

func (WorkspacePtrOutput) ElementType() reflect.Type

func (WorkspacePtrOutput) ToWorkspacePtrOutput

func (o WorkspacePtrOutput) ToWorkspacePtrOutput() WorkspacePtrOutput

func (WorkspacePtrOutput) ToWorkspacePtrOutputWithContext

func (o WorkspacePtrOutput) ToWorkspacePtrOutputWithContext(ctx context.Context) WorkspacePtrOutput

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

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyPtrOutput added in v4.19.0

func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyPtrOutput() WorkspaceSecurityAlertPolicyPtrOutput

func (*WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (i *WorkspaceSecurityAlertPolicy) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyPtrOutput

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

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyPtrOutput added in v4.19.0

func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyPtrOutput() WorkspaceSecurityAlertPolicyPtrOutput

func (WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (o WorkspaceSecurityAlertPolicyOutput) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyPtrOutput

type WorkspaceSecurityAlertPolicyPtrInput added in v4.19.0

type WorkspaceSecurityAlertPolicyPtrInput interface {
	pulumi.Input

	ToWorkspaceSecurityAlertPolicyPtrOutput() WorkspaceSecurityAlertPolicyPtrOutput
	ToWorkspaceSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyPtrOutput
}

type WorkspaceSecurityAlertPolicyPtrOutput added in v4.19.0

type WorkspaceSecurityAlertPolicyPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceSecurityAlertPolicyPtrOutput) Elem added in v4.20.0

func (WorkspaceSecurityAlertPolicyPtrOutput) ElementType added in v4.19.0

func (WorkspaceSecurityAlertPolicyPtrOutput) ToWorkspaceSecurityAlertPolicyPtrOutput added in v4.19.0

func (o WorkspaceSecurityAlertPolicyPtrOutput) ToWorkspaceSecurityAlertPolicyPtrOutput() WorkspaceSecurityAlertPolicyPtrOutput

func (WorkspaceSecurityAlertPolicyPtrOutput) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext added in v4.19.0

func (o WorkspaceSecurityAlertPolicyPtrOutput) ToWorkspaceSecurityAlertPolicyPtrOutputWithContext(ctx context.Context) WorkspaceSecurityAlertPolicyPtrOutput

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 WorkspaceState

type WorkspaceState struct {
	// An `aadAdmin` block as defined below.
	AadAdmin WorkspaceAadAdminPtrInput
	// An `azureDevopsRepo` block as defined below.
	AzureDevopsRepo WorkspaceAzureDevopsRepoPtrInput
	// A list of Connectivity endpoints for this Synapse Workspace.
	ConnectivityEndpoints pulumi.StringMapInput
	// A `customerManagedKey` block as defined below.
	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
	// 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
	// Specifies the name of the Resource Group where the synapse Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies The Login Name of the SQL administrator. Changing this forces a new resource to be created.
	SqlAdministratorLogin pulumi.StringPtrInput
	// The Password associated with the `sqlAdministratorLogin` for the SQL administrator.
	SqlAdministratorLoginPassword pulumi.StringPtrInput
	// 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

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentPtrOutput added in v4.19.0

func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentPtrOutput() WorkspaceVulnerabilityAssessmentPtrOutput

func (*WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (i *WorkspaceVulnerabilityAssessment) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentPtrOutput

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

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentPtrOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentPtrOutput() WorkspaceVulnerabilityAssessmentPtrOutput

func (WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentOutput) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentPtrOutput

type WorkspaceVulnerabilityAssessmentPtrInput added in v4.19.0

type WorkspaceVulnerabilityAssessmentPtrInput interface {
	pulumi.Input

	ToWorkspaceVulnerabilityAssessmentPtrOutput() WorkspaceVulnerabilityAssessmentPtrOutput
	ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentPtrOutput
}

type WorkspaceVulnerabilityAssessmentPtrOutput added in v4.19.0

type WorkspaceVulnerabilityAssessmentPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceVulnerabilityAssessmentPtrOutput) Elem added in v4.20.0

func (WorkspaceVulnerabilityAssessmentPtrOutput) ElementType added in v4.19.0

func (WorkspaceVulnerabilityAssessmentPtrOutput) ToWorkspaceVulnerabilityAssessmentPtrOutput added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentPtrOutput) ToWorkspaceVulnerabilityAssessmentPtrOutput() WorkspaceVulnerabilityAssessmentPtrOutput

func (WorkspaceVulnerabilityAssessmentPtrOutput) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext added in v4.19.0

func (o WorkspaceVulnerabilityAssessmentPtrOutput) ToWorkspaceVulnerabilityAssessmentPtrOutputWithContext(ctx context.Context) WorkspaceVulnerabilityAssessmentPtrOutput

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