machinelearning

package
v5.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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

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/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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:                   exampleResourceGroup.Location,
			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

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

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

func (*ComputeCluster) ElementType() reflect.Type

func (*ComputeCluster) ToComputeClusterOutput

func (i *ComputeCluster) ToComputeClusterOutput() ComputeClusterOutput

func (*ComputeCluster) ToComputeClusterOutputWithContext

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

type ComputeClusterArgs

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

func (ComputeClusterArgs) ElementType() reflect.Type

type ComputeClusterArray

type ComputeClusterArray []ComputeClusterInput

func (ComputeClusterArray) ElementType

func (ComputeClusterArray) ElementType() reflect.Type

func (ComputeClusterArray) ToComputeClusterArrayOutput

func (i ComputeClusterArray) ToComputeClusterArrayOutput() ComputeClusterArrayOutput

func (ComputeClusterArray) ToComputeClusterArrayOutputWithContext

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

type ComputeClusterArrayInput

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

type ComputeClusterArrayOutput struct{ *pulumi.OutputState }

func (ComputeClusterArrayOutput) ElementType

func (ComputeClusterArrayOutput) ElementType() reflect.Type

func (ComputeClusterArrayOutput) Index

func (ComputeClusterArrayOutput) ToComputeClusterArrayOutput

func (o ComputeClusterArrayOutput) ToComputeClusterArrayOutput() ComputeClusterArrayOutput

func (ComputeClusterArrayOutput) ToComputeClusterArrayOutputWithContext

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

type ComputeClusterIdentity

type ComputeClusterIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Cluster.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type ComputeClusterIdentityArgs

type ComputeClusterIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Cluster.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (ComputeClusterIdentityArgs) ElementType

func (ComputeClusterIdentityArgs) ElementType() reflect.Type

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityOutputWithContext

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

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput

func (i ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityArgs) ToComputeClusterIdentityPtrOutputWithContext

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

type ComputeClusterIdentityInput

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

type ComputeClusterIdentityOutput struct{ *pulumi.OutputState }

func (ComputeClusterIdentityOutput) ElementType

func (ComputeClusterIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Cluster.

func (ComputeClusterIdentityOutput) PrincipalId

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

func (ComputeClusterIdentityOutput) TenantId

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

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityOutput() ComputeClusterIdentityOutput

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityOutputWithContext

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

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput

func (o ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityOutput) ToComputeClusterIdentityPtrOutputWithContext

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

func (ComputeClusterIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type ComputeClusterIdentityPtrInput

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

type ComputeClusterIdentityPtrOutput

type ComputeClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterIdentityPtrOutput) Elem

func (ComputeClusterIdentityPtrOutput) ElementType

func (ComputeClusterIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Cluster.

func (ComputeClusterIdentityPtrOutput) PrincipalId

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

func (ComputeClusterIdentityPtrOutput) TenantId

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

func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput

func (o ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutput() ComputeClusterIdentityPtrOutput

func (ComputeClusterIdentityPtrOutput) ToComputeClusterIdentityPtrOutputWithContext

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

func (ComputeClusterIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type ComputeClusterInput

type ComputeClusterInput interface {
	pulumi.Input

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

type ComputeClusterMap

type ComputeClusterMap map[string]ComputeClusterInput

func (ComputeClusterMap) ElementType

func (ComputeClusterMap) ElementType() reflect.Type

func (ComputeClusterMap) ToComputeClusterMapOutput

func (i ComputeClusterMap) ToComputeClusterMapOutput() ComputeClusterMapOutput

func (ComputeClusterMap) ToComputeClusterMapOutputWithContext

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

type ComputeClusterMapInput

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

type ComputeClusterMapOutput struct{ *pulumi.OutputState }

func (ComputeClusterMapOutput) ElementType

func (ComputeClusterMapOutput) ElementType() reflect.Type

func (ComputeClusterMapOutput) MapIndex

func (ComputeClusterMapOutput) ToComputeClusterMapOutput

func (o ComputeClusterMapOutput) ToComputeClusterMapOutput() ComputeClusterMapOutput

func (ComputeClusterMapOutput) ToComputeClusterMapOutputWithContext

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

type ComputeClusterOutput

type ComputeClusterOutput struct{ *pulumi.OutputState }

func (ComputeClusterOutput) Description added in v5.5.0

The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) ElementType

func (ComputeClusterOutput) ElementType() reflect.Type

func (ComputeClusterOutput) Identity added in v5.5.0

An `identity` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) LocalAuthEnabled added in v5.5.0

func (o ComputeClusterOutput) LocalAuthEnabled() pulumi.BoolPtrOutput

Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) Location added in v5.5.0

The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) MachineLearningWorkspaceId added in v5.5.0

func (o ComputeClusterOutput) MachineLearningWorkspaceId() pulumi.StringOutput

The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) Name added in v5.5.0

The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) ScaleSettings added in v5.5.0

A `scaleSettings` block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) Ssh added in v5.5.0

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.

func (ComputeClusterOutput) SshPublicAccessEnabled added in v5.5.0

func (o ComputeClusterOutput) SshPublicAccessEnabled() pulumi.BoolOutput

A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) SubnetResourceId added in v5.5.0

func (o ComputeClusterOutput) SubnetResourceId() pulumi.StringPtrOutput

The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.

func (ComputeClusterOutput) Tags added in v5.5.0

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.

func (ComputeClusterOutput) ToComputeClusterOutput

func (o ComputeClusterOutput) ToComputeClusterOutput() ComputeClusterOutput

func (ComputeClusterOutput) ToComputeClusterOutputWithContext

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

func (ComputeClusterOutput) VmPriority added in v5.5.0

func (o ComputeClusterOutput) VmPriority() pulumi.StringOutput

The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are `Dedicated` and `LowPriority`.

func (ComputeClusterOutput) VmSize added in v5.5.0

The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.

type ComputeClusterScaleSettings

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

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

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsOutputWithContext

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

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput

func (i ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsArgs) ToComputeClusterScaleSettingsPtrOutputWithContext

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

type ComputeClusterScaleSettingsInput

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

type ComputeClusterScaleSettingsOutput struct{ *pulumi.OutputState }

func (ComputeClusterScaleSettingsOutput) ElementType

func (ComputeClusterScaleSettingsOutput) MaxNodeCount

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

func (ComputeClusterScaleSettingsOutput) MinNodeCount

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

func (ComputeClusterScaleSettingsOutput) ScaleDownNodesAfterIdleDuration

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

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutput() ComputeClusterScaleSettingsOutput

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsOutputWithContext

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

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput

func (o ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsOutput) ToComputeClusterScaleSettingsPtrOutputWithContext

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

type ComputeClusterScaleSettingsPtrInput

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

type ComputeClusterScaleSettingsPtrOutput

type ComputeClusterScaleSettingsPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterScaleSettingsPtrOutput) Elem

func (ComputeClusterScaleSettingsPtrOutput) ElementType

func (ComputeClusterScaleSettingsPtrOutput) MaxNodeCount

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

func (ComputeClusterScaleSettingsPtrOutput) MinNodeCount

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

func (ComputeClusterScaleSettingsPtrOutput) ScaleDownNodesAfterIdleDuration

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

func (o ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutput() ComputeClusterScaleSettingsPtrOutput

func (ComputeClusterScaleSettingsPtrOutput) ToComputeClusterScaleSettingsPtrOutputWithContext

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

type ComputeClusterSsh

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

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

func (ComputeClusterSshArgs) ElementType() reflect.Type

func (ComputeClusterSshArgs) ToComputeClusterSshOutput

func (i ComputeClusterSshArgs) ToComputeClusterSshOutput() ComputeClusterSshOutput

func (ComputeClusterSshArgs) ToComputeClusterSshOutputWithContext

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

func (ComputeClusterSshArgs) ToComputeClusterSshPtrOutput

func (i ComputeClusterSshArgs) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshArgs) ToComputeClusterSshPtrOutputWithContext

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

type ComputeClusterSshInput

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

type ComputeClusterSshOutput struct{ *pulumi.OutputState }

func (ComputeClusterSshOutput) AdminPassword

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

func (ComputeClusterSshOutput) AdminUsername

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

func (ComputeClusterSshOutput) ElementType() reflect.Type

func (ComputeClusterSshOutput) KeyValue

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

func (ComputeClusterSshOutput) ToComputeClusterSshOutput

func (o ComputeClusterSshOutput) ToComputeClusterSshOutput() ComputeClusterSshOutput

func (ComputeClusterSshOutput) ToComputeClusterSshOutputWithContext

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

func (ComputeClusterSshOutput) ToComputeClusterSshPtrOutput

func (o ComputeClusterSshOutput) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshOutput) ToComputeClusterSshPtrOutputWithContext

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

type ComputeClusterSshPtrInput

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

type ComputeClusterSshPtrOutput

type ComputeClusterSshPtrOutput struct{ *pulumi.OutputState }

func (ComputeClusterSshPtrOutput) AdminPassword

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

func (ComputeClusterSshPtrOutput) AdminUsername

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

func (ComputeClusterSshPtrOutput) ElementType

func (ComputeClusterSshPtrOutput) ElementType() reflect.Type

func (ComputeClusterSshPtrOutput) KeyValue

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

func (ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutput

func (o ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutput() ComputeClusterSshPtrOutput

func (ComputeClusterSshPtrOutput) ToComputeClusterSshPtrOutputWithContext

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

type ComputeClusterState

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

func (ComputeClusterState) ElementType() reflect.Type

type ComputeInstance

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/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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

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

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

func (*ComputeInstance) ElementType() reflect.Type

func (*ComputeInstance) ToComputeInstanceOutput

func (i *ComputeInstance) ToComputeInstanceOutput() ComputeInstanceOutput

func (*ComputeInstance) ToComputeInstanceOutputWithContext

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

type ComputeInstanceArgs

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

func (ComputeInstanceArgs) ElementType() reflect.Type

type ComputeInstanceArray

type ComputeInstanceArray []ComputeInstanceInput

func (ComputeInstanceArray) ElementType

func (ComputeInstanceArray) ElementType() reflect.Type

func (ComputeInstanceArray) ToComputeInstanceArrayOutput

func (i ComputeInstanceArray) ToComputeInstanceArrayOutput() ComputeInstanceArrayOutput

func (ComputeInstanceArray) ToComputeInstanceArrayOutputWithContext

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

type ComputeInstanceArrayInput

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

type ComputeInstanceArrayOutput struct{ *pulumi.OutputState }

func (ComputeInstanceArrayOutput) ElementType

func (ComputeInstanceArrayOutput) ElementType() reflect.Type

func (ComputeInstanceArrayOutput) Index

func (ComputeInstanceArrayOutput) ToComputeInstanceArrayOutput

func (o ComputeInstanceArrayOutput) ToComputeInstanceArrayOutput() ComputeInstanceArrayOutput

func (ComputeInstanceArrayOutput) ToComputeInstanceArrayOutputWithContext

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

type ComputeInstanceAssignToUser

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

type ComputeInstanceAssignToUserArgs

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

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutput

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutput() ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserOutputWithContext

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

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutput

func (i ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserArgs) ToComputeInstanceAssignToUserPtrOutputWithContext

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

type ComputeInstanceAssignToUserInput

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

type ComputeInstanceAssignToUserOutput struct{ *pulumi.OutputState }

func (ComputeInstanceAssignToUserOutput) ElementType

func (ComputeInstanceAssignToUserOutput) ObjectId

User’s AAD Object Id.

func (ComputeInstanceAssignToUserOutput) TenantId

User’s AAD Tenant Id.

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutput

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutput() ComputeInstanceAssignToUserOutput

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserOutputWithContext

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

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutput

func (o ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserOutput) ToComputeInstanceAssignToUserPtrOutputWithContext

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

type ComputeInstanceAssignToUserPtrInput

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

type ComputeInstanceAssignToUserPtrOutput

type ComputeInstanceAssignToUserPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceAssignToUserPtrOutput) Elem

func (ComputeInstanceAssignToUserPtrOutput) ElementType

func (ComputeInstanceAssignToUserPtrOutput) ObjectId

User’s AAD Object Id.

func (ComputeInstanceAssignToUserPtrOutput) TenantId

User’s AAD Tenant Id.

func (ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutput

func (o ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutput() ComputeInstanceAssignToUserPtrOutput

func (ComputeInstanceAssignToUserPtrOutput) ToComputeInstanceAssignToUserPtrOutputWithContext

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

type ComputeInstanceIdentity

type ComputeInstanceIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Instance.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Instance. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type ComputeInstanceIdentityArgs

type ComputeInstanceIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Instance.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Instance. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (ComputeInstanceIdentityArgs) ElementType

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutput

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutput() ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityOutputWithContext

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

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutput

func (i ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityArgs) ToComputeInstanceIdentityPtrOutputWithContext

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

type ComputeInstanceIdentityInput

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

type ComputeInstanceIdentityOutput struct{ *pulumi.OutputState }

func (ComputeInstanceIdentityOutput) ElementType

func (ComputeInstanceIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Instance.

func (ComputeInstanceIdentityOutput) PrincipalId

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

func (ComputeInstanceIdentityOutput) TenantId

User’s AAD Tenant Id.

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutput

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutput() ComputeInstanceIdentityOutput

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityOutputWithContext

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

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutput

func (o ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityOutput) ToComputeInstanceIdentityPtrOutputWithContext

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

func (ComputeInstanceIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Instance. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type ComputeInstanceIdentityPtrInput

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

type ComputeInstanceIdentityPtrOutput

type ComputeInstanceIdentityPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceIdentityPtrOutput) Elem

func (ComputeInstanceIdentityPtrOutput) ElementType

func (ComputeInstanceIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Compute Instance.

func (ComputeInstanceIdentityPtrOutput) PrincipalId

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

func (ComputeInstanceIdentityPtrOutput) TenantId

User’s AAD Tenant Id.

func (ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutput

func (o ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutput() ComputeInstanceIdentityPtrOutput

func (ComputeInstanceIdentityPtrOutput) ToComputeInstanceIdentityPtrOutputWithContext

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

func (ComputeInstanceIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Compute Instance. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type ComputeInstanceInput

type ComputeInstanceInput interface {
	pulumi.Input

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

type ComputeInstanceMap

type ComputeInstanceMap map[string]ComputeInstanceInput

func (ComputeInstanceMap) ElementType

func (ComputeInstanceMap) ElementType() reflect.Type

func (ComputeInstanceMap) ToComputeInstanceMapOutput

func (i ComputeInstanceMap) ToComputeInstanceMapOutput() ComputeInstanceMapOutput

func (ComputeInstanceMap) ToComputeInstanceMapOutputWithContext

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

type ComputeInstanceMapInput

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

type ComputeInstanceMapOutput struct{ *pulumi.OutputState }

func (ComputeInstanceMapOutput) ElementType

func (ComputeInstanceMapOutput) ElementType() reflect.Type

func (ComputeInstanceMapOutput) MapIndex

func (ComputeInstanceMapOutput) ToComputeInstanceMapOutput

func (o ComputeInstanceMapOutput) ToComputeInstanceMapOutput() ComputeInstanceMapOutput

func (ComputeInstanceMapOutput) ToComputeInstanceMapOutputWithContext

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

type ComputeInstanceOutput

type ComputeInstanceOutput struct{ *pulumi.OutputState }

func (ComputeInstanceOutput) AssignToUser added in v5.5.0

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.

func (ComputeInstanceOutput) AuthorizationType added in v5.5.0

func (o ComputeInstanceOutput) AuthorizationType() pulumi.StringPtrOutput

The Compute Instance Authorization type. Possible values include: `personal`. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) Description added in v5.5.0

The description of the Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) ElementType

func (ComputeInstanceOutput) ElementType() reflect.Type

func (ComputeInstanceOutput) Identity added in v5.5.0

An `identity` block as defined below. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) LocalAuthEnabled added in v5.5.0

func (o ComputeInstanceOutput) LocalAuthEnabled() pulumi.BoolPtrOutput

Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) Location added in v5.5.0

The Azure Region where the Machine Learning Compute Instance should exist. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) MachineLearningWorkspaceId added in v5.5.0

func (o ComputeInstanceOutput) MachineLearningWorkspaceId() pulumi.StringOutput

The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) Name added in v5.5.0

The name which should be used for this Machine Learning Compute Instance. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) Ssh added in v5.5.0

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.

func (ComputeInstanceOutput) SubnetResourceId added in v5.5.0

func (o ComputeInstanceOutput) SubnetResourceId() pulumi.StringPtrOutput

Virtual network subnet resource ID the compute nodes belong to. Changing this forces a new Machine Learning Compute Instance to be created.

func (ComputeInstanceOutput) Tags added in v5.5.0

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.

func (ComputeInstanceOutput) ToComputeInstanceOutput

func (o ComputeInstanceOutput) ToComputeInstanceOutput() ComputeInstanceOutput

func (ComputeInstanceOutput) ToComputeInstanceOutputWithContext

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

func (ComputeInstanceOutput) VirtualMachineSize added in v5.5.0

func (o ComputeInstanceOutput) VirtualMachineSize() pulumi.StringOutput

The Virtual Machine Size. Changing this forces a new Machine Learning Compute Instance to be created.

type ComputeInstanceSsh

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

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

func (ComputeInstanceSshArgs) ElementType() reflect.Type

func (ComputeInstanceSshArgs) ToComputeInstanceSshOutput

func (i ComputeInstanceSshArgs) ToComputeInstanceSshOutput() ComputeInstanceSshOutput

func (ComputeInstanceSshArgs) ToComputeInstanceSshOutputWithContext

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

func (ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutput

func (i ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshArgs) ToComputeInstanceSshPtrOutputWithContext

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

type ComputeInstanceSshInput

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

type ComputeInstanceSshOutput struct{ *pulumi.OutputState }

func (ComputeInstanceSshOutput) ElementType

func (ComputeInstanceSshOutput) ElementType() reflect.Type

func (ComputeInstanceSshOutput) Port

Describes the port for connecting through SSH.

func (ComputeInstanceSshOutput) PublicKey

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

func (o ComputeInstanceSshOutput) ToComputeInstanceSshOutput() ComputeInstanceSshOutput

func (ComputeInstanceSshOutput) ToComputeInstanceSshOutputWithContext

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

func (ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutput

func (o ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshOutput) ToComputeInstanceSshPtrOutputWithContext

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

func (ComputeInstanceSshOutput) Username

The admin username of this Machine Learning Compute Instance.

type ComputeInstanceSshPtrInput

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

type ComputeInstanceSshPtrOutput

type ComputeInstanceSshPtrOutput struct{ *pulumi.OutputState }

func (ComputeInstanceSshPtrOutput) Elem

func (ComputeInstanceSshPtrOutput) ElementType

func (ComputeInstanceSshPtrOutput) Port

Describes the port for connecting through SSH.

func (ComputeInstanceSshPtrOutput) PublicKey

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

func (o ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutput() ComputeInstanceSshPtrOutput

func (ComputeInstanceSshPtrOutput) ToComputeInstanceSshPtrOutputWithContext

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

func (ComputeInstanceSshPtrOutput) Username

The admin username of this Machine Learning Compute Instance.

type ComputeInstanceState

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

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

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

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/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/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
		}
		exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "exampleKubernetesCluster", &containerservice.KubernetesClusterArgs{
			Location:                exampleResourceGroup.Location,
			ResourceGroupName:       exampleResourceGroup.Name,
			DnsPrefixPrivateCluster: pulumi.String("prefix"),
			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

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

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

func (*InferenceCluster) ElementType() reflect.Type

func (*InferenceCluster) ToInferenceClusterOutput

func (i *InferenceCluster) ToInferenceClusterOutput() InferenceClusterOutput

func (*InferenceCluster) ToInferenceClusterOutputWithContext

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

type InferenceClusterArgs

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

func (InferenceClusterArgs) ElementType() reflect.Type

type InferenceClusterArray

type InferenceClusterArray []InferenceClusterInput

func (InferenceClusterArray) ElementType

func (InferenceClusterArray) ElementType() reflect.Type

func (InferenceClusterArray) ToInferenceClusterArrayOutput

func (i InferenceClusterArray) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput

func (InferenceClusterArray) ToInferenceClusterArrayOutputWithContext

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

type InferenceClusterArrayInput

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

type InferenceClusterArrayOutput struct{ *pulumi.OutputState }

func (InferenceClusterArrayOutput) ElementType

func (InferenceClusterArrayOutput) Index

func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutput

func (o InferenceClusterArrayOutput) ToInferenceClusterArrayOutput() InferenceClusterArrayOutput

func (InferenceClusterArrayOutput) ToInferenceClusterArrayOutputWithContext

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

type InferenceClusterIdentity

type InferenceClusterIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Inference Cluster.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Inference Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type InferenceClusterIdentityArgs

type InferenceClusterIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Inference Cluster.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Inference Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (InferenceClusterIdentityArgs) ElementType

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutput

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutput() InferenceClusterIdentityOutput

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityOutputWithContext

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

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutput

func (i InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityArgs) ToInferenceClusterIdentityPtrOutputWithContext

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

type InferenceClusterIdentityInput

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

type InferenceClusterIdentityOutput struct{ *pulumi.OutputState }

func (InferenceClusterIdentityOutput) ElementType

func (InferenceClusterIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Inference Cluster.

func (InferenceClusterIdentityOutput) PrincipalId

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

func (InferenceClusterIdentityOutput) TenantId

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

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutput

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutput() InferenceClusterIdentityOutput

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityOutputWithContext

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

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutput

func (o InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityOutput) ToInferenceClusterIdentityPtrOutputWithContext

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

func (InferenceClusterIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Inference Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type InferenceClusterIdentityPtrInput

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

type InferenceClusterIdentityPtrOutput

type InferenceClusterIdentityPtrOutput struct{ *pulumi.OutputState }

func (InferenceClusterIdentityPtrOutput) Elem

func (InferenceClusterIdentityPtrOutput) ElementType

func (InferenceClusterIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Inference Cluster.

func (InferenceClusterIdentityPtrOutput) PrincipalId

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

func (InferenceClusterIdentityPtrOutput) TenantId

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

func (InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutput

func (o InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutput() InferenceClusterIdentityPtrOutput

func (InferenceClusterIdentityPtrOutput) ToInferenceClusterIdentityPtrOutputWithContext

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

func (InferenceClusterIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Inference Cluster. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type InferenceClusterInput

type InferenceClusterInput interface {
	pulumi.Input

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

type InferenceClusterMap

type InferenceClusterMap map[string]InferenceClusterInput

func (InferenceClusterMap) ElementType

func (InferenceClusterMap) ElementType() reflect.Type

func (InferenceClusterMap) ToInferenceClusterMapOutput

func (i InferenceClusterMap) ToInferenceClusterMapOutput() InferenceClusterMapOutput

func (InferenceClusterMap) ToInferenceClusterMapOutputWithContext

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

type InferenceClusterMapInput

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

type InferenceClusterMapOutput struct{ *pulumi.OutputState }

func (InferenceClusterMapOutput) ElementType

func (InferenceClusterMapOutput) ElementType() reflect.Type

func (InferenceClusterMapOutput) MapIndex

func (InferenceClusterMapOutput) ToInferenceClusterMapOutput

func (o InferenceClusterMapOutput) ToInferenceClusterMapOutput() InferenceClusterMapOutput

func (InferenceClusterMapOutput) ToInferenceClusterMapOutputWithContext

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

type InferenceClusterOutput

type InferenceClusterOutput struct{ *pulumi.OutputState }

func (InferenceClusterOutput) ClusterPurpose added in v5.5.0

func (o InferenceClusterOutput) ClusterPurpose() pulumi.StringPtrOutput

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.

func (InferenceClusterOutput) Description added in v5.5.0

The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) ElementType

func (InferenceClusterOutput) ElementType() reflect.Type

func (InferenceClusterOutput) Identity added in v5.5.0

An `identity` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) KubernetesClusterId added in v5.5.0

func (o InferenceClusterOutput) KubernetesClusterId() pulumi.StringOutput

The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) Location added in v5.5.0

The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) MachineLearningWorkspaceId added in v5.5.0

func (o InferenceClusterOutput) MachineLearningWorkspaceId() pulumi.StringOutput

The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) Name added in v5.5.0

The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) Ssl added in v5.5.0

A `ssl` block as defined below. Changing this forces a new Machine Learning Inference Cluster to be created.

func (InferenceClusterOutput) Tags added in v5.5.0

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.

func (InferenceClusterOutput) ToInferenceClusterOutput

func (o InferenceClusterOutput) ToInferenceClusterOutput() InferenceClusterOutput

func (InferenceClusterOutput) ToInferenceClusterOutputWithContext

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

type InferenceClusterSsl

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

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

func (InferenceClusterSslArgs) ElementType() reflect.Type

func (InferenceClusterSslArgs) ToInferenceClusterSslOutput

func (i InferenceClusterSslArgs) ToInferenceClusterSslOutput() InferenceClusterSslOutput

func (InferenceClusterSslArgs) ToInferenceClusterSslOutputWithContext

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

func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput

func (i InferenceClusterSslArgs) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslArgs) ToInferenceClusterSslPtrOutputWithContext

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

type InferenceClusterSslInput

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

type InferenceClusterSslOutput struct{ *pulumi.OutputState }

func (InferenceClusterSslOutput) Cert

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

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

func (InferenceClusterSslOutput) ElementType() reflect.Type

func (InferenceClusterSslOutput) Key

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

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

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

func (o InferenceClusterSslOutput) ToInferenceClusterSslOutput() InferenceClusterSslOutput

func (InferenceClusterSslOutput) ToInferenceClusterSslOutputWithContext

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

func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput

func (o InferenceClusterSslOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslOutput) ToInferenceClusterSslPtrOutputWithContext

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

type InferenceClusterSslPtrInput

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

type InferenceClusterSslPtrOutput

type InferenceClusterSslPtrOutput struct{ *pulumi.OutputState }

func (InferenceClusterSslPtrOutput) Cert

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

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

func (InferenceClusterSslPtrOutput) ElementType

func (InferenceClusterSslPtrOutput) Key

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

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

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

func (o InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutput() InferenceClusterSslPtrOutput

func (InferenceClusterSslPtrOutput) ToInferenceClusterSslPtrOutputWithContext

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

type InferenceClusterState

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

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

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

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

type LookupWorkspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWorkspace.

func (LookupWorkspaceResultOutput) ElementType

func (LookupWorkspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupWorkspaceResultOutput) Identities

An `identity` block as defined below.

func (LookupWorkspaceResultOutput) Location

The location where the Machine Learning Workspace exists.

func (LookupWorkspaceResultOutput) Name

func (LookupWorkspaceResultOutput) ResourceGroupName

func (o LookupWorkspaceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupWorkspaceResultOutput) Tags

A mapping of tags assigned to the Machine Learning Workspace.

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput

func (o LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutput() LookupWorkspaceResultOutput

func (LookupWorkspaceResultOutput) ToLookupWorkspaceResultOutputWithContext

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

type SynapseSpark

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

)

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

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

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

func (*SynapseSpark) ElementType() reflect.Type

func (*SynapseSpark) ToSynapseSparkOutput

func (i *SynapseSpark) ToSynapseSparkOutput() SynapseSparkOutput

func (*SynapseSpark) ToSynapseSparkOutputWithContext

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

type SynapseSparkArgs

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

func (SynapseSparkArgs) ElementType() reflect.Type

type SynapseSparkArray

type SynapseSparkArray []SynapseSparkInput

func (SynapseSparkArray) ElementType

func (SynapseSparkArray) ElementType() reflect.Type

func (SynapseSparkArray) ToSynapseSparkArrayOutput

func (i SynapseSparkArray) ToSynapseSparkArrayOutput() SynapseSparkArrayOutput

func (SynapseSparkArray) ToSynapseSparkArrayOutputWithContext

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

type SynapseSparkArrayInput

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

type SynapseSparkArrayOutput struct{ *pulumi.OutputState }

func (SynapseSparkArrayOutput) ElementType

func (SynapseSparkArrayOutput) ElementType() reflect.Type

func (SynapseSparkArrayOutput) Index

func (SynapseSparkArrayOutput) ToSynapseSparkArrayOutput

func (o SynapseSparkArrayOutput) ToSynapseSparkArrayOutput() SynapseSparkArrayOutput

func (SynapseSparkArrayOutput) ToSynapseSparkArrayOutputWithContext

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

type SynapseSparkIdentity

type SynapseSparkIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Synapse Spark.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type SynapseSparkIdentityArgs

type SynapseSparkIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Synapse Spark.
	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"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (SynapseSparkIdentityArgs) ElementType

func (SynapseSparkIdentityArgs) ElementType() reflect.Type

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutput

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutput() SynapseSparkIdentityOutput

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityOutputWithContext

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

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutput

func (i SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityArgs) ToSynapseSparkIdentityPtrOutputWithContext

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

type SynapseSparkIdentityInput

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

type SynapseSparkIdentityOutput struct{ *pulumi.OutputState }

func (SynapseSparkIdentityOutput) ElementType

func (SynapseSparkIdentityOutput) ElementType() reflect.Type

func (SynapseSparkIdentityOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Synapse Spark.

func (SynapseSparkIdentityOutput) PrincipalId

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

func (SynapseSparkIdentityOutput) TenantId

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

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutput

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutput() SynapseSparkIdentityOutput

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityOutputWithContext

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

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutput

func (o SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityOutput) ToSynapseSparkIdentityPtrOutputWithContext

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

func (SynapseSparkIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type SynapseSparkIdentityPtrInput

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

type SynapseSparkIdentityPtrOutput

type SynapseSparkIdentityPtrOutput struct{ *pulumi.OutputState }

func (SynapseSparkIdentityPtrOutput) Elem

func (SynapseSparkIdentityPtrOutput) ElementType

func (SynapseSparkIdentityPtrOutput) IdentityIds

Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Synapse Spark.

func (SynapseSparkIdentityPtrOutput) PrincipalId

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

func (SynapseSparkIdentityPtrOutput) TenantId

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

func (SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutput

func (o SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutput() SynapseSparkIdentityPtrOutput

func (SynapseSparkIdentityPtrOutput) ToSynapseSparkIdentityPtrOutputWithContext

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

func (SynapseSparkIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Synapse Spark. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type SynapseSparkInput

type SynapseSparkInput interface {
	pulumi.Input

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

type SynapseSparkMap

type SynapseSparkMap map[string]SynapseSparkInput

func (SynapseSparkMap) ElementType

func (SynapseSparkMap) ElementType() reflect.Type

func (SynapseSparkMap) ToSynapseSparkMapOutput

func (i SynapseSparkMap) ToSynapseSparkMapOutput() SynapseSparkMapOutput

func (SynapseSparkMap) ToSynapseSparkMapOutputWithContext

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

type SynapseSparkMapInput

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

type SynapseSparkMapOutput struct{ *pulumi.OutputState }

func (SynapseSparkMapOutput) ElementType

func (SynapseSparkMapOutput) ElementType() reflect.Type

func (SynapseSparkMapOutput) MapIndex

func (SynapseSparkMapOutput) ToSynapseSparkMapOutput

func (o SynapseSparkMapOutput) ToSynapseSparkMapOutput() SynapseSparkMapOutput

func (SynapseSparkMapOutput) ToSynapseSparkMapOutputWithContext

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

type SynapseSparkOutput

type SynapseSparkOutput struct{ *pulumi.OutputState }

func (SynapseSparkOutput) Description added in v5.5.0

func (o SynapseSparkOutput) Description() pulumi.StringPtrOutput

The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) ElementType

func (SynapseSparkOutput) ElementType() reflect.Type

func (SynapseSparkOutput) Identity added in v5.5.0

An `identity` block as defined below. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) LocalAuthEnabled added in v5.5.0

func (o SynapseSparkOutput) LocalAuthEnabled() pulumi.BoolPtrOutput

Whether local authentication methods is enabled. Defaults to `true`. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) Location added in v5.5.0

func (o SynapseSparkOutput) Location() pulumi.StringOutput

The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) MachineLearningWorkspaceId added in v5.5.0

func (o SynapseSparkOutput) MachineLearningWorkspaceId() pulumi.StringOutput

The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) Name added in v5.5.0

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

func (SynapseSparkOutput) SynapseSparkPoolId added in v5.5.0

func (o SynapseSparkOutput) SynapseSparkPoolId() pulumi.StringOutput

The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.

func (SynapseSparkOutput) Tags added in v5.5.0

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.

func (SynapseSparkOutput) ToSynapseSparkOutput

func (o SynapseSparkOutput) ToSynapseSparkOutput() SynapseSparkOutput

func (SynapseSparkOutput) ToSynapseSparkOutputWithContext

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

type SynapseSparkState

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

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 a VNet.
	//
	// Deprecated: `public_access_behind_virtual_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrOutput `pulumi:"publicAccessBehindVirtualNetworkEnabled"`
	// Enable public access when this Machine Learning Workspace is behind VNet.
	PublicNetworkAccessEnabled pulumi.BoolOutput `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"`
	// Enable V1 API features, enabling `v1LegacyMode` may prevent you from using features provided by the v2 API. Defaults to `false`.
	V1LegacyModeEnabled pulumi.BoolPtrOutput `pulumi:"v1LegacyModeEnabled"`
}

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/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/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/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/v5/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v5/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 a VNet.
	//
	// Deprecated: `public_access_behind_virtual_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrInput
	// 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
	// Enable V1 API features, enabling `v1LegacyMode` may prevent you from using features provided by the v2 API. Defaults to `false`.
	V1LegacyModeEnabled pulumi.BoolPtrInput
}

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

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

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

func (WorkspaceEncryptionArgs) ElementType() reflect.Type

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutput

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutput() WorkspaceEncryptionOutput

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionOutputWithContext

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

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutput

func (i WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionArgs) ToWorkspaceEncryptionPtrOutputWithContext

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

type WorkspaceEncryptionInput

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

type WorkspaceEncryptionOutput struct{ *pulumi.OutputState }

func (WorkspaceEncryptionOutput) ElementType

func (WorkspaceEncryptionOutput) ElementType() reflect.Type

func (WorkspaceEncryptionOutput) KeyId

The Key Vault URI to access the encryption key.

func (WorkspaceEncryptionOutput) KeyVaultId

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

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutput

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutput() WorkspaceEncryptionOutput

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionOutputWithContext

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

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutput

func (o WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionOutput) ToWorkspaceEncryptionPtrOutputWithContext

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

func (WorkspaceEncryptionOutput) UserAssignedIdentityId

func (o WorkspaceEncryptionOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The Key Vault URI to access the encryption key.

type WorkspaceEncryptionPtrInput

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

type WorkspaceEncryptionPtrOutput

type WorkspaceEncryptionPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceEncryptionPtrOutput) Elem

func (WorkspaceEncryptionPtrOutput) ElementType

func (WorkspaceEncryptionPtrOutput) KeyId

The Key Vault URI to access the encryption key.

func (WorkspaceEncryptionPtrOutput) KeyVaultId

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

func (WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutput

func (o WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutput() WorkspaceEncryptionPtrOutput

func (WorkspaceEncryptionPtrOutput) ToWorkspaceEncryptionPtrOutputWithContext

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

func (WorkspaceEncryptionPtrOutput) UserAssignedIdentityId

func (o WorkspaceEncryptionPtrOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The Key Vault URI to access the encryption key.

type WorkspaceIdentity

type WorkspaceIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Workspace.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Workspace. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type WorkspaceIdentityArgs

type WorkspaceIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Workspace.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Machine Learning Workspace. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (WorkspaceIdentityArgs) ElementType

func (WorkspaceIdentityArgs) ElementType() reflect.Type

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityOutputWithContext

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

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput

func (i WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityArgs) ToWorkspaceIdentityPtrOutputWithContext

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

type WorkspaceIdentityInput

type WorkspaceIdentityInput interface {
	pulumi.Input

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

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

WorkspaceIdentityArgs{...}

type WorkspaceIdentityOutput

type WorkspaceIdentityOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityOutput) ElementType

func (WorkspaceIdentityOutput) ElementType() reflect.Type

func (WorkspaceIdentityOutput) IdentityIds

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

func (WorkspaceIdentityOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (WorkspaceIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutput

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityOutput() WorkspaceIdentityOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityOutputWithContext

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

func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput

func (o WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityOutput) ToWorkspaceIdentityPtrOutputWithContext

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

func (WorkspaceIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Workspace. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type WorkspaceIdentityPtrInput

type WorkspaceIdentityPtrInput interface {
	pulumi.Input

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

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

        WorkspaceIdentityArgs{...}

or:

        nil

type WorkspaceIdentityPtrOutput

type WorkspaceIdentityPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceIdentityPtrOutput) Elem

func (WorkspaceIdentityPtrOutput) ElementType

func (WorkspaceIdentityPtrOutput) ElementType() reflect.Type

func (WorkspaceIdentityPtrOutput) IdentityIds

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

func (WorkspaceIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (WorkspaceIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput

func (o WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutput() WorkspaceIdentityPtrOutput

func (WorkspaceIdentityPtrOutput) ToWorkspaceIdentityPtrOutputWithContext

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

func (WorkspaceIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Machine Learning Workspace. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

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) ApplicationInsightsId added in v5.5.0

func (o WorkspaceOutput) ApplicationInsightsId() pulumi.StringOutput

The ID of the Application Insights associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) ContainerRegistryId added in v5.5.0

func (o WorkspaceOutput) ContainerRegistryId() pulumi.StringPtrOutput

The ID of the container registry associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) Description added in v5.5.0

func (o WorkspaceOutput) Description() pulumi.StringPtrOutput

The description of this Machine Learning Workspace.

func (WorkspaceOutput) DiscoveryUrl added in v5.5.0

func (o WorkspaceOutput) DiscoveryUrl() pulumi.StringOutput

The url for the discovery service to identify regional endpoints for machine learning experimentation services.

func (WorkspaceOutput) ElementType

func (WorkspaceOutput) ElementType() reflect.Type

func (WorkspaceOutput) Encryption added in v5.5.0

func (WorkspaceOutput) FriendlyName added in v5.5.0

func (o WorkspaceOutput) FriendlyName() pulumi.StringPtrOutput

Display name for this Machine Learning Workspace.

func (WorkspaceOutput) HighBusinessImpact added in v5.5.0

func (o WorkspaceOutput) HighBusinessImpact() pulumi.BoolPtrOutput

Flag to signal High Business Impact (HBI) data in the workspace and reduce diagnostic data collected by the service

func (WorkspaceOutput) Identity added in v5.5.0

An `identity` block as defined below.

func (WorkspaceOutput) ImageBuildComputeName added in v5.5.0

func (o WorkspaceOutput) ImageBuildComputeName() pulumi.StringPtrOutput

The compute name for image build of the Machine Learning Workspace.

func (WorkspaceOutput) KeyVaultId added in v5.5.0

func (o WorkspaceOutput) KeyVaultId() pulumi.StringOutput

The ID of key vault associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) Location added in v5.5.0

func (o WorkspaceOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

func (WorkspaceOutput) Name added in v5.5.0

Specifies the name of the Machine Learning Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) PrimaryUserAssignedIdentity added in v5.5.0

func (o WorkspaceOutput) PrimaryUserAssignedIdentity() pulumi.StringPtrOutput

The user assigned identity id that represents the workspace identity.

func (WorkspaceOutput) PublicAccessBehindVirtualNetworkEnabled deprecated added in v5.5.0

func (o WorkspaceOutput) PublicAccessBehindVirtualNetworkEnabled() pulumi.BoolPtrOutput

Enable public access when this Machine Learning Workspace is behind a VNet.

Deprecated: `public_access_behind_virtual_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.

func (WorkspaceOutput) PublicNetworkAccessEnabled added in v5.5.0

func (o WorkspaceOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput

Enable public access when this Machine Learning Workspace is behind VNet.

func (WorkspaceOutput) ResourceGroupName added in v5.5.0

func (o WorkspaceOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group in which the Machine Learning Workspace should exist. Changing this forces a new resource to be created.

func (WorkspaceOutput) SkuName added in v5.5.0

SKU/edition of the Machine Learning Workspace, possible values are `Basic`. Defaults to `Basic`.

func (WorkspaceOutput) StorageAccountId added in v5.5.0

func (o WorkspaceOutput) StorageAccountId() pulumi.StringOutput

The ID of the Storage Account associated with this Machine Learning Workspace. Changing this forces a new resource to be created.

func (WorkspaceOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (WorkspaceOutput) ToWorkspaceOutput

func (o WorkspaceOutput) ToWorkspaceOutput() WorkspaceOutput

func (WorkspaceOutput) ToWorkspaceOutputWithContext

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

func (WorkspaceOutput) V1LegacyModeEnabled added in v5.21.0

func (o WorkspaceOutput) V1LegacyModeEnabled() pulumi.BoolPtrOutput

Enable V1 API features, enabling `v1LegacyMode` may prevent you from using features provided by the v2 API. Defaults to `false`.

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 a VNet.
	//
	// Deprecated: `public_access_behind_virtual_network_enabled` will be removed in favour of the property `public_network_access_enabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrInput
	// 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
	// Enable V1 API features, enabling `v1LegacyMode` may prevent you from using features provided by the v2 API. Defaults to `false`.
	V1LegacyModeEnabled pulumi.BoolPtrInput
}

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