machinelearning

package
v5.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 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"`
	// Whether the compute cluster will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrOutput `pulumi:"nodePublicIpEnabled"`
	// 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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-kv"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-mlw"),
			Location:              example.Location,
			ResourceGroupName:     example.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, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.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{
			Name:                       pulumi.String("example"),
			Location:                   example.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
	// Whether the compute cluster will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrInput
	// 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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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) NodePublicIpEnabled added in v5.44.0

func (o ComputeClusterOutput) NodePublicIpEnabled() pulumi.BoolPtrOutput

Whether the compute cluster will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. 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.
	//
	// > **NOTE:** At least one of `adminPassword` and `keyValue` shoud be specified.
	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.
	//
	// > **NOTE:** At least one of `adminPassword` and `keyValue` shoud be specified.
	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.

> **NOTE:** At least one of `adminPassword` and `keyValue` shoud be specified.

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.

> **NOTE:** At least one of `adminPassword` and `keyValue` shoud be specified.

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
	// Whether the compute cluster will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrInput
	// 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.
	//
	// > **Note:** The `location` field is not supported for Machine Learning Compute Instances and has no effect so as such will be removed in v4.0 of the AzureRM provider. For more information, please see the product [documentation](https://learn.microsoft.com/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python).
	//
	// Deprecated: The `machinelearning.ComputeInstance` must be deployed to the same location as the associated `machinelearning.Workspace` resource, as the `location` fields must be the same the `location` field no longer has any effect and will be removed in version 4.0 of the AzureRM Provider
	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"`
	// Whether the compute instance will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrOutput `pulumi:"nodePublicIpEnabled"`
	// 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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-kv"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-mlw"),
			Location:              example.Location,
			ResourceGroupName:     example.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, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.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, "example", &machinelearning.ComputeInstanceArgs{
			Name:                       pulumi.String("example"),
			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.
	//
	// > **Note:** The `location` field is not supported for Machine Learning Compute Instances and has no effect so as such will be removed in v4.0 of the AzureRM provider. For more information, please see the product [documentation](https://learn.microsoft.com/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python).
	//
	// Deprecated: The `machinelearning.ComputeInstance` must be deployed to the same location as the associated `machinelearning.Workspace` resource, as the `location` fields must be the same the `location` field no longer has any effect and will be removed in version 4.0 of the AzureRM Provider
	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
	// Whether the compute instance will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrInput
	// 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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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"`
	// The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Instance.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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

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

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

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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

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

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

The Azure Region where the Machine Learning Compute Instance should exist.

> **Note:** The `location` field is not supported for Machine Learning Compute Instances and has no effect so as such will be removed in v4.0 of the AzureRM provider. For more information, please see the product [documentation](https://learn.microsoft.com/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python).

Deprecated: The `machinelearning.ComputeInstance` must be deployed to the same location as the associated `machinelearning.Workspace` resource, as the `location` fields must be the same the `location` field no longer has any effect and will be removed in version 4.0 of the AzureRM Provider

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) NodePublicIpEnabled added in v5.44.0

func (o ComputeInstanceOutput) NodePublicIpEnabled() pulumi.BoolPtrOutput

Whether the compute instance will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster 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.
	//
	// > **Note:** The `location` field is not supported for Machine Learning Compute Instances and has no effect so as such will be removed in v4.0 of the AzureRM provider. For more information, please see the product [documentation](https://learn.microsoft.com/azure/machine-learning/how-to-create-attach-compute-cluster?view=azureml-api-2&tabs=python).
	//
	// Deprecated: The `machinelearning.ComputeInstance` must be deployed to the same location as the associated `machinelearning.Workspace` resource, as the `location` fields must be the same the `location` field no longer has any effect and will be removed in version 4.0 of the AzureRM Provider
	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
	// Whether the compute instance will have a public ip. To set this to false a `subnetResourceId` needs to be set. Defaults to `true`. Changing this forces a new Machine Learning Compute Cluster to be created.
	NodePublicIpEnabled pulumi.BoolPtrInput
	// 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 DatastoreBlobstorage added in v5.32.0

type DatastoreBlobstorage struct {
	pulumi.CustomResourceState

	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrOutput `pulumi:"accountKey"`
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
	//
	// > **Note:** `isDefault` can only be set to `true` on update.
	IsDefault pulumi.BoolPtrOutput `pulumi:"isDefault"`
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataAuthIdentity pulumi.StringPtrOutput `pulumi:"serviceDataAuthIdentity"`
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	//
	// > **Note:**  One of `accountKey` or `sharedAccessSignature` must be specified.
	SharedAccessSignature pulumi.StringPtrOutput `pulumi:"sharedAccessSignature"`
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringOutput `pulumi:"storageContainerId"`
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

Manages a Machine Learning Blob Storage DataStore.

## Example Usage

### With Azure Blob

```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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("workspace-example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:              pulumi.String("workspaceexamplekeyvault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			TenantId:          pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("workspacestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-workspace"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example-container"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewDatastoreBlobstorage(ctx, "example", &machinelearning.DatastoreBlobstorageArgs{
			Name:               pulumi.String("example-datastore"),
			WorkspaceId:        exampleWorkspace.ID(),
			StorageContainerId: exampleContainer.ResourceManagerId,
			AccountKey:         exampleAccount.PrimaryAccessKey,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:machinelearning/datastoreBlobstorage:DatastoreBlobstorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1 ```

func GetDatastoreBlobstorage added in v5.32.0

func GetDatastoreBlobstorage(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatastoreBlobstorageState, opts ...pulumi.ResourceOption) (*DatastoreBlobstorage, error)

GetDatastoreBlobstorage gets an existing DatastoreBlobstorage 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 NewDatastoreBlobstorage added in v5.32.0

func NewDatastoreBlobstorage(ctx *pulumi.Context,
	name string, args *DatastoreBlobstorageArgs, opts ...pulumi.ResourceOption) (*DatastoreBlobstorage, error)

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

func (*DatastoreBlobstorage) ElementType added in v5.32.0

func (*DatastoreBlobstorage) ElementType() reflect.Type

func (*DatastoreBlobstorage) ToDatastoreBlobstorageOutput added in v5.32.0

func (i *DatastoreBlobstorage) ToDatastoreBlobstorageOutput() DatastoreBlobstorageOutput

func (*DatastoreBlobstorage) ToDatastoreBlobstorageOutputWithContext added in v5.32.0

func (i *DatastoreBlobstorage) ToDatastoreBlobstorageOutputWithContext(ctx context.Context) DatastoreBlobstorageOutput

type DatastoreBlobstorageArgs added in v5.32.0

type DatastoreBlobstorageArgs struct {
	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
	//
	// > **Note:** `isDefault` can only be set to `true` on update.
	IsDefault pulumi.BoolPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataAuthIdentity pulumi.StringPtrInput
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	//
	// > **Note:**  One of `accountKey` or `sharedAccessSignature` must be specified.
	SharedAccessSignature pulumi.StringPtrInput
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringInput
}

The set of arguments for constructing a DatastoreBlobstorage resource.

func (DatastoreBlobstorageArgs) ElementType added in v5.32.0

func (DatastoreBlobstorageArgs) ElementType() reflect.Type

type DatastoreBlobstorageArray added in v5.32.0

type DatastoreBlobstorageArray []DatastoreBlobstorageInput

func (DatastoreBlobstorageArray) ElementType added in v5.32.0

func (DatastoreBlobstorageArray) ElementType() reflect.Type

func (DatastoreBlobstorageArray) ToDatastoreBlobstorageArrayOutput added in v5.32.0

func (i DatastoreBlobstorageArray) ToDatastoreBlobstorageArrayOutput() DatastoreBlobstorageArrayOutput

func (DatastoreBlobstorageArray) ToDatastoreBlobstorageArrayOutputWithContext added in v5.32.0

func (i DatastoreBlobstorageArray) ToDatastoreBlobstorageArrayOutputWithContext(ctx context.Context) DatastoreBlobstorageArrayOutput

type DatastoreBlobstorageArrayInput added in v5.32.0

type DatastoreBlobstorageArrayInput interface {
	pulumi.Input

	ToDatastoreBlobstorageArrayOutput() DatastoreBlobstorageArrayOutput
	ToDatastoreBlobstorageArrayOutputWithContext(context.Context) DatastoreBlobstorageArrayOutput
}

DatastoreBlobstorageArrayInput is an input type that accepts DatastoreBlobstorageArray and DatastoreBlobstorageArrayOutput values. You can construct a concrete instance of `DatastoreBlobstorageArrayInput` via:

DatastoreBlobstorageArray{ DatastoreBlobstorageArgs{...} }

type DatastoreBlobstorageArrayOutput added in v5.32.0

type DatastoreBlobstorageArrayOutput struct{ *pulumi.OutputState }

func (DatastoreBlobstorageArrayOutput) ElementType added in v5.32.0

func (DatastoreBlobstorageArrayOutput) Index added in v5.32.0

func (DatastoreBlobstorageArrayOutput) ToDatastoreBlobstorageArrayOutput added in v5.32.0

func (o DatastoreBlobstorageArrayOutput) ToDatastoreBlobstorageArrayOutput() DatastoreBlobstorageArrayOutput

func (DatastoreBlobstorageArrayOutput) ToDatastoreBlobstorageArrayOutputWithContext added in v5.32.0

func (o DatastoreBlobstorageArrayOutput) ToDatastoreBlobstorageArrayOutputWithContext(ctx context.Context) DatastoreBlobstorageArrayOutput

type DatastoreBlobstorageInput added in v5.32.0

type DatastoreBlobstorageInput interface {
	pulumi.Input

	ToDatastoreBlobstorageOutput() DatastoreBlobstorageOutput
	ToDatastoreBlobstorageOutputWithContext(ctx context.Context) DatastoreBlobstorageOutput
}

type DatastoreBlobstorageMap added in v5.32.0

type DatastoreBlobstorageMap map[string]DatastoreBlobstorageInput

func (DatastoreBlobstorageMap) ElementType added in v5.32.0

func (DatastoreBlobstorageMap) ElementType() reflect.Type

func (DatastoreBlobstorageMap) ToDatastoreBlobstorageMapOutput added in v5.32.0

func (i DatastoreBlobstorageMap) ToDatastoreBlobstorageMapOutput() DatastoreBlobstorageMapOutput

func (DatastoreBlobstorageMap) ToDatastoreBlobstorageMapOutputWithContext added in v5.32.0

func (i DatastoreBlobstorageMap) ToDatastoreBlobstorageMapOutputWithContext(ctx context.Context) DatastoreBlobstorageMapOutput

type DatastoreBlobstorageMapInput added in v5.32.0

type DatastoreBlobstorageMapInput interface {
	pulumi.Input

	ToDatastoreBlobstorageMapOutput() DatastoreBlobstorageMapOutput
	ToDatastoreBlobstorageMapOutputWithContext(context.Context) DatastoreBlobstorageMapOutput
}

DatastoreBlobstorageMapInput is an input type that accepts DatastoreBlobstorageMap and DatastoreBlobstorageMapOutput values. You can construct a concrete instance of `DatastoreBlobstorageMapInput` via:

DatastoreBlobstorageMap{ "key": DatastoreBlobstorageArgs{...} }

type DatastoreBlobstorageMapOutput added in v5.32.0

type DatastoreBlobstorageMapOutput struct{ *pulumi.OutputState }

func (DatastoreBlobstorageMapOutput) ElementType added in v5.32.0

func (DatastoreBlobstorageMapOutput) MapIndex added in v5.32.0

func (DatastoreBlobstorageMapOutput) ToDatastoreBlobstorageMapOutput added in v5.32.0

func (o DatastoreBlobstorageMapOutput) ToDatastoreBlobstorageMapOutput() DatastoreBlobstorageMapOutput

func (DatastoreBlobstorageMapOutput) ToDatastoreBlobstorageMapOutputWithContext added in v5.32.0

func (o DatastoreBlobstorageMapOutput) ToDatastoreBlobstorageMapOutputWithContext(ctx context.Context) DatastoreBlobstorageMapOutput

type DatastoreBlobstorageOutput added in v5.32.0

type DatastoreBlobstorageOutput struct{ *pulumi.OutputState }

func (DatastoreBlobstorageOutput) AccountKey added in v5.32.0

The access key of the Storage Account. Conflicts with `sharedAccessSignature`.

func (DatastoreBlobstorageOutput) Description added in v5.32.0

Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreBlobstorageOutput) ElementType added in v5.32.0

func (DatastoreBlobstorageOutput) ElementType() reflect.Type

func (DatastoreBlobstorageOutput) IsDefault added in v5.32.0

Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.

> **Note:** `isDefault` can only be set to `true` on update.

func (DatastoreBlobstorageOutput) Name added in v5.32.0

The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreBlobstorageOutput) ServiceDataAuthIdentity added in v5.32.0

func (o DatastoreBlobstorageOutput) ServiceDataAuthIdentity() pulumi.StringPtrOutput

Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.

func (DatastoreBlobstorageOutput) SharedAccessSignature added in v5.32.0

func (o DatastoreBlobstorageOutput) SharedAccessSignature() pulumi.StringPtrOutput

The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.

> **Note:** One of `accountKey` or `sharedAccessSignature` must be specified.

func (DatastoreBlobstorageOutput) StorageContainerId added in v5.32.0

func (o DatastoreBlobstorageOutput) StorageContainerId() pulumi.StringOutput

The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreBlobstorageOutput) Tags added in v5.32.0

A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreBlobstorageOutput) ToDatastoreBlobstorageOutput added in v5.32.0

func (o DatastoreBlobstorageOutput) ToDatastoreBlobstorageOutput() DatastoreBlobstorageOutput

func (DatastoreBlobstorageOutput) ToDatastoreBlobstorageOutputWithContext added in v5.32.0

func (o DatastoreBlobstorageOutput) ToDatastoreBlobstorageOutputWithContext(ctx context.Context) DatastoreBlobstorageOutput

func (DatastoreBlobstorageOutput) WorkspaceId added in v5.32.0

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

type DatastoreBlobstorageState added in v5.32.0

type DatastoreBlobstorageState struct {
	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// Specifies whether this Machines Learning DataStore is the default for the Workspace. Defaults to `false`.
	//
	// > **Note:** `isDefault` can only be set to `true` on update.
	IsDefault pulumi.BoolPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataAuthIdentity pulumi.StringPtrInput
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	//
	// > **Note:**  One of `accountKey` or `sharedAccessSignature` must be specified.
	SharedAccessSignature pulumi.StringPtrInput
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringPtrInput
}

func (DatastoreBlobstorageState) ElementType added in v5.32.0

func (DatastoreBlobstorageState) ElementType() reflect.Type

type DatastoreDatalakeGen2 added in v5.35.0

type DatastoreDatalakeGen2 struct {
	pulumi.CustomResourceState

	// An URL used for authentication.
	AuthorityUrl pulumi.StringOutput `pulumi:"authorityUrl"`
	// The object ID of the Service Principal.
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// The secret of the Service Principal.
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Indicates whether this Machines Learning DataStore is the default for the Workspace.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrOutput `pulumi:"serviceDataIdentity"`
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringOutput `pulumi:"storageContainerId"`
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Tenant which the Service Principal belongs to.
	TenantId pulumi.StringPtrOutput `pulumi:"tenantId"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

Manages a Machine Learning Data Lake Gen2 DataStore.

## 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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("workspace-example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:              pulumi.String("workspaceexamplekeyvault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			TenantId:          pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("workspacestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-workspace"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			ApplicationInsightsId: exampleInsights.ID(),
			KeyVaultId:            exampleKeyVault.ID(),
			StorageAccountId:      exampleAccount.ID(),
			Identity: &machinelearning.WorkspaceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "example", &storage.ContainerArgs{
			Name:                pulumi.String("example-container"),
			StorageAccountName:  exampleAccount.Name,
			ContainerAccessType: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewDatastoreDatalakeGen2(ctx, "example", &machinelearning.DatastoreDatalakeGen2Args{
			Name:               pulumi.String("example-datastore"),
			WorkspaceId:        exampleWorkspace.ID(),
			StorageContainerId: exampleContainer.ResourceManagerId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh $ pulumi import azure:machinelearning/datastoreDatalakeGen2:DatastoreDatalakeGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1 ```

func GetDatastoreDatalakeGen2 added in v5.35.0

func GetDatastoreDatalakeGen2(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatastoreDatalakeGen2State, opts ...pulumi.ResourceOption) (*DatastoreDatalakeGen2, error)

GetDatastoreDatalakeGen2 gets an existing DatastoreDatalakeGen2 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 NewDatastoreDatalakeGen2 added in v5.35.0

func NewDatastoreDatalakeGen2(ctx *pulumi.Context,
	name string, args *DatastoreDatalakeGen2Args, opts ...pulumi.ResourceOption) (*DatastoreDatalakeGen2, error)

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

func (*DatastoreDatalakeGen2) ElementType added in v5.35.0

func (*DatastoreDatalakeGen2) ElementType() reflect.Type

func (*DatastoreDatalakeGen2) ToDatastoreDatalakeGen2Output added in v5.35.0

func (i *DatastoreDatalakeGen2) ToDatastoreDatalakeGen2Output() DatastoreDatalakeGen2Output

func (*DatastoreDatalakeGen2) ToDatastoreDatalakeGen2OutputWithContext added in v5.35.0

func (i *DatastoreDatalakeGen2) ToDatastoreDatalakeGen2OutputWithContext(ctx context.Context) DatastoreDatalakeGen2Output

type DatastoreDatalakeGen2Args added in v5.35.0

type DatastoreDatalakeGen2Args struct {
	// An URL used for authentication.
	AuthorityUrl pulumi.StringPtrInput
	// The object ID of the Service Principal.
	ClientId pulumi.StringPtrInput
	// The secret of the Service Principal.
	ClientSecret pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrInput
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Tenant which the Service Principal belongs to.
	TenantId pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringInput
}

The set of arguments for constructing a DatastoreDatalakeGen2 resource.

func (DatastoreDatalakeGen2Args) ElementType added in v5.35.0

func (DatastoreDatalakeGen2Args) ElementType() reflect.Type

type DatastoreDatalakeGen2Array added in v5.35.0

type DatastoreDatalakeGen2Array []DatastoreDatalakeGen2Input

func (DatastoreDatalakeGen2Array) ElementType added in v5.35.0

func (DatastoreDatalakeGen2Array) ElementType() reflect.Type

func (DatastoreDatalakeGen2Array) ToDatastoreDatalakeGen2ArrayOutput added in v5.35.0

func (i DatastoreDatalakeGen2Array) ToDatastoreDatalakeGen2ArrayOutput() DatastoreDatalakeGen2ArrayOutput

func (DatastoreDatalakeGen2Array) ToDatastoreDatalakeGen2ArrayOutputWithContext added in v5.35.0

func (i DatastoreDatalakeGen2Array) ToDatastoreDatalakeGen2ArrayOutputWithContext(ctx context.Context) DatastoreDatalakeGen2ArrayOutput

type DatastoreDatalakeGen2ArrayInput added in v5.35.0

type DatastoreDatalakeGen2ArrayInput interface {
	pulumi.Input

	ToDatastoreDatalakeGen2ArrayOutput() DatastoreDatalakeGen2ArrayOutput
	ToDatastoreDatalakeGen2ArrayOutputWithContext(context.Context) DatastoreDatalakeGen2ArrayOutput
}

DatastoreDatalakeGen2ArrayInput is an input type that accepts DatastoreDatalakeGen2Array and DatastoreDatalakeGen2ArrayOutput values. You can construct a concrete instance of `DatastoreDatalakeGen2ArrayInput` via:

DatastoreDatalakeGen2Array{ DatastoreDatalakeGen2Args{...} }

type DatastoreDatalakeGen2ArrayOutput added in v5.35.0

type DatastoreDatalakeGen2ArrayOutput struct{ *pulumi.OutputState }

func (DatastoreDatalakeGen2ArrayOutput) ElementType added in v5.35.0

func (DatastoreDatalakeGen2ArrayOutput) Index added in v5.35.0

func (DatastoreDatalakeGen2ArrayOutput) ToDatastoreDatalakeGen2ArrayOutput added in v5.35.0

func (o DatastoreDatalakeGen2ArrayOutput) ToDatastoreDatalakeGen2ArrayOutput() DatastoreDatalakeGen2ArrayOutput

func (DatastoreDatalakeGen2ArrayOutput) ToDatastoreDatalakeGen2ArrayOutputWithContext added in v5.35.0

func (o DatastoreDatalakeGen2ArrayOutput) ToDatastoreDatalakeGen2ArrayOutputWithContext(ctx context.Context) DatastoreDatalakeGen2ArrayOutput

type DatastoreDatalakeGen2Input added in v5.35.0

type DatastoreDatalakeGen2Input interface {
	pulumi.Input

	ToDatastoreDatalakeGen2Output() DatastoreDatalakeGen2Output
	ToDatastoreDatalakeGen2OutputWithContext(ctx context.Context) DatastoreDatalakeGen2Output
}

type DatastoreDatalakeGen2Map added in v5.35.0

type DatastoreDatalakeGen2Map map[string]DatastoreDatalakeGen2Input

func (DatastoreDatalakeGen2Map) ElementType added in v5.35.0

func (DatastoreDatalakeGen2Map) ElementType() reflect.Type

func (DatastoreDatalakeGen2Map) ToDatastoreDatalakeGen2MapOutput added in v5.35.0

func (i DatastoreDatalakeGen2Map) ToDatastoreDatalakeGen2MapOutput() DatastoreDatalakeGen2MapOutput

func (DatastoreDatalakeGen2Map) ToDatastoreDatalakeGen2MapOutputWithContext added in v5.35.0

func (i DatastoreDatalakeGen2Map) ToDatastoreDatalakeGen2MapOutputWithContext(ctx context.Context) DatastoreDatalakeGen2MapOutput

type DatastoreDatalakeGen2MapInput added in v5.35.0

type DatastoreDatalakeGen2MapInput interface {
	pulumi.Input

	ToDatastoreDatalakeGen2MapOutput() DatastoreDatalakeGen2MapOutput
	ToDatastoreDatalakeGen2MapOutputWithContext(context.Context) DatastoreDatalakeGen2MapOutput
}

DatastoreDatalakeGen2MapInput is an input type that accepts DatastoreDatalakeGen2Map and DatastoreDatalakeGen2MapOutput values. You can construct a concrete instance of `DatastoreDatalakeGen2MapInput` via:

DatastoreDatalakeGen2Map{ "key": DatastoreDatalakeGen2Args{...} }

type DatastoreDatalakeGen2MapOutput added in v5.35.0

type DatastoreDatalakeGen2MapOutput struct{ *pulumi.OutputState }

func (DatastoreDatalakeGen2MapOutput) ElementType added in v5.35.0

func (DatastoreDatalakeGen2MapOutput) MapIndex added in v5.35.0

func (DatastoreDatalakeGen2MapOutput) ToDatastoreDatalakeGen2MapOutput added in v5.35.0

func (o DatastoreDatalakeGen2MapOutput) ToDatastoreDatalakeGen2MapOutput() DatastoreDatalakeGen2MapOutput

func (DatastoreDatalakeGen2MapOutput) ToDatastoreDatalakeGen2MapOutputWithContext added in v5.35.0

func (o DatastoreDatalakeGen2MapOutput) ToDatastoreDatalakeGen2MapOutputWithContext(ctx context.Context) DatastoreDatalakeGen2MapOutput

type DatastoreDatalakeGen2Output added in v5.35.0

type DatastoreDatalakeGen2Output struct{ *pulumi.OutputState }

func (DatastoreDatalakeGen2Output) AuthorityUrl added in v5.35.0

An URL used for authentication.

func (DatastoreDatalakeGen2Output) ClientId added in v5.35.0

The object ID of the Service Principal.

func (DatastoreDatalakeGen2Output) ClientSecret added in v5.35.0

The secret of the Service Principal.

func (DatastoreDatalakeGen2Output) Description added in v5.35.0

Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreDatalakeGen2Output) ElementType added in v5.35.0

func (DatastoreDatalakeGen2Output) IsDefault added in v5.35.0

Indicates whether this Machines Learning DataStore is the default for the Workspace.

func (DatastoreDatalakeGen2Output) Name added in v5.35.0

The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreDatalakeGen2Output) ServiceDataIdentity added in v5.35.0

func (o DatastoreDatalakeGen2Output) ServiceDataIdentity() pulumi.StringPtrOutput

Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.

func (DatastoreDatalakeGen2Output) StorageContainerId added in v5.35.0

func (o DatastoreDatalakeGen2Output) StorageContainerId() pulumi.StringOutput

The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreDatalakeGen2Output) Tags added in v5.35.0

A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreDatalakeGen2Output) TenantId added in v5.35.0

The ID of the Tenant which the Service Principal belongs to.

func (DatastoreDatalakeGen2Output) ToDatastoreDatalakeGen2Output added in v5.35.0

func (o DatastoreDatalakeGen2Output) ToDatastoreDatalakeGen2Output() DatastoreDatalakeGen2Output

func (DatastoreDatalakeGen2Output) ToDatastoreDatalakeGen2OutputWithContext added in v5.35.0

func (o DatastoreDatalakeGen2Output) ToDatastoreDatalakeGen2OutputWithContext(ctx context.Context) DatastoreDatalakeGen2Output

func (DatastoreDatalakeGen2Output) WorkspaceId added in v5.35.0

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

type DatastoreDatalakeGen2State added in v5.35.0

type DatastoreDatalakeGen2State struct {
	// An URL used for authentication.
	AuthorityUrl pulumi.StringPtrInput
	// The object ID of the Service Principal.
	ClientId pulumi.StringPtrInput
	// The secret of the Service Principal.
	ClientSecret pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// Indicates whether this Machines Learning DataStore is the default for the Workspace.
	IsDefault pulumi.BoolPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrInput
	// The ID of the Storage Account Container. Changing this forces a new Machine Learning DataStore to be created.
	StorageContainerId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Tenant which the Service Principal belongs to.
	TenantId pulumi.StringPtrInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringPtrInput
}

func (DatastoreDatalakeGen2State) ElementType added in v5.35.0

func (DatastoreDatalakeGen2State) ElementType() reflect.Type

type DatastoreFileshare added in v5.35.0

type DatastoreFileshare struct {
	pulumi.CustomResourceState

	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrOutput `pulumi:"accountKey"`
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Indicate whether this Machines Learning DataStore is the default for the Workspace.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrOutput `pulumi:"serviceDataIdentity"`
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	SharedAccessSignature pulumi.StringPtrOutput `pulumi:"sharedAccessSignature"`
	// The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.
	StorageFileshareId pulumi.StringOutput `pulumi:"storageFileshareId"`
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

Manages a Machine Learning File Share DataStore.

## Example Usage

## Import

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

```sh $ pulumi import azure:machinelearning/datastoreFileshare:DatastoreFileshare example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/mlw1/dataStores/datastore1 ```

func GetDatastoreFileshare added in v5.35.0

func GetDatastoreFileshare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatastoreFileshareState, opts ...pulumi.ResourceOption) (*DatastoreFileshare, error)

GetDatastoreFileshare gets an existing DatastoreFileshare 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 NewDatastoreFileshare added in v5.35.0

func NewDatastoreFileshare(ctx *pulumi.Context,
	name string, args *DatastoreFileshareArgs, opts ...pulumi.ResourceOption) (*DatastoreFileshare, error)

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

func (*DatastoreFileshare) ElementType added in v5.35.0

func (*DatastoreFileshare) ElementType() reflect.Type

func (*DatastoreFileshare) ToDatastoreFileshareOutput added in v5.35.0

func (i *DatastoreFileshare) ToDatastoreFileshareOutput() DatastoreFileshareOutput

func (*DatastoreFileshare) ToDatastoreFileshareOutputWithContext added in v5.35.0

func (i *DatastoreFileshare) ToDatastoreFileshareOutputWithContext(ctx context.Context) DatastoreFileshareOutput

type DatastoreFileshareArgs added in v5.35.0

type DatastoreFileshareArgs struct {
	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrInput
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	SharedAccessSignature pulumi.StringPtrInput
	// The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.
	StorageFileshareId pulumi.StringInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringInput
}

The set of arguments for constructing a DatastoreFileshare resource.

func (DatastoreFileshareArgs) ElementType added in v5.35.0

func (DatastoreFileshareArgs) ElementType() reflect.Type

type DatastoreFileshareArray added in v5.35.0

type DatastoreFileshareArray []DatastoreFileshareInput

func (DatastoreFileshareArray) ElementType added in v5.35.0

func (DatastoreFileshareArray) ElementType() reflect.Type

func (DatastoreFileshareArray) ToDatastoreFileshareArrayOutput added in v5.35.0

func (i DatastoreFileshareArray) ToDatastoreFileshareArrayOutput() DatastoreFileshareArrayOutput

func (DatastoreFileshareArray) ToDatastoreFileshareArrayOutputWithContext added in v5.35.0

func (i DatastoreFileshareArray) ToDatastoreFileshareArrayOutputWithContext(ctx context.Context) DatastoreFileshareArrayOutput

type DatastoreFileshareArrayInput added in v5.35.0

type DatastoreFileshareArrayInput interface {
	pulumi.Input

	ToDatastoreFileshareArrayOutput() DatastoreFileshareArrayOutput
	ToDatastoreFileshareArrayOutputWithContext(context.Context) DatastoreFileshareArrayOutput
}

DatastoreFileshareArrayInput is an input type that accepts DatastoreFileshareArray and DatastoreFileshareArrayOutput values. You can construct a concrete instance of `DatastoreFileshareArrayInput` via:

DatastoreFileshareArray{ DatastoreFileshareArgs{...} }

type DatastoreFileshareArrayOutput added in v5.35.0

type DatastoreFileshareArrayOutput struct{ *pulumi.OutputState }

func (DatastoreFileshareArrayOutput) ElementType added in v5.35.0

func (DatastoreFileshareArrayOutput) Index added in v5.35.0

func (DatastoreFileshareArrayOutput) ToDatastoreFileshareArrayOutput added in v5.35.0

func (o DatastoreFileshareArrayOutput) ToDatastoreFileshareArrayOutput() DatastoreFileshareArrayOutput

func (DatastoreFileshareArrayOutput) ToDatastoreFileshareArrayOutputWithContext added in v5.35.0

func (o DatastoreFileshareArrayOutput) ToDatastoreFileshareArrayOutputWithContext(ctx context.Context) DatastoreFileshareArrayOutput

type DatastoreFileshareInput added in v5.35.0

type DatastoreFileshareInput interface {
	pulumi.Input

	ToDatastoreFileshareOutput() DatastoreFileshareOutput
	ToDatastoreFileshareOutputWithContext(ctx context.Context) DatastoreFileshareOutput
}

type DatastoreFileshareMap added in v5.35.0

type DatastoreFileshareMap map[string]DatastoreFileshareInput

func (DatastoreFileshareMap) ElementType added in v5.35.0

func (DatastoreFileshareMap) ElementType() reflect.Type

func (DatastoreFileshareMap) ToDatastoreFileshareMapOutput added in v5.35.0

func (i DatastoreFileshareMap) ToDatastoreFileshareMapOutput() DatastoreFileshareMapOutput

func (DatastoreFileshareMap) ToDatastoreFileshareMapOutputWithContext added in v5.35.0

func (i DatastoreFileshareMap) ToDatastoreFileshareMapOutputWithContext(ctx context.Context) DatastoreFileshareMapOutput

type DatastoreFileshareMapInput added in v5.35.0

type DatastoreFileshareMapInput interface {
	pulumi.Input

	ToDatastoreFileshareMapOutput() DatastoreFileshareMapOutput
	ToDatastoreFileshareMapOutputWithContext(context.Context) DatastoreFileshareMapOutput
}

DatastoreFileshareMapInput is an input type that accepts DatastoreFileshareMap and DatastoreFileshareMapOutput values. You can construct a concrete instance of `DatastoreFileshareMapInput` via:

DatastoreFileshareMap{ "key": DatastoreFileshareArgs{...} }

type DatastoreFileshareMapOutput added in v5.35.0

type DatastoreFileshareMapOutput struct{ *pulumi.OutputState }

func (DatastoreFileshareMapOutput) ElementType added in v5.35.0

func (DatastoreFileshareMapOutput) MapIndex added in v5.35.0

func (DatastoreFileshareMapOutput) ToDatastoreFileshareMapOutput added in v5.35.0

func (o DatastoreFileshareMapOutput) ToDatastoreFileshareMapOutput() DatastoreFileshareMapOutput

func (DatastoreFileshareMapOutput) ToDatastoreFileshareMapOutputWithContext added in v5.35.0

func (o DatastoreFileshareMapOutput) ToDatastoreFileshareMapOutputWithContext(ctx context.Context) DatastoreFileshareMapOutput

type DatastoreFileshareOutput added in v5.35.0

type DatastoreFileshareOutput struct{ *pulumi.OutputState }

func (DatastoreFileshareOutput) AccountKey added in v5.35.0

The access key of the Storage Account. Conflicts with `sharedAccessSignature`.

func (DatastoreFileshareOutput) Description added in v5.35.0

Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreFileshareOutput) ElementType added in v5.35.0

func (DatastoreFileshareOutput) ElementType() reflect.Type

func (DatastoreFileshareOutput) IsDefault added in v5.35.0

Indicate whether this Machines Learning DataStore is the default for the Workspace.

func (DatastoreFileshareOutput) Name added in v5.35.0

The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreFileshareOutput) ServiceDataIdentity added in v5.35.0

func (o DatastoreFileshareOutput) ServiceDataIdentity() pulumi.StringPtrOutput

Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.

func (DatastoreFileshareOutput) SharedAccessSignature added in v5.35.0

func (o DatastoreFileshareOutput) SharedAccessSignature() pulumi.StringPtrOutput

The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.

func (DatastoreFileshareOutput) StorageFileshareId added in v5.35.0

func (o DatastoreFileshareOutput) StorageFileshareId() pulumi.StringOutput

The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreFileshareOutput) Tags added in v5.35.0

A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.

func (DatastoreFileshareOutput) ToDatastoreFileshareOutput added in v5.35.0

func (o DatastoreFileshareOutput) ToDatastoreFileshareOutput() DatastoreFileshareOutput

func (DatastoreFileshareOutput) ToDatastoreFileshareOutputWithContext added in v5.35.0

func (o DatastoreFileshareOutput) ToDatastoreFileshareOutputWithContext(ctx context.Context) DatastoreFileshareOutput

func (DatastoreFileshareOutput) WorkspaceId added in v5.35.0

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

type DatastoreFileshareState added in v5.35.0

type DatastoreFileshareState struct {
	// The access key of the Storage Account. Conflicts with `sharedAccessSignature`.
	AccountKey pulumi.StringPtrInput
	// Text used to describe the asset. Changing this forces a new Machine Learning DataStore to be created.
	Description pulumi.StringPtrInput
	// Indicate whether this Machines Learning DataStore is the default for the Workspace.
	IsDefault pulumi.BoolPtrInput
	// The name of the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Name pulumi.StringPtrInput
	// Specifies which identity to use when retrieving data from the specified source. Defaults to `None`. Possible values are `None`, `WorkspaceSystemAssignedIdentity` and `WorkspaceUserAssignedIdentity`.
	ServiceDataIdentity pulumi.StringPtrInput
	// The Shared Access Signature of the Storage Account. Conflicts with `accountKey`.
	SharedAccessSignature pulumi.StringPtrInput
	// The ID of the Storage Account File Share. Changing this forces a new Machine Learning DataStore to be created.
	StorageFileshareId pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Machine Learning DataStore. Changing this forces a new Machine Learning DataStore to be created.
	Tags pulumi.StringMapInput
	// The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning DataStore to be created.
	WorkspaceId pulumi.StringPtrInput
}

func (DatastoreFileshareState) ElementType added in v5.35.0

func (DatastoreFileshareState) 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.
	//
	// > **NOTE:** When creating or attaching a cluster, if the cluster will be used for production (`clusterPurpose = "FastProd"`), then it must contain at least 12 virtual CPUs. The number of virtual CPUs can be calculated by multiplying the number of nodes in the cluster by the number of cores provided by the VM size selected. For example, if you use a VM size of "Standard_D3_v2", which has 4 virtual cores, then you should select 3 or greater as the number of nodes.
	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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-kv"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-mlw"),
			Location:              example.Location,
			ResourceGroupName:     example.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, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.1.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.1.0.0/24"),
			},
		})
		if err != nil {
			return err
		}
		exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "example", &containerservice.KubernetesClusterArgs{
			Name:                    pulumi.String("example-aks"),
			Location:                example.Location,
			ResourceGroupName:       example.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, "example", &machinelearning.InferenceClusterArgs{
			Name:                       pulumi.String("example"),
			Location:                   example.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.
	//
	// > **NOTE:** When creating or attaching a cluster, if the cluster will be used for production (`clusterPurpose = "FastProd"`), then it must contain at least 12 virtual CPUs. The number of virtual CPUs can be calculated by multiplying the number of nodes in the cluster by the number of cores provided by the VM size selected. For example, if you use a VM size of "Standard_D3_v2", which has 4 virtual cores, then you should select 3 or greater as the number of nodes.
	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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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.

> **NOTE:** When creating or attaching a cluster, if the cluster will be used for production (`clusterPurpose = "FastProd"`), then it must contain at least 12 virtual CPUs. The number of virtual CPUs can be calculated by multiplying the number of nodes in the cluster by the number of cores provided by the VM size selected. For example, if you use a VM size of "Standard_D3_v2", which has 4 virtual cores, then you should select 3 or greater as the number of nodes.

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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.
	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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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. Defaults to `""`.

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.
	//
	// > **NOTE:** When creating or attaching a cluster, if the cluster will be used for production (`clusterPurpose = "FastProd"`), then it must contain at least 12 virtual CPUs. The number of virtual CPUs can be calculated by multiplying the number of nodes in the cluster by the number of cores provided by the VM size selected. For example, if you use a VM size of "Standard_D3_v2", which has 4 virtual cores, then you should select 3 or greater as the number of nodes.
	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", existingAzurermMachineLearningWorkspace.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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("west europe"),
			Tags: pulumi.StringMap{
				"stage": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-kv"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("standard"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplesa"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-mlw"),
			Location:              example.Location,
			ResourceGroupName:     example.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, "example", &storage.DataLakeGen2FilesystemArgs{
			Name:             pulumi.String("example"),
			StorageAccountId: exampleAccount.ID(),
		})
		if err != nil {
			return err
		}
		exampleWorkspace2, err := synapse.NewWorkspace(ctx, "example", &synapse.WorkspaceArgs{
			Name:                            pulumi.String("example"),
			ResourceGroupName:               example.Name,
			Location:                        example.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, "example", &synapse.SparkPoolArgs{
			Name:               pulumi.String("example"),
			SynapseWorkspaceId: exampleWorkspace2.ID(),
			NodeSizeFamily:     pulumi.String("MemoryOptimized"),
			NodeSize:           pulumi.String("Small"),
			NodeCount:          pulumi.Int(3),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewSynapseSpark(ctx, "example", &machinelearning.SynapseSparkArgs{
			Name:                       pulumi.String("example"),
			MachineLearningWorkspaceId: exampleWorkspace.ID(),
			Location:                   example.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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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). Changing this forces a new resource to be created.
	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. Changing this forces a new resource to be created.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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

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.
	//
	// > **NOTE:** The `adminEnabled` should be `true` in order to associate the Container Registry to this Machine Learning Workspace.
	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"`
	// An `encryption` block as defined below. Changing this forces a new resource to be created.
	Encryption WorkspaceEncryptionPtrOutput `pulumi:"encryption"`
	// A `featureStore` block as defined below.
	FeatureStore WorkspaceFeatureStorePtrOutput `pulumi:"featureStore"`
	// 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. Changing this forces a new resource to be created.
	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"`
	// The type of the Workspace. Possible values are `Default`, `FeatureStore`. Defaults to `Default`
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// 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"`
	// A `managedNetwork` block as defined below.
	ManagedNetwork WorkspaceManagedNetworkOutput `pulumi:"managedNetwork"`
	// 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. Changing this forces a new resource to be created.
	//
	// Deprecated: `publicAccessBehindVirtualNetworkEnabled` will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrOutput `pulumi:"publicAccessBehindVirtualNetworkEnabled"`
	// Enable public access when this Machine Learning Workspace is behind VNet.
	//
	// > **NOTE:** `publicAccessBehindVirtualNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled`.
	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 `Free`, `Basic`, `Standard` and `Premium`. 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.
	//
	// > **NOTE:** The `accountTier` cannot be `Premium` in order to associate the Storage Account to this Machine Learning Workspace.
	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"`
	// The immutable id associated with this workspace.
	WorkspaceId pulumi.StringOutput `pulumi:"workspaceId"`
}

## 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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("workspace-example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:              pulumi.String("workspaceexamplekeyvault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			TenantId:          pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("workspacestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-workspace"),
			Location:              example.Location,
			ResourceGroupName:     example.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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("workspace-example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("workspaceexamplekeyvault"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("premium"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = keyvault.NewAccessPolicy(ctx, "example", &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"),
				pulumi.String("GetRotationPolicy"),
			},
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("workspacestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "example", &keyvault.KeyArgs{
			Name:       pulumi.String("workspaceexamplekeyvaultkey"),
			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"),
			},
		})
		if err != nil {
			return err
		}
		_, err = machinelearning.NewWorkspace(ctx, "example", &machinelearning.WorkspaceArgs{
			Name:                  pulumi.String("example-workspace"),
			Location:              example.Location,
			ResourceGroupName:     example.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/v5/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
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleInsights, err := appinsights.NewInsights(ctx, "example", &appinsights.InsightsArgs{
			Name:              pulumi.String("example-ai"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			ApplicationType:   pulumi.String("web"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("examplestorageaccount"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("GRS"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "example", &keyvault.KeyVaultArgs{
			Name:                   pulumi.String("example-keyvalut"),
			Location:               example.Location,
			ResourceGroupName:      example.Name,
			TenantId:               pulumi.String(current.TenantId),
			SkuName:                pulumi.String("premium"),
			PurgeProtectionEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{
			Name:              pulumi.String("example-identity"),
			Location:          example.Location,
			ResourceGroupName: example.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"),
				pulumi.String("GetRotationPolicy"),
			},
		})
		if err != nil {
			return err
		}
		test, err := azuread.LookupServicePrincipal(ctx, &azuread.LookupServicePrincipalArgs{
			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"),
			},
		})
		if err != nil {
			return err
		}
		exampleKey, err := keyvault.NewKey(ctx, "example", &keyvault.KeyArgs{
			Name:       pulumi.String("example-keyvaultkey"),
			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"),
			},
		})
		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, "example", &machinelearning.WorkspaceArgs{
			Name:                        pulumi.String("example-workspace"),
			Location:                    example.Location,
			ResourceGroupName:           example.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(),
			},
		})
		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.
	//
	// > **NOTE:** The `adminEnabled` should be `true` in order to associate the Container Registry to this Machine Learning Workspace.
	ContainerRegistryId pulumi.StringPtrInput
	// The description of this Machine Learning Workspace.
	Description pulumi.StringPtrInput
	// An `encryption` block as defined below. Changing this forces a new resource to be created.
	Encryption WorkspaceEncryptionPtrInput
	// A `featureStore` block as defined below.
	FeatureStore WorkspaceFeatureStorePtrInput
	// 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. Changing this forces a new resource to be created.
	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
	// The type of the Workspace. Possible values are `Default`, `FeatureStore`. Defaults to `Default`
	Kind 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
	// A `managedNetwork` block as defined below.
	ManagedNetwork WorkspaceManagedNetworkPtrInput
	// 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. Changing this forces a new resource to be created.
	//
	// Deprecated: `publicAccessBehindVirtualNetworkEnabled` will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrInput
	// Enable public access when this Machine Learning Workspace is behind VNet.
	//
	// > **NOTE:** `publicAccessBehindVirtualNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled`.
	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 `Free`, `Basic`, `Standard` and `Premium`. 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.
	//
	// > **NOTE:** The `accountTier` cannot be `Premium` in order to associate the Storage Account to this Machine Learning Workspace.
	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.
	//
	// > **Note:** `userAssignedIdentityId` must set when`identity.type` is `UserAssigned` or service won't be able to find the assigned permissions.
	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.
	//
	// > **Note:** `userAssignedIdentityId` must set when`identity.type` is `UserAssigned` or service won't be able to find the assigned permissions.
	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.

> **Note:** `userAssignedIdentityId` must set when`identity.type` is `UserAssigned` or service won't be able to find the assigned permissions.

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.

> **Note:** `userAssignedIdentityId` must set when`identity.type` is `UserAssigned` or service won't be able to find the assigned permissions.

type WorkspaceFeatureStore added in v5.66.1

type WorkspaceFeatureStore struct {
	// The version of Spark runtime.
	ComputerSparkRuntimeVersion *string `pulumi:"computerSparkRuntimeVersion"`
	// The name of offline store connection.
	OfflineConnectionName *string `pulumi:"offlineConnectionName"`
	// The name of online store connection.
	//
	// > **Note:** `featureStore` must be set when`kind` is `FeatureStore`
	OnlineConnectionName *string `pulumi:"onlineConnectionName"`
}

type WorkspaceFeatureStoreArgs added in v5.66.1

type WorkspaceFeatureStoreArgs struct {
	// The version of Spark runtime.
	ComputerSparkRuntimeVersion pulumi.StringPtrInput `pulumi:"computerSparkRuntimeVersion"`
	// The name of offline store connection.
	OfflineConnectionName pulumi.StringPtrInput `pulumi:"offlineConnectionName"`
	// The name of online store connection.
	//
	// > **Note:** `featureStore` must be set when`kind` is `FeatureStore`
	OnlineConnectionName pulumi.StringPtrInput `pulumi:"onlineConnectionName"`
}

func (WorkspaceFeatureStoreArgs) ElementType added in v5.66.1

func (WorkspaceFeatureStoreArgs) ElementType() reflect.Type

func (WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStoreOutput added in v5.66.1

func (i WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStoreOutput() WorkspaceFeatureStoreOutput

func (WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStoreOutputWithContext added in v5.66.1

func (i WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStoreOutputWithContext(ctx context.Context) WorkspaceFeatureStoreOutput

func (WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStorePtrOutput added in v5.66.1

func (i WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStorePtrOutput() WorkspaceFeatureStorePtrOutput

func (WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStorePtrOutputWithContext added in v5.66.1

func (i WorkspaceFeatureStoreArgs) ToWorkspaceFeatureStorePtrOutputWithContext(ctx context.Context) WorkspaceFeatureStorePtrOutput

type WorkspaceFeatureStoreInput added in v5.66.1

type WorkspaceFeatureStoreInput interface {
	pulumi.Input

	ToWorkspaceFeatureStoreOutput() WorkspaceFeatureStoreOutput
	ToWorkspaceFeatureStoreOutputWithContext(context.Context) WorkspaceFeatureStoreOutput
}

WorkspaceFeatureStoreInput is an input type that accepts WorkspaceFeatureStoreArgs and WorkspaceFeatureStoreOutput values. You can construct a concrete instance of `WorkspaceFeatureStoreInput` via:

WorkspaceFeatureStoreArgs{...}

type WorkspaceFeatureStoreOutput added in v5.66.1

type WorkspaceFeatureStoreOutput struct{ *pulumi.OutputState }

func (WorkspaceFeatureStoreOutput) ComputerSparkRuntimeVersion added in v5.66.1

func (o WorkspaceFeatureStoreOutput) ComputerSparkRuntimeVersion() pulumi.StringPtrOutput

The version of Spark runtime.

func (WorkspaceFeatureStoreOutput) ElementType added in v5.66.1

func (WorkspaceFeatureStoreOutput) OfflineConnectionName added in v5.66.1

func (o WorkspaceFeatureStoreOutput) OfflineConnectionName() pulumi.StringPtrOutput

The name of offline store connection.

func (WorkspaceFeatureStoreOutput) OnlineConnectionName added in v5.66.1

func (o WorkspaceFeatureStoreOutput) OnlineConnectionName() pulumi.StringPtrOutput

The name of online store connection.

> **Note:** `featureStore` must be set when`kind` is `FeatureStore`

func (WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStoreOutput added in v5.66.1

func (o WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStoreOutput() WorkspaceFeatureStoreOutput

func (WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStoreOutputWithContext added in v5.66.1

func (o WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStoreOutputWithContext(ctx context.Context) WorkspaceFeatureStoreOutput

func (WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStorePtrOutput added in v5.66.1

func (o WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStorePtrOutput() WorkspaceFeatureStorePtrOutput

func (WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStorePtrOutputWithContext added in v5.66.1

func (o WorkspaceFeatureStoreOutput) ToWorkspaceFeatureStorePtrOutputWithContext(ctx context.Context) WorkspaceFeatureStorePtrOutput

type WorkspaceFeatureStorePtrInput added in v5.66.1

type WorkspaceFeatureStorePtrInput interface {
	pulumi.Input

	ToWorkspaceFeatureStorePtrOutput() WorkspaceFeatureStorePtrOutput
	ToWorkspaceFeatureStorePtrOutputWithContext(context.Context) WorkspaceFeatureStorePtrOutput
}

WorkspaceFeatureStorePtrInput is an input type that accepts WorkspaceFeatureStoreArgs, WorkspaceFeatureStorePtr and WorkspaceFeatureStorePtrOutput values. You can construct a concrete instance of `WorkspaceFeatureStorePtrInput` via:

        WorkspaceFeatureStoreArgs{...}

or:

        nil

func WorkspaceFeatureStorePtr added in v5.66.1

func WorkspaceFeatureStorePtr(v *WorkspaceFeatureStoreArgs) WorkspaceFeatureStorePtrInput

type WorkspaceFeatureStorePtrOutput added in v5.66.1

type WorkspaceFeatureStorePtrOutput struct{ *pulumi.OutputState }

func (WorkspaceFeatureStorePtrOutput) ComputerSparkRuntimeVersion added in v5.66.1

func (o WorkspaceFeatureStorePtrOutput) ComputerSparkRuntimeVersion() pulumi.StringPtrOutput

The version of Spark runtime.

func (WorkspaceFeatureStorePtrOutput) Elem added in v5.66.1

func (WorkspaceFeatureStorePtrOutput) ElementType added in v5.66.1

func (WorkspaceFeatureStorePtrOutput) OfflineConnectionName added in v5.66.1

func (o WorkspaceFeatureStorePtrOutput) OfflineConnectionName() pulumi.StringPtrOutput

The name of offline store connection.

func (WorkspaceFeatureStorePtrOutput) OnlineConnectionName added in v5.66.1

func (o WorkspaceFeatureStorePtrOutput) OnlineConnectionName() pulumi.StringPtrOutput

The name of online store connection.

> **Note:** `featureStore` must be set when`kind` is `FeatureStore`

func (WorkspaceFeatureStorePtrOutput) ToWorkspaceFeatureStorePtrOutput added in v5.66.1

func (o WorkspaceFeatureStorePtrOutput) ToWorkspaceFeatureStorePtrOutput() WorkspaceFeatureStorePtrOutput

func (WorkspaceFeatureStorePtrOutput) ToWorkspaceFeatureStorePtrOutputWithContext added in v5.66.1

func (o WorkspaceFeatureStorePtrOutput) ToWorkspaceFeatureStorePtrOutputWithContext(ctx context.Context) WorkspaceFeatureStorePtrOutput

type WorkspaceIdentity

type WorkspaceIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this Machine Learning Workspace.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	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.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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.

> **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

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 WorkspaceManagedNetwork added in v5.68.0

type WorkspaceManagedNetwork struct {
	// The isolation mode of the Machine Learning Workspace. Possible values are `Disabled`, `AllowOnlyApprovedOutbound`, and `AllowInternetOutbound`
	IsolationMode *string `pulumi:"isolationMode"`
}

type WorkspaceManagedNetworkArgs added in v5.68.0

type WorkspaceManagedNetworkArgs struct {
	// The isolation mode of the Machine Learning Workspace. Possible values are `Disabled`, `AllowOnlyApprovedOutbound`, and `AllowInternetOutbound`
	IsolationMode pulumi.StringPtrInput `pulumi:"isolationMode"`
}

func (WorkspaceManagedNetworkArgs) ElementType added in v5.68.0

func (WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkOutput added in v5.68.0

func (i WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkOutput() WorkspaceManagedNetworkOutput

func (WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkOutputWithContext added in v5.68.0

func (i WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkOutputWithContext(ctx context.Context) WorkspaceManagedNetworkOutput

func (WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkPtrOutput added in v5.68.0

func (i WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkPtrOutput() WorkspaceManagedNetworkPtrOutput

func (WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkPtrOutputWithContext added in v5.68.0

func (i WorkspaceManagedNetworkArgs) ToWorkspaceManagedNetworkPtrOutputWithContext(ctx context.Context) WorkspaceManagedNetworkPtrOutput

type WorkspaceManagedNetworkInput added in v5.68.0

type WorkspaceManagedNetworkInput interface {
	pulumi.Input

	ToWorkspaceManagedNetworkOutput() WorkspaceManagedNetworkOutput
	ToWorkspaceManagedNetworkOutputWithContext(context.Context) WorkspaceManagedNetworkOutput
}

WorkspaceManagedNetworkInput is an input type that accepts WorkspaceManagedNetworkArgs and WorkspaceManagedNetworkOutput values. You can construct a concrete instance of `WorkspaceManagedNetworkInput` via:

WorkspaceManagedNetworkArgs{...}

type WorkspaceManagedNetworkOutput added in v5.68.0

type WorkspaceManagedNetworkOutput struct{ *pulumi.OutputState }

func (WorkspaceManagedNetworkOutput) ElementType added in v5.68.0

func (WorkspaceManagedNetworkOutput) IsolationMode added in v5.68.0

The isolation mode of the Machine Learning Workspace. Possible values are `Disabled`, `AllowOnlyApprovedOutbound`, and `AllowInternetOutbound`

func (WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkOutput added in v5.68.0

func (o WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkOutput() WorkspaceManagedNetworkOutput

func (WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkOutputWithContext added in v5.68.0

func (o WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkOutputWithContext(ctx context.Context) WorkspaceManagedNetworkOutput

func (WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkPtrOutput added in v5.68.0

func (o WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkPtrOutput() WorkspaceManagedNetworkPtrOutput

func (WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkPtrOutputWithContext added in v5.68.0

func (o WorkspaceManagedNetworkOutput) ToWorkspaceManagedNetworkPtrOutputWithContext(ctx context.Context) WorkspaceManagedNetworkPtrOutput

type WorkspaceManagedNetworkPtrInput added in v5.68.0

type WorkspaceManagedNetworkPtrInput interface {
	pulumi.Input

	ToWorkspaceManagedNetworkPtrOutput() WorkspaceManagedNetworkPtrOutput
	ToWorkspaceManagedNetworkPtrOutputWithContext(context.Context) WorkspaceManagedNetworkPtrOutput
}

WorkspaceManagedNetworkPtrInput is an input type that accepts WorkspaceManagedNetworkArgs, WorkspaceManagedNetworkPtr and WorkspaceManagedNetworkPtrOutput values. You can construct a concrete instance of `WorkspaceManagedNetworkPtrInput` via:

        WorkspaceManagedNetworkArgs{...}

or:

        nil

func WorkspaceManagedNetworkPtr added in v5.68.0

func WorkspaceManagedNetworkPtr(v *WorkspaceManagedNetworkArgs) WorkspaceManagedNetworkPtrInput

type WorkspaceManagedNetworkPtrOutput added in v5.68.0

type WorkspaceManagedNetworkPtrOutput struct{ *pulumi.OutputState }

func (WorkspaceManagedNetworkPtrOutput) Elem added in v5.68.0

func (WorkspaceManagedNetworkPtrOutput) ElementType added in v5.68.0

func (WorkspaceManagedNetworkPtrOutput) IsolationMode added in v5.68.0

The isolation mode of the Machine Learning Workspace. Possible values are `Disabled`, `AllowOnlyApprovedOutbound`, and `AllowInternetOutbound`

func (WorkspaceManagedNetworkPtrOutput) ToWorkspaceManagedNetworkPtrOutput added in v5.68.0

func (o WorkspaceManagedNetworkPtrOutput) ToWorkspaceManagedNetworkPtrOutput() WorkspaceManagedNetworkPtrOutput

func (WorkspaceManagedNetworkPtrOutput) ToWorkspaceManagedNetworkPtrOutputWithContext added in v5.68.0

func (o WorkspaceManagedNetworkPtrOutput) ToWorkspaceManagedNetworkPtrOutputWithContext(ctx context.Context) WorkspaceManagedNetworkPtrOutput

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.

> **NOTE:** The `adminEnabled` should be `true` in order to associate the Container Registry to this Machine Learning Workspace.

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

An `encryption` block as defined below. Changing this forces a new resource to be created.

func (WorkspaceOutput) FeatureStore added in v5.66.1

A `featureStore` block as defined below.

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

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) Kind added in v5.66.1

The type of the Workspace. Possible values are `Default`, `FeatureStore`. Defaults to `Default`

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) ManagedNetwork added in v5.68.0

A `managedNetwork` block as defined below.

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

Deprecated: `publicAccessBehindVirtualNetworkEnabled` will be removed in favour of the property `publicNetworkAccessEnabled` 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.

> **NOTE:** `publicAccessBehindVirtualNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled`.

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 `Free`, `Basic`, `Standard` and `Premium`. 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.

> **NOTE:** The `accountTier` cannot be `Premium` in order to associate the Storage Account to this Machine Learning Workspace.

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

func (WorkspaceOutput) WorkspaceId added in v5.44.0

func (o WorkspaceOutput) WorkspaceId() pulumi.StringOutput

The immutable id associated with this workspace.

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.
	//
	// > **NOTE:** The `adminEnabled` should be `true` in order to associate the Container Registry to this Machine Learning Workspace.
	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
	// An `encryption` block as defined below. Changing this forces a new resource to be created.
	Encryption WorkspaceEncryptionPtrInput
	// A `featureStore` block as defined below.
	FeatureStore WorkspaceFeatureStorePtrInput
	// 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. Changing this forces a new resource to be created.
	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
	// The type of the Workspace. Possible values are `Default`, `FeatureStore`. Defaults to `Default`
	Kind 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
	// A `managedNetwork` block as defined below.
	ManagedNetwork WorkspaceManagedNetworkPtrInput
	// 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. Changing this forces a new resource to be created.
	//
	// Deprecated: `publicAccessBehindVirtualNetworkEnabled` will be removed in favour of the property `publicNetworkAccessEnabled` in version 4.0 of the AzureRM Provider.
	PublicAccessBehindVirtualNetworkEnabled pulumi.BoolPtrInput
	// Enable public access when this Machine Learning Workspace is behind VNet.
	//
	// > **NOTE:** `publicAccessBehindVirtualNetworkEnabled` is deprecated and will be removed in favour of the property `publicNetworkAccessEnabled`.
	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 `Free`, `Basic`, `Standard` and `Premium`. 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.
	//
	// > **NOTE:** The `accountTier` cannot be `Premium` in order to associate the Storage Account to this Machine Learning Workspace.
	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
	// The immutable id associated with this workspace.
	WorkspaceId pulumi.StringPtrInput
}

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