machinelearning

package
v4.42.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeCluster added in v4.8.0

type ComputeCluster struct {
	pulumi.CustomResourceState

	// The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Identity ComputeClusterIdentityPtrOutput `pulumi:"identity"`
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"`
	// The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"`
	// The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	ScaleSettings ComputeClusterScaleSettingsOutput `pulumi:"scaleSettings"`
	// Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Ssh ComputeClusterSshPtrOutput `pulumi:"ssh"`
	// A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
	SshPublicAccessEnabled pulumi.BoolOutput `pulumi:"sshPublicAccessEnabled"`
	// The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
	SubnetResourceId pulumi.StringPtrOutput `pulumi:"subnetResourceId"`
	// A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
	VmPriority pulumi.StringOutput `pulumi:"vmPriority"`
	// The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
	VmSize pulumi.StringOutput `pulumi:"vmSize"`
}

Manages a Machine Learning Compute Cluster. **NOTE:** At this point in time the resource cannot be updated (not supported by the backend Azure Go SDK). Therefore it can only be created and deleted, not updated. At the moment, there is also no possibility to specify ssh User Account Credentials to ssh into the compute cluster.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		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
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.1.0.0/24"),
			},
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewComputeCluster(ctx, "test", &machinelearning.ComputeClusterArgs{
			Location:                   pulumi.String("West Europe"),
			VmPriority:                 pulumi.String("LowPriority"),
			VmSize:                     pulumi.String("Standard_DS2_v2"),
			MachineLearningWorkspaceId: exampleWorkspace.ID(),
			SubnetResourceId:           exampleSubnet.ID(),
			ScaleSettings: &machinelearning.ComputeClusterScaleSettingsArgs{
				MinNodeCount:                    pulumi.Int(0),
				MaxNodeCount:                    pulumi.Int(1),
				ScaleDownNodesAfterIdleDuration: pulumi.String("PT30S"),
			},
			Identity: &machinelearning.ComputeClusterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Machine Learning Compute Clusters can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:machinelearning/computeCluster:ComputeCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/cluster1

```

func GetComputeCluster added in v4.8.0

func GetComputeCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComputeClusterState, opts ...pulumi.ResourceOption) (*ComputeCluster, error)

GetComputeCluster gets an existing ComputeCluster 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 NewComputeCluster added in v4.8.0

func NewComputeCluster(ctx *pulumi.Context,
	name string, args *ComputeClusterArgs, opts ...pulumi.ResourceOption) (*ComputeCluster, error)

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

func (*ComputeCluster) ElementType added in v4.8.0

func (*ComputeCluster) ElementType() reflect.Type

func (*ComputeCluster) ToComputeClusterOutput added in v4.8.0

func (i *ComputeCluster) ToComputeClusterOutput() ComputeClusterOutput

func (*ComputeCluster) ToComputeClusterOutputWithContext added in v4.8.0

func (i *ComputeCluster) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput

type ComputeClusterArgs added in v4.8.0

type ComputeClusterArgs struct {
	// The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Identity ComputeClusterIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringInput
	// The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Name pulumi.StringPtrInput
	// A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	ScaleSettings ComputeClusterScaleSettingsInput
	// Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Ssh ComputeClusterSshPtrInput
	// A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
	SshPublicAccessEnabled pulumi.BoolPtrInput
	// The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
	SubnetResourceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Tags pulumi.StringMapInput
	// The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
	VmPriority pulumi.StringInput
	// The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
	VmSize pulumi.StringInput
}

The set of arguments for constructing a ComputeCluster resource.

func (ComputeClusterArgs) ElementType added in v4.8.0

func (ComputeClusterArgs) ElementType() reflect.Type

type ComputeClusterArray added in v4.8.0

type ComputeClusterArray []ComputeClusterInput

func (ComputeClusterArray) ElementType added in v4.8.0

func (ComputeClusterArray) ElementType() reflect.Type

func (ComputeClusterArray) ToComputeClusterArrayOutput added in v4.8.0

func (i ComputeClusterArray) ToComputeClusterArrayOutput() ComputeClusterArrayOutput

func (ComputeClusterArray) ToComputeClusterArrayOutputWithContext added in v4.8.0

func (i ComputeClusterArray) ToComputeClusterArrayOutputWithContext(ctx context.Context) ComputeClusterArrayOutput

type ComputeClusterArrayInput added in v4.8.0

type ComputeClusterArrayInput interface {
	pulumi.Input

	ToComputeClusterArrayOutput() ComputeClusterArrayOutput
	ToComputeClusterArrayOutputWithContext(context.Context) ComputeClusterArrayOutput
}

ComputeClusterArrayInput is an input type that accepts ComputeClusterArray and ComputeClusterArrayOutput values. You can construct a concrete instance of `ComputeClusterArrayInput` via:

ComputeClusterArray{ ComputeClusterArgs{...} }

type ComputeClusterArrayOutput added in v4.8.0

type ComputeClusterArrayOutput struct{ *pulumi.OutputState }

func (ComputeClusterArrayOutput) ElementType added in v4.8.0

func (ComputeClusterArrayOutput) ElementType() reflect.Type

func (ComputeClusterArrayOutput) Index added in v4.8.0

func (ComputeClusterArrayOutput) ToComputeClusterArrayOutput added in v4.8.0

func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutput() ComputeClusterArrayOutput

func (ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext added in v4.8.0

func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext(ctx context.Context) ComputeClusterArrayOutput

type ComputeClusterIdentity added in v4.8.0

type ComputeClusterIdentity struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type ComputeClusterIdentityArgs added in v4.8.0

type ComputeClusterIdentityArgs struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (ComputeClusterIdentityArgs) ElementType added in v4.8.0

func (ComputeClusterIdentityArgs) ElementType() reflect.Type

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput added in v4.8.0

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext added in v4.8.0

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput added in v4.8.0

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext added in v4.8.0

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput

type ComputeClusterIdentityInput added in v4.8.0

type ComputeClusterIdentityInput interface {
	pulumi.Input

	ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput
	ToComputeClusterIdentityOutputWithContext(context.Context) ComputeClusterIdentityOutput
}

ComputeClusterIdentityInput is an input type that accepts ComputeClusterIdentityArgs and ComputeClusterIdentityOutput values. You can construct a concrete instance of `ComputeClusterIdentityInput` via:

ComputeClusterIdentityArgs{...}

type ComputeClusterIdentityOutput added in v4.8.0

type ComputeClusterIdentityOutput struct{ *pulumi.OutputState }

func (ComputeClusterIdentityOutput) ElementType added in v4.8.0

func (ComputeClusterIdentityOutput) IdentityIds added in v4.19.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterIdentityOutput) PrincipalId added in v4.8.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.

func (ComputeClusterIdentityOutput) TenantId added in v4.8.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput added in v4.8.0

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext added in v4.8.0

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext(ctx context.Context) ComputeClusterIdentityOutput

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput added in v4.8.0

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext added in v4.8.0

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityOutput) Type added in v4.8.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type ComputeClusterIdentityPtrInput added in v4.8.0

type ComputeClusterIdentityPtrInput interface {
	pulumi.Input

	ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput
	ToComputeClusterIdentityPtrOutputWithContext(context.Context) ComputeClusterIdentityPtrOutput
}

ComputeClusterIdentityPtrInput is an input type that accepts ComputeClusterIdentityArgs, ComputeClusterIdentityPtr and ComputeClusterIdentityPtrOutput values. You can construct a concrete instance of `ComputeClusterIdentityPtrInput` via:

        ComputeClusterIdentityArgs{...}

or:

        nil

func ComputeClusterIdentityPtr added in v4.8.0

func ComputeClusterIdentityPtr(v *ComputeClusterIdentityArgs) ComputeClusterIdentityPtrInput

type ComputeClusterIdentityPtrOutput added in v4.8.0

type ComputeClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterIdentityPtrOutput) Elem added in v4.8.0

func (ComputeClusterIdentityPtrOutput) ElementType added in v4.8.0

func (ComputeClusterIdentityPtrOutput) IdentityIds added in v4.19.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterIdentityPtrOutput) PrincipalId added in v4.8.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.

func (ComputeClusterIdentityPtrOutput) TenantId added in v4.8.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.

func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput added in v4.8.0

func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext added in v4.8.0

func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext(ctx context.Context) ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityPtrOutput) Type added in v4.8.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type ComputeClusterInput added in v4.8.0

type ComputeClusterInput interface {
	pulumi.Input

	ToComputeClusterOutput() ComputeClusterOutput
	ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput
}

type ComputeClusterMap added in v4.8.0

type ComputeClusterMap map[string]ComputeClusterInput

func (ComputeClusterMap) ElementType added in v4.8.0

func (ComputeClusterMap) ElementType() reflect.Type

func (ComputeClusterMap) ToComputeClusterMapOutput added in v4.8.0

func (i ComputeClusterMap) ToComputeClusterMapOutput() ComputeClusterMapOutput

func (ComputeClusterMap) ToComputeClusterMapOutputWithContext added in v4.8.0

func (i ComputeClusterMap) ToComputeClusterMapOutputWithContext(ctx context.Context) ComputeClusterMapOutput

type ComputeClusterMapInput added in v4.8.0

type ComputeClusterMapInput interface {
	pulumi.Input

	ToComputeClusterMapOutput() ComputeClusterMapOutput
	ToComputeClusterMapOutputWithContext(context.Context) ComputeClusterMapOutput
}

ComputeClusterMapInput is an input type that accepts ComputeClusterMap and ComputeClusterMapOutput values. You can construct a concrete instance of `ComputeClusterMapInput` via:

ComputeClusterMap{ "key": ComputeClusterArgs{...} }

type ComputeClusterMapOutput added in v4.8.0

type ComputeClusterMapOutput struct{ *pulumi.OutputState }

func (ComputeClusterMapOutput) ElementType added in v4.8.0

func (ComputeClusterMapOutput) ElementType() reflect.Type

func (ComputeClusterMapOutput) MapIndex added in v4.8.0

func (ComputeClusterMapOutput) ToComputeClusterMapOutput added in v4.8.0

func (o ComputeClusterMapOutput) ToComputeClusterMapOutput() ComputeClusterMapOutput

func (ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext added in v4.8.0

func (o ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext(ctx context.Context) ComputeClusterMapOutput

type ComputeClusterOutput added in v4.8.0

type ComputeClusterOutput struct{ *pulumi.OutputState }

func (ComputeClusterOutput) ElementType added in v4.8.0

func (ComputeClusterOutput) ElementType() reflect.Type

func (ComputeClusterOutput) ToComputeClusterOutput added in v4.8.0

func (o ComputeClusterOutput) ToComputeClusterOutput() ComputeClusterOutput

func (ComputeClusterOutput) ToComputeClusterOutputWithContext added in v4.8.0

func (o ComputeClusterOutput) ToComputeClusterOutputWithContext(ctx context.Context) ComputeClusterOutput

type ComputeClusterScaleSettings added in v4.8.0

type ComputeClusterScaleSettings struct {
	// Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
	MaxNodeCount int `pulumi:"maxNodeCount"`
	// Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
	MinNodeCount int `pulumi:"minNodeCount"`
	// Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.
	ScaleDownNodesAfterIdleDuration string `pulumi:"scaleDownNodesAfterIdleDuration"`
}

type ComputeClusterScaleSettingsArgs added in v4.8.0

type ComputeClusterScaleSettingsArgs struct {
	// Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
	MaxNodeCount pulumi.IntInput `pulumi:"maxNodeCount"`
	// Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
	MinNodeCount pulumi.IntInput `pulumi:"minNodeCount"`
	// Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.
	ScaleDownNodesAfterIdleDuration pulumi.StringInput `pulumi:"scaleDownNodesAfterIdleDuration"`
}

func (ComputeClusterScaleSettingsArgs) ElementType added in v4.8.0

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput added in v4.8.0

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext added in v4.8.0

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput added in v4.8.0

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext added in v4.8.0

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput

type ComputeClusterScaleSettingsInput added in v4.8.0

type ComputeClusterScaleSettingsInput interface {
	pulumi.Input

	ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput
	ToComputeClusterScaleSettingsOutputWithContext(context.Context) ComputeClusterScaleSettingsOutput
}

ComputeClusterScaleSettingsInput is an input type that accepts ComputeClusterScaleSettingsArgs and ComputeClusterScaleSettingsOutput values. You can construct a concrete instance of `ComputeClusterScaleSettingsInput` via:

ComputeClusterScaleSettingsArgs{...}

type ComputeClusterScaleSettingsOutput added in v4.8.0

type ComputeClusterScaleSettingsOutput struct{ *pulumi.OutputState }

func (ComputeClusterScaleSettingsOutput) ElementType added in v4.8.0

func (ComputeClusterScaleSettingsOutput) MaxNodeCount added in v4.8.0

Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsOutput) MinNodeCount added in v4.8.0

Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration added in v4.8.0

func (o ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringOutput

Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput added in v4.8.0

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext added in v4.8.0

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput added in v4.8.0

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext added in v4.8.0

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput

type ComputeClusterScaleSettingsPtrInput added in v4.8.0

type ComputeClusterScaleSettingsPtrInput interface {
	pulumi.Input

	ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput
	ToComputeClusterScaleSettingsPtrOutputWithContext(context.Context) ComputeClusterScaleSettingsPtrOutput
}

ComputeClusterScaleSettingsPtrInput is an input type that accepts ComputeClusterScaleSettingsArgs, ComputeClusterScaleSettingsPtr and ComputeClusterScaleSettingsPtrOutput values. You can construct a concrete instance of `ComputeClusterScaleSettingsPtrInput` via:

        ComputeClusterScaleSettingsArgs{...}

or:

        nil

func ComputeClusterScaleSettingsPtr added in v4.8.0

type ComputeClusterScaleSettingsPtrOutput added in v4.8.0

type ComputeClusterScaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterScaleSettingsPtrOutput) Elem added in v4.8.0

func (ComputeClusterScaleSettingsPtrOutput) ElementType added in v4.8.0

func (ComputeClusterScaleSettingsPtrOutput) MaxNodeCount added in v4.8.0

Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsPtrOutput) MinNodeCount added in v4.8.0

Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration added in v4.8.0

func (o ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration() pulumi.StringPtrOutput

Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput added in v4.8.0

func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext added in v4.8.0

func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext(ctx context.Context) ComputeClusterScaleSettingsPtrOutput

type ComputeClusterSsh added in v4.19.0

type ComputeClusterSsh struct {
	// Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
	AdminPassword *string `pulumi:"adminPassword"`
	// Name of the administrator user account which can be used to SSH to nodes. Changing this forces a new Machine Learning Compute Cluster to be created.
	AdminUsername string `pulumi:"adminUsername"`
	// SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
	KeyValue *string `pulumi:"keyValue"`
}

type ComputeClusterSshArgs added in v4.19.0

type ComputeClusterSshArgs struct {
	// Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
	AdminPassword pulumi.StringPtrInput `pulumi:"adminPassword"`
	// Name of the administrator user account which can be used to SSH to nodes. Changing this forces a new Machine Learning Compute Cluster to be created.
	AdminUsername pulumi.StringInput `pulumi:"adminUsername"`
	// SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
	KeyValue pulumi.StringPtrInput `pulumi:"keyValue"`
}

func (ComputeClusterSshArgs) ElementType added in v4.19.0

func (ComputeClusterSshArgs) ElementType() reflect.Type

func (ComputeClusterSshArgs) ToComputeClusterSshOutput added in v4.19.0

func (i ComputeClusterSshArgs) ToComputeClusterSshOutput() ComputeClusterSshOutput

func (ComputeClusterSshArgs) ToComputeClusterSshOutputWithContext added in v4.19.0

func (i ComputeClusterSshArgs) ToComputeClusterSshOutputWithContext(ctx context.Context) ComputeClusterSshOutput

func (ComputeClusterSshArgs) ToComputeClusterSshPtrOutput added in v4.19.0

func (i ComputeClusterSshArgs) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshArgs) ToComputeClusterSshPtrOutputWithContext added in v4.19.0

func (i ComputeClusterSshArgs) ToComputeClusterSshPtrOutputWithContext(ctx context.Context) ComputeClusterSshPtrOutput

type ComputeClusterSshInput added in v4.19.0

type ComputeClusterSshInput interface {
	pulumi.Input

	ToComputeClusterSshOutput() ComputeClusterSshOutput
	ToComputeClusterSshOutputWithContext(context.Context) ComputeClusterSshOutput
}

ComputeClusterSshInput is an input type that accepts ComputeClusterSshArgs and ComputeClusterSshOutput values. You can construct a concrete instance of `ComputeClusterSshInput` via:

ComputeClusterSshArgs{...}

type ComputeClusterSshOutput added in v4.19.0

type ComputeClusterSshOutput struct{ *pulumi.OutputState }

func (ComputeClusterSshOutput) AdminPassword added in v4.19.0

Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshOutput) AdminUsername added in v4.19.0

func (o ComputeClusterSshOutput) AdminUsername() pulumi.StringOutput

Name of the administrator user account which can be used to SSH to nodes. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshOutput) ElementType added in v4.19.0

func (ComputeClusterSshOutput) ElementType() reflect.Type

func (ComputeClusterSshOutput) KeyValue added in v4.19.0

SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshOutput) ToComputeClusterSshOutput added in v4.19.0

func (o ComputeClusterSshOutput) ToComputeClusterSshOutput() ComputeClusterSshOutput

func (ComputeClusterSshOutput) ToComputeClusterSshOutputWithContext added in v4.19.0

func (o ComputeClusterSshOutput) ToComputeClusterSshOutputWithContext(ctx context.Context) ComputeClusterSshOutput

func (ComputeClusterSshOutput) ToComputeClusterSshPtrOutput added in v4.19.0

func (o ComputeClusterSshOutput) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshOutput) ToComputeClusterSshPtrOutputWithContext added in v4.19.0

func (o ComputeClusterSshOutput) ToComputeClusterSshPtrOutputWithContext(ctx context.Context) ComputeClusterSshPtrOutput

type ComputeClusterSshPtrInput added in v4.19.0

type ComputeClusterSshPtrInput interface {
	pulumi.Input

	ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput
	ToComputeClusterSshPtrOutputWithContext(context.Context) ComputeClusterSshPtrOutput
}

ComputeClusterSshPtrInput is an input type that accepts ComputeClusterSshArgs, ComputeClusterSshPtr and ComputeClusterSshPtrOutput values. You can construct a concrete instance of `ComputeClusterSshPtrInput` via:

        ComputeClusterSshArgs{...}

or:

        nil

func ComputeClusterSshPtr added in v4.19.0

func ComputeClusterSshPtr(v *ComputeClusterSshArgs) ComputeClusterSshPtrInput

type ComputeClusterSshPtrOutput added in v4.19.0

type ComputeClusterSshPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterSshPtrOutput) AdminPassword added in v4.19.0

Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshPtrOutput) AdminUsername added in v4.19.0

Name of the administrator user account which can be used to SSH to nodes. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshPtrOutput) Elem added in v4.19.0

func (ComputeClusterSshPtrOutput) ElementType added in v4.19.0

func (ComputeClusterSshPtrOutput) ElementType() reflect.Type

func (ComputeClusterSshPtrOutput) KeyValue added in v4.19.0

SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutput added in v4.19.0

func (o ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutputWithContext added in v4.19.0

func (o ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutputWithContext(ctx context.Context) ComputeClusterSshPtrOutput

type ComputeClusterState added in v4.8.0

type ComputeClusterState struct {
	// The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Identity ComputeClusterIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringPtrInput
	// The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Name pulumi.StringPtrInput
	// A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	ScaleSettings ComputeClusterScaleSettingsPtrInput
	// Credentials for an administrator user account that will be created on each compute node. A `ssh` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
	Ssh ComputeClusterSshPtrInput
	// A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
	SshPublicAccessEnabled pulumi.BoolPtrInput
	// The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
	SubnetResourceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
	Tags pulumi.StringMapInput
	// The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.
	VmPriority pulumi.StringPtrInput
	// The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
	VmSize pulumi.StringPtrInput
}

func (ComputeClusterState) ElementType added in v4.8.0

func (ComputeClusterState) ElementType() reflect.Type

type ComputeInstance added in v4.15.0

type ComputeInstance struct {
	pulumi.CustomResourceState

	// A `assignToUser` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
	AssignToUser ComputeInstanceAssignToUserPtrOutput `pulumi:"assignToUser"`
	// The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
	AuthorizationType pulumi.StringPtrOutput `pulumi:"authorizationType"`
	// The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
	Identity ComputeInstanceIdentityPtrOutput `pulumi:"identity"`
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
	LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"`
	// The Azure Region where the Machine Learning Compute Instance should exist. Changing this forces a new Machine Learning Compute Instance to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
	MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"`
	// The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
	Ssh ComputeInstanceSshPtrOutput `pulumi:"ssh"`
	// Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
	SubnetResourceId pulumi.StringPtrOutput `pulumi:"subnetResourceId"`
	// A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
	VirtualMachineSize pulumi.StringOutput `pulumi:"virtualMachineSize"`
}

Manages a Machine Learning Compute Instance.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		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
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.1.0.0/24"),
			},
		})
		if err != nil {
			return err
		}
		cfg := config.New(ctx, "")
		sshKey := "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqaZoyiz1qbdOQ8xEf6uEu1cCwYowo5FHtsBhqLoDnnp7KUTEBN+L2NxRIfQ781rxV6Iq5jSav6b2Q8z5KiseOlvKA/RF2wqU0UPYqQviQhLmW6THTpmrv/YkUCuzxDpsH7DUDhZcwySLKVVe0Qm3+5N2Ta6UYH3lsDf9R9wTP2K/+vAnflKebuypNlmocIvakFWoZda18FOmsOoIVXQ8HWFNCuw9ZCunMSN62QGamCe3dL5cXlkgHYv7ekJE15IA9aOJcM7e90oeTqo+7HTcWfdu0qQqPWY5ujyMw/llas8tsXY85LFqRnr3gJ02bAscjc477+X+j/gkpFoN1QEmt terraform@demo.tld"
		if param := cfg.Get("sshKey"); param != "" {
			sshKey = param
		}
		_, err = machinelearning.NewComputeInstance(ctx, "exampleComputeInstance", &machinelearning.ComputeInstanceArgs{
			Location:                   exampleResourceGroup.Location,
			MachineLearningWorkspaceId: exampleWorkspace.ID(),
			VirtualMachineSize:         pulumi.String("STANDARD_DS2_V2"),
			AuthorizationType:          pulumi.String("personal"),
			Ssh: &machinelearning.ComputeInstanceSshArgs{
				PublicKey: pulumi.String(sshKey),
			},
			SubnetResourceId: exampleSubnet.ID(),
			Description:      pulumi.String("foo"),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Machine Learning Compute Instances can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:machinelearning/computeInstance:ComputeInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/compute1

```

func GetComputeInstance added in v4.15.0

func GetComputeInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComputeInstanceState, opts ...pulumi.ResourceOption) (*ComputeInstance, error)

GetComputeInstance gets an existing ComputeInstance 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 NewComputeInstance added in v4.15.0

func NewComputeInstance(ctx *pulumi.Context,
	name string, args *ComputeInstanceArgs, opts ...pulumi.ResourceOption) (*ComputeInstance, error)

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

func (*ComputeInstance) ElementType added in v4.15.0

func (*ComputeInstance) ElementType() reflect.Type

func (*ComputeInstance) ToComputeInstanceOutput added in v4.15.0

func (i *ComputeInstance) ToComputeInstanceOutput() ComputeInstanceOutput

func (*ComputeInstance) ToComputeInstanceOutputWithContext added in v4.15.0

func (i *ComputeInstance) ToComputeInstanceOutputWithContext(ctx context.Context) ComputeInstanceOutput

type ComputeInstanceArgs added in v4.15.0

type ComputeInstanceArgs struct {
	// A `assignToUser` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
	AssignToUser ComputeInstanceAssignToUserPtrInput
	// The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
	AuthorizationType pulumi.StringPtrInput
	// The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
	Identity ComputeInstanceIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Compute Instance should exist. Changing this forces a new Machine Learning Compute Instance to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
	MachineLearningWorkspaceId pulumi.StringInput
	// The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Name pulumi.StringPtrInput
	// A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
	Ssh ComputeInstanceSshPtrInput
	// Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
	SubnetResourceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Tags pulumi.StringMapInput
	// The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
	VirtualMachineSize pulumi.StringInput
}

The set of arguments for constructing a ComputeInstance resource.

func (ComputeInstanceArgs) ElementType added in v4.15.0

func (ComputeInstanceArgs) ElementType() reflect.Type

type ComputeInstanceArray added in v4.15.0

type ComputeInstanceArray []ComputeInstanceInput

func (ComputeInstanceArray) ElementType added in v4.15.0

func (ComputeInstanceArray) ElementType() reflect.Type

func (ComputeInstanceArray) ToComputeInstanceArrayOutput added in v4.15.0

func (i ComputeInstanceArray) ToComputeInstanceArrayOutput() ComputeInstanceArrayOutput

func (ComputeInstanceArray) ToComputeInstanceArrayOutputWithContext added in v4.15.0

func (i ComputeInstanceArray) ToComputeInstanceArrayOutputWithContext(ctx context.Context) ComputeInstanceArrayOutput

type ComputeInstanceArrayInput added in v4.15.0

type ComputeInstanceArrayInput interface {
	pulumi.Input

	ToComputeInstanceArrayOutput() ComputeInstanceArrayOutput
	ToComputeInstanceArrayOutputWithContext(context.Context) ComputeInstanceArrayOutput
}

ComputeInstanceArrayInput is an input type that accepts ComputeInstanceArray and ComputeInstanceArrayOutput values. You can construct a concrete instance of `ComputeInstanceArrayInput` via:

ComputeInstanceArray{ ComputeInstanceArgs{...} }

type ComputeInstanceArrayOutput added in v4.15.0

type ComputeInstanceArrayOutput struct{ *pulumi.OutputState }

func (ComputeInstanceArrayOutput) ElementType added in v4.15.0

func (ComputeInstanceArrayOutput) ElementType() reflect.Type

func (ComputeInstanceArrayOutput) Index added in v4.15.0

func (ComputeInstanceArrayOutput) ToComputeInstanceArrayOutput added in v4.15.0

func (o ComputeInstanceArrayOutput) ToComputeInstanceArrayOutput() ComputeInstanceArrayOutput

func (ComputeInstanceArrayOutput) ToComputeInstanceArrayOutputWithContext added in v4.15.0

func (o ComputeInstanceArrayOutput) ToComputeInstanceArrayOutputWithContext(ctx context.Context) ComputeInstanceArrayOutput

type ComputeInstanceAssignToUser added in v4.15.0

type ComputeInstanceAssignToUser struct {
	// User’s AAD Object Id.
	ObjectId *string `pulumi:"objectId"`
	// User’s AAD Tenant Id.
	TenantId *string `pulumi:"tenantId"`
}

type ComputeInstanceAssignToUserArgs added in v4.15.0

type ComputeInstanceAssignToUserArgs struct {
	// User’s AAD Object Id.
	ObjectId pulumi.StringPtrInput `pulumi:"objectId"`
	// User’s AAD Tenant Id.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

func (ComputeInstanceAssignToUserArgs) ElementType added in v4.15.0

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutput added in v4.15.0

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutput() ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutputWithContext added in v4.15.0

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutputWithContext(ctx context.Context) ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutput added in v4.15.0

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutputWithContext added in v4.15.0

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutputWithContext(ctx context.Context) ComputeInstanceAssignToUserPtrOutput

type ComputeInstanceAssignToUserInput added in v4.15.0

type ComputeInstanceAssignToUserInput interface {
	pulumi.Input

	ToComputeInstanceAssignToUserOutput() ComputeInstanceAssignToUserOutput
	ToComputeInstanceAssignToUserOutputWithContext(context.Context) ComputeInstanceAssignToUserOutput
}

ComputeInstanceAssignToUserInput is an input type that accepts ComputeInstanceAssignToUserArgs and ComputeInstanceAssignToUserOutput values. You can construct a concrete instance of `ComputeInstanceAssignToUserInput` via:

ComputeInstanceAssignToUserArgs{...}

type ComputeInstanceAssignToUserOutput added in v4.15.0

type ComputeInstanceAssignToUserOutput struct{ *pulumi.OutputState }

func (ComputeInstanceAssignToUserOutput) ElementType added in v4.15.0

func (ComputeInstanceAssignToUserOutput) ObjectId added in v4.15.0

User’s AAD Object Id.

func (ComputeInstanceAssignToUserOutput) TenantId added in v4.15.0

User’s AAD Tenant Id.

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutput added in v4.15.0

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutput() ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutputWithContext added in v4.15.0

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutputWithContext(ctx context.Context) ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutput added in v4.15.0

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutputWithContext(ctx context.Context) ComputeInstanceAssignToUserPtrOutput

type ComputeInstanceAssignToUserPtrInput added in v4.15.0

type ComputeInstanceAssignToUserPtrInput interface {
	pulumi.Input

	ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput
	ToComputeInstanceAssignToUserPtrOutputWithContext(context.Context) ComputeInstanceAssignToUserPtrOutput
}

ComputeInstanceAssignToUserPtrInput is an input type that accepts ComputeInstanceAssignToUserArgs, ComputeInstanceAssignToUserPtr and ComputeInstanceAssignToUserPtrOutput values. You can construct a concrete instance of `ComputeInstanceAssignToUserPtrInput` via:

        ComputeInstanceAssignToUserArgs{...}

or:

        nil

func ComputeInstanceAssignToUserPtr added in v4.15.0

type ComputeInstanceAssignToUserPtrOutput added in v4.15.0

type ComputeInstanceAssignToUserPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceAssignToUserPtrOutput) Elem added in v4.15.0

func (ComputeInstanceAssignToUserPtrOutput) ElementType added in v4.15.0

func (ComputeInstanceAssignToUserPtrOutput) ObjectId added in v4.15.0

User’s AAD Object Id.

func (ComputeInstanceAssignToUserPtrOutput) TenantId added in v4.15.0

User’s AAD Tenant Id.

func (ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutput added in v4.15.0

func (o ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutputWithContext(ctx context.Context) ComputeInstanceAssignToUserPtrOutput

type ComputeInstanceIdentity added in v4.15.0

type ComputeInstanceIdentity struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.
	PrincipalId *string `pulumi:"principalId"`
	// User’s AAD Tenant Id.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type ComputeInstanceIdentityArgs added in v4.15.0

type ComputeInstanceIdentityArgs struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// User’s AAD Tenant Id.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (ComputeInstanceIdentityArgs) ElementType added in v4.15.0

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutput added in v4.15.0

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutput() ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutputWithContext added in v4.15.0

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutputWithContext(ctx context.Context) ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutput added in v4.15.0

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutputWithContext added in v4.15.0

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutputWithContext(ctx context.Context) ComputeInstanceIdentityPtrOutput

type ComputeInstanceIdentityInput added in v4.15.0

type ComputeInstanceIdentityInput interface {
	pulumi.Input

	ToComputeInstanceIdentityOutput() ComputeInstanceIdentityOutput
	ToComputeInstanceIdentityOutputWithContext(context.Context) ComputeInstanceIdentityOutput
}

ComputeInstanceIdentityInput is an input type that accepts ComputeInstanceIdentityArgs and ComputeInstanceIdentityOutput values. You can construct a concrete instance of `ComputeInstanceIdentityInput` via:

ComputeInstanceIdentityArgs{...}

type ComputeInstanceIdentityOutput added in v4.15.0

type ComputeInstanceIdentityOutput struct{ *pulumi.OutputState }

func (ComputeInstanceIdentityOutput) ElementType added in v4.15.0

func (ComputeInstanceIdentityOutput) IdentityIds added in v4.15.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceIdentityOutput) PrincipalId added in v4.15.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.

func (ComputeInstanceIdentityOutput) TenantId added in v4.15.0

User’s AAD Tenant Id.

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutput added in v4.15.0

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutput() ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutputWithContext added in v4.15.0

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutputWithContext(ctx context.Context) ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutput added in v4.15.0

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutputWithContext(ctx context.Context) ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityOutput) Type added in v4.15.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type ComputeInstanceIdentityPtrInput added in v4.15.0

type ComputeInstanceIdentityPtrInput interface {
	pulumi.Input

	ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput
	ToComputeInstanceIdentityPtrOutputWithContext(context.Context) ComputeInstanceIdentityPtrOutput
}

ComputeInstanceIdentityPtrInput is an input type that accepts ComputeInstanceIdentityArgs, ComputeInstanceIdentityPtr and ComputeInstanceIdentityPtrOutput values. You can construct a concrete instance of `ComputeInstanceIdentityPtrInput` via:

        ComputeInstanceIdentityArgs{...}

or:

        nil

func ComputeInstanceIdentityPtr added in v4.15.0

func ComputeInstanceIdentityPtr(v *ComputeInstanceIdentityArgs) ComputeInstanceIdentityPtrInput

type ComputeInstanceIdentityPtrOutput added in v4.15.0

type ComputeInstanceIdentityPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceIdentityPtrOutput) Elem added in v4.15.0

func (ComputeInstanceIdentityPtrOutput) ElementType added in v4.15.0

func (ComputeInstanceIdentityPtrOutput) IdentityIds added in v4.15.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceIdentityPtrOutput) PrincipalId added in v4.15.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.

func (ComputeInstanceIdentityPtrOutput) TenantId added in v4.15.0

User’s AAD Tenant Id.

func (ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutput added in v4.15.0

func (o ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutputWithContext(ctx context.Context) ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityPtrOutput) Type added in v4.15.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type ComputeInstanceInput added in v4.15.0

type ComputeInstanceInput interface {
	pulumi.Input

	ToComputeInstanceOutput() ComputeInstanceOutput
	ToComputeInstanceOutputWithContext(ctx context.Context) ComputeInstanceOutput
}

type ComputeInstanceMap added in v4.15.0

type ComputeInstanceMap map[string]ComputeInstanceInput

func (ComputeInstanceMap) ElementType added in v4.15.0

func (ComputeInstanceMap) ElementType() reflect.Type

func (ComputeInstanceMap) ToComputeInstanceMapOutput added in v4.15.0

func (i ComputeInstanceMap) ToComputeInstanceMapOutput() ComputeInstanceMapOutput

func (ComputeInstanceMap) ToComputeInstanceMapOutputWithContext added in v4.15.0

func (i ComputeInstanceMap) ToComputeInstanceMapOutputWithContext(ctx context.Context) ComputeInstanceMapOutput

type ComputeInstanceMapInput added in v4.15.0

type ComputeInstanceMapInput interface {
	pulumi.Input

	ToComputeInstanceMapOutput() ComputeInstanceMapOutput
	ToComputeInstanceMapOutputWithContext(context.Context) ComputeInstanceMapOutput
}

ComputeInstanceMapInput is an input type that accepts ComputeInstanceMap and ComputeInstanceMapOutput values. You can construct a concrete instance of `ComputeInstanceMapInput` via:

ComputeInstanceMap{ "key": ComputeInstanceArgs{...} }

type ComputeInstanceMapOutput added in v4.15.0

type ComputeInstanceMapOutput struct{ *pulumi.OutputState }

func (ComputeInstanceMapOutput) ElementType added in v4.15.0

func (ComputeInstanceMapOutput) ElementType() reflect.Type

func (ComputeInstanceMapOutput) MapIndex added in v4.15.0

func (ComputeInstanceMapOutput) ToComputeInstanceMapOutput added in v4.15.0

func (o ComputeInstanceMapOutput) ToComputeInstanceMapOutput() ComputeInstanceMapOutput

func (ComputeInstanceMapOutput) ToComputeInstanceMapOutputWithContext added in v4.15.0

func (o ComputeInstanceMapOutput) ToComputeInstanceMapOutputWithContext(ctx context.Context) ComputeInstanceMapOutput

type ComputeInstanceOutput added in v4.15.0

type ComputeInstanceOutput struct{ *pulumi.OutputState }

func (ComputeInstanceOutput) ElementType added in v4.15.0

func (ComputeInstanceOutput) ElementType() reflect.Type

func (ComputeInstanceOutput) ToComputeInstanceOutput added in v4.15.0

func (o ComputeInstanceOutput) ToComputeInstanceOutput() ComputeInstanceOutput

func (ComputeInstanceOutput) ToComputeInstanceOutputWithContext added in v4.15.0

func (o ComputeInstanceOutput) ToComputeInstanceOutputWithContext(ctx context.Context) ComputeInstanceOutput

type ComputeInstanceSsh added in v4.15.0

type ComputeInstanceSsh struct {
	// Describes the port for connecting through SSH.
	Port *int `pulumi:"port"`
	// Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.
	PublicKey string `pulumi:"publicKey"`
	// The admin username of this Machine Learning Compute Instance.
	Username *string `pulumi:"username"`
}

type ComputeInstanceSshArgs added in v4.15.0

type ComputeInstanceSshArgs struct {
	// Describes the port for connecting through SSH.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
	// The admin username of this Machine Learning Compute Instance.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ComputeInstanceSshArgs) ElementType added in v4.15.0

func (ComputeInstanceSshArgs) ElementType() reflect.Type

func (ComputeInstanceSshArgs) ToComputeInstanceSshOutput added in v4.15.0

func (i ComputeInstanceSshArgs) ToComputeInstanceSshOutput() ComputeInstanceSshOutput

func (ComputeInstanceSshArgs) ToComputeInstanceSshOutputWithContext added in v4.15.0

func (i ComputeInstanceSshArgs) ToComputeInstanceSshOutputWithContext(ctx context.Context) ComputeInstanceSshOutput

func (ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutput added in v4.15.0

func (i ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutputWithContext added in v4.15.0

func (i ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutputWithContext(ctx context.Context) ComputeInstanceSshPtrOutput

type ComputeInstanceSshInput added in v4.15.0

type ComputeInstanceSshInput interface {
	pulumi.Input

	ToComputeInstanceSshOutput() ComputeInstanceSshOutput
	ToComputeInstanceSshOutputWithContext(context.Context) ComputeInstanceSshOutput
}

ComputeInstanceSshInput is an input type that accepts ComputeInstanceSshArgs and ComputeInstanceSshOutput values. You can construct a concrete instance of `ComputeInstanceSshInput` via:

ComputeInstanceSshArgs{...}

type ComputeInstanceSshOutput added in v4.15.0

type ComputeInstanceSshOutput struct{ *pulumi.OutputState }

func (ComputeInstanceSshOutput) ElementType added in v4.15.0

func (ComputeInstanceSshOutput) ElementType() reflect.Type

func (ComputeInstanceSshOutput) Port added in v4.15.0

Describes the port for connecting through SSH.

func (ComputeInstanceSshOutput) PublicKey added in v4.15.0

Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.

func (ComputeInstanceSshOutput) ToComputeInstanceSshOutput added in v4.15.0

func (o ComputeInstanceSshOutput) ToComputeInstanceSshOutput() ComputeInstanceSshOutput

func (ComputeInstanceSshOutput) ToComputeInstanceSshOutputWithContext added in v4.15.0

func (o ComputeInstanceSshOutput) ToComputeInstanceSshOutputWithContext(ctx context.Context) ComputeInstanceSshOutput

func (ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutput added in v4.15.0

func (o ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutputWithContext(ctx context.Context) ComputeInstanceSshPtrOutput

func (ComputeInstanceSshOutput) Username added in v4.15.0

The admin username of this Machine Learning Compute Instance.

type ComputeInstanceSshPtrInput added in v4.15.0

type ComputeInstanceSshPtrInput interface {
	pulumi.Input

	ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput
	ToComputeInstanceSshPtrOutputWithContext(context.Context) ComputeInstanceSshPtrOutput
}

ComputeInstanceSshPtrInput is an input type that accepts ComputeInstanceSshArgs, ComputeInstanceSshPtr and ComputeInstanceSshPtrOutput values. You can construct a concrete instance of `ComputeInstanceSshPtrInput` via:

        ComputeInstanceSshArgs{...}

or:

        nil

func ComputeInstanceSshPtr added in v4.15.0

func ComputeInstanceSshPtr(v *ComputeInstanceSshArgs) ComputeInstanceSshPtrInput

type ComputeInstanceSshPtrOutput added in v4.15.0

type ComputeInstanceSshPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceSshPtrOutput) Elem added in v4.15.0

func (ComputeInstanceSshPtrOutput) ElementType added in v4.15.0

func (ComputeInstanceSshPtrOutput) Port added in v4.15.0

Describes the port for connecting through SSH.

func (ComputeInstanceSshPtrOutput) PublicKey added in v4.15.0

Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.

func (ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutput added in v4.15.0

func (o ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutputWithContext added in v4.15.0

func (o ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutputWithContext(ctx context.Context) ComputeInstanceSshPtrOutput

func (ComputeInstanceSshPtrOutput) Username added in v4.15.0

The admin username of this Machine Learning Compute Instance.

type ComputeInstanceState added in v4.15.0

type ComputeInstanceState struct {
	// A `assignToUser` block as defined below. A user explicitly assigned to a personal compute instance. Changing this forces a new Machine Learning Compute Instance to be created.
	AssignToUser ComputeInstanceAssignToUserPtrInput
	// The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.
	AuthorizationType pulumi.StringPtrInput
	// The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.
	Identity ComputeInstanceIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Compute Instance should exist. Changing this forces a new Machine Learning Compute Instance to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.
	MachineLearningWorkspaceId pulumi.StringPtrInput
	// The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Name pulumi.StringPtrInput
	// A `ssh` block as defined below. Specifies policy and settings for SSH access. Changing this forces a new Machine Learning Compute Instance to be created.
	Ssh ComputeInstanceSshPtrInput
	// Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.
	SubnetResourceId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.
	Tags pulumi.StringMapInput
	// The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.
	VirtualMachineSize pulumi.StringPtrInput
}

func (ComputeInstanceState) ElementType added in v4.15.0

func (ComputeInstanceState) ElementType() reflect.Type

type GetWorkspaceIdentity

type GetWorkspaceIdentity struct {
	// A list of User Assigned Identity IDs assigned to this Machine Learning Workspace.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.
	TenantId string `pulumi:"tenantId"`
	// The Type of Managed Identity assigned to this Machine Learning Workspace.
	Type string `pulumi:"type"`
}

type GetWorkspaceIdentityArgs

type GetWorkspaceIdentityArgs struct {
	// A list of User Assigned Identity IDs assigned to this Machine Learning Workspace.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The Type of Managed Identity assigned to this Machine Learning Workspace.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetWorkspaceIdentityArgs) ElementType

func (GetWorkspaceIdentityArgs) ElementType() reflect.Type

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput

func (i GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityArgs) ToGetWorkspaceIdentityOutputWithContext

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

type GetWorkspaceIdentityArray

type GetWorkspaceIdentityArray []GetWorkspaceIdentityInput

func (GetWorkspaceIdentityArray) ElementType

func (GetWorkspaceIdentityArray) ElementType() reflect.Type

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput

func (i GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArray) ToGetWorkspaceIdentityArrayOutputWithContext

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

type GetWorkspaceIdentityArrayInput

type GetWorkspaceIdentityArrayInput interface {
	pulumi.Input

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

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

GetWorkspaceIdentityArray{ GetWorkspaceIdentityArgs{...} }

type GetWorkspaceIdentityArrayOutput

type GetWorkspaceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityArrayOutput) ElementType

func (GetWorkspaceIdentityArrayOutput) Index

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput

func (o GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutput() GetWorkspaceIdentityArrayOutput

func (GetWorkspaceIdentityArrayOutput) ToGetWorkspaceIdentityArrayOutputWithContext

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

type GetWorkspaceIdentityInput

type GetWorkspaceIdentityInput interface {
	pulumi.Input

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

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

GetWorkspaceIdentityArgs{...}

type GetWorkspaceIdentityOutput

type GetWorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (GetWorkspaceIdentityOutput) ElementType

func (GetWorkspaceIdentityOutput) ElementType() reflect.Type

func (GetWorkspaceIdentityOutput) IdentityIds added in v4.39.0

A list of User Assigned Identity IDs assigned to this Machine Learning Workspace.

func (GetWorkspaceIdentityOutput) PrincipalId

The Principal ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.

func (GetWorkspaceIdentityOutput) TenantId

The Tenant ID of the System Assigned Managed Identity assigned to this Machine Learning Workspace.

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput

func (o GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutput() GetWorkspaceIdentityOutput

func (GetWorkspaceIdentityOutput) ToGetWorkspaceIdentityOutputWithContext

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

func (GetWorkspaceIdentityOutput) Type

The Type of Managed Identity assigned to this Machine Learning Workspace.

type InferenceCluster added in v4.4.0

type InferenceCluster struct {
	pulumi.CustomResourceState

	// The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created.
	ClusterPurpose pulumi.StringPtrOutput `pulumi:"clusterPurpose"`
	// The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An `identity` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Identity InferenceClusterIdentityPtrOutput `pulumi:"identity"`
	// The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	KubernetesClusterId pulumi.StringOutput `pulumi:"kubernetesClusterId"`
	// The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"`
	// The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Ssl InferenceClusterSslPtrOutput `pulumi:"ssl"`
	// A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Machine Learning Inference Cluster.

> **NOTE:** The Machine Learning Inference Cluster resource is used to attach an existing AKS cluster to the Machine Learning Workspace, it doesn't create the AKS cluster itself. Therefore it can only be created and deleted, not updated. Any change to the configuration will recreate the resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		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
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefix:      pulumi.String("10.1.0.0/24"),
		})
		if err != nil {
			return err
		}
		exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "exampleKubernetesCluster", &containerservice.KubernetesClusterArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
				Name:         pulumi.String("default"),
				NodeCount:    pulumi.Int(3),
				VmSize:       pulumi.String("Standard_D3_v2"),
				VnetSubnetId: exampleSubnet.ID(),
			},
			Identity: &containerservice.KubernetesClusterIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewInferenceCluster(ctx, "exampleInferenceCluster", &machinelearning.InferenceClusterArgs{
			Location:                   exampleResourceGroup.Location,
			ClusterPurpose:             pulumi.String("FastProd"),
			KubernetesClusterId:        exampleKubernetesCluster.ID(),
			Description:                pulumi.String("This is an example cluster used with Terraform"),
			MachineLearningWorkspaceId: exampleWorkspace.ID(),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Machine Learning Inference Clusters can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:machinelearning/inferenceCluster:InferenceCluster example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/cluster1

```

func GetInferenceCluster added in v4.4.0

func GetInferenceCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InferenceClusterState, opts ...pulumi.ResourceOption) (*InferenceCluster, error)

GetInferenceCluster gets an existing InferenceCluster 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 NewInferenceCluster added in v4.4.0

func NewInferenceCluster(ctx *pulumi.Context,
	name string, args *InferenceClusterArgs, opts ...pulumi.ResourceOption) (*InferenceCluster, error)

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

func (*InferenceCluster) ElementType added in v4.4.0

func (*InferenceCluster) ElementType() reflect.Type

func (*InferenceCluster) ToInferenceClusterOutput added in v4.4.0

func (i *InferenceCluster) ToInferenceClusterOutput() InferenceClusterOutput

func (*InferenceCluster) ToInferenceClusterOutputWithContext added in v4.4.0

func (i *InferenceCluster) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput

type InferenceClusterArgs added in v4.4.0

type InferenceClusterArgs struct {
	// The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created.
	ClusterPurpose pulumi.StringPtrInput
	// The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Identity InferenceClusterIdentityPtrInput
	// The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	KubernetesClusterId pulumi.StringInput
	// The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringInput
	// The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Name pulumi.StringPtrInput
	// A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Ssl InferenceClusterSslPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a InferenceCluster resource.

func (InferenceClusterArgs) ElementType added in v4.4.0

func (InferenceClusterArgs) ElementType() reflect.Type

type InferenceClusterArray added in v4.4.0

type InferenceClusterArray []InferenceClusterInput

func (InferenceClusterArray) ElementType added in v4.4.0

func (InferenceClusterArray) ElementType() reflect.Type

func (InferenceClusterArray) ToInferenceClusterArrayOutput added in v4.4.0

func (i InferenceClusterArray) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput

func (InferenceClusterArray) ToInferenceClusterArrayOutputWithContext added in v4.4.0

func (i InferenceClusterArray) ToInferenceClusterArrayOutputWithContext(ctx context.Context) InferenceClusterArrayOutput

type InferenceClusterArrayInput added in v4.4.0

type InferenceClusterArrayInput interface {
	pulumi.Input

	ToInferenceClusterArrayOutput() InferenceClusterArrayOutput
	ToInferenceClusterArrayOutputWithContext(context.Context) InferenceClusterArrayOutput
}

InferenceClusterArrayInput is an input type that accepts InferenceClusterArray and InferenceClusterArrayOutput values. You can construct a concrete instance of `InferenceClusterArrayInput` via:

InferenceClusterArray{ InferenceClusterArgs{...} }

type InferenceClusterArrayOutput added in v4.4.0

type InferenceClusterArrayOutput struct{ *pulumi.OutputState }

func (InferenceClusterArrayOutput) ElementType added in v4.4.0

func (InferenceClusterArrayOutput) Index added in v4.4.0

func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutput added in v4.4.0

func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput

func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext added in v4.4.0

func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext(ctx context.Context) InferenceClusterArrayOutput

type InferenceClusterIdentity added in v4.19.0

type InferenceClusterIdentity struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type InferenceClusterIdentityArgs added in v4.19.0

type InferenceClusterIdentityArgs struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (InferenceClusterIdentityArgs) ElementType added in v4.19.0

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutput added in v4.19.0

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutput() InferenceClusterIdentityOutput

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutputWithContext added in v4.19.0

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutputWithContext(ctx context.Context) InferenceClusterIdentityOutput

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutput added in v4.19.0

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutputWithContext added in v4.19.0

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutputWithContext(ctx context.Context) InferenceClusterIdentityPtrOutput

type InferenceClusterIdentityInput added in v4.19.0

type InferenceClusterIdentityInput interface {
	pulumi.Input

	ToInferenceClusterIdentityOutput() InferenceClusterIdentityOutput
	ToInferenceClusterIdentityOutputWithContext(context.Context) InferenceClusterIdentityOutput
}

InferenceClusterIdentityInput is an input type that accepts InferenceClusterIdentityArgs and InferenceClusterIdentityOutput values. You can construct a concrete instance of `InferenceClusterIdentityInput` via:

InferenceClusterIdentityArgs{...}

type InferenceClusterIdentityOutput added in v4.19.0

type InferenceClusterIdentityOutput struct{ *pulumi.OutputState }

func (InferenceClusterIdentityOutput) ElementType added in v4.19.0

func (InferenceClusterIdentityOutput) IdentityIds added in v4.19.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterIdentityOutput) PrincipalId added in v4.19.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.

func (InferenceClusterIdentityOutput) TenantId added in v4.19.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutput added in v4.19.0

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutput() InferenceClusterIdentityOutput

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutputWithContext added in v4.19.0

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutputWithContext(ctx context.Context) InferenceClusterIdentityOutput

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutput added in v4.19.0

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutputWithContext added in v4.19.0

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutputWithContext(ctx context.Context) InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityOutput) Type added in v4.19.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type InferenceClusterIdentityPtrInput added in v4.19.0

type InferenceClusterIdentityPtrInput interface {
	pulumi.Input

	ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput
	ToInferenceClusterIdentityPtrOutputWithContext(context.Context) InferenceClusterIdentityPtrOutput
}

InferenceClusterIdentityPtrInput is an input type that accepts InferenceClusterIdentityArgs, InferenceClusterIdentityPtr and InferenceClusterIdentityPtrOutput values. You can construct a concrete instance of `InferenceClusterIdentityPtrInput` via:

        InferenceClusterIdentityArgs{...}

or:

        nil

func InferenceClusterIdentityPtr added in v4.19.0

func InferenceClusterIdentityPtr(v *InferenceClusterIdentityArgs) InferenceClusterIdentityPtrInput

type InferenceClusterIdentityPtrOutput added in v4.19.0

type InferenceClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (InferenceClusterIdentityPtrOutput) Elem added in v4.19.0

func (InferenceClusterIdentityPtrOutput) ElementType added in v4.19.0

func (InferenceClusterIdentityPtrOutput) IdentityIds added in v4.19.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterIdentityPtrOutput) PrincipalId added in v4.19.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.

func (InferenceClusterIdentityPtrOutput) TenantId added in v4.19.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.

func (InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutput added in v4.19.0

func (o InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutputWithContext added in v4.19.0

func (o InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutputWithContext(ctx context.Context) InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityPtrOutput) Type added in v4.19.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type InferenceClusterInput added in v4.4.0

type InferenceClusterInput interface {
	pulumi.Input

	ToInferenceClusterOutput() InferenceClusterOutput
	ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput
}

type InferenceClusterMap added in v4.4.0

type InferenceClusterMap map[string]InferenceClusterInput

func (InferenceClusterMap) ElementType added in v4.4.0

func (InferenceClusterMap) ElementType() reflect.Type

func (InferenceClusterMap) ToInferenceClusterMapOutput added in v4.4.0

func (i InferenceClusterMap) ToInferenceClusterMapOutput() InferenceClusterMapOutput

func (InferenceClusterMap) ToInferenceClusterMapOutputWithContext added in v4.4.0

func (i InferenceClusterMap) ToInferenceClusterMapOutputWithContext(ctx context.Context) InferenceClusterMapOutput

type InferenceClusterMapInput added in v4.4.0

type InferenceClusterMapInput interface {
	pulumi.Input

	ToInferenceClusterMapOutput() InferenceClusterMapOutput
	ToInferenceClusterMapOutputWithContext(context.Context) InferenceClusterMapOutput
}

InferenceClusterMapInput is an input type that accepts InferenceClusterMap and InferenceClusterMapOutput values. You can construct a concrete instance of `InferenceClusterMapInput` via:

InferenceClusterMap{ "key": InferenceClusterArgs{...} }

type InferenceClusterMapOutput added in v4.4.0

type InferenceClusterMapOutput struct{ *pulumi.OutputState }

func (InferenceClusterMapOutput) ElementType added in v4.4.0

func (InferenceClusterMapOutput) ElementType() reflect.Type

func (InferenceClusterMapOutput) MapIndex added in v4.4.0

func (InferenceClusterMapOutput) ToInferenceClusterMapOutput added in v4.4.0

func (o InferenceClusterMapOutput) ToInferenceClusterMapOutput() InferenceClusterMapOutput

func (InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext added in v4.4.0

func (o InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext(ctx context.Context) InferenceClusterMapOutput

type InferenceClusterOutput added in v4.4.0

type InferenceClusterOutput struct{ *pulumi.OutputState }

func (InferenceClusterOutput) ElementType added in v4.4.0

func (InferenceClusterOutput) ElementType() reflect.Type

func (InferenceClusterOutput) ToInferenceClusterOutput added in v4.4.0

func (o InferenceClusterOutput) ToInferenceClusterOutput() InferenceClusterOutput

func (InferenceClusterOutput) ToInferenceClusterOutputWithContext added in v4.4.0

func (o InferenceClusterOutput) ToInferenceClusterOutputWithContext(ctx context.Context) InferenceClusterOutput

type InferenceClusterSsl added in v4.4.0

type InferenceClusterSsl struct {
	// The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Cert *string `pulumi:"cert"`
	// The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Cname *string `pulumi:"cname"`
	// The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Key *string `pulumi:"key"`
	// The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.
	LeafDomainLabel *string `pulumi:"leafDomainLabel"`
	// Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.
	OverwriteExistingDomain *bool `pulumi:"overwriteExistingDomain"`
}

type InferenceClusterSslArgs added in v4.4.0

type InferenceClusterSslArgs struct {
	// The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Cert pulumi.StringPtrInput `pulumi:"cert"`
	// The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Cname pulumi.StringPtrInput `pulumi:"cname"`
	// The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.
	LeafDomainLabel pulumi.StringPtrInput `pulumi:"leafDomainLabel"`
	// Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.
	OverwriteExistingDomain pulumi.BoolPtrInput `pulumi:"overwriteExistingDomain"`
}

func (InferenceClusterSslArgs) ElementType added in v4.4.0

func (InferenceClusterSslArgs) ElementType() reflect.Type

func (InferenceClusterSslArgs) ToInferenceClusterSslOutput added in v4.4.0

func (i InferenceClusterSslArgs) ToInferenceClusterSslOutput() InferenceClusterSslOutput

func (InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext added in v4.4.0

func (i InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput

func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput added in v4.4.0

func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext added in v4.4.0

func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput

type InferenceClusterSslInput added in v4.4.0

type InferenceClusterSslInput interface {
	pulumi.Input

	ToInferenceClusterSslOutput() InferenceClusterSslOutput
	ToInferenceClusterSslOutputWithContext(context.Context) InferenceClusterSslOutput
}

InferenceClusterSslInput is an input type that accepts InferenceClusterSslArgs and InferenceClusterSslOutput values. You can construct a concrete instance of `InferenceClusterSslInput` via:

InferenceClusterSslArgs{...}

type InferenceClusterSslOutput added in v4.4.0

type InferenceClusterSslOutput struct{ *pulumi.OutputState }

func (InferenceClusterSslOutput) Cert added in v4.4.0

The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslOutput) Cname added in v4.4.0

The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslOutput) ElementType added in v4.4.0

func (InferenceClusterSslOutput) ElementType() reflect.Type

func (InferenceClusterSslOutput) Key added in v4.4.0

The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslOutput) LeafDomainLabel added in v4.7.0

func (o InferenceClusterSslOutput) LeafDomainLabel() pulumi.StringPtrOutput

The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslOutput) OverwriteExistingDomain added in v4.7.0

func (o InferenceClusterSslOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput

Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslOutput) ToInferenceClusterSslOutput added in v4.4.0

func (o InferenceClusterSslOutput) ToInferenceClusterSslOutput() InferenceClusterSslOutput

func (InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext added in v4.4.0

func (o InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext(ctx context.Context) InferenceClusterSslOutput

func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput added in v4.4.0

func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext added in v4.4.0

func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput

type InferenceClusterSslPtrInput added in v4.4.0

type InferenceClusterSslPtrInput interface {
	pulumi.Input

	ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput
	ToInferenceClusterSslPtrOutputWithContext(context.Context) InferenceClusterSslPtrOutput
}

InferenceClusterSslPtrInput is an input type that accepts InferenceClusterSslArgs, InferenceClusterSslPtr and InferenceClusterSslPtrOutput values. You can construct a concrete instance of `InferenceClusterSslPtrInput` via:

        InferenceClusterSslArgs{...}

or:

        nil

func InferenceClusterSslPtr added in v4.4.0

func InferenceClusterSslPtr(v *InferenceClusterSslArgs) InferenceClusterSslPtrInput

type InferenceClusterSslPtrOutput added in v4.4.0

type InferenceClusterSslPtrOutput struct{ *pulumi.OutputState }

func (InferenceClusterSslPtrOutput) Cert added in v4.4.0

The certificate for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslPtrOutput) Cname added in v4.4.0

The cname of the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslPtrOutput) Elem added in v4.4.0

func (InferenceClusterSslPtrOutput) ElementType added in v4.4.0

func (InferenceClusterSslPtrOutput) Key added in v4.4.0

The key content for the ssl configuration.Conflicts with `ssl.0.leaf_domain_label`,`ssl.0.overwrite_existing_domain`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslPtrOutput) LeafDomainLabel added in v4.7.0

The leaf domain label for the ssl configuration. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname`. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslPtrOutput) OverwriteExistingDomain added in v4.7.0

func (o InferenceClusterSslPtrOutput) OverwriteExistingDomain() pulumi.BoolPtrOutput

Whether or not to overwrite existing leaf domain. Conflicts with `ssl.0.cert`,`ssl.0.key`,`ssl.0.cname` Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput added in v4.4.0

func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext added in v4.4.0

func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext(ctx context.Context) InferenceClusterSslPtrOutput

type InferenceClusterState added in v4.4.0

type InferenceClusterState struct {
	// The purpose of the Inference Cluster. Options are `DevTest`, `DenseProd` and `FastProd`. If used for Development or Testing, use `DevTest` here. Default purpose is `FastProd`, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created.
	ClusterPurpose pulumi.StringPtrInput
	// The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Identity InferenceClusterIdentityPtrInput
	// The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	KubernetesClusterId pulumi.StringPtrInput
	// The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
	MachineLearningWorkspaceId pulumi.StringPtrInput
	// The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Name pulumi.StringPtrInput
	// A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.
	Ssl InferenceClusterSslPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
	Tags pulumi.StringMapInput
}

func (InferenceClusterState) ElementType added in v4.4.0

func (InferenceClusterState) ElementType() reflect.Type

type LookupWorkspaceArgs

type LookupWorkspaceArgs struct {
	// The name of the Machine Learning Workspace exists.
	Name string `pulumi:"name"`
	// The name of the Resource Group where the Machine Learning 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 the Machine Learning Workspace exists.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the Resource Group where the Machine Learning 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 {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An `identity` block as defined below.
	Identities []GetWorkspaceIdentity `pulumi:"identities"`
	// The location where the Machine Learning Workspace exists.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// A mapping of tags assigned to the Machine Learning Workspace.
	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 Machine Learning Workspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := machinelearning.LookupWorkspace(ctx, &machinelearning.LookupWorkspaceArgs{
			Name:              "example-workspace",
			ResourceGroupName: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", azurerm_machine_learning_workspace.Existing.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) 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.

func (LookupWorkspaceResultOutput) Location added in v4.20.0

The location where the Machine Learning 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 Machine Learning Workspace.

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

type SynapseSpark struct {
	pulumi.CustomResourceState

	// The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An `identity` block as defined below. Changing this forces a new Machine Learning Synapse Spark to be created.
	Identity SynapseSparkIdentityPtrOutput `pulumi:"identity"`
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Synapse Spark to be created.
	LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"`
	// The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
	MachineLearningWorkspaceId pulumi.StringOutput `pulumi:"machineLearningWorkspaceId"`
	// The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
	SynapseSparkPoolId pulumi.StringOutput `pulumi:"synapseSparkPoolId"`
	// A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages the linked service to link an Azure Machine learning workspace to an Azure Synapse workspace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		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
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		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, "exampleSynapse/workspaceWorkspace", &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
		}
		exampleSparkPool, err := synapse.NewSparkPool(ctx, "exampleSparkPool", &synapse.SparkPoolArgs{
			SynapseWorkspaceId: exampleSynapse / workspaceWorkspace.Id,
			NodeSizeFamily:     pulumi.String("MemoryOptimized"),
			NodeSize:           pulumi.String("Small"),
			NodeCount:          pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewSynapseSpark(ctx, "exampleSynapseSpark", &machinelearning.SynapseSparkArgs{
			MachineLearningWorkspaceId: exampleWorkspace.ID(),
			Location:                   exampleResourceGroup.Location,
			SynapseSparkPoolId:         exampleSparkPool.ID(),
			Identity: &machinelearning.SynapseSparkIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Machine Learning Synapse Sparks can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:machinelearning/synapseSpark:SynapseSpark example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/compute1

```

func GetSynapseSpark added in v4.15.0

func GetSynapseSpark(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SynapseSparkState, opts ...pulumi.ResourceOption) (*SynapseSpark, error)

GetSynapseSpark gets an existing SynapseSpark 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 NewSynapseSpark added in v4.15.0

func NewSynapseSpark(ctx *pulumi.Context,
	name string, args *SynapseSparkArgs, opts ...pulumi.ResourceOption) (*SynapseSpark, error)

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

func (*SynapseSpark) ElementType added in v4.15.0

func (*SynapseSpark) ElementType() reflect.Type

func (*SynapseSpark) ToSynapseSparkOutput added in v4.15.0

func (i *SynapseSpark) ToSynapseSparkOutput() SynapseSparkOutput

func (*SynapseSpark) ToSynapseSparkOutputWithContext added in v4.15.0

func (i *SynapseSpark) ToSynapseSparkOutputWithContext(ctx context.Context) SynapseSparkOutput

type SynapseSparkArgs added in v4.15.0

type SynapseSparkArgs struct {
	// The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Synapse Spark to be created.
	Identity SynapseSparkIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Synapse Spark to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
	MachineLearningWorkspaceId pulumi.StringInput
	// The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Name pulumi.StringPtrInput
	// The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
	SynapseSparkPoolId pulumi.StringInput
	// A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a SynapseSpark resource.

func (SynapseSparkArgs) ElementType added in v4.15.0

func (SynapseSparkArgs) ElementType() reflect.Type

type SynapseSparkArray added in v4.15.0

type SynapseSparkArray []SynapseSparkInput

func (SynapseSparkArray) ElementType added in v4.15.0

func (SynapseSparkArray) ElementType() reflect.Type

func (SynapseSparkArray) ToSynapseSparkArrayOutput added in v4.15.0

func (i SynapseSparkArray) ToSynapseSparkArrayOutput() SynapseSparkArrayOutput

func (SynapseSparkArray) ToSynapseSparkArrayOutputWithContext added in v4.15.0

func (i SynapseSparkArray) ToSynapseSparkArrayOutputWithContext(ctx context.Context) SynapseSparkArrayOutput

type SynapseSparkArrayInput added in v4.15.0

type SynapseSparkArrayInput interface {
	pulumi.Input

	ToSynapseSparkArrayOutput() SynapseSparkArrayOutput
	ToSynapseSparkArrayOutputWithContext(context.Context) SynapseSparkArrayOutput
}

SynapseSparkArrayInput is an input type that accepts SynapseSparkArray and SynapseSparkArrayOutput values. You can construct a concrete instance of `SynapseSparkArrayInput` via:

SynapseSparkArray{ SynapseSparkArgs{...} }

type SynapseSparkArrayOutput added in v4.15.0

type SynapseSparkArrayOutput struct{ *pulumi.OutputState }

func (SynapseSparkArrayOutput) ElementType added in v4.15.0

func (SynapseSparkArrayOutput) ElementType() reflect.Type

func (SynapseSparkArrayOutput) Index added in v4.15.0

func (SynapseSparkArrayOutput) ToSynapseSparkArrayOutput added in v4.15.0

func (o SynapseSparkArrayOutput) ToSynapseSparkArrayOutput() SynapseSparkArrayOutput

func (SynapseSparkArrayOutput) ToSynapseSparkArrayOutputWithContext added in v4.15.0

func (o SynapseSparkArrayOutput) ToSynapseSparkArrayOutputWithContext(ctx context.Context) SynapseSparkArrayOutput

type SynapseSparkIdentity added in v4.15.0

type SynapseSparkIdentity struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type SynapseSparkIdentityArgs added in v4.15.0

type SynapseSparkIdentityArgs struct {
	// A list of User Managed Identity ID's which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (SynapseSparkIdentityArgs) ElementType added in v4.15.0

func (SynapseSparkIdentityArgs) ElementType() reflect.Type

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutput added in v4.15.0

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutput() SynapseSparkIdentityOutput

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutputWithContext added in v4.15.0

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutputWithContext(ctx context.Context) SynapseSparkIdentityOutput

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutput added in v4.15.0

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutputWithContext added in v4.15.0

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutputWithContext(ctx context.Context) SynapseSparkIdentityPtrOutput

type SynapseSparkIdentityInput added in v4.15.0

type SynapseSparkIdentityInput interface {
	pulumi.Input

	ToSynapseSparkIdentityOutput() SynapseSparkIdentityOutput
	ToSynapseSparkIdentityOutputWithContext(context.Context) SynapseSparkIdentityOutput
}

SynapseSparkIdentityInput is an input type that accepts SynapseSparkIdentityArgs and SynapseSparkIdentityOutput values. You can construct a concrete instance of `SynapseSparkIdentityInput` via:

SynapseSparkIdentityArgs{...}

type SynapseSparkIdentityOutput added in v4.15.0

type SynapseSparkIdentityOutput struct{ *pulumi.OutputState }

func (SynapseSparkIdentityOutput) ElementType added in v4.15.0

func (SynapseSparkIdentityOutput) ElementType() reflect.Type

func (SynapseSparkIdentityOutput) IdentityIds added in v4.15.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkIdentityOutput) PrincipalId added in v4.15.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.

func (SynapseSparkIdentityOutput) TenantId added in v4.15.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutput added in v4.15.0

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutput() SynapseSparkIdentityOutput

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutputWithContext added in v4.15.0

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutputWithContext(ctx context.Context) SynapseSparkIdentityOutput

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutput added in v4.15.0

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutputWithContext added in v4.15.0

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutputWithContext(ctx context.Context) SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityOutput) Type added in v4.15.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type SynapseSparkIdentityPtrInput added in v4.15.0

type SynapseSparkIdentityPtrInput interface {
	pulumi.Input

	ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput
	ToSynapseSparkIdentityPtrOutputWithContext(context.Context) SynapseSparkIdentityPtrOutput
}

SynapseSparkIdentityPtrInput is an input type that accepts SynapseSparkIdentityArgs, SynapseSparkIdentityPtr and SynapseSparkIdentityPtrOutput values. You can construct a concrete instance of `SynapseSparkIdentityPtrInput` via:

        SynapseSparkIdentityArgs{...}

or:

        nil

func SynapseSparkIdentityPtr added in v4.15.0

func SynapseSparkIdentityPtr(v *SynapseSparkIdentityArgs) SynapseSparkIdentityPtrInput

type SynapseSparkIdentityPtrOutput added in v4.15.0

type SynapseSparkIdentityPtrOutput struct{ *pulumi.OutputState }

func (SynapseSparkIdentityPtrOutput) Elem added in v4.15.0

func (SynapseSparkIdentityPtrOutput) ElementType added in v4.15.0

func (SynapseSparkIdentityPtrOutput) IdentityIds added in v4.15.0

A list of User Managed Identity ID's which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkIdentityPtrOutput) PrincipalId added in v4.15.0

The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.

func (SynapseSparkIdentityPtrOutput) TenantId added in v4.15.0

The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.

func (SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutput added in v4.15.0

func (o SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutputWithContext added in v4.15.0

func (o SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutputWithContext(ctx context.Context) SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityPtrOutput) Type added in v4.15.0

The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned` (to enable both).

type SynapseSparkInput added in v4.15.0

type SynapseSparkInput interface {
	pulumi.Input

	ToSynapseSparkOutput() SynapseSparkOutput
	ToSynapseSparkOutputWithContext(ctx context.Context) SynapseSparkOutput
}

type SynapseSparkMap added in v4.15.0

type SynapseSparkMap map[string]SynapseSparkInput

func (SynapseSparkMap) ElementType added in v4.15.0

func (SynapseSparkMap) ElementType() reflect.Type

func (SynapseSparkMap) ToSynapseSparkMapOutput added in v4.15.0

func (i SynapseSparkMap) ToSynapseSparkMapOutput() SynapseSparkMapOutput

func (SynapseSparkMap) ToSynapseSparkMapOutputWithContext added in v4.15.0

func (i SynapseSparkMap) ToSynapseSparkMapOutputWithContext(ctx context.Context) SynapseSparkMapOutput

type SynapseSparkMapInput added in v4.15.0

type SynapseSparkMapInput interface {
	pulumi.Input

	ToSynapseSparkMapOutput() SynapseSparkMapOutput
	ToSynapseSparkMapOutputWithContext(context.Context) SynapseSparkMapOutput
}

SynapseSparkMapInput is an input type that accepts SynapseSparkMap and SynapseSparkMapOutput values. You can construct a concrete instance of `SynapseSparkMapInput` via:

SynapseSparkMap{ "key": SynapseSparkArgs{...} }

type SynapseSparkMapOutput added in v4.15.0

type SynapseSparkMapOutput struct{ *pulumi.OutputState }

func (SynapseSparkMapOutput) ElementType added in v4.15.0

func (SynapseSparkMapOutput) ElementType() reflect.Type

func (SynapseSparkMapOutput) MapIndex added in v4.15.0

func (SynapseSparkMapOutput) ToSynapseSparkMapOutput added in v4.15.0

func (o SynapseSparkMapOutput) ToSynapseSparkMapOutput() SynapseSparkMapOutput

func (SynapseSparkMapOutput) ToSynapseSparkMapOutputWithContext added in v4.15.0

func (o SynapseSparkMapOutput) ToSynapseSparkMapOutputWithContext(ctx context.Context) SynapseSparkMapOutput

type SynapseSparkOutput added in v4.15.0

type SynapseSparkOutput struct{ *pulumi.OutputState }

func (SynapseSparkOutput) ElementType added in v4.15.0

func (SynapseSparkOutput) ElementType() reflect.Type

func (SynapseSparkOutput) ToSynapseSparkOutput added in v4.15.0

func (o SynapseSparkOutput) ToSynapseSparkOutput() SynapseSparkOutput

func (SynapseSparkOutput) ToSynapseSparkOutputWithContext added in v4.15.0

func (o SynapseSparkOutput) ToSynapseSparkOutputWithContext(ctx context.Context) SynapseSparkOutput

type SynapseSparkState added in v4.15.0

type SynapseSparkState struct {
	// The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Description pulumi.StringPtrInput
	// An `identity` block as defined below. Changing this forces a new Machine Learning Synapse Spark to be created.
	Identity SynapseSparkIdentityPtrInput
	// Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Synapse Spark to be created.
	LocalAuthEnabled pulumi.BoolPtrInput
	// The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
	Location pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
	MachineLearningWorkspaceId pulumi.StringPtrInput
	// The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Name pulumi.StringPtrInput
	// The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
	SynapseSparkPoolId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
	Tags pulumi.StringMapInput
}

func (SynapseSparkState) ElementType added in v4.15.0

func (SynapseSparkState) ElementType() reflect.Type

type Workspace

type Workspace struct {
	pulumi.CustomResourceState

	// The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringOutput `pulumi:"applicationInsightsId"`
	// The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ContainerRegistryId pulumi.StringPtrOutput `pulumi:"containerRegistryId"`
	// The description of this Machine Learning Workspace.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The url for the discovery service to identify regional endpoints for machine learning experimentation services.
	DiscoveryUrl pulumi.StringOutput          `pulumi:"discoveryUrl"`
	Encryption   WorkspaceEncryptionPtrOutput `pulumi:"encryption"`
	// Display name for this Machine Learning Workspace.
	FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"`
	// Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service
	HighBusinessImpact pulumi.BoolPtrOutput `pulumi:"highBusinessImpact"`
	// An `identity` block as defined below.
	Identity WorkspaceIdentityOutput `pulumi:"identity"`
	// The compute name for image build of the Machine Learning Workspace.
	ImageBuildComputeName pulumi.StringPtrOutput `pulumi:"imageBuildComputeName"`
	// The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringOutput `pulumi:"keyVaultId"`
	// Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The user assigned identity id that represents the workspace identity.
	PrimaryUserAssignedIdentity pulumi.StringPtrOutput `pulumi:"primaryUserAssignedIdentity"`
	// Enable public access when this Machine Learning Workspace is behind VNet.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`.
	SkuName pulumi.StringPtrOutput `pulumi:"skuName"`
	// The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringOutput `pulumi:"storageAccountId"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			TenantId:          pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
		})
		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("GRS"),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Data Encryption

> **NOTE:** The Key Vault must enable purge protection.

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("premium"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleAccessPolicy, err := keyvault.NewAccessPolicy(ctx, "exampleAccessPolicy", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   pulumi.String(current.TenantId),
			ObjectId:   pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Create"),
				pulumi.String("Get"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("decrypt"),
				pulumi.String("encrypt"),
				pulumi.String("sign"),
				pulumi.String("unwrapKey"),
				pulumi.String("verify"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleKeyVault,
			exampleAccessPolicy,
		}))
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:              exampleResourceGroup.Location,
			ResourceGroupName:     exampleResourceGroup.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Encryption: &machinelearning.WorkspaceEncryptionArgs{
				KeyVaultId: exampleKeyVault.ID(),
				KeyId:      exampleKey.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With User Assigned Identity And Data Encryption

> **NOTE:** The Key Vault must enable purge protection.

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			ApplicationType:   pulumi.String("web"),
		})
		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("GRS"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:               exampleResourceGroup.Location,
			ResourceGroupName:      exampleResourceGroup.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("premium"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "exampleUserAssignedIdentity", &authorization.UserAssignedIdentityArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewAccessPolicy(ctx, "example-identity", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   pulumi.String(current.TenantId),
			ObjectId:   exampleUserAssignedIdentity.PrincipalId,
			KeyPermissions: pulumi.StringArray{
				pulumi.String("wrapKey"),
				pulumi.String("unwrapKey"),
				pulumi.String("get"),
				pulumi.String("recover"),
			},
			SecretPermissions: pulumi.StringArray{
				pulumi.String("get"),
				pulumi.String("list"),
				pulumi.String("set"),
				pulumi.String("delete"),
				pulumi.String("recover"),
				pulumi.String("backup"),
				pulumi.String("restore"),
			},
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewAccessPolicy(ctx, "example-sp", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   pulumi.String(current.TenantId),
			ObjectId:   pulumi.String(current.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Get"),
				pulumi.String("Create"),
				pulumi.String("Recover"),
				pulumi.String("Delete"),
				pulumi.String("Purge"),
			},
		})
		if err != nil {
			return err
		}
		test, err := azuread.LookupServicePrincipal(ctx, &GetServicePrincipalArgs{
			DisplayName: pulumi.StringRef("Azure Cosmos DB"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = keyvault.NewAccessPolicy(ctx, "example-cosmosdb", &keyvault.AccessPolicyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			TenantId:   pulumi.String(current.TenantId),
			ObjectId:   pulumi.String(test.ObjectId),
			KeyPermissions: pulumi.StringArray{
				pulumi.String("Get"),
				pulumi.String("Recover"),
				pulumi.String("UnwrapKey"),
				pulumi.String("WrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			test,
			current,
		}))
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "exampleKey", &keyvault.KeyArgs{
			KeyVaultId: exampleKeyVault.ID(),
			KeyType:    pulumi.String("RSA"),
			KeySize:    pulumi.Int(2048),
			KeyOpts: pulumi.StringArray{
				pulumi.String("decrypt"),
				pulumi.String("encrypt"),
				pulumi.String("sign"),
				pulumi.String("unwrapKey"),
				pulumi.String("verify"),
				pulumi.String("wrapKey"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleKeyVault,
			example_sp,
		}))
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example-role1", &authorization.AssignmentArgs{
			Scope:              exampleKeyVault.ID(),
			RoleDefinitionName: pulumi.String("Contributor"),
			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example-role2", &authorization.AssignmentArgs{
			Scope:              exampleAccount.ID(),
			RoleDefinitionName: pulumi.String("Storage Blob Data Contributor"),
			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example-role3", &authorization.AssignmentArgs{
			Scope:              exampleAccount.ID(),
			RoleDefinitionName: pulumi.String("Contributor"),
			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
		})
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example-role4", &authorization.AssignmentArgs{
			Scope:              exampleInsights.ID(),
			RoleDefinitionName: pulumi.String("Contributor"),
			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
			Location:                    exampleResourceGroup.Location,
			ResourceGroupName:           exampleResourceGroup.Name,
			ApplicationInsightsId:       exampleInsights.ID(),
			KeyVaultId:                  exampleKeyVault.ID(),
			StorageAccountId:            exampleAccount.ID(),
			HighBusinessImpact:          pulumi.Bool(true),
			PrimaryUserAssignedIdentity: exampleUserAssignedIdentity.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("UserAssigned"),
				IdentityIds: pulumi.StringArray{
					exampleUserAssignedIdentity.ID(),
				},
			},
			Encryption: &machinelearning.WorkspaceEncryptionArgs{
				UserAssignedIdentityId: exampleUserAssignedIdentity.ID(),
				KeyVaultId:             exampleKeyVault.ID(),
				KeyId:                  exampleKey.ID(),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			example_role1,
			example_role2,
			example_role3,
			example_role4,
			example_cosmosdb,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetWorkspace

func GetWorkspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WorkspaceState, opts ...pulumi.ResourceOption) (*Workspace, error)

GetWorkspace gets an existing Workspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWorkspace

func NewWorkspace(ctx *pulumi.Context,
	name string, args *WorkspaceArgs, opts ...pulumi.ResourceOption) (*Workspace, error)

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

func (*Workspace) ElementType

func (*Workspace) ElementType() reflect.Type

func (*Workspace) ToWorkspaceOutput

func (i *Workspace) ToWorkspaceOutput() WorkspaceOutput

func (*Workspace) ToWorkspaceOutputWithContext

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

type WorkspaceArgs

type WorkspaceArgs struct {
	// The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringInput
	// The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ContainerRegistryId pulumi.StringPtrInput
	// The description of this Machine Learning Workspace.
	Description pulumi.StringPtrInput
	Encryption  WorkspaceEncryptionPtrInput
	// Display name for this Machine Learning Workspace.
	FriendlyName pulumi.StringPtrInput
	// Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service
	HighBusinessImpact pulumi.BoolPtrInput
	// An `identity` block as defined below.
	Identity WorkspaceIdentityInput
	// The compute name for image build of the Machine Learning Workspace.
	ImageBuildComputeName pulumi.StringPtrInput
	// The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringInput
	// Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The user assigned identity id that represents the workspace identity.
	PrimaryUserAssignedIdentity pulumi.StringPtrInput
	// Enable public access when this Machine Learning Workspace is behind VNet.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`.
	SkuName pulumi.StringPtrInput
	// The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringInput
	// A mapping of tags to assign to the resource.
	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 WorkspaceEncryption added in v4.28.0

type WorkspaceEncryption struct {
	// The Key Vault URI to access the encryption key.
	KeyId string `pulumi:"keyId"`
	// The ID of the keyVault where the customer owned encryption key is present.
	KeyVaultId string `pulumi:"keyVaultId"`
	// The Key Vault URI to access the encryption key.
	UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}

type WorkspaceEncryptionArgs added in v4.28.0

type WorkspaceEncryptionArgs struct {
	// The Key Vault URI to access the encryption key.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// The ID of the keyVault where the customer owned encryption key is present.
	KeyVaultId pulumi.StringInput `pulumi:"keyVaultId"`
	// The Key Vault URI to access the encryption key.
	UserAssignedIdentityId pulumi.StringPtrInput `pulumi:"userAssignedIdentityId"`
}

func (WorkspaceEncryptionArgs) ElementType added in v4.28.0

func (WorkspaceEncryptionArgs) ElementType() reflect.Type

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutput added in v4.28.0

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutput() WorkspaceEncryptionOutput

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutputWithContext added in v4.28.0

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutputWithContext(ctx context.Context) WorkspaceEncryptionOutput

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutput added in v4.28.0

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutputWithContext added in v4.28.0

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutputWithContext(ctx context.Context) WorkspaceEncryptionPtrOutput

type WorkspaceEncryptionInput added in v4.28.0

type WorkspaceEncryptionInput interface {
	pulumi.Input

	ToWorkspaceEncryptionOutput() WorkspaceEncryptionOutput
	ToWorkspaceEncryptionOutputWithContext(context.Context) WorkspaceEncryptionOutput
}

WorkspaceEncryptionInput is an input type that accepts WorkspaceEncryptionArgs and WorkspaceEncryptionOutput values. You can construct a concrete instance of `WorkspaceEncryptionInput` via:

WorkspaceEncryptionArgs{...}

type WorkspaceEncryptionOutput added in v4.28.0

type WorkspaceEncryptionOutput struct{ *pulumi.OutputState }

func (WorkspaceEncryptionOutput) ElementType added in v4.28.0

func (WorkspaceEncryptionOutput) ElementType() reflect.Type

func (WorkspaceEncryptionOutput) KeyId added in v4.28.0

The Key Vault URI to access the encryption key.

func (WorkspaceEncryptionOutput) KeyVaultId added in v4.28.0

The ID of the keyVault where the customer owned encryption key is present.

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutput added in v4.28.0

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutput() WorkspaceEncryptionOutput

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutputWithContext added in v4.28.0

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutputWithContext(ctx context.Context) WorkspaceEncryptionOutput

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutput added in v4.28.0

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutputWithContext added in v4.28.0

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutputWithContext(ctx context.Context) WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionOutput) UserAssignedIdentityId added in v4.39.0

func (o WorkspaceEncryptionOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The Key Vault URI to access the encryption key.

type WorkspaceEncryptionPtrInput added in v4.28.0

type WorkspaceEncryptionPtrInput interface {
	pulumi.Input

	ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput
	ToWorkspaceEncryptionPtrOutputWithContext(context.Context) WorkspaceEncryptionPtrOutput
}

WorkspaceEncryptionPtrInput is an input type that accepts WorkspaceEncryptionArgs, WorkspaceEncryptionPtr and WorkspaceEncryptionPtrOutput values. You can construct a concrete instance of `WorkspaceEncryptionPtrInput` via:

        WorkspaceEncryptionArgs{...}

or:

        nil

func WorkspaceEncryptionPtr added in v4.28.0

func WorkspaceEncryptionPtr(v *WorkspaceEncryptionArgs) WorkspaceEncryptionPtrInput

type WorkspaceEncryptionPtrOutput added in v4.28.0

type WorkspaceEncryptionPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceEncryptionPtrOutput) Elem added in v4.28.0

func (WorkspaceEncryptionPtrOutput) ElementType added in v4.28.0

func (WorkspaceEncryptionPtrOutput) KeyId added in v4.28.0

The Key Vault URI to access the encryption key.

func (WorkspaceEncryptionPtrOutput) KeyVaultId added in v4.28.0

The ID of the keyVault where the customer owned encryption key is present.

func (WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutput added in v4.28.0

func (o WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutputWithContext added in v4.28.0

func (o WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutputWithContext(ctx context.Context) WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionPtrOutput) UserAssignedIdentityId added in v4.39.0

func (o WorkspaceEncryptionPtrOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The Key Vault URI to access the encryption key.

type WorkspaceIdentity

type WorkspaceIdentity struct {
	// The user assigned identity IDs associated with the resource.
	IdentityIds []string `pulumi:"identityIds"`
	// The (Client) ID of the Service Principal.
	PrincipalId *string `pulumi:"principalId"`
	// The ID of the Tenant the Service Principal is assigned in.
	TenantId *string `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Workspace. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`.
	Type string `pulumi:"type"`
}

type WorkspaceIdentityArgs

type WorkspaceIdentityArgs struct {
	// The user assigned identity IDs associated with the resource.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The (Client) ID of the Service Principal.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The ID of the Tenant the Service Principal is assigned in.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// The Type of Identity which should be used for this Machine Learning Workspace. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (WorkspaceIdentityArgs) ElementType

func (WorkspaceIdentityArgs) ElementType() reflect.Type

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext

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

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext

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

type WorkspaceIdentityInput

type WorkspaceIdentityInput interface {
	pulumi.Input

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

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

WorkspaceIdentityArgs{...}

type WorkspaceIdentityOutput

type WorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityOutput) ElementType

func (WorkspaceIdentityOutput) ElementType() reflect.Type

func (WorkspaceIdentityOutput) IdentityIds added in v4.39.0

The user assigned identity IDs associated with the resource.

func (WorkspaceIdentityOutput) PrincipalId

The (Client) ID of the Service Principal.

func (WorkspaceIdentityOutput) TenantId

The ID of the Tenant the Service Principal is assigned in.

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext

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

func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext

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

func (WorkspaceIdentityOutput) Type

The Type of Identity which should be used for this Machine Learning Workspace. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`.

type WorkspaceIdentityPtrInput

type WorkspaceIdentityPtrInput interface {
	pulumi.Input

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

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

        WorkspaceIdentityArgs{...}

or:

        nil

type WorkspaceIdentityPtrOutput

type WorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityPtrOutput) Elem

func (WorkspaceIdentityPtrOutput) ElementType

func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type

func (WorkspaceIdentityPtrOutput) IdentityIds added in v4.39.0

The user assigned identity IDs associated with the resource.

func (WorkspaceIdentityPtrOutput) PrincipalId

The (Client) ID of the Service Principal.

func (WorkspaceIdentityPtrOutput) TenantId

The ID of the Tenant the Service Principal is assigned in.

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput

func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext

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

func (WorkspaceIdentityPtrOutput) Type

The Type of Identity which should be used for this Machine Learning Workspace. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`.

type WorkspaceInput

type WorkspaceInput interface {
	pulumi.Input

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

type WorkspaceMap

type WorkspaceMap map[string]WorkspaceInput

func (WorkspaceMap) ElementType

func (WorkspaceMap) ElementType() reflect.Type

func (WorkspaceMap) ToWorkspaceMapOutput

func (i WorkspaceMap) ToWorkspaceMapOutput() WorkspaceMapOutput

func (WorkspaceMap) ToWorkspaceMapOutputWithContext

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

type WorkspaceMapInput

type WorkspaceMapInput interface {
	pulumi.Input

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

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

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

type WorkspaceMapOutput

type WorkspaceMapOutput struct{ *pulumi.OutputState }

func (WorkspaceMapOutput) ElementType

func (WorkspaceMapOutput) ElementType() reflect.Type

func (WorkspaceMapOutput) MapIndex

func (WorkspaceMapOutput) ToWorkspaceMapOutput

func (o WorkspaceMapOutput) ToWorkspaceMapOutput() WorkspaceMapOutput

func (WorkspaceMapOutput) ToWorkspaceMapOutputWithContext

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

type WorkspaceOutput

type WorkspaceOutput struct{ *pulumi.OutputState }

func (WorkspaceOutput) ElementType

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) ToWorkspaceOutput

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext

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

type WorkspaceState

type WorkspaceState struct {
	// The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ApplicationInsightsId pulumi.StringPtrInput
	// The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	ContainerRegistryId pulumi.StringPtrInput
	// The description of this Machine Learning Workspace.
	Description pulumi.StringPtrInput
	// The url for the discovery service to identify regional endpoints for machine learning experimentation services.
	DiscoveryUrl pulumi.StringPtrInput
	Encryption   WorkspaceEncryptionPtrInput
	// Display name for this Machine Learning Workspace.
	FriendlyName pulumi.StringPtrInput
	// Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service
	HighBusinessImpact pulumi.BoolPtrInput
	// An `identity` block as defined below.
	Identity WorkspaceIdentityPtrInput
	// The compute name for image build of the Machine Learning Workspace.
	ImageBuildComputeName pulumi.StringPtrInput
	// The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	KeyVaultId pulumi.StringPtrInput
	// Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The user assigned identity id that represents the workspace identity.
	PrimaryUserAssignedIdentity pulumi.StringPtrInput
	// Enable public access when this Machine Learning Workspace is behind VNet.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`.
	SkuName pulumi.StringPtrInput
	// The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.
	StorageAccountId pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (WorkspaceState) ElementType

func (WorkspaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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