1. Packages
  2. Azure Classic
  3. API Docs
  4. machinelearning
  5. ComputeCluster

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    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

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "west europe",
                Tags = 
                {
                    { "stage", "example" },
                },
            });
            var exampleInsights = new Azure.AppInsights.Insights("exampleInsights", new Azure.AppInsights.InsightsArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                ApplicationType = "web",
            });
            var exampleKeyVault = new Azure.KeyVault.KeyVault("exampleKeyVault", new Azure.KeyVault.KeyVaultArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                TenantId = current.Apply(current => current.TenantId),
                SkuName = "standard",
                PurgeProtectionEnabled = true,
            });
            var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                AccountTier = "Standard",
                AccountReplicationType = "LRS",
            });
            var exampleWorkspace = new Azure.MachineLearning.Workspace("exampleWorkspace", new Azure.MachineLearning.WorkspaceArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                ApplicationInsightsId = exampleInsights.Id,
                KeyVaultId = exampleKeyVault.Id,
                StorageAccountId = exampleAccount.Id,
                Identity = new Azure.MachineLearning.Inputs.WorkspaceIdentityArgs
                {
                    Type = "SystemAssigned",
                },
            });
            var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new Azure.Network.VirtualNetworkArgs
            {
                AddressSpaces = 
                {
                    "10.1.0.0/16",
                },
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
            });
            var exampleSubnet = new Azure.Network.Subnet("exampleSubnet", new Azure.Network.SubnetArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                VirtualNetworkName = exampleVirtualNetwork.Name,
                AddressPrefixes = 
                {
                    "10.1.0.0/24",
                },
            });
            var test = new Azure.MachineLearning.ComputeCluster("test", new Azure.MachineLearning.ComputeClusterArgs
            {
                Location = "West Europe",
                VmPriority = "LowPriority",
                VmSize = "Standard_DS2_v2",
                MachineLearningWorkspaceId = exampleWorkspace.Id,
                SubnetResourceId = exampleSubnet.Id,
                ScaleSettings = new Azure.MachineLearning.Inputs.ComputeClusterScaleSettingsArgs
                {
                    MinNodeCount = 0,
                    MaxNodeCount = 1,
                    ScaleDownNodesAfterIdleDuration = "PT30S",
                },
                Identity = new Azure.MachineLearning.Inputs.ComputeClusterIdentityArgs
                {
                    Type = "SystemAssigned",
                },
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		current, err := core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("west europe"),
    			Tags: pulumi.StringMap{
    				"stage": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			ApplicationType:   pulumi.String("web"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
    			Location:               exampleResourceGroup.Location,
    			ResourceGroupName:      exampleResourceGroup.Name,
    			TenantId:               pulumi.String(current.TenantId),
    			SkuName:                pulumi.String("standard"),
    			PurgeProtectionEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
    			Location:               exampleResourceGroup.Location,
    			ResourceGroupName:      exampleResourceGroup.Name,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("LRS"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
    			Location:              exampleResourceGroup.Location,
    			ResourceGroupName:     exampleResourceGroup.Name,
    			ApplicationInsightsId: exampleInsights.ID(),
    			KeyVaultId:            exampleKeyVault.ID(),
    			StorageAccountId:      exampleAccount.ID(),
    			Identity: &machinelearning.WorkspaceIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.1.0.0/16"),
    			},
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
    			ResourceGroupName:  exampleResourceGroup.Name,
    			VirtualNetworkName: exampleVirtualNetwork.Name,
    			AddressPrefixes: pulumi.StringArray{
    				pulumi.String("10.1.0.0/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = machinelearning.NewComputeCluster(ctx, "test", &machinelearning.ComputeClusterArgs{
    			Location:                   pulumi.String("West Europe"),
    			VmPriority:                 pulumi.String("LowPriority"),
    			VmSize:                     pulumi.String("Standard_DS2_v2"),
    			MachineLearningWorkspaceId: exampleWorkspace.ID(),
    			SubnetResourceId:           exampleSubnet.ID(),
    			ScaleSettings: &machinelearning.ComputeClusterScaleSettingsArgs{
    				MinNodeCount:                    pulumi.Int(0),
    				MaxNodeCount:                    pulumi.Int(1),
    				ScaleDownNodesAfterIdleDuration: pulumi.String("PT30S"),
    			},
    			Identity: &machinelearning.ComputeClusterIdentityArgs{
    				Type: pulumi.String("SystemAssigned"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const current = azure.core.getClientConfig({});
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {
        location: "west europe",
        tags: {
            stage: "example",
        },
    });
    const exampleInsights = new azure.appinsights.Insights("exampleInsights", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        applicationType: "web",
    });
    const exampleKeyVault = new azure.keyvault.KeyVault("exampleKeyVault", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        tenantId: current.then(current => current.tenantId),
        skuName: "standard",
        purgeProtectionEnabled: true,
    });
    const exampleAccount = new azure.storage.Account("exampleAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        accountTier: "Standard",
        accountReplicationType: "LRS",
    });
    const exampleWorkspace = new azure.machinelearning.Workspace("exampleWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        applicationInsightsId: exampleInsights.id,
        keyVaultId: exampleKeyVault.id,
        storageAccountId: exampleAccount.id,
        identity: {
            type: "SystemAssigned",
        },
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        addressSpaces: ["10.1.0.0/16"],
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleResourceGroup.name,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.1.0.0/24"],
    });
    const test = new azure.machinelearning.ComputeCluster("test", {
        location: "West Europe",
        vmPriority: "LowPriority",
        vmSize: "Standard_DS2_v2",
        machineLearningWorkspaceId: exampleWorkspace.id,
        subnetResourceId: exampleSubnet.id,
        scaleSettings: {
            minNodeCount: 0,
            maxNodeCount: 1,
            scaleDownNodesAfterIdleDuration: "PT30S",
        },
        identity: {
            type: "SystemAssigned",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    current = azure.core.get_client_config()
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup",
        location="west europe",
        tags={
            "stage": "example",
        })
    example_insights = azure.appinsights.Insights("exampleInsights",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        application_type="web")
    example_key_vault = azure.keyvault.KeyVault("exampleKeyVault",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        tenant_id=current.tenant_id,
        sku_name="standard",
        purge_protection_enabled=True)
    example_account = azure.storage.Account("exampleAccount",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        account_tier="Standard",
        account_replication_type="LRS")
    example_workspace = azure.machinelearning.Workspace("exampleWorkspace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        application_insights_id=example_insights.id,
        key_vault_id=example_key_vault.id,
        storage_account_id=example_account.id,
        identity=azure.machinelearning.WorkspaceIdentityArgs(
            type="SystemAssigned",
        ))
    example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
        address_spaces=["10.1.0.0/16"],
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name)
    example_subnet = azure.network.Subnet("exampleSubnet",
        resource_group_name=example_resource_group.name,
        virtual_network_name=example_virtual_network.name,
        address_prefixes=["10.1.0.0/24"])
    test = azure.machinelearning.ComputeCluster("test",
        location="West Europe",
        vm_priority="LowPriority",
        vm_size="Standard_DS2_v2",
        machine_learning_workspace_id=example_workspace.id,
        subnet_resource_id=example_subnet.id,
        scale_settings=azure.machinelearning.ComputeClusterScaleSettingsArgs(
            min_node_count=0,
            max_node_count=1,
            scale_down_nodes_after_idle_duration="PT30S",
        ),
        identity=azure.machinelearning.ComputeClusterIdentityArgs(
            type="SystemAssigned",
        ))
    

    Example coming soon!

    Create ComputeCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ComputeCluster(name: string, args: ComputeClusterArgs, opts?: CustomResourceOptions);
    @overload
    def ComputeCluster(resource_name: str,
                       args: ComputeClusterArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComputeCluster(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       machine_learning_workspace_id: Optional[str] = None,
                       vm_size: Optional[str] = None,
                       vm_priority: Optional[str] = None,
                       scale_settings: Optional[ComputeClusterScaleSettingsArgs] = None,
                       location: Optional[str] = None,
                       name: Optional[str] = None,
                       description: Optional[str] = None,
                       ssh: Optional[ComputeClusterSshArgs] = None,
                       ssh_public_access_enabled: Optional[bool] = None,
                       subnet_resource_id: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       local_auth_enabled: Optional[bool] = None,
                       identity: Optional[ComputeClusterIdentityArgs] = None)
    func NewComputeCluster(ctx *Context, name string, args ComputeClusterArgs, opts ...ResourceOption) (*ComputeCluster, error)
    public ComputeCluster(string name, ComputeClusterArgs args, CustomResourceOptions? opts = null)
    public ComputeCluster(String name, ComputeClusterArgs args)
    public ComputeCluster(String name, ComputeClusterArgs args, CustomResourceOptions options)
    
    type: azure:machinelearning:ComputeCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ComputeClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ComputeClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ComputeClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComputeClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComputeClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var computeClusterResource = new Azure.MachineLearning.ComputeCluster("computeClusterResource", new()
    {
        MachineLearningWorkspaceId = "string",
        VmSize = "string",
        VmPriority = "string",
        ScaleSettings = new Azure.MachineLearning.Inputs.ComputeClusterScaleSettingsArgs
        {
            MaxNodeCount = 0,
            MinNodeCount = 0,
            ScaleDownNodesAfterIdleDuration = "string",
        },
        Location = "string",
        Name = "string",
        Description = "string",
        Ssh = new Azure.MachineLearning.Inputs.ComputeClusterSshArgs
        {
            AdminUsername = "string",
            AdminPassword = "string",
            KeyValue = "string",
        },
        SshPublicAccessEnabled = false,
        SubnetResourceId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        LocalAuthEnabled = false,
        Identity = new Azure.MachineLearning.Inputs.ComputeClusterIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
    });
    
    example, err := machinelearning.NewComputeCluster(ctx, "computeClusterResource", &machinelearning.ComputeClusterArgs{
    	MachineLearningWorkspaceId: pulumi.String("string"),
    	VmSize:                     pulumi.String("string"),
    	VmPriority:                 pulumi.String("string"),
    	ScaleSettings: &machinelearning.ComputeClusterScaleSettingsArgs{
    		MaxNodeCount:                    pulumi.Int(0),
    		MinNodeCount:                    pulumi.Int(0),
    		ScaleDownNodesAfterIdleDuration: pulumi.String("string"),
    	},
    	Location:    pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Ssh: &machinelearning.ComputeClusterSshArgs{
    		AdminUsername: pulumi.String("string"),
    		AdminPassword: pulumi.String("string"),
    		KeyValue:      pulumi.String("string"),
    	},
    	SshPublicAccessEnabled: pulumi.Bool(false),
    	SubnetResourceId:       pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LocalAuthEnabled: pulumi.Bool(false),
    	Identity: &machinelearning.ComputeClusterIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    })
    
    var computeClusterResource = new ComputeCluster("computeClusterResource", ComputeClusterArgs.builder()
        .machineLearningWorkspaceId("string")
        .vmSize("string")
        .vmPriority("string")
        .scaleSettings(ComputeClusterScaleSettingsArgs.builder()
            .maxNodeCount(0)
            .minNodeCount(0)
            .scaleDownNodesAfterIdleDuration("string")
            .build())
        .location("string")
        .name("string")
        .description("string")
        .ssh(ComputeClusterSshArgs.builder()
            .adminUsername("string")
            .adminPassword("string")
            .keyValue("string")
            .build())
        .sshPublicAccessEnabled(false)
        .subnetResourceId("string")
        .tags(Map.of("string", "string"))
        .localAuthEnabled(false)
        .identity(ComputeClusterIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .build());
    
    compute_cluster_resource = azure.machinelearning.ComputeCluster("computeClusterResource",
        machine_learning_workspace_id="string",
        vm_size="string",
        vm_priority="string",
        scale_settings={
            "max_node_count": 0,
            "min_node_count": 0,
            "scale_down_nodes_after_idle_duration": "string",
        },
        location="string",
        name="string",
        description="string",
        ssh={
            "admin_username": "string",
            "admin_password": "string",
            "key_value": "string",
        },
        ssh_public_access_enabled=False,
        subnet_resource_id="string",
        tags={
            "string": "string",
        },
        local_auth_enabled=False,
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        })
    
    const computeClusterResource = new azure.machinelearning.ComputeCluster("computeClusterResource", {
        machineLearningWorkspaceId: "string",
        vmSize: "string",
        vmPriority: "string",
        scaleSettings: {
            maxNodeCount: 0,
            minNodeCount: 0,
            scaleDownNodesAfterIdleDuration: "string",
        },
        location: "string",
        name: "string",
        description: "string",
        ssh: {
            adminUsername: "string",
            adminPassword: "string",
            keyValue: "string",
        },
        sshPublicAccessEnabled: false,
        subnetResourceId: "string",
        tags: {
            string: "string",
        },
        localAuthEnabled: false,
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
    });
    
    type: azure:machinelearning:ComputeCluster
    properties:
        description: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        localAuthEnabled: false
        location: string
        machineLearningWorkspaceId: string
        name: string
        scaleSettings:
            maxNodeCount: 0
            minNodeCount: 0
            scaleDownNodesAfterIdleDuration: string
        ssh:
            adminPassword: string
            adminUsername: string
            keyValue: string
        sshPublicAccessEnabled: false
        subnetResourceId: string
        tags:
            string: string
        vmPriority: string
        vmSize: string
    

    ComputeCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ComputeCluster resource accepts the following input properties:

    MachineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    VmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    VmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    Description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    Identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    LocalAuthEnabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    Location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    Name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    Ssh ComputeClusterSsh
    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.
    SshPublicAccessEnabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    SubnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    Tags Dictionary<string, string>
    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.
    MachineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleSettings ComputeClusterScaleSettingsArgs
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    VmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    VmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    Description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    Identity ComputeClusterIdentityArgs
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    LocalAuthEnabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    Location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    Name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    Ssh ComputeClusterSshArgs
    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.
    SshPublicAccessEnabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    SubnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    Tags map[string]string
    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.
    machineLearningWorkspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    vmPriority String
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize String
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description String
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled Boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location String
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    name String
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSsh
    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.
    sshPublicAccessEnabled Boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId String
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Map<String,String>
    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.
    machineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    vmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSsh
    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.
    sshPublicAccessEnabled boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags {[key: string]: string}
    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.
    machine_learning_workspace_id str
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    scale_settings ComputeClusterScaleSettingsArgs
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    vm_priority str
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vm_size str
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description str
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentityArgs
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    local_auth_enabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location str
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    name str
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSshArgs
    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_public_access_enabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnet_resource_id str
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Mapping[str, str]
    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.
    machineLearningWorkspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings Property Map
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    vmPriority String
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize String
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description String
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity Property Map
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled Boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location String
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    name String
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh Property Map
    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.
    sshPublicAccessEnabled Boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId String
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Map<String>
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ComputeCluster resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ComputeCluster Resource

    Get an existing ComputeCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ComputeClusterState, opts?: CustomResourceOptions): ComputeCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            identity: Optional[ComputeClusterIdentityArgs] = None,
            local_auth_enabled: Optional[bool] = None,
            location: Optional[str] = None,
            machine_learning_workspace_id: Optional[str] = None,
            name: Optional[str] = None,
            scale_settings: Optional[ComputeClusterScaleSettingsArgs] = None,
            ssh: Optional[ComputeClusterSshArgs] = None,
            ssh_public_access_enabled: Optional[bool] = None,
            subnet_resource_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vm_priority: Optional[str] = None,
            vm_size: Optional[str] = None) -> ComputeCluster
    func GetComputeCluster(ctx *Context, name string, id IDInput, state *ComputeClusterState, opts ...ResourceOption) (*ComputeCluster, error)
    public static ComputeCluster Get(string name, Input<string> id, ComputeClusterState? state, CustomResourceOptions? opts = null)
    public static ComputeCluster get(String name, Output<String> id, ComputeClusterState state, CustomResourceOptions options)
    resources:  _:    type: azure:machinelearning:ComputeCluster    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    Identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    LocalAuthEnabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    Location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    MachineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    Name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    Ssh ComputeClusterSsh
    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.
    SshPublicAccessEnabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    SubnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    Tags Dictionary<string, string>
    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.
    VmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    VmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    Description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    Identity ComputeClusterIdentityArgs
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    LocalAuthEnabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    Location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    MachineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    Name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleSettings ComputeClusterScaleSettingsArgs
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    Ssh ComputeClusterSshArgs
    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.
    SshPublicAccessEnabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    SubnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    Tags map[string]string
    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.
    VmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    VmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description String
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled Boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location String
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    machineLearningWorkspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    name String
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSsh
    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.
    sshPublicAccessEnabled Boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId String
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Map<String,String>
    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.
    vmPriority String
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize String
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description string
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentity
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location string
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    machineLearningWorkspaceId string
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    name string
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings ComputeClusterScaleSettings
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSsh
    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.
    sshPublicAccessEnabled boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId string
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags {[key: string]: string}
    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.
    vmPriority string
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize string
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description str
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity ComputeClusterIdentityArgs
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    local_auth_enabled bool
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location str
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    machine_learning_workspace_id str
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    name str
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    scale_settings ComputeClusterScaleSettingsArgs
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh ComputeClusterSshArgs
    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_public_access_enabled bool
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnet_resource_id str
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Mapping[str, str]
    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.
    vm_priority str
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vm_size str
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.
    description String
    The description of the Machine Learning compute. Changing this forces a new Machine Learning Compute Cluster to be created.
    identity Property Map
    An identity block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    localAuthEnabled Boolean
    Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Compute Cluster to be created.
    location String
    The Azure Region where the Machine Learning Compute Cluster should exist. Changing this forces a new Machine Learning Compute Cluster to be created.
    machineLearningWorkspaceId String
    The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Compute Cluster to be created.
    name String
    The name which should be used for this Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleSettings Property Map
    A scale_settings block as defined below. Changing this forces a new Machine Learning Compute Cluster to be created.
    ssh Property Map
    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.
    sshPublicAccessEnabled Boolean
    A boolean value indicating whether enable the public SSH port. Changing this forces a new Machine Learning Compute Cluster to be created.
    subnetResourceId String
    The ID of the Subnet that the Compute Cluster should reside in. Changing this forces a new Machine Learning Compute Cluster to be created.
    tags Map<String>
    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.
    vmPriority String
    The priority of the VM. Changing this forces a new Machine Learning Compute Cluster to be created. Accepted values are Dedicated and LowPriority.
    vmSize String
    The size of the VM. Changing this forces a new Machine Learning Compute Cluster to be created.

    Supporting Types

    ComputeClusterIdentity, ComputeClusterIdentityArgs

    Type string
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    IdentityIds List<string>
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    TenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    Type string
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    IdentityIds []string
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    PrincipalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    TenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    type String
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    identityIds List<String>
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    tenantId String
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    type string
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    identityIds string[]
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    principalId string
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    tenantId string
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    type str
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    identity_ids Sequence[str]
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    principal_id str
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    tenant_id str
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    type String
    The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned, UserAssigned (to enable both).
    identityIds List<String>
    A list of User Managed Identity ID's which should be assigned to the Machine Learning Compute Cluster. Changing this forces a new Machine Learning Compute Cluster to be created.
    principalId String
    The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.
    tenantId String
    The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Compute Cluster.

    ComputeClusterScaleSettings, ComputeClusterScaleSettingsArgs

    MaxNodeCount int
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    MinNodeCount int
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleDownNodesAfterIdleDuration string
    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.
    MaxNodeCount int
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    MinNodeCount int
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    ScaleDownNodesAfterIdleDuration string
    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.
    maxNodeCount Integer
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    minNodeCount Integer
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleDownNodesAfterIdleDuration String
    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.
    maxNodeCount number
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    minNodeCount number
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleDownNodesAfterIdleDuration string
    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.
    max_node_count int
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    min_node_count int
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    scale_down_nodes_after_idle_duration str
    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.
    maxNodeCount Number
    Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    minNodeCount Number
    Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
    scaleDownNodesAfterIdleDuration String
    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.

    ComputeClusterSsh, ComputeClusterSshArgs

    AdminUsername string
    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.
    AdminPassword string
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    KeyValue string
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    AdminUsername string
    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.
    AdminPassword string
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    KeyValue string
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    adminUsername String
    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.
    adminPassword String
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    keyValue String
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    adminUsername string
    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.
    adminPassword string
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    keyValue string
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    admin_username str
    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.
    admin_password str
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    key_value str
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    adminUsername String
    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.
    adminPassword String
    Password of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.
    keyValue String
    SSH public key of the administrator user account. Changing this forces a new Machine Learning Compute Cluster to be created.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.