Share via


Microsoft.MachineLearningServices ワークスペース/computes 2021-03-01-preview

Bicep リソース定義

workspaces/computes リソースの種類は、次を対象とする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.MachineLearningServices/workspaces/computes リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/computes@2021-03-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
    {customized property}: 'string'
  sku: {
    name: 'string'
    tier: 'string'
  }
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    computeLocation: 'string'
    description: 'string'
    disableLocalAuth: bool
    resourceId: 'string'
    computeType: 'string'
    // For remaining properties, see Compute objects
  }
}

コンピューティング オブジェクト

computeType プロパティを設定して、オブジェクトの種類を指定します。

AKS の場合は、次の値を使用します。

  computeType: 'AKS'
  properties: {
    agentCount: int
    agentVmSize: 'string'
    aksNetworkingConfiguration: {
      dnsServiceIP: 'string'
      dockerBridgeCidr: 'string'
      serviceCidr: 'string'
      subnetId: 'string'
    }
    clusterFqdn: 'string'
    clusterPurpose: 'string'
    loadBalancerSubnet: 'string'
    loadBalancerType: 'string'
    sslConfiguration: {
      cert: 'string'
      cname: 'string'
      key: 'string'
      leafDomainLabel: 'string'
      overwriteExistingDomain: bool
      status: 'string'
    }
  }

AmlCompute の場合は、次の値を使用します。

  computeType: 'AmlCompute'
  properties: {
    enableNodePublicIp: bool
    isolatedNetwork: bool
    osType: 'string'
    remoteLoginPortPublicAccess: 'string'
    scaleSettings: {
      maxNodeCount: int
      minNodeCount: int
      nodeIdleTimeBeforeScaleDown: 'string'
    }
    subnet: {
      id: 'string'
    }
    userAccountCredentials: {
      adminUserName: 'string'
      adminUserPassword: 'string'
      adminUserSshPublicKey: 'string'
    }
    virtualMachineImage: {
      id: 'string'
    }
    vmPriority: 'string'
    vmSize: 'string'
  }

ComputeInstance の場合は、次の値を使用します。

  computeType: 'ComputeInstance'
  properties: {
    applicationSharingPolicy: 'string'
    computeInstanceAuthorizationType: 'personal'
    enableNodePublicIp: bool
    personalComputeInstanceSettings: {
      assignedUser: {
        objectId: 'string'
        tenantId: 'string'
      }
    }
    schedules: {
      computeStartStop: [
        {
          action: 'string'
          cron: {
            expression: 'string'
            startTime: 'string'
            timeZone: 'string'
          }
          recurrence: {
            frequency: 'string'
            interval: int
            schedule: {
              hours: [
                int
              ]
              minutes: [
                int
              ]
              weekDays: [
                'string'
              ]
            }
            startTime: 'string'
            timeZone: 'string'
          }
          status: 'string'
          triggerType: 'string'
        }
      ]
    }
    setupScripts: {
      scripts: {
        creationScript: {
          scriptArguments: 'string'
          scriptData: 'string'
          scriptSource: 'string'
          timeout: 'string'
        }
        startupScript: {
          scriptArguments: 'string'
          scriptData: 'string'
          scriptSource: 'string'
          timeout: 'string'
        }
      }
    }
    sshSettings: {
      adminPublicKey: 'string'
      sshPublicAccess: 'string'
    }
    subnet: {
      id: 'string'
    }
    vmSize: 'string'
  }

Databricks の場合は、次の値を使用します。

  computeType: 'Databricks'
  properties: {
    databricksAccessToken: 'string'
    workspaceUrl: 'string'
  }

DataFactory の場合は、次の値を使用します。

  computeType: 'DataFactory'

DataLakeAnalytics の場合は、次の値を使用します。

  computeType: 'DataLakeAnalytics'
  properties: {
    dataLakeStoreAccountName: 'string'
  }

HDInsight の場合は、次の値を使用します。

  computeType: 'HDInsight'
  properties: {
    address: 'string'
    administratorAccount: {
      password: 'string'
      privateKeyData: 'string'
      publicKeyData: 'string'
      username: 'string'
    }
    sshPort: int
  }

SynapseSpark の場合は、次を使用します。

  computeType: 'SynapseSpark'
  properties: {
    autoPauseProperties: {
      delayInMinutes: int
      enabled: bool
    }
    autoScaleProperties: {
      enabled: bool
      maxNodeCount: int
      minNodeCount: int
    }
    nodeCount: int
    nodeSize: 'string'
    nodeSizeFamily: 'string'
    poolName: 'string'
    resourceGroup: 'string'
    sparkVersion: 'string'
    subscriptionId: 'string'
    workspaceName: 'string'
  }

VirtualMachine の場合は、次の値を使用します。

  computeType: 'VirtualMachine'
  properties: {
    address: 'string'
    administratorAccount: {
      password: 'string'
      privateKeyData: 'string'
      publicKeyData: 'string'
      username: 'string'
    }
    isNotebookInstanceCompute: bool
    sshPort: int
    virtualMachineSize: 'string'
  }

プロパティ値

workspaces/computes

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字制限: コンピューティング インスタンスの場合は 3 から 24
3-32 (AML コンピューティングの場合)
2-16 (その他のコンピューティングの種類の場合)

有効な文字:
英数字とハイフン。
location リソースの場所を指定します。 string
tags キーと値のペアとして定義されたリソース タグが含まれます。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
sku ワークスペースの SKU。 SKU
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部の子リソース」を参照してください。
種類のリソースのシンボル名: ワークスペース
identity リソースの ID。 ID
properties コンピューティング プロパティ Compute

ID

名前 説明
type ID の種類。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities リソースに関連付けられているユーザー割り当て ID。 UserAssignedIdentities

UserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserAssignedIdentity

UserAssignedIdentity

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

Compute

名前 説明
computeLocation 基になるコンピューティングの場所 string
description Machine Learning コンピューティングの説明。 string
disableLocalAuth ローカル認証をオプトアウトし、お客様が認証にのみ MSI と AAD のみを使用できることを確認します。 [bool]
resourceId 基になるコンピューティングの ARM リソース ID string
computeType オブジェクトの種類を設定する AKS
AmlCompute
ComputeInstance
Databricks
DataFactory
DataLakeAnalytics
HDInsight
SynapseSpark
VirtualMachine (必須)

AKS

名前 説明
computeType コンピューティングの種類 'AKS' (必須)
properties AKS プロパティ AKSProperties

AKSProperties

名前 説明
agentCount エージェントの数 INT

制約:
最小値 = 0
agentVmSize エージェント仮想マシンのサイズ string
aksNetworkingConfiguration vnet の AKS ネットワーク構成 AksNetworkingConfiguration
clusterFqdn クラスターの完全修飾ドメイン名 string
clusterPurpose クラスターの使用目的 'DenseProd'
'DevTest'
'FastProd'
loadBalancerSubnet Load Balancer サブネット string
loadBalancerType Load Balancerの種類 'InternalLoadBalancer'
'PublicIp'
sslConfiguration SSL の構成 SslConfiguration

AksNetworkingConfiguration

名前 説明
dnsServiceIP Kubernetes DNS サービスに割り当てられた IP アドレス。 これは、serviceCidr で指定された Kubernetes サービス アドレス範囲内にある必要があります。 string

制約:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr Docker ブリッジ ネットワークに割り当てられた CIDR 表記 IP 範囲。 サブネット IP 範囲または Kubernetes サービスアドレス範囲と重複してはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr Kubenet を使用している場合、サービス クラスター IP を割り当てる CIDR 表記の IP 範囲。 どのサブネット IP アドレスとも重複していてはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID string

SslConfiguration

名前 説明
cert 証明書データ string
cname 証明書の CNAME string
key キー データ string
leafDomainLabel パブリック エンドポイントのリーフ ドメイン ラベル string
overwriteExistingDomain 既存のドメイン ラベルを上書きするかどうかを示します。 [bool]
status スコアリングの ssl を有効または無効にする 'Auto'
'Disabled'
'Enabled'

AmlCompute

名前 説明
computeType コンピューティングの種類 'AmlCompute' (必須)
properties AML コンピューティングのプロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノードのパブリック IP アドレスプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 'Linux'
'Windows'
remoteLoginPortPublicAccess パブリック SSH ポートの状態。 使用可能な値は次のとおりです。 [無効] - クラスターのすべてのノードでパブリック ssh ポートが閉じられていることを示します。 Enabled - クラスターのすべてのノードでパブリック SSH ポートが開かれていることを示します。 NotSpecified - VNet が定義されている場合は、クラスターのすべてのノードでパブリック SSH ポートが閉じられていることを示します。それ以外の場合は、すべてのパブリック ノードが開かれている状態です。 これは、クラスターの作成時にのみ既定にでき、作成後に有効または無効になります。 'Disabled'
'Enabled'
'NotSpecified'
scaleSettings AML コンピューティングのスケール設定 ScaleSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
userAccountCredentials 各コンピューティング ノードに作成される管理者ユーザー アカウントの資格情報。 UserAccountCredentials
virtualMachineImage AML コンピューティング用の仮想マシン イメージ - ウィンドウのみ VirtualMachineImage
vmPriority 仮想マシンの優先度 'Dedicated'
'LowPriority'
vmSize 仮想マシンのサイズ string

ScaleSettings

名前 説明
maxNodeCount 使用するノードの最大数 int (必須)
minNodeCount 使用するノードの最小数 INT
nodeIdleTimeBeforeScaleDown amlCompute をスケールダウンする前のノードアイドル時間。 この文字列は RFC 形式である必要があります。 string

ResourceId

名前 説明
id リソースの ID string (必須)

UserAccountCredentials

名前 説明
adminUserName ノードへの SSH 接続に使用できる管理者ユーザー アカウントの名前。 string (必須)
adminUserPassword 管理者のユーザー アカウントのパスワード。 string
adminUserSshPublicKey 管理者ユーザー アカウントの SSH 公開キー。 string

VirtualMachineImage

名前 説明
id 仮想マシンイメージのパス string (必須)

ComputeInstance

名前 説明
computeType コンピューティングの種類 'ComputeInstance' (必須)
properties コンピューティング インスタンスのプロパティ ComputeInstanceProperties

ComputeInstanceProperties

名前 説明
applicationSharingPolicy 親ワークスペースのユーザー間でこのコンピューティング インスタンス上のアプリケーションを共有するためのポリシー。 Personal の場合、作成者のみがこのコンピューティング インスタンス上のアプリケーションにアクセスできます。 [共有] の場合、ワークスペース ユーザーは、割り当てられたロールに応じて、このインスタンスのアプリケーションにアクセスできます。 'Personal'
'Shared'
computeInstanceAuthorizationType コンピューティング インスタンスの承認の種類。 使用可能な値は personal (既定値) です。 'personal'
enableNodePublicIp ノードのパブリック IP アドレスプロビジョニングを有効または無効にします。 指定できる値は true です。 - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
personalComputeInstanceSettings 個人用コンピューティング インスタンスの設定。 PersonalComputeInstanceSettings
schedules コンピューティング インスタンスに適用するスケジュールの一覧。 ComputeSchedules
setupScripts クラスターを設定するために実行するカスタマイズされたスクリプトの詳細。 SetupScripts
sshSettings SSH アクセスのポリシーと設定を指定します。 ComputeInstanceSshSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
vmSize 仮想マシンのサイズ string

PersonalComputeInstanceSettings

名前 説明
assignedUser パーソナル コンピューティング インスタンスに明示的に割り当てられたユーザー。 AssignedUser

AssignedUser

名前 説明
objectId ユーザーの AAD オブジェクト ID。 string (必須)
tenantId ユーザーの AAD テナント ID。 string (必須)

ComputeSchedules

名前 説明
computeStartStop 適用するコンピューティング開始停止スケジュールの一覧。 ComputeStartStopSchedule[]

ComputeStartStopSchedule

名前 説明
action コンピューティング電源アクション。 'Start'
'Stop'
cron ComputeStartStop スケジュールの種類のワークフロー トリガー cron。 Cron
recurrence ComputeStartStop スケジュールの種類のワークフロー トリガーの繰り返し。 定期的なアイテム
status スケジュールの状態。 'Disabled'
'Enabled'
triggerType スケジュール トリガーの種類。 'Cron'
'Recurrence'

Cron

名前 説明
expression cron 式。 string
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

繰り返し

名前 説明
frequency 繰り返しの頻度。 'Day'
'Hour'
'Minute'
'Month'
'NotSpecified'
'Second'
'Week'
'Year'
interval 間隔。 INT
schedule 繰り返しスケジュール RecurrenceSchedule
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

RecurrenceSchedule

名前 説明
時間 時間。 int[]
minutes 分。 int[]
weekDays 曜日。 次のいずれかを含む文字列配列:
'Friday'
'Monday'
'Saturday'
'日曜日'
'木曜日'
'Tuesday'
'水曜'

SetupScripts

名前 説明
スクリプト カスタマイズされたセットアップ スクリプト ScriptsToExecute

ScriptsToExecute

名前 説明
creationScript コンピューティングのプロビジョニング中に 1 回だけ実行されるスクリプト。 ScriptReference
startupScript マシンが起動するたびに実行されるスクリプト。 ScriptReference

ScriptReference

名前 説明
scriptArguments 実行するスクリプトに渡される省略可能なコマンド ライン引数。 string
scriptData マウントされたボリューム内のスクリプトの場所。 string
scriptSource スクリプトのストレージ ソース: インライン、ワークスペース。 string
timeout タイムアウト コマンドに渡される省略可能な期間。 string

ComputeInstanceSshSettings

名前 説明
adminPublicKey SSH rsa 公開キー ファイルを文字列として指定します。 "ssh-keygen -t rsa -b 2048" を使用して、SSH キー ペアを生成します。 string
sshPublicAccess パブリック SSH ポートの状態。 使用可能な値は次のとおりです。無効 - このインスタンスでパブリック ssh ポートが閉じられていることを示します。 [有効] - パブリック ssh ポートが開き、該当する場合は VNet/サブネット ポリシーに従ってアクセス可能であることを示します。 'Disabled'
'Enabled'

Databricks

名前 説明
computeType コンピューティングの種類 'Databricks' (必須)
properties DatabricksProperties

DatabricksProperties

名前 説明
databricksAccessToken Databricks アクセス トークン string
workspaceUrl ワークスペースの URL string

DataFactory

名前 説明
computeType コンピューティングの種類 'DataFactory' (必須)

DataLakeAnalytics

名前 説明
computeType コンピューティングの種類 'DataLakeAnalytics' (必須)
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名前 説明
dataLakeStoreAccountName DataLake Store アカウント名 string

HDInsight

名前 説明
computeType コンピューティングの種類 'HDInsight' (必須)
properties HDInsightProperties

HDInsightProperties

名前 説明
address クラスターのマスター ノードのパブリック IP アドレス。 string
administratorAccount クラスターのマスター ノードの資格情報を管理する VirtualMachineSshCredentials
sshPort クラスターのマスター ノード上の ssh 接続用にポートを開きます。 INT

VirtualMachineSshCredentials

名前 説明
password 管理者アカウントのパスワード string
privateKeyData 秘密キー データ string
publicKeyData 公開キー データ string
username 管理者アカウントのユーザー名 string

SynapseSpark

名前 説明
computeType コンピューティングの種類 'SynapseSpark' (必須)
properties AKS プロパティ SynapseSparkPoolPropertiesProperties

SynapseSparkPoolPropertiesProperties

名前 説明
autoPauseProperties プロパティの自動一時停止。 AutoPauseProperties
autoScaleProperties 自動スケール のプロパティ。 AutoScaleProperties
nodeCount コンピューティングに現在割り当てられているコンピューティング ノードの数。 INT
nodeSize ノード サイズ。 string
nodeSizeFamily ノード サイズ ファミリ。 string
poolName プール名。 string
resourceGroup ワークスペースが配置されているリソース グループの名前。 string
sparkVersion Spark バージョン。 string
subscriptionId Azure サブスクリプションの識別子。 string
workspaceName Azure Machine Learning ワークスペースの名前。 string

AutoPauseProperties

名前 説明
delayInMinutes INT
enabled [bool]

AutoScaleProperties

名前 説明
enabled [bool]
maxNodeCount INT
minNodeCount INT

VirtualMachine

名前 説明
computeType コンピューティングの種類 'VirtualMachine' (必須)
properties VirtualMachineProperties

VirtualMachineProperties

名前 説明
address 仮想マシンのパブリック IP アドレス。 string
administratorAccount 仮想マシンの管理資格情報 VirtualMachineSshCredentials
isNotebookInstanceCompute このコンピューティングをノートブックの実行に使用するかどうかを示します。 [bool]
sshPort SSH 接続用にポートを開きます。 INT
virtualMachineSize 仮想マシンのサイズ string

Sku

名前 説明
name SKU の名前 string
レベル Basic や Enterprise などの SKU のレベル string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Machine Learning Service ADLA コンピューティングを作成する

Azure にデプロイする
このテンプレートは、Machine Learning Service ADLA コンピューティングを作成します。
Machine Learning Service Aks コンピューティングを作成する

Azure にデプロイする
このテンプレートでは、Machine Learning Service Aks コンピューティングを作成します。
Machine Learning Service DSVM コンピューティングを作成する

Azure にデプロイする
このテンプレートでは、Machine Learning Service DSVM コンピューティングを作成します。
Machine Learning Service HDInsight クラスターを作成する

Azure にデプロイする
このテンプレートでは、Machine Learning Service HDInsight クラスターを作成します
Azure Machine Learning aks コンピューティングを作成する

Azure にデプロイする
このテンプレートにより、Azure Machine Learning aks コンピューティングが作成されます。
Azure Machine Learning コンピューティング クラスターの作成

Azure にデプロイする
このテンプレートにより、Azure Machine Learning コンピューティング クラスターが作成されます。
Azure Machine Learning コンピューティング インスタンスを作成する

Azure にデプロイする
このテンプレートでは、インライン セットアップ スクリプトのサンプルを使用して、別のユーザーに代わって Azure Machine Learning コンピューティング インスタンスを作成します
Azure Machine Learning ワークスペースで LinkedService を作成する

Azure にデプロイする
このテンプレートは、既存の Azure Machine Learning ワークスペースに LinkedService を作成します。
プライベート IP アドレスを使用して AKS コンピューティング 先を作成する

Azure にデプロイする
このテンプレートでは、プライベート IP アドレスを使用して、特定の Azure Machine Learning サービス ワークスペースに AKS コンピューティング ターゲットを作成します。

ARM テンプレート リソース定義

workspaces/computes リソースの種類は、次をターゲットとする操作でデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.MachineLearningServices/workspaces/computes リソースを作成するには、次の JSON をテンプレートに追加します。

{
  "type": "Microsoft.MachineLearningServices/workspaces/computes",
  "apiVersion": "2021-03-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
    "{customized property}": "string"
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "computeLocation": "string",
    "description": "string",
    "disableLocalAuth": "bool",
    "resourceId": "string",
    "computeType": "string"
    // For remaining properties, see Compute objects
  }
}

コンピューティング オブジェクト

computeType プロパティを設定して、オブジェクトの種類を指定します。

AKS の場合は、次の値を使用します。

  "computeType": "AKS",
  "properties": {
    "agentCount": "int",
    "agentVmSize": "string",
    "aksNetworkingConfiguration": {
      "dnsServiceIP": "string",
      "dockerBridgeCidr": "string",
      "serviceCidr": "string",
      "subnetId": "string"
    },
    "clusterFqdn": "string",
    "clusterPurpose": "string",
    "loadBalancerSubnet": "string",
    "loadBalancerType": "string",
    "sslConfiguration": {
      "cert": "string",
      "cname": "string",
      "key": "string",
      "leafDomainLabel": "string",
      "overwriteExistingDomain": "bool",
      "status": "string"
    }
  }

AmlCompute の場合は、次の値を使用します。

  "computeType": "AmlCompute",
  "properties": {
    "enableNodePublicIp": "bool",
    "isolatedNetwork": "bool",
    "osType": "string",
    "remoteLoginPortPublicAccess": "string",
    "scaleSettings": {
      "maxNodeCount": "int",
      "minNodeCount": "int",
      "nodeIdleTimeBeforeScaleDown": "string"
    },
    "subnet": {
      "id": "string"
    },
    "userAccountCredentials": {
      "adminUserName": "string",
      "adminUserPassword": "string",
      "adminUserSshPublicKey": "string"
    },
    "virtualMachineImage": {
      "id": "string"
    },
    "vmPriority": "string",
    "vmSize": "string"
  }

ComputeInstance の場合は、次の値を使用します。

  "computeType": "ComputeInstance",
  "properties": {
    "applicationSharingPolicy": "string",
    "computeInstanceAuthorizationType": "personal",
    "enableNodePublicIp": "bool",
    "personalComputeInstanceSettings": {
      "assignedUser": {
        "objectId": "string",
        "tenantId": "string"
      }
    },
    "schedules": {
      "computeStartStop": [
        {
          "action": "string",
          "cron": {
            "expression": "string",
            "startTime": "string",
            "timeZone": "string"
          },
          "recurrence": {
            "frequency": "string",
            "interval": "int",
            "schedule": {
              "hours": [ "int" ],
              "minutes": [ "int" ],
              "weekDays": [ "string" ]
            },
            "startTime": "string",
            "timeZone": "string"
          },
          "status": "string",
          "triggerType": "string"
        }
      ]
    },
    "setupScripts": {
      "scripts": {
        "creationScript": {
          "scriptArguments": "string",
          "scriptData": "string",
          "scriptSource": "string",
          "timeout": "string"
        },
        "startupScript": {
          "scriptArguments": "string",
          "scriptData": "string",
          "scriptSource": "string",
          "timeout": "string"
        }
      }
    },
    "sshSettings": {
      "adminPublicKey": "string",
      "sshPublicAccess": "string"
    },
    "subnet": {
      "id": "string"
    },
    "vmSize": "string"
  }

Databricks の場合は、次を使用します。

  "computeType": "Databricks",
  "properties": {
    "databricksAccessToken": "string",
    "workspaceUrl": "string"
  }

DataFactory の場合は、次の値を使用します。

  "computeType": "DataFactory"

DataLakeAnalytics の場合は、次の値を使用します。

  "computeType": "DataLakeAnalytics",
  "properties": {
    "dataLakeStoreAccountName": "string"
  }

HDInsight の場合は、次の値を使用します。

  "computeType": "HDInsight",
  "properties": {
    "address": "string",
    "administratorAccount": {
      "password": "string",
      "privateKeyData": "string",
      "publicKeyData": "string",
      "username": "string"
    },
    "sshPort": "int"
  }

SynapseSpark の場合は、次の値を使用します。

  "computeType": "SynapseSpark",
  "properties": {
    "autoPauseProperties": {
      "delayInMinutes": "int",
      "enabled": "bool"
    },
    "autoScaleProperties": {
      "enabled": "bool",
      "maxNodeCount": "int",
      "minNodeCount": "int"
    },
    "nodeCount": "int",
    "nodeSize": "string",
    "nodeSizeFamily": "string",
    "poolName": "string",
    "resourceGroup": "string",
    "sparkVersion": "string",
    "subscriptionId": "string",
    "workspaceName": "string"
  }

VirtualMachine の場合は、次の値を使用します。

  "computeType": "VirtualMachine",
  "properties": {
    "address": "string",
    "administratorAccount": {
      "password": "string",
      "privateKeyData": "string",
      "publicKeyData": "string",
      "username": "string"
    },
    "isNotebookInstanceCompute": "bool",
    "sshPort": "int",
    "virtualMachineSize": "string"
  }

プロパティ値

workspaces/computes

名前 説明
type リソースの種類 'Microsoft.MachineLearningServices/workspaces/computes'
apiVersion リソース API のバージョン '2021-03-01-preview'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字制限: コンピューティング インスタンスの場合は 3 から 24
3-32 (AML コンピューティングの場合)
2-16 (その他のコンピューティングの種類の場合)

有効な文字:
英数字とハイフン。
location リソースの場所を指定します。 string
tags キーと値のペアとして定義されたリソース タグが含まれています。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
sku ワークスペースの SKU。 SKU
identity リソースの ID。 ID
properties コンピューティング プロパティ Compute

ID

名前 説明
type ID の種類。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities リソースに関連付けられているユーザー割り当て ID。 UserAssignedIdentities

UserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserAssignedIdentity

UserAssignedIdentity

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

Compute

名前 説明
computeLocation 基になるコンピューティングの場所 string
description Machine Learning コンピューティングの説明。 string
disableLocalAuth ローカル認証をオプトアウトし、お客様が認証にのみ MSI と AAD のみを使用できることを確認します。 [bool]
resourceId 基になるコンピューティングの ARM リソース ID string
computeType オブジェクトの種類を設定する AKS
AmlCompute
ComputeInstance
Databricks
DataFactory
DataLakeAnalytics
HDInsight
SynapseSpark
VirtualMachine (必須)

AKS

名前 説明
computeType コンピューティングの種類 'AKS' (必須)
properties AKS プロパティ AKSProperties

AKSProperties

名前 説明
agentCount エージェントの数 INT

制約:
最小値 = 0
agentVmSize エージェント仮想マシンのサイズ string
aksNetworkingConfiguration vnet の AKS ネットワーク構成 AksNetworkingConfiguration
clusterFqdn クラスターの完全修飾ドメイン名 string
clusterPurpose クラスターの使用目的 'DenseProd'
'DevTest'
'FastProd'
loadBalancerSubnet Load Balancer サブネット string
loadBalancerType Load Balancerの種類 'InternalLoadBalancer'
'PublicIp'
sslConfiguration SSL の構成 SslConfiguration

AksNetworkingConfiguration

名前 説明
dnsServiceIP Kubernetes DNS サービスに割り当てられた IP アドレス。 これは、serviceCidr で指定された Kubernetes サービス アドレス範囲内にある必要があります。 string

制約:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr Docker ブリッジ ネットワークに割り当てられた CIDR 表記 IP 範囲。 サブネット IP 範囲または Kubernetes サービスアドレス範囲と重複してはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr Kubenet を使用している場合、サービス クラスター IP を割り当てる CIDR 表記の IP 範囲。 どのサブネット IP アドレスとも重複していてはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID string

SslConfiguration

名前 説明
cert 証明書データ string
cname 証明書の CNAME string
key キー データ string
leafDomainLabel パブリック エンドポイントのリーフ ドメイン ラベル string
overwriteExistingDomain 既存のドメイン ラベルを上書きするかどうかを示します。 [bool]
status スコアリングの ssl を有効または無効にする 'Auto'
'Disabled'
'Enabled'

AmlCompute

名前 説明
computeType コンピューティングの種類 'AmlCompute' (必須)
properties AML コンピューティングのプロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノードのパブリック IP アドレスプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 'Linux'
'Windows'
remoteLoginPortPublicAccess パブリック SSH ポートの状態。 使用可能な値は次のとおりです。 [無効] - クラスターのすべてのノードでパブリック ssh ポートが閉じられていることを示します。 Enabled - クラスターのすべてのノードでパブリック SSH ポートが開かれていることを示します。 NotSpecified - VNet が定義されている場合は、クラスターのすべてのノードでパブリック SSH ポートが閉じられていることを示します。それ以外の場合は、すべてのパブリック ノードが開かれている状態です。 これは、クラスターの作成時にのみ既定にでき、作成後に有効または無効になります。 'Disabled'
'Enabled'
'NotSpecified'
scaleSettings AML コンピューティングのスケール設定 ScaleSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
userAccountCredentials 各コンピューティング ノードに作成される管理者ユーザー アカウントの資格情報。 UserAccountCredentials
virtualMachineImage AML コンピューティング用の仮想マシン イメージ - ウィンドウのみ VirtualMachineImage
vmPriority 仮想マシンの優先度 'Dedicated'
'LowPriority'
vmSize 仮想マシンのサイズ string

ScaleSettings

名前 説明
maxNodeCount 使用するノードの最大数 int (必須)
minNodeCount 使用するノードの最小数 INT
nodeIdleTimeBeforeScaleDown amlCompute をスケールダウンする前のノードアイドル時間。 この文字列は RFC 形式である必要があります。 string

ResourceId

名前 説明
id リソースの ID string (必須)

UserAccountCredentials

名前 説明
adminUserName ノードへの SSH 接続に使用できる管理者ユーザー アカウントの名前。 string (必須)
adminUserPassword 管理者のユーザー アカウントのパスワード。 string
adminUserSshPublicKey 管理者ユーザー アカウントの SSH 公開キー。 string

VirtualMachineImage

名前 説明
id 仮想マシンイメージのパス string (必須)

ComputeInstance

名前 説明
computeType コンピューティングの種類 'ComputeInstance' (必須)
properties コンピューティング インスタンスのプロパティ ComputeInstanceProperties

ComputeInstanceProperties

名前 説明
applicationSharingPolicy 親ワークスペースのユーザー間でこのコンピューティング インスタンス上のアプリケーションを共有するためのポリシー。 Personal の場合、作成者のみがこのコンピューティング インスタンス上のアプリケーションにアクセスできます。 [共有] の場合、ワークスペース ユーザーは、割り当てられたロールに応じて、このインスタンスのアプリケーションにアクセスできます。 'Personal'
'Shared'
computeInstanceAuthorizationType コンピューティング インスタンスの承認の種類。 使用可能な値は personal (既定値) です。 'personal'
enableNodePublicIp ノードのパブリック IP アドレスプロビジョニングを有効または無効にします。 指定できる値は true です。 - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
personalComputeInstanceSettings 個人用コンピューティング インスタンスの設定。 PersonalComputeInstanceSettings
schedules コンピューティング インスタンスに適用するスケジュールの一覧。 ComputeSchedules
setupScripts クラスターを設定するために実行するカスタマイズされたスクリプトの詳細。 SetupScripts
sshSettings SSH アクセスのポリシーと設定を指定します。 ComputeInstanceSshSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
vmSize 仮想マシンのサイズ string

PersonalComputeInstanceSettings

名前 説明
assignedUser パーソナル コンピューティング インスタンスに明示的に割り当てられたユーザー。 AssignedUser

AssignedUser

名前 説明
objectId ユーザーの AAD オブジェクト ID。 string (必須)
tenantId ユーザーの AAD テナント ID。 string (必須)

ComputeSchedules

名前 説明
computeStartStop 適用するコンピューティング開始停止スケジュールの一覧。 ComputeStartStopSchedule[]

ComputeStartStopSchedule

名前 説明
action コンピューティング電源アクション。 'Start'
'Stop'
cron ComputeStartStop スケジュールの種類のワークフロー トリガー cron。 Cron
recurrence ComputeStartStop スケジュールの種類のワークフロー トリガーの繰り返し。 定期的なアイテム
status スケジュールの状態。 'Disabled'
'Enabled'
triggerType スケジュール トリガーの種類。 'Cron'
'Recurrence'

Cron

名前 説明
expression cron 式。 string
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

繰り返し

名前 説明
frequency 繰り返しの頻度。 'Day'
'Hour'
'Minute'
'Month'
'NotSpecified'
'Second'
'Week'
'Year'
interval 間隔。 INT
schedule 繰り返しスケジュール RecurrenceSchedule
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

RecurrenceSchedule

名前 説明
時間 時間。 int[]
minutes 分。 int[]
weekDays 曜日。 次のいずれかを含む文字列配列:
'Friday'
'Monday'
'Saturday'
'日曜日'
'木曜日'
'Tuesday'
'水曜'

SetupScripts

名前 説明
スクリプト カスタマイズされたセットアップ スクリプト ScriptsToExecute

ScriptsToExecute

名前 説明
creationScript コンピューティングのプロビジョニング中に 1 回だけ実行されるスクリプト。 ScriptReference
startupScript マシンが起動するたびに実行されるスクリプト。 ScriptReference

ScriptReference

名前 説明
scriptArguments 実行するスクリプトに渡される省略可能なコマンド ライン引数。 string
scriptData マウントされたボリューム内のスクリプトの場所。 string
scriptSource スクリプトのストレージ ソース: インライン、ワークスペース。 string
timeout timeout コマンドに渡される省略可能な期間。 string

ComputeInstanceSshSettings

名前 説明
adminPublicKey SSH rsa 公開キー ファイルを文字列として指定します。 SSH キー ペアを生成するには、"ssh-keygen -t rsa -b 2048" を使用します。 string
sshPublicAccess パブリック SSH ポートの状態。 使用できる値は次のとおりです。 [無効] - このインスタンスでパブリック ssh ポートが閉じられていることを示します。 [有効] - パブリック ssh ポートが開き、VNet/サブネット ポリシーに従ってアクセス可能であることを示します (該当する場合)。 'Disabled'
'Enabled'

Databricks

名前 説明
computeType コンピューティングの種類 'Databricks' (必須)
properties DatabricksProperties

DatabricksProperties

名前 説明
databricksAccessToken Databricks アクセス トークン string
workspaceUrl ワークスペースの URL string

DataFactory

名前 説明
computeType コンピューティングの種類 'DataFactory' (必須)

DataLakeAnalytics

名前 説明
computeType コンピューティングの種類 'DataLakeAnalytics' (必須)
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名前 説明
dataLakeStoreAccountName DataLake Store アカウント名 string

HDInsight

名前 説明
computeType コンピューティングの種類 'HDInsight' (必須)
properties HDInsightProperties

HDInsightProperties

名前 説明
address クラスターのマスター ノードのパブリック IP アドレス。 string
administratorAccount クラスターのマスター ノードの資格情報を管理する VirtualMachineSshCredentials
sshPort クラスターのマスター ノードで ssh 接続用にポートが開きます。 INT

VirtualMachineSshCredentials

名前 説明
password 管理者アカウントのパスワード string
privateKeyData 秘密キー データ string
publicKeyData 公開キー データ string
username 管理者アカウントのユーザー名 string

SynapseSpark

名前 説明
computeType コンピューティングの種類 'SynapseSpark' (必須)
properties AKS プロパティ SynapseSparkPoolPropertiesProperties

SynapseSparkPoolPropertiesProperties

名前 説明
autoPauseProperties プロパティの自動一時停止。 AutoPauseProperties
autoScaleProperties 自動スケール のプロパティ。 AutoScaleProperties
nodeCount コンピューティングに現在割り当てられているコンピューティング ノードの数。 INT
nodeSize ノード サイズ。 string
nodeSizeFamily ノード サイズ ファミリ。 string
poolName プール名。 string
resourceGroup ワークスペースが配置されているリソース グループの名前。 string
sparkVersion Spark バージョン。 string
subscriptionId Azure サブスクリプションの識別子。 string
workspaceName Azure Machine Learning ワークスペースの名前。 string

AutoPauseProperties

名前 説明
delayInMinutes INT
enabled [bool]

AutoScaleProperties

名前 説明
enabled [bool]
maxNodeCount INT
minNodeCount INT

VirtualMachine

名前 説明
computeType コンピューティングの種類 'VirtualMachine' (必須)
properties VirtualMachineProperties

VirtualMachineProperties

名前 説明
address 仮想マシンのパブリック IP アドレス。 string
administratorAccount 仮想マシンの管理資格情報 VirtualMachineSshCredentials
isNotebookInstanceCompute このコンピューティングをノートブックの実行に使用するかどうかを示します。 [bool]
sshPort SSH 接続用にポートを開きます。 INT
virtualMachineSize 仮想マシンのサイズ string

Sku

名前 説明
name SKU の名前 string
レベル Basic や Enterprise などの SKU のレベル string

クイック スタート テンプレート

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Machine Learning Service ADLA コンピューティングを作成する

Azure にデプロイする
このテンプレートでは、Machine Learning Service ADLA コンピューティングが作成されます。
Machine Learning Service Aks コンピューティングを作成する

Azure にデプロイする
このテンプレートは、Machine Learning Service Aks コンピューティングを作成します。
Machine Learning Service DSVM コンピューティングを作成する

Azure にデプロイする
このテンプレートは、Machine Learning Service DSVM コンピューティングを作成します。
Machine Learning Service HDInsight クラスターを作成する

Azure にデプロイする
このテンプレートにより、Machine Learning Service HDInsight クラスターが作成されます
Azure Machine Learning aks コンピューティングを作成する

Azure にデプロイする
このテンプレートでは、Azure Machine Learning aks コンピューティングが作成されます。
Azure Machine Learning コンピューティング クラスターの作成

Azure にデプロイする
このテンプレートは、Azure Machine Learning コンピューティング クラスターを作成します。
Azure Machine Learning コンピューティング インスタンスを作成する

Azure にデプロイする
このテンプレートでは、インライン セットアップ スクリプトのサンプルを使用して、別のユーザーに代わって Azure Machine Learning コンピューティング インスタンスを作成します
Azure Machine Learning ワークスペースで LinkedService を作成する

Azure にデプロイする
このテンプレートは、既存の Azure Machine Learning ワークスペースに LinkedService を作成します。
プライベート IP アドレスを使用して AKS コンピューティング 先を作成する

Azure にデプロイする
このテンプレートでは、プライベート IP アドレスを使用して、特定の Azure Machine Learning サービス ワークスペースに AKS コンピューティング ターゲットを作成します。

Terraform (AzAPI プロバイダー) リソース定義

workspaces/computes リソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.MachineLearningServices/workspaces/computes リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/computes@2021-03-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
    {customized property} = "string"
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      computeLocation = "string"
      description = "string"
      disableLocalAuth = bool
      resourceId = "string"
      computeType = "string"
      // For remaining properties, see Compute objects
    }
    sku = {
      name = "string"
      tier = "string"
    }
  })
}

コンピューティング オブジェクト

computeType プロパティを設定して、オブジェクトの種類を指定します。

AKS の場合は、次の値を使用します。

  computeType = "AKS"
  properties = {
    agentCount = int
    agentVmSize = "string"
    aksNetworkingConfiguration = {
      dnsServiceIP = "string"
      dockerBridgeCidr = "string"
      serviceCidr = "string"
      subnetId = "string"
    }
    clusterFqdn = "string"
    clusterPurpose = "string"
    loadBalancerSubnet = "string"
    loadBalancerType = "string"
    sslConfiguration = {
      cert = "string"
      cname = "string"
      key = "string"
      leafDomainLabel = "string"
      overwriteExistingDomain = bool
      status = "string"
    }
  }

AmlCompute の場合は、次の値を使用します。

  computeType = "AmlCompute"
  properties = {
    enableNodePublicIp = bool
    isolatedNetwork = bool
    osType = "string"
    remoteLoginPortPublicAccess = "string"
    scaleSettings = {
      maxNodeCount = int
      minNodeCount = int
      nodeIdleTimeBeforeScaleDown = "string"
    }
    subnet = {
      id = "string"
    }
    userAccountCredentials = {
      adminUserName = "string"
      adminUserPassword = "string"
      adminUserSshPublicKey = "string"
    }
    virtualMachineImage = {
      id = "string"
    }
    vmPriority = "string"
    vmSize = "string"
  }

ComputeInstance の場合は、次の値を使用します。

  computeType = "ComputeInstance"
  properties = {
    applicationSharingPolicy = "string"
    computeInstanceAuthorizationType = "personal"
    enableNodePublicIp = bool
    personalComputeInstanceSettings = {
      assignedUser = {
        objectId = "string"
        tenantId = "string"
      }
    }
    schedules = {
      computeStartStop = [
        {
          action = "string"
          cron = {
            expression = "string"
            startTime = "string"
            timeZone = "string"
          }
          recurrence = {
            frequency = "string"
            interval = int
            schedule = {
              hours = [
                int
              ]
              minutes = [
                int
              ]
              weekDays = [
                "string"
              ]
            }
            startTime = "string"
            timeZone = "string"
          }
          status = "string"
          triggerType = "string"
        }
      ]
    }
    setupScripts = {
      scripts = {
        creationScript = {
          scriptArguments = "string"
          scriptData = "string"
          scriptSource = "string"
          timeout = "string"
        }
        startupScript = {
          scriptArguments = "string"
          scriptData = "string"
          scriptSource = "string"
          timeout = "string"
        }
      }
    }
    sshSettings = {
      adminPublicKey = "string"
      sshPublicAccess = "string"
    }
    subnet = {
      id = "string"
    }
    vmSize = "string"
  }

Databricks の場合は、次の値を使用します。

  computeType = "Databricks"
  properties = {
    databricksAccessToken = "string"
    workspaceUrl = "string"
  }

DataFactory の場合は、次の値を使用します。

  computeType = "DataFactory"

DataLakeAnalytics の場合は、次の値を使用します。

  computeType = "DataLakeAnalytics"
  properties = {
    dataLakeStoreAccountName = "string"
  }

HDInsight の場合は、次の値を使用します。

  computeType = "HDInsight"
  properties = {
    address = "string"
    administratorAccount = {
      password = "string"
      privateKeyData = "string"
      publicKeyData = "string"
      username = "string"
    }
    sshPort = int
  }

SynapseSpark の場合は、次を使用します。

  computeType = "SynapseSpark"
  properties = {
    autoPauseProperties = {
      delayInMinutes = int
      enabled = bool
    }
    autoScaleProperties = {
      enabled = bool
      maxNodeCount = int
      minNodeCount = int
    }
    nodeCount = int
    nodeSize = "string"
    nodeSizeFamily = "string"
    poolName = "string"
    resourceGroup = "string"
    sparkVersion = "string"
    subscriptionId = "string"
    workspaceName = "string"
  }

VirtualMachine の場合は、次の値を使用します。

  computeType = "VirtualMachine"
  properties = {
    address = "string"
    administratorAccount = {
      password = "string"
      privateKeyData = "string"
      publicKeyData = "string"
      username = "string"
    }
    isNotebookInstanceCompute = bool
    sshPort = int
    virtualMachineSize = "string"
  }

プロパティ値

workspaces/computes

名前 説明
type リソースの種類 "Microsoft.MachineLearningServices/workspaces/computes@2021-03-01-preview"
name リソース名 string (必須)

文字制限: コンピューティング インスタンスの場合は 3 から 24
3-32 (AML コンピューティングの場合)
2-16 (その他のコンピューティングの種類の場合)

有効な文字:
英数字とハイフン。
location リソースの場所を指定します。 string
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: ワークスペース
tags キーと値のペアとして定義されたリソース タグが含まれます。 タグの名前と値のディクショナリ。
sku ワークスペースの SKU。 SKU
identity リソースの ID。 ID
properties コンピューティング プロパティ Compute

ID

名前 説明
type ID の種類。 "SystemAssigned"
"SystemAssigned,UserAssigned"
"UserAssigned"
identity_ids リソースに関連付けられているユーザー割り当て ID。 ユーザー ID ID の配列。

UserAssignedIdentities

名前 説明
{カスタマイズされたプロパティ} UserAssignedIdentity

UserAssignedIdentity

このオブジェクトには、デプロイ中に設定するプロパティは含まれません。 すべてのプロパティは ReadOnly です。

Compute

名前 説明
computeLocation 基になるコンピューティングの場所 string
description Machine Learning コンピューティングの説明。 string
disableLocalAuth ローカル認証をオプトアウトし、お客様が認証にのみ MSI と AAD のみを使用できることを確認します。 [bool]
resourceId 基になるコンピューティングの ARM リソース ID string
computeType オブジェクトの種類を設定する AKS
AmlCompute
ComputeInstance
Databricks
DataFactory
DataLakeAnalytics
HDInsight
SynapseSpark
VirtualMachine (必須)

AKS

名前 説明
computeType コンピューティングの種類 "AKS" (必須)
properties AKS プロパティ AKSProperties

AKSProperties

名前 説明
agentCount エージェントの数 INT

制約:
最小値 = 0
agentVmSize エージェント仮想マシンのサイズ string
aksNetworkingConfiguration vnet の AKS ネットワーク構成 AksNetworkingConfiguration
clusterFqdn クラスターの完全修飾ドメイン名 string
clusterPurpose クラスターの使用目的 "DenseProd"
"DevTest"
"FastProd"
loadBalancerSubnet Load Balancer サブネット string
loadBalancerType Load Balancerの種類 "InternalLoadBalancer"
"PublicIp"
sslConfiguration SSL の構成 SslConfiguration

AksNetworkingConfiguration

名前 説明
dnsServiceIP Kubernetes DNS サービスに割り当てられた IP アドレス。 これは、serviceCidr で指定された Kubernetes サービス アドレス範囲内にある必要があります。 string

制約:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr Docker ブリッジ ネットワークに割り当てられた CIDR 表記 IP 範囲。 サブネット IP 範囲または Kubernetes サービスアドレス範囲と重複してはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr Kubenet を使用している場合、サービス クラスター IP を割り当てる CIDR 表記の IP 範囲。 どのサブネット IP アドレスとも重複していてはなりません。 string

制約:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID string

SslConfiguration

名前 説明
cert 証明書データ string
cname 証明書の CNAME string
key キー データ string
leafDomainLabel パブリック エンドポイントのリーフ ドメイン ラベル string
overwriteExistingDomain 既存のドメイン ラベルを上書きするかどうかを示します。 [bool]
status スコアリングのために ssl を有効または無効にする "Auto"
"無効"
"有効"

AmlCompute

名前 説明
computeType コンピューティングの種類 "AmlCompute" (必須)
properties AML Compute プロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノード パブリック IP アドレスのプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 "Linux"
"Windows"
remoteLoginPortPublicAccess パブリック SSH ポートの状態。 使用可能な値は次のとおりです。 [無効] - クラスターのすべてのノードでパブリック ssh ポートが閉じられていることを示します。 Enabled - クラスターのすべてのノードでパブリック SSH ポートが開かれていることを示します。 NotSpecified - VNet が定義されている場合は、クラスターのすべてのノードでパブリック SSH ポートが閉じられていることを示します。それ以外の場合は、すべてのパブリック ノードが開かれている状態です。 これは、クラスターの作成時にのみ既定にでき、作成後に有効または無効になります。 "無効"
"有効"
"NotSpecified"
scaleSettings AML コンピューティングのスケール設定 ScaleSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
userAccountCredentials 各コンピューティング ノードに作成される管理者ユーザー アカウントの資格情報。 UserAccountCredentials
virtualMachineImage AML コンピューティングの仮想マシン イメージ - ウィンドウのみ VirtualMachineImage
vmPriority 仮想マシンの優先度 "Dedicated"
"LowPriority"
vmSize 仮想マシンのサイズ string

ScaleSettings

名前 説明
maxNodeCount 使用するノードの最大数 int (必須)
minNodeCount 使用するノードの最小数 INT
nodeIdleTimeBeforeScaleDown amlCompute をスケールダウンする前のノードアイドル時間。 この文字列は RFC 形式である必要があります。 string

ResourceId

名前 説明
id リソースの ID string (必須)

UserAccountCredentials

名前 説明
adminUserName ノードへの SSH 接続に使用できる管理者ユーザー アカウントの名前。 string (必須)
adminUserPassword 管理者のユーザー アカウントのパスワード。 string
adminUserSshPublicKey 管理者ユーザー アカウントの SSH 公開キー。 string

VirtualMachineImage

名前 説明
id 仮想マシンイメージのパス string (必須)

ComputeInstance

名前 説明
computeType コンピューティングの種類 "ComputeInstance" (必須)
properties コンピューティング インスタンスのプロパティ ComputeInstanceProperties

ComputeInstanceProperties

名前 説明
applicationSharingPolicy 親ワークスペースのユーザー間でこのコンピューティング インスタンス上のアプリケーションを共有するためのポリシー。 Personal の場合、作成者のみがこのコンピューティング インスタンス上のアプリケーションにアクセスできます。 [共有] の場合、ワークスペース ユーザーは、割り当てられたロールに応じて、このインスタンスのアプリケーションにアクセスできます。 "Personal"
"共有"
computeInstanceAuthorizationType コンピューティング インスタンスの承認の種類。 使用可能な値は personal (既定値) です。 "personal"
enableNodePublicIp ノードのパブリック IP アドレスプロビジョニングを有効または無効にします。 指定できる値は true です。 - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
personalComputeInstanceSettings 個人用コンピューティング インスタンスの設定。 PersonalComputeInstanceSettings
schedules コンピューティング インスタンスに適用するスケジュールの一覧。 ComputeSchedules
setupScripts クラスターを設定するために実行するカスタマイズされたスクリプトの詳細。 SetupScripts
sshSettings SSH アクセスのポリシーと設定を指定します。 ComputeInstanceSshSettings
サブネット コンピューティング ノードが属する仮想ネットワーク サブネット リソース ID。 ResourceId
vmSize 仮想マシンのサイズ string

PersonalComputeInstanceSettings

名前 説明
assignedUser パーソナル コンピューティング インスタンスに明示的に割り当てられたユーザー。 AssignedUser

AssignedUser

名前 説明
objectId ユーザーの AAD オブジェクト ID。 string (必須)
tenantId ユーザーの AAD テナント ID。 string (必須)

ComputeSchedules

名前 説明
computeStartStop 適用するコンピューティング開始停止スケジュールの一覧。 ComputeStartStopSchedule[]

ComputeStartStopSchedule

名前 説明
action コンピューティング電源アクション。 "開始"
"Stop"
cron ComputeStartStop スケジュールの種類のワークフロー トリガー cron。 Cron
recurrence ComputeStartStop スケジュールの種類のワークフロー トリガーの繰り返し。 定期的なアイテム
status スケジュールの状態。 "無効"
"有効"
triggerType スケジュール トリガーの種類。 "Cron"
"繰り返し"

Cron

名前 説明
expression cron 式。 string
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

繰り返し

名前 説明
frequency 繰り返し頻度。 "Day"
"Hour"
"Minute"
"Month"
"NotSpecified"
"Second"
"週"
"Year"
interval 間隔。 INT
schedule 繰り返しスケジュール RecurrenceSchedule
startTime 開始時刻です。 string
timeZone タイム ゾーン。 string

RecurrenceSchedule

名前 説明
時間 時間。 int[]
minutes 分。 int[]
weekDays 曜日。 次のいずれかを含む文字列配列:
"金曜日"
"月曜日"
"土曜日"
"日曜日"
"木曜日"
"火曜日"
"水曜日"

SetupScripts

名前 説明
スクリプト カスタマイズされたセットアップ スクリプト ScriptsToExecute

ScriptsToExecute

名前 説明
creationScript コンピューティングのプロビジョニング中に 1 回だけ実行されるスクリプト。 ScriptReference
startupScript マシンが起動するたびに実行されるスクリプト。 ScriptReference

ScriptReference

名前 説明
scriptArguments 実行するスクリプトに渡されるオプションのコマンド ライン引数。 string
scriptData マウントされたボリューム内のスクリプトの場所。 string
scriptSource スクリプトのストレージ ソース: インライン、ワークスペース。 string
timeout タイムアウト コマンドに渡される省略可能な期間。 string

ComputeInstanceSshSettings

名前 説明
adminPublicKey SSH rsa 公開キー ファイルを文字列として指定します。 "ssh-keygen -t rsa -b 2048" を使用して、SSH キー ペアを生成します。 string
sshPublicAccess パブリック SSH ポートの状態。 使用可能な値は次のとおりです。無効 - このインスタンスでパブリック ssh ポートが閉じられていることを示します。 [有効] - パブリック ssh ポートが開き、該当する場合は VNet/サブネット ポリシーに従ってアクセス可能であることを示します。 "無効"
"有効"

Databricks

名前 説明
computeType コンピューティングの種類 "Databricks" (必須)
properties DatabricksProperties

DatabricksProperties

名前 説明
databricksAccessToken Databricks アクセス トークン string
workspaceUrl ワークスペースの URL string

DataFactory

名前 説明
computeType コンピューティングの種類 "DataFactory" (必須)

DataLakeAnalytics

名前 説明
computeType コンピューティングの種類 "DataLakeAnalytics" (必須)
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名前 説明
dataLakeStoreAccountName DataLake Store アカウント名 string

HDInsight

名前 説明
computeType コンピューティングの種類 "HDInsight" (必須)
properties HDInsightProperties

HDInsightProperties

名前 説明
address クラスターのマスター ノードのパブリック IP アドレス。 string
administratorAccount クラスターのマスター ノードの資格情報を管理する VirtualMachineSshCredentials
sshPort クラスターのマスター ノード上の ssh 接続用にポートを開きます。 INT

VirtualMachineSshCredentials

名前 説明
password 管理者アカウントのパスワード string
privateKeyData 秘密キー データ string
publicKeyData 公開キー データ string
username 管理者アカウントのユーザー名 string

SynapseSpark

名前 説明
computeType コンピューティングの種類 "SynapseSpark" (必須)
properties AKS プロパティ SynapseSparkPoolPropertiesProperties

SynapseSparkPoolPropertiesProperties

名前 説明
autoPauseProperties プロパティの自動一時停止。 AutoPauseProperties
autoScaleProperties プロパティの自動スケール。 AutoScaleProperties
nodeCount コンピューティングに現在割り当てられているコンピューティング ノードの数。 INT
nodeSize ノード サイズ。 string
nodeSizeFamily ノード サイズ ファミリ。 string
poolName プール名。 string
resourceGroup ワークスペースが配置されているリソース グループの名前。 string
sparkVersion Spark のバージョン。 string
subscriptionId Azure サブスクリプションの識別子。 string
workspaceName Azure Machine Learning ワークスペースの名前。 string

AutoPauseProperties

名前 説明
delayInMinutes INT
enabled [bool]

AutoScaleProperties

名前 説明
enabled [bool]
maxNodeCount INT
minNodeCount INT

VirtualMachine

名前 説明
computeType コンピューティングの種類 "VirtualMachine" (必須)
properties VirtualMachineProperties

VirtualMachineProperties

名前 説明
address 仮想マシンのパブリック IP アドレス。 string
administratorAccount 仮想マシンの資格情報を管理する VirtualMachineSshCredentials
isNotebookInstanceCompute このコンピューティングをノートブックの実行に使用するかどうかを示します。 [bool]
sshPort ssh 接続用にポートが開きます。 INT
virtualMachineSize 仮想マシンのサイズ string

Sku

名前 説明
name SKU の名前 string
レベル Basic や Enterprise などの SKU のレベル string