Share via


Microsoft.MachineLearningServices workspaces/computes 2022-05-01

Bicep リソース定義

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

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

リソース形式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/computes@2022-05-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
    {customized property}: 'string'
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: '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'
    propertyBag: any()
    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'
      }
    }
    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
  }

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

  computeType: 'Kubernetes'
  properties: {
    defaultInstanceType: 'string'
    extensionInstanceReleaseTrain: 'string'
    extensionPrincipalId: 'string'
    instanceTypes: {
      {customized property}: {
        nodeSelector: {
          {customized property}: 'string'
        }
        resources: {
          limits: {
            {customized property}: 'string'
            {customized property}: 'string'
          }
          requests: {
            {customized property}: 'string'
            {customized property}: 'string'
          }
        }
      }
    }
    namespace: 'string'
    relayConnectionString: 'string'
    serviceBusConnectionString: 'string'
    vcName: 'string'
  }

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
    notebookServerPort: int
    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。 ManagedServiceIdentity
properties コンピューティング プロパティ Compute

ManagedServiceIdentity

名前 説明
type マネージド サービス ID の種類 (SystemAssigned 型と UserAssigned 型の両方が許可されます)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必須)
userAssignedIdentities リソースに関連付けられているユーザー割り当て ID のセット。 userAssignedIdentities ディクショナリ キーは、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース 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
Kubernetes
SynapseSpark
VirtualMachine (必須)

AKS

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

AKSSchemaProperties

名前 説明
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 AmlCompute のプロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノード パブリック IP アドレスのプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 'Linux'
'Windows'
propertyBag 追加のプロパティを含むプロパティ バッグ。 Bicep の場合は、 any() 関数を使用できます。
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 ComputeInstance のプロパティ ComputeInstanceProperties

ComputeInstanceProperties

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

PersonalComputeInstanceSettings

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

AssignedUser

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

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 Databricks のプロパティ DatabricksProperties

DatabricksProperties

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

DataFactory

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

DataLakeAnalytics

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

DataLakeAnalyticsSchemaProperties

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

HDInsight

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

HDInsightProperties

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

VirtualMachineSshCredentials

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

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとしてを渡します。
publicKeyData 公開キー データ string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとしてを渡します。
username 管理者アカウントのユーザー名 string

Kubernetes

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

KubernetesProperties

名前 説明
defaultInstanceType 既定のインスタンスの種類 string
extensionInstanceReleaseTrain 拡張機能インスタンスのリリース トレーニング。 string
extensionPrincipalId 拡張機能プリンシパル ID。 string
instanceTypes インスタンスの種類のスキーマ KubernetesPropertiesInstanceTypes
namespace コンピューティング名前空間 string
relayConnectionString リレー 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとしてを渡します。
serviceBusConnectionString ServiceBus 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとしてを渡します。
vcName VC 名。 string

KubernetesPropertiesInstanceTypes

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

InstanceTypeSchema

名前 説明
nodeSelector ノード セレクター InstanceTypeSchemaNodeSelector
resources このインスタンスの種類のリソース要求/制限 InstanceTypeSchemaResources

InstanceTypeSchemaNodeSelector

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

InstanceTypeSchemaResources

名前 説明
制限 このインスタンスの種類のリソース制限 InstanceResourceSchema
requests このインスタンスの種類に対するリソース要求 InstanceResourceSchema

InstanceResourceSchema

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

SynapseSpark

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

SynapseSparkProperties

名前 説明
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 VirtualMachineSchemaProperties

VirtualMachineSchemaProperties

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

Sku

名前 説明
capacity SKU でスケールアウト/インがサポートされている場合は、容量整数を含める必要があります。 リソースに対してスケールアウト/インができない場合は、これを省略できます。 INT
family サービスのハードウェアの世代が異なる場合は、同じ SKU に対して、ここでキャプチャできます。 string
name SKU の名前。 例 - P3。 通常は文字 +数字のコードです string (必須)
size SKU サイズ。 name フィールドがレベルと他の値の組み合わせである場合、これはスタンドアロン コードになります。 string
レベル サービスに複数のレベルがあるが PUT では必要ない場合、このフィールドはリソース プロバイダーによって実装される必要があります。 'Basic'
'Free'
'Premium'
'Standard'

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

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

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": "2022-05-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
    "{customized property}": "string"
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "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",
    "propertyBag": {},
    "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"
      }
    },
    "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"
  }

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

  "computeType": "Kubernetes",
  "properties": {
    "defaultInstanceType": "string",
    "extensionInstanceReleaseTrain": "string",
    "extensionPrincipalId": "string",
    "instanceTypes": {
      "{customized property}": {
        "nodeSelector": {
          "{customized property}": "string"
        },
        "resources": {
          "limits": {
            "{customized property}": "string",
            "{customized property}": "string"
          },
          "requests": {
            "{customized property}": "string",
            "{customized property}": "string"
          }
        }
      }
    },
    "namespace": "string",
    "relayConnectionString": "string",
    "serviceBusConnectionString": "string",
    "vcName": "string"
  }

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",
    "notebookServerPort": "int",
    "sshPort": "int",
    "virtualMachineSize": "string"
  }

プロパティ値

workspaces/computes

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

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

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

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

ManagedServiceIdentity

名前 説明
type マネージド サービス ID の種類 (SystemAssigned 型と UserAssigned 型の両方が許可されます)。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必須)
userAssignedIdentities リソースに関連付けられているユーザー割り当て ID のセット。 userAssignedIdentities ディクショナリ キーは、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース 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
Kubernetes
SynapseSpark
VirtualMachine (必須)

AKS

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

AKSSchemaProperties

名前 説明
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 AmlCompute のプロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノード パブリック IP アドレスのプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 'Linux'
'Windows'
propertyBag 追加のプロパティを含むプロパティ バッグ。
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 ComputeInstance のプロパティ ComputeInstanceProperties

ComputeInstanceProperties

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

PersonalComputeInstanceSettings

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

AssignedUser

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

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 Databricks のプロパティ DatabricksProperties

DatabricksProperties

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

DataFactory

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

DataLakeAnalytics

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

DataLakeAnalyticsSchemaProperties

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

HDInsight

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

HDInsightProperties

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

VirtualMachineSshCredentials

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

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
publicKeyData 公開キー データ string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
username 管理者アカウントのユーザー名 string

Kubernetes

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

KubernetesProperties

名前 説明
defaultInstanceType 既定のインスタンスの種類 string
extensionInstanceReleaseTrain 拡張機能インスタンスのリリーストレーニング。 string
extensionPrincipalId 拡張機能プリンシパル ID。 string
instanceTypes インスタンスの種類のスキーマ KubernetesPropertiesInstanceTypes
namespace コンピューティング名前空間 string
relayConnectionString リレー 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
serviceBusConnectionString ServiceBus 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
vcName VC 名。 string

KubernetesPropertiesInstanceTypes

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

InstanceTypeSchema

名前 説明
nodeSelector ノード セレクター InstanceTypeSchemaNodeSelector
resources このインスタンスの種類のリソース要求/制限 InstanceTypeSchemaResources

InstanceTypeSchemaNodeSelector

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

InstanceTypeSchemaResources

名前 説明
制限 このインスタンスの種類のリソース制限 InstanceResourceSchema
requests このインスタンスの種類に対するリソース要求 InstanceResourceSchema

InstanceResourceSchema

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

SynapseSpark

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

SynapseSparkProperties

名前 説明
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 VirtualMachineSchemaProperties

VirtualMachineSchemaProperties

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

Sku

名前 説明
capacity SKU でスケールアウト/インがサポートされている場合は、容量整数を含める必要があります。 リソースに対してスケールアウト/インができない場合は、これを省略できます。 INT
family サービスのハードウェアの世代が異なる場合は、同じ SKU に対して、ここでキャプチャできます。 string
name SKU の名前。 例 - P3。 通常は文字 +数字のコードです string (必須)
size SKU サイズ。 name フィールドがレベルと他の値の組み合わせである場合、これはスタンドアロン コードになります。 string
レベル サービスに複数のレベルがあるが PUT では必要ない場合、このフィールドはリソース プロバイダーによって実装される必要があります。 'Basic'
'Free'
'Premium'
'Standard'

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

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

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@2022-05-01"
  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 = {
      capacity = int
      family = "string"
      name = "string"
      size = "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"
      }
    }
    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
  }

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

  computeType = "Kubernetes"
  properties = {
    defaultInstanceType = "string"
    extensionInstanceReleaseTrain = "string"
    extensionPrincipalId = "string"
    instanceTypes = {
      {customized property} = {
        nodeSelector = {
          {customized property} = "string"
        }
        resources = {
          limits = {
            {customized property} = "string"
            {customized property} = "string"
          }
          requests = {
            {customized property} = "string"
            {customized property} = "string"
          }
        }
      }
    }
    namespace = "string"
    relayConnectionString = "string"
    serviceBusConnectionString = "string"
    vcName = "string"
  }

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
    notebookServerPort = int
    sshPort = int
    virtualMachineSize = "string"
  }

プロパティ値

workspaces/computes

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

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

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

ManagedServiceIdentity

名前 説明
type マネージド サービス ID の種類 (SystemAssigned 型と UserAssigned 型の両方が許可されます)。 "SystemAssigned"
"SystemAssigned,UserAssigned"
"UserAssigned" (必須)
identity_ids リソースに関連付けられているユーザー割り当て ID のセット。 userAssignedIdentities ディクショナリ キーは、'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName} という形式の ARM リソース 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
Kubernetes
SynapseSpark
VirtualMachine (必須)

AKS

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

AKSSchemaProperties

名前 説明
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 AmlCompute のプロパティ AmlComputeProperties

AmlComputeProperties

名前 説明
enableNodePublicIp ノード パブリック IP アドレスのプロビジョニングを有効または無効にします。 使用可能な値は次のとおりです。 true - コンピューティング ノードにパブリック IP がプロビジョニングされることを示します。 false - コンピューティング ノードにプライベート エンドポイントがあり、パブリック IP がないことを示します。 [bool]
isolatedNetwork ネットワークが分離されているかどうか [bool]
osType コンピューティング OS の種類 "Linux"
"Windows"
propertyBag 追加のプロパティを含むプロパティ バッグ。
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 ComputeInstance のプロパティ ComputeInstanceProperties

ComputeInstanceProperties

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

PersonalComputeInstanceSettings

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

AssignedUser

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

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 Databricks のプロパティ DatabricksProperties

DatabricksProperties

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

DataFactory

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

DataLakeAnalytics

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

DataLakeAnalyticsSchemaProperties

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

HDInsight

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

HDInsightProperties

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

VirtualMachineSshCredentials

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

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
publicKeyData 公開キー データ string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
username 管理者アカウントのユーザー名 string

Kubernetes

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

KubernetesProperties

名前 説明
defaultInstanceType 既定のインスタンスの種類 string
extensionInstanceReleaseTrain 拡張機能インスタンスのリリーストレーニング。 string
extensionPrincipalId 拡張機能プリンシパル ID。 string
instanceTypes インスタンスの種類のスキーマ KubernetesPropertiesInstanceTypes
namespace コンピューティング名前空間 string
relayConnectionString リレー 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
serviceBusConnectionString ServiceBus 接続文字列。 string

制約:
機密性の高い値。 セキュリティで保護されたパラメーターとして を渡します。
vcName VC 名。 string

KubernetesPropertiesInstanceTypes

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

InstanceTypeSchema

名前 説明
nodeSelector ノード セレクター InstanceTypeSchemaNodeSelector
resources このインスタンスの種類のリソース要求/制限 InstanceTypeSchemaResources

InstanceTypeSchemaNodeSelector

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

InstanceTypeSchemaResources

名前 説明
制限 このインスタンスの種類のリソース制限 InstanceResourceSchema
requests このインスタンスの種類に対するリソース要求 InstanceResourceSchema

InstanceResourceSchema

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

SynapseSpark

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

SynapseSparkProperties

名前 説明
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 VirtualMachineSchemaProperties

VirtualMachineSchemaProperties

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

Sku

名前 説明
capacity SKU でスケールアウト/インがサポートされている場合は、容量整数を含める必要があります。 リソースに対してスケールアウト/インができない場合は、これを省略できます。 INT
family サービスのハードウェアの世代が異なる場合は、同じ SKU に対して、ここでキャプチャできます。 string
name SKU の名前。 例 - P3。 通常は文字 +数字のコードです string (必須)
size SKU サイズ。 name フィールドがレベルと他の値の組み合わせである場合、これはスタンドアロン コードになります。 string
レベル サービスに複数のレベルがあるが PUT では必要ない場合、このフィールドはリソース プロバイダーによって実装される必要があります。 "Basic"
"Free"
"Premium"
"Standard"