Azure Machine Learning Synapse Spark

This page shows how to write Terraform and Azure Resource Manager for Machine Learning Synapse Spark and write them securely.

azurerm_machine_learning_synapse_spark (Terraform)

The Synapse Spark in Machine Learning can be configured in Terraform with the resource name azurerm_machine_learning_synapse_spark. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

The following arguments are supported:

  • name - (Required) The name which should be used for this Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.

  • machine_learning_workspace_id - (Required) The ID of the Machine Learning Workspace. Changing this forces a new Machine Learning Synapse Spark to be created.

  • location - (Required) The Azure Region where the Machine Learning Synapse Spark should exist. Changing this forces a new Machine Learning Synapse Spark to be created.

  • synapse_spark_pool_id - (Required) The ID of the linked Synapse Spark Pool. Changing this forces a new Machine Learning Synapse Spark to be created.


  • description - (Optional) The description of the Machine Learning Synapse Spark. Changing this forces a new Machine Learning Synapse Spark to be created.

  • identity - (Optional) An identity block as defined below. Changing this forces a new Machine Learning Synapse Spark to be created.

  • local_auth_enabled - (Optional) Whether local authentication methods is enabled. Defaults to true. Changing this forces a new Machine Learning Synapse Spark to be created.

  • tags - (Optional) 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.


A identity block supports the following:

  • type - (Required) The Type of Identity which should be used for this Machine Learning Synapse Spark. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned. Changing this forces a new Machine Learning Synapse Spark to be created.

  • identity_ids - (Optional) 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.

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Machine Learning Synapse Spark.

  • identity - An identity block as defined below, which contains the Managed Service Identity information for this Machine Learning Synapse Spark.


A identity block exports the following:

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

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

Explanation in Terraform Registry

Manages a Machine Learning Synapse Spark.

Microsoft.MachineLearningServices/workspaces/computes (Azure Resource Manager)

The workspaces/computes in Microsoft.MachineLearningServices can be configured in Azure Resource Manager with the resource name Microsoft.MachineLearningServices/workspaces/computes. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • identity optional
      • type optional - string

        The identity type.

      • userAssignedIdentities optional - undefined

        dictionary containing all the user assigned identities, with resourceId of the UAI as key.

  • location optional - string

    Specifies the location of the resource.

  • name required - string

    Name of the Azure Machine Learning compute.

  • properties required
      • computeLocation optional - string

        Location for the underlying compute

      • description optional - string

        The description of the Machine Learning compute.

      • disableLocalAuth optional - boolean

        Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.

      • resourceId optional - string

        ARM resource id of the underlying compute

  • sku optional
      • name optional - string

        Name of the sku

      • tier optional - string

        Tier of the sku like Basic or Enterprise

  • systemData optional
      • createdAt optional - string

        The timestamp of resource creation (UTC).

      • createdBy optional - string

        The identity that created the resource.

      • createdByType optional - string

        The type of identity that created the resource.

      • lastModifiedAt optional - string

        The timestamp of resource last modification (UTC)

      • lastModifiedBy optional - string

        The identity that last modified the resource.

      • lastModifiedByType optional - string

        The type of identity that last modified the resource.

  • tags optional - string

    Contains resource tags defined as key/value pairs.

  • type required - string

Frequently asked questions

What is Azure Machine Learning Synapse Spark?

Azure Machine Learning Synapse Spark is a resource for Machine Learning of Microsoft Azure. Settings can be wrote in Terraform.