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 the linked service to link an Azure Machine learning workspace to an Azure Synapse workspace.
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 exampleDataLakeGen2Filesystem = new Azure.Storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", new Azure.Storage.DataLakeGen2FilesystemArgs
{
StorageAccountId = exampleAccount.Id,
});
var exampleSynapse_workspaceWorkspace = new Azure.Synapse.Workspace("exampleSynapse/workspaceWorkspace", new Azure.Synapse.WorkspaceArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
StorageDataLakeGen2FilesystemId = exampleDataLakeGen2Filesystem.Id,
SqlAdministratorLogin = "sqladminuser",
SqlAdministratorLoginPassword = "H@Sh1CoR3!",
});
var exampleSparkPool = new Azure.Synapse.SparkPool("exampleSparkPool", new Azure.Synapse.SparkPoolArgs
{
SynapseWorkspaceId = exampleSynapse / workspaceWorkspace.Id,
NodeSizeFamily = "MemoryOptimized",
NodeSize = "Small",
NodeCount = 3,
});
var exampleSynapseSpark = new Azure.MachineLearning.SynapseSpark("exampleSynapseSpark", new Azure.MachineLearning.SynapseSparkArgs
{
MachineLearningWorkspaceId = exampleWorkspace.Id,
Location = exampleResourceGroup.Location,
SynapseSparkPoolId = exampleSparkPool.Id,
Identity = new Azure.MachineLearning.Inputs.SynapseSparkIdentityArgs
{
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/storage"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/synapse"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("west europe"),
Tags: pulumi.StringMap{
"stage": pulumi.String("example"),
},
})
if err != nil {
return err
}
exampleInsights, err := appinsights.NewInsights(ctx, "exampleInsights", &appinsights.InsightsArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
ApplicationType: pulumi.String("web"),
})
if err != nil {
return err
}
exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
TenantId: pulumi.String(current.TenantId),
SkuName: pulumi.String("standard"),
PurgeProtectionEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleWorkspace, err := machinelearning.NewWorkspace(ctx, "exampleWorkspace", &machinelearning.WorkspaceArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
ApplicationInsightsId: exampleInsights.ID(),
KeyVaultId: exampleKeyVault.ID(),
StorageAccountId: exampleAccount.ID(),
Identity: &machinelearning.WorkspaceIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
exampleDataLakeGen2Filesystem, err := storage.NewDataLakeGen2Filesystem(ctx, "exampleDataLakeGen2Filesystem", &storage.DataLakeGen2FilesystemArgs{
StorageAccountId: exampleAccount.ID(),
})
if err != nil {
return err
}
_, err = synapse.NewWorkspace(ctx, "exampleSynapse/workspaceWorkspace", &synapse.WorkspaceArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
StorageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.ID(),
SqlAdministratorLogin: pulumi.String("sqladminuser"),
SqlAdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"),
})
if err != nil {
return err
}
exampleSparkPool, err := synapse.NewSparkPool(ctx, "exampleSparkPool", &synapse.SparkPoolArgs{
SynapseWorkspaceId: exampleSynapse / workspaceWorkspace.Id,
NodeSizeFamily: pulumi.String("MemoryOptimized"),
NodeSize: pulumi.String("Small"),
NodeCount: pulumi.Int(3),
})
if err != nil {
return err
}
_, err = machinelearning.NewSynapseSpark(ctx, "exampleSynapseSpark", &machinelearning.SynapseSparkArgs{
MachineLearningWorkspaceId: exampleWorkspace.ID(),
Location: exampleResourceGroup.Location,
SynapseSparkPoolId: exampleSparkPool.ID(),
Identity: &machinelearning.SynapseSparkIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
return nil
})
}
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 exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", {storageAccountId: exampleAccount.id});
const exampleSynapse_workspaceWorkspace = new azure.synapse.Workspace("exampleSynapse/workspaceWorkspace", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id,
sqlAdministratorLogin: "sqladminuser",
sqlAdministratorLoginPassword: "H@Sh1CoR3!",
});
const exampleSparkPool = new azure.synapse.SparkPool("exampleSparkPool", {
synapseWorkspaceId: exampleSynapse / workspaceWorkspace.id,
nodeSizeFamily: "MemoryOptimized",
nodeSize: "Small",
nodeCount: 3,
});
const exampleSynapseSpark = new azure.machinelearning.SynapseSpark("exampleSynapseSpark", {
machineLearningWorkspaceId: exampleWorkspace.id,
location: exampleResourceGroup.location,
synapseSparkPoolId: exampleSparkPool.id,
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_data_lake_gen2_filesystem = azure.storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", storage_account_id=example_account.id)
example_synapse_workspace_workspace = azure.synapse.Workspace("exampleSynapse/workspaceWorkspace",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
storage_data_lake_gen2_filesystem_id=example_data_lake_gen2_filesystem.id,
sql_administrator_login="sqladminuser",
sql_administrator_login_password="H@Sh1CoR3!")
example_spark_pool = azure.synapse.SparkPool("exampleSparkPool",
synapse_workspace_id=example_synapse / workspace_workspace["id"],
node_size_family="MemoryOptimized",
node_size="Small",
node_count=3)
example_synapse_spark = azure.machinelearning.SynapseSpark("exampleSynapseSpark",
machine_learning_workspace_id=example_workspace.id,
location=example_resource_group.location,
synapse_spark_pool_id=example_spark_pool.id,
identity=azure.machinelearning.SynapseSparkIdentityArgs(
type="SystemAssigned",
))
Example coming soon!
Create SynapseSpark Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SynapseSpark(name: string, args: SynapseSparkArgs, opts?: CustomResourceOptions);@overload
def SynapseSpark(resource_name: str,
args: SynapseSparkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SynapseSpark(resource_name: str,
opts: Optional[ResourceOptions] = None,
machine_learning_workspace_id: Optional[str] = None,
synapse_spark_pool_id: Optional[str] = None,
description: Optional[str] = None,
identity: Optional[SynapseSparkIdentityArgs] = None,
local_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewSynapseSpark(ctx *Context, name string, args SynapseSparkArgs, opts ...ResourceOption) (*SynapseSpark, error)public SynapseSpark(string name, SynapseSparkArgs args, CustomResourceOptions? opts = null)
public SynapseSpark(String name, SynapseSparkArgs args)
public SynapseSpark(String name, SynapseSparkArgs args, CustomResourceOptions options)
type: azure:machinelearning:SynapseSpark
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 SynapseSparkArgs
- 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 SynapseSparkArgs
- 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 SynapseSparkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SynapseSparkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SynapseSparkArgs
- 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 synapseSparkResource = new Azure.MachineLearning.SynapseSpark("synapseSparkResource", new()
{
MachineLearningWorkspaceId = "string",
SynapseSparkPoolId = "string",
Description = "string",
Identity = new Azure.MachineLearning.Inputs.SynapseSparkIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
LocalAuthEnabled = false,
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := machinelearning.NewSynapseSpark(ctx, "synapseSparkResource", &machinelearning.SynapseSparkArgs{
MachineLearningWorkspaceId: pulumi.String("string"),
SynapseSparkPoolId: pulumi.String("string"),
Description: pulumi.String("string"),
Identity: &machinelearning.SynapseSparkIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
LocalAuthEnabled: pulumi.Bool(false),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var synapseSparkResource = new SynapseSpark("synapseSparkResource", SynapseSparkArgs.builder()
.machineLearningWorkspaceId("string")
.synapseSparkPoolId("string")
.description("string")
.identity(SynapseSparkIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.localAuthEnabled(false)
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
synapse_spark_resource = azure.machinelearning.SynapseSpark("synapseSparkResource",
machine_learning_workspace_id="string",
synapse_spark_pool_id="string",
description="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
local_auth_enabled=False,
location="string",
name="string",
tags={
"string": "string",
})
const synapseSparkResource = new azure.machinelearning.SynapseSpark("synapseSparkResource", {
machineLearningWorkspaceId: "string",
synapseSparkPoolId: "string",
description: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
localAuthEnabled: false,
location: "string",
name: "string",
tags: {
string: "string",
},
});
type: azure:machinelearning:SynapseSpark
properties:
description: string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
localAuthEnabled: false
location: string
machineLearningWorkspaceId: string
name: string
synapseSparkPoolId: string
tags:
string: string
SynapseSpark 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 SynapseSpark resource accepts the following input properties:
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- Synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - Location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- Name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- Synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Identity
Synapse
Spark Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - Location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- Name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- map[string]string
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark StringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- description String
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location String
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- name String
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth booleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine_
learning_ strworkspace_ id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse_
spark_ strpool_ id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- description str
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local_
auth_ boolenabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location str
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- name str
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark StringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- description String
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity Property Map
- An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location String
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- name String
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Map<String>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the SynapseSpark 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 SynapseSpark Resource
Get an existing SynapseSpark 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?: SynapseSparkState, opts?: CustomResourceOptions): SynapseSpark@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
identity: Optional[SynapseSparkIdentityArgs] = None,
local_auth_enabled: Optional[bool] = None,
location: Optional[str] = None,
machine_learning_workspace_id: Optional[str] = None,
name: Optional[str] = None,
synapse_spark_pool_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> SynapseSparkfunc GetSynapseSpark(ctx *Context, name string, id IDInput, state *SynapseSparkState, opts ...ResourceOption) (*SynapseSpark, error)public static SynapseSpark Get(string name, Input<string> id, SynapseSparkState? state, CustomResourceOptions? opts = null)public static SynapseSpark get(String name, Output<String> id, SynapseSparkState state, CustomResourceOptions options)resources: _: type: azure:machinelearning:SynapseSpark 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.
- Description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - Location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- Name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Identity
Synapse
Spark Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - Local
Auth boolEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - Location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- Machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- Name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- map[string]string
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- description String
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location String
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- name String
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark StringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Map<String,String>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- description string
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth booleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location string
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning stringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- name string
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark stringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- description str
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity
Synapse
Spark Identity Args - An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local_
auth_ boolenabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location str
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine_
learning_ strworkspace_ id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- name str
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse_
spark_ strpool_ id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- description String
- The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- identity Property Map
- An
identityblock as defined below. Changing this forces a new Machine Learning Synapse Spark to be created. - local
Auth BooleanEnabled - Whether local authentication methods is enabled. Defaults to
true. Changing this forces a new Machine Learning Synapse Spark to be created. - location String
- The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.
- machine
Learning StringWorkspace Id - The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.
- name String
- The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- synapse
Spark StringPool Id - The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.
- Map<String>
- A mapping of tags which should be assigned to the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
Supporting Types
SynapseSparkIdentity, SynapseSparkIdentityArgs
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- Principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- Tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- principal
Id string - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- tenant
Id string - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- principal_
id str - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- tenant_
id str - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- 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 Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.
- principal
Id String - The Principal ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Managed Service Identity of this Machine Learning Synapse Spark.
Import
Machine Learning Synapse Sparks can be imported using the resource id, e.g.
$ pulumi import azure:machinelearning/synapseSpark:SynapseSpark example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/computes/compute1
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
