We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
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
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,
AddressPrefix = "10.1.0.0/24",
});
var exampleKubernetesCluster = new Azure.ContainerService.KubernetesCluster("exampleKubernetesCluster", new Azure.ContainerService.KubernetesClusterArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
DefaultNodePool = new Azure.ContainerService.Inputs.KubernetesClusterDefaultNodePoolArgs
{
Name = "default",
NodeCount = 3,
VmSize = "Standard_D3_v2",
VnetSubnetId = exampleSubnet.Id,
},
Identity = new Azure.ContainerService.Inputs.KubernetesClusterIdentityArgs
{
Type = "SystemAssigned",
},
});
var exampleInferenceCluster = new Azure.MachineLearning.InferenceCluster("exampleInferenceCluster", new Azure.MachineLearning.InferenceClusterArgs
{
Location = exampleResourceGroup.Location,
ClusterPurpose = "FastProd",
KubernetesClusterId = exampleKubernetesCluster.Id,
Description = "This is an example cluster used with Terraform",
MachineLearningWorkspaceId = exampleWorkspace.Id,
Tags =
{
{ "stage", "example" },
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/appinsights"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/machinelearning"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("west europe"),
Tags: pulumi.StringMap{
"stage": pulumi.String("example"),
},
})
if err != nil {
return err
}
exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
ApplicationType: pulumi.String("web"),
})
if err != nil {
return err
}
exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
TenantId: pulumi.String(current.TenantId),
SkuName: pulumi.String("standard"),
PurgeProtectionEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
ApplicationInsightsId: exampleInsights.ID(),
KeyVaultId: exampleKeyVault.ID(),
StorageAccountId: exampleAccount.ID(),
Identity: &machinelearning.WorkspaceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
AddressSpaces: pulumi.StringArray{
pulumi.String("10.1.0.0/16"),
},
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
})
if err != nil {
return err
}
exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
ResourceGroupName: exampleResourceGroup.Name,
VirtualNetworkName: exampleVirtualNetwork.Name,
AddressPrefix: pulumi.String("10.1.0.0/24"),
})
if err != nil {
return err
}
exampleKubernetesCluster, err := containerservice.NewKubernetesCluster(ctx, "exampleKubernetesCluster", &containerservice.KubernetesClusterArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
DefaultNodePool: &containerservice.KubernetesClusterDefaultNodePoolArgs{
Name: pulumi.String("default"),
NodeCount: pulumi.Int(3),
VmSize: pulumi.String("Standard_D3_v2"),
VnetSubnetId: exampleSubnet.ID(),
},
Identity: &containerservice.KubernetesClusterIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
_, err = machinelearning.NewInferenceCluster(ctx, "exampleInferenceCluster", &machinelearning.InferenceClusterArgs{
Location: exampleResourceGroup.Location,
ClusterPurpose: pulumi.String("FastProd"),
KubernetesClusterId: exampleKubernetesCluster.ID(),
Description: pulumi.String("This is an example cluster used with Terraform"),
MachineLearningWorkspaceId: exampleWorkspace.ID(),
Tags: pulumi.StringMap{
"stage": pulumi.String("example"),
},
})
if err != nil {
return err
}
return nil
})
}
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,
addressPrefix: "10.1.0.0/24",
});
const exampleKubernetesCluster = new azure.containerservice.KubernetesCluster("exampleKubernetesCluster", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
defaultNodePool: {
name: "default",
nodeCount: 3,
vmSize: "Standard_D3_v2",
vnetSubnetId: exampleSubnet.id,
},
identity: {
type: "SystemAssigned",
},
});
const exampleInferenceCluster = new azure.machinelearning.InferenceCluster("exampleInferenceCluster", {
location: exampleResourceGroup.location,
clusterPurpose: "FastProd",
kubernetesClusterId: exampleKubernetesCluster.id,
description: "This is an example cluster used with Terraform",
machineLearningWorkspaceId: exampleWorkspace.id,
tags: {
stage: "example",
},
});
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_prefix="10.1.0.0/24")
example_kubernetes_cluster = azure.containerservice.KubernetesCluster("exampleKubernetesCluster",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
default_node_pool=azure.containerservice.KubernetesClusterDefaultNodePoolArgs(
name="default",
node_count=3,
vm_size="Standard_D3_v2",
vnet_subnet_id=example_subnet.id,
),
identity=azure.containerservice.KubernetesClusterIdentityArgs(
type="SystemAssigned",
))
example_inference_cluster = azure.machinelearning.InferenceCluster("exampleInferenceCluster",
location=example_resource_group.location,
cluster_purpose="FastProd",
kubernetes_cluster_id=example_kubernetes_cluster.id,
description="This is an example cluster used with Terraform",
machine_learning_workspace_id=example_workspace.id,
tags={
"stage": "example",
})
Example coming soon!
Create InferenceCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InferenceCluster(name: string, args: InferenceClusterArgs, opts?: CustomResourceOptions);@overload
def InferenceCluster(resource_name: str,
args: InferenceClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InferenceCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
kubernetes_cluster_id: Optional[str] = None,
machine_learning_workspace_id: Optional[str] = None,
cluster_purpose: Optional[str] = None,
description: Optional[str] = None,
identity: Optional[InferenceClusterIdentityArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
ssl: Optional[InferenceClusterSslArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewInferenceCluster(ctx *Context, name string, args InferenceClusterArgs, opts ...ResourceOption) (*InferenceCluster, error)public InferenceCluster(string name, InferenceClusterArgs args, CustomResourceOptions? opts = null)
public InferenceCluster(String name, InferenceClusterArgs args)
public InferenceCluster(String name, InferenceClusterArgs args, CustomResourceOptions options)
type: azure:machinelearning:InferenceCluster
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 InferenceClusterArgs
- 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 InferenceClusterArgs
- 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 InferenceClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InferenceClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InferenceClusterArgs
- 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 inferenceClusterResource = new Azure.MachineLearning.InferenceCluster("inferenceClusterResource", new()
{
KubernetesClusterId = "string",
MachineLearningWorkspaceId = "string",
ClusterPurpose = "string",
Description = "string",
Identity = new Azure.MachineLearning.Inputs.InferenceClusterIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Location = "string",
Name = "string",
Ssl = new Azure.MachineLearning.Inputs.InferenceClusterSslArgs
{
Cert = "string",
Cname = "string",
Key = "string",
LeafDomainLabel = "string",
OverwriteExistingDomain = false,
},
Tags =
{
{ "string", "string" },
},
});
example, err := machinelearning.NewInferenceCluster(ctx, "inferenceClusterResource", &machinelearning.InferenceClusterArgs{
KubernetesClusterId: pulumi.String("string"),
MachineLearningWorkspaceId: pulumi.String("string"),
ClusterPurpose: pulumi.String("string"),
Description: pulumi.String("string"),
Identity: &machinelearning.InferenceClusterIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Ssl: &machinelearning.InferenceClusterSslArgs{
Cert: pulumi.String("string"),
Cname: pulumi.String("string"),
Key: pulumi.String("string"),
LeafDomainLabel: pulumi.String("string"),
OverwriteExistingDomain: pulumi.Bool(false),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var inferenceClusterResource = new InferenceCluster("inferenceClusterResource", InferenceClusterArgs.builder()
.kubernetesClusterId("string")
.machineLearningWorkspaceId("string")
.clusterPurpose("string")
.description("string")
.identity(InferenceClusterIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.location("string")
.name("string")
.ssl(InferenceClusterSslArgs.builder()
.cert("string")
.cname("string")
.key("string")
.leafDomainLabel("string")
.overwriteExistingDomain(false)
.build())
.tags(Map.of("string", "string"))
.build());
inference_cluster_resource = azure.machinelearning.InferenceCluster("inferenceClusterResource",
kubernetes_cluster_id="string",
machine_learning_workspace_id="string",
cluster_purpose="string",
description="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
location="string",
name="string",
ssl={
"cert": "string",
"cname": "string",
"key": "string",
"leaf_domain_label": "string",
"overwrite_existing_domain": False,
},
tags={
"string": "string",
})
const inferenceClusterResource = new azure.machinelearning.InferenceCluster("inferenceClusterResource", {
kubernetesClusterId: "string",
machineLearningWorkspaceId: "string",
clusterPurpose: "string",
description: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
location: "string",
name: "string",
ssl: {
cert: "string",
cname: "string",
key: "string",
leafDomainLabel: "string",
overwriteExistingDomain: false,
},
tags: {
string: "string",
},
});
type: azure:machinelearning:InferenceCluster
properties:
clusterPurpose: string
description: string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
kubernetesClusterId: string
location: string
machineLearningWorkspaceId: string
name: string
ssl:
cert: string
cname: string
key: string
leafDomainLabel: string
overwriteExistingDomain: false
tags:
string: string
InferenceCluster 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 InferenceCluster resource accepts the following input properties:
- Kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- Cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - Description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- Name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Dictionary<string, string>
- 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.
- Kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- Cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - Description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Identity
Inference
Cluster Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- Name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Ssl
Inference
Cluster Ssl Args - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - map[string]string
- 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.
- kubernetes
Cluster StringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- cluster
Purpose String - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description String
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - location String
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- name String
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Map<String,String>
- 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.
- kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - {[key: string]: string}
- 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.
- kubernetes_
cluster_ strid - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine_
learning_ strworkspace_ id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- cluster_
purpose str - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description str
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - location str
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- name str
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl Args - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Mapping[str, str]
- 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.
- kubernetes
Cluster StringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- cluster
Purpose String - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description String
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity Property Map
- An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - location String
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- name String
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl Property Map
- A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the InferenceCluster 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 InferenceCluster Resource
Get an existing InferenceCluster 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?: InferenceClusterState, opts?: CustomResourceOptions): InferenceCluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_purpose: Optional[str] = None,
description: Optional[str] = None,
identity: Optional[InferenceClusterIdentityArgs] = None,
kubernetes_cluster_id: Optional[str] = None,
location: Optional[str] = None,
machine_learning_workspace_id: Optional[str] = None,
name: Optional[str] = None,
ssl: Optional[InferenceClusterSslArgs] = None,
tags: Optional[Mapping[str, str]] = None) -> InferenceClusterfunc GetInferenceCluster(ctx *Context, name string, id IDInput, state *InferenceClusterState, opts ...ResourceOption) (*InferenceCluster, error)public static InferenceCluster Get(string name, Input<string> id, InferenceClusterState? state, CustomResourceOptions? opts = null)public static InferenceCluster get(String name, Output<String> id, InferenceClusterState state, CustomResourceOptions options)resources: _: type: azure:machinelearning:InferenceCluster 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.
- Cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - Description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- Name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Dictionary<string, string>
- 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.
- Cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - Description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Identity
Inference
Cluster Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- Name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Ssl
Inference
Cluster Ssl Args - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - map[string]string
- 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.
- cluster
Purpose String - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description String
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - kubernetes
Cluster StringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- location String
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- name String
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Map<String,String>
- 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.
- cluster
Purpose string - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description string
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - kubernetes
Cluster stringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- location string
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- name string
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - {[key: string]: string}
- 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.
- cluster_
purpose str - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description str
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity
Inference
Cluster Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - kubernetes_
cluster_ strid - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- location str
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine_
learning_ strworkspace_ id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- name str
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl
Inference
Cluster Ssl Args - A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Mapping[str, str]
- 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.
- cluster
Purpose String - The purpose of the Inference Cluster. Options are
DevTest,DenseProdandFastProd. If used for Development or Testing, useDevTesthere. Default purpose isFastProd, which is recommended for production workloads. Changing this forces a new Machine Learning Inference Cluster to be created. - description String
- The description of the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- identity Property Map
- An
identityblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - kubernetes
Cluster StringId - The ID of the Kubernetes Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- location String
- The Azure Region where the Machine Learning Inference Cluster should exist. Changing this forces a new Machine Learning Inference Cluster to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Inference Cluster to be created.
- name String
- The name which should be used for this Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- ssl Property Map
- A
sslblock as defined below. Changing this forces a new Machine Learning Inference Cluster to be created. - Map<String>
- 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.
Supporting Types
InferenceClusterIdentity, InferenceClusterIdentityArgs
- Type string
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - Identity
Ids List<string> - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- Type string
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - Identity
Ids []string - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- type String
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - identity
Ids List<String> - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- type string
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - identity
Ids string[] - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- type str
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - identity_
ids Sequence[str] - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- principal_
id str - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- tenant_
id str - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- type String
- The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are
SystemAssigned,UserAssignedandSystemAssigned, UserAssigned(to enable both). - identity
Ids List<String> - A list of User Managed Identity ID's which should be assigned to the Machine Learning Inference Cluster. Changing this forces a new Machine Learning Inference Cluster to be created.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Inference Cluster.
InferenceClusterSsl, InferenceClusterSslArgs
- Cert string
- 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. - Cname string
- 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. - Key string
- 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. - Leaf
Domain stringLabel - 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. - Overwrite
Existing boolDomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
- Cert string
- 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. - Cname string
- 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. - Key string
- 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. - Leaf
Domain stringLabel - 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. - Overwrite
Existing boolDomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
- cert String
- 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. - cname String
- 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. - key String
- 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. - leaf
Domain StringLabel - 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. - overwrite
Existing BooleanDomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
- cert string
- 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. - cname string
- 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. - key string
- 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. - leaf
Domain stringLabel - 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. - overwrite
Existing booleanDomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
- cert str
- 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. - cname str
- 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. - key str
- 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. - leaf_
domain_ strlabel - 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. - overwrite_
existing_ booldomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
- cert String
- 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. - cname String
- 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. - key String
- 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. - leaf
Domain StringLabel - 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. - overwrite
Existing BooleanDomain - Whether or not to overwrite existing leaf domain. Conflicts with
ssl.0.cert,ssl.0.key,ssl.0.cnameChanging this forces a new Machine Learning Inference Cluster to be created.
Import
Machine Learning Inference Clusters can be imported using the resource id, e.g.
$ pulumi import azure:machinelearning/inferenceCluster:InferenceCluster 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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
