Microsoft.MachineLearningServices workspaces/environments/versions 2023-06-01-preview

Bicep リソース定義

ワークスペース/環境/バージョンのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

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

リソースの形式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/environments/versions@2023-06-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    autoDeleteSetting: {
      condition: 'string'
      value: 'string'
    }
    autoRebuild: 'string'
    build: {
      contextUri: 'string'
      dockerfilePath: 'string'
    }
    condaFile: 'string'
    description: 'string'
    image: 'string'
    inferenceConfig: {
      livenessRoute: {
        path: 'string'
        port: int
      }
      readinessRoute: {
        path: 'string'
        port: int
      }
      scoringRoute: {
        path: 'string'
        port: int
      }
    }
    intellectualProperty: {
      protectionLevel: 'string'
      publisher: 'string'
    }
    isAnonymous: bool
    isArchived: bool
    osType: 'string'
    properties: {
      {customized property}: 'string'
    }
    stage: 'string'
    tags: {}
  }
}

プロパティ値

workspaces/environments/versions

名前 形容 価値
名前 リソース名

Bicepで子リソースの名前と種類 設定する方法を参照してください。
string (必須)
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: 環境
プロパティ [必須]エンティティの追加の属性。 EnvironmentVersionProperties (必須)

EnvironmentVersionProperties

名前 形容 価値
autoDeleteSetting マネージド データ資産のライフサイクル設定を指定します。 AutoDeleteSetting の
autoRebuild 基本イメージの変更に基づいてイメージを再構築する必要があるかどうかを定義します。 'Disabled'
'OnBaseImageUpdate'
建てる Docker ビルド コンテキストの構成設定。 BuildContext
condaFile Python、R、C/C++ パッケージなど、あらゆる種類のパッケージをインストールできる Conda によって使用される標準構成ファイル。
{see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" /}
形容 資産の説明テキスト。
画像 環境に使用されるイメージの名前。
{seealso href="/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" /}
inferenceConfig 推論に固有の構成を定義します。 InferenceContainerProperties の
intellectualProperty 知的財産の詳細。 環境が知的財産である場合に使用されます。 IntellectualProperty
isAnonymous 名前のバージョンがシステムによって生成された場合 (匿名登録)。 Stage が定義されている型の場合、Stage が指定されている場合は IsAnonymous の設定に使用されます bool
isArchived 資産はアーカイブされていますか? Stage が定義されている型の場合、Stage が指定されている場合は IsArchived の設定に使用されます bool
osType 環境の OS の種類。 'Linux'
'Windows'
プロパティ 資産プロパティ ディクショナリ。 ResourceBaseProperties
舞台 この環境に割り当てられている環境ライフサイクルのステージ
タグ タグ ディクショナリ。 タグは追加、削除、更新できます。 オブジェクト

AutoDeleteSetting

名前 形容 価値
条件 資産の有効期限が切れているかどうかを確認するタイミング 'CreatedGreaterThan'
'LastAccessedGreaterThan'
価値 有効期限条件の値。

BuildContext

名前 形容 価値
contextUri [必須]イメージのビルドに使用される Docker ビルド コンテキストの URI。 環境の作成時に BLOB URI をサポートし、BLOB または Git URI を返す場合があります。
{seealso href="https://docs.docker.com/engine/reference/commandline/build/#extended-description" /}
string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
dockerfilePath ビルド コンテキスト内の Dockerfile へのパス。
{seealso href="https://docs.docker.com/engine/reference/builder/" /}

InferenceContainerProperties

名前 形容 価値
livenessRoute 推論サーバー コンテナーのライブ性を確認するルート。 ルート の
readinessRoute 推論サーバー コンテナーの準備状況を確認するルート。 ルート の
scoringRoute 推論サーバー コンテナー内でスコアリング要求を送信するポート。 ルート の

ルート

名前 形容 価値
パス [必須]ルートのパス。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
[必須]ルートのポート。 int (必須)

IntellectualProperty

名前 形容 価値
protectionLevel 知的財産の保護レベル。 'All'
'None'
発行者 [必須]知的財産の発行元。 レジストリ発行者名と同じである必要があります。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]

ResourceBaseProperties

名前 形容 価値
{カスタマイズされたプロパティ}

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

ワークスペース/環境/バージョンのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

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

リソースの形式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/environments/versions",
  "apiVersion": "2023-06-01-preview",
  "name": "string",
  "properties": {
    "autoDeleteSetting": {
      "condition": "string",
      "value": "string"
    },
    "autoRebuild": "string",
    "build": {
      "contextUri": "string",
      "dockerfilePath": "string"
    },
    "condaFile": "string",
    "description": "string",
    "image": "string",
    "inferenceConfig": {
      "livenessRoute": {
        "path": "string",
        "port": "int"
      },
      "readinessRoute": {
        "path": "string",
        "port": "int"
      },
      "scoringRoute": {
        "path": "string",
        "port": "int"
      }
    },
    "intellectualProperty": {
      "protectionLevel": "string",
      "publisher": "string"
    },
    "isAnonymous": "bool",
    "isArchived": "bool",
    "osType": "string",
    "properties": {
      "{customized property}": "string"
    },
    "stage": "string",
    "tags": {}
  }
}

プロパティ値

workspaces/environments/versions

名前 形容 価値
種類 リソースの種類 'Microsoft.MachineLearningServices/workspaces/environments/versions'
apiVersion リソース API のバージョン '2023-06-01-preview'
名前 リソース名

JSON ARM テンプレートで子リソースの名前と型 設定する方法を参照してください。
string (必須)
プロパティ [必須]エンティティの追加の属性。 EnvironmentVersionProperties (必須)

EnvironmentVersionProperties

名前 形容 価値
autoDeleteSetting マネージド データ資産のライフサイクル設定を指定します。 AutoDeleteSetting の
autoRebuild 基本イメージの変更に基づいてイメージを再構築する必要があるかどうかを定義します。 'Disabled'
'OnBaseImageUpdate'
建てる Docker ビルド コンテキストの構成設定。 BuildContext
condaFile Python、R、C/C++ パッケージなど、あらゆる種類のパッケージをインストールできる Conda によって使用される標準構成ファイル。
{see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" /}
形容 資産の説明テキスト。
画像 環境に使用されるイメージの名前。
{seealso href="/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" /}
inferenceConfig 推論に固有の構成を定義します。 InferenceContainerProperties の
intellectualProperty 知的財産の詳細。 環境が知的財産である場合に使用されます。 IntellectualProperty
isAnonymous 名前のバージョンがシステムによって生成された場合 (匿名登録)。 Stage が定義されている型の場合、Stage が指定されている場合は IsAnonymous の設定に使用されます bool
isArchived 資産はアーカイブされていますか? Stage が定義されている型の場合、Stage が指定されている場合は IsArchived の設定に使用されます bool
osType 環境の OS の種類。 'Linux'
'Windows'
プロパティ 資産プロパティ ディクショナリ。 ResourceBaseProperties
舞台 この環境に割り当てられている環境ライフサイクルのステージ
タグ タグ ディクショナリ。 タグは追加、削除、更新できます。 オブジェクト

AutoDeleteSetting

名前 形容 価値
条件 資産の有効期限が切れているかどうかを確認するタイミング 'CreatedGreaterThan'
'LastAccessedGreaterThan'
価値 有効期限条件の値。

BuildContext

名前 形容 価値
contextUri [必須]イメージのビルドに使用される Docker ビルド コンテキストの URI。 環境の作成時に BLOB URI をサポートし、BLOB または Git URI を返す場合があります。
{seealso href="https://docs.docker.com/engine/reference/commandline/build/#extended-description" /}
string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
dockerfilePath ビルド コンテキスト内の Dockerfile へのパス。
{seealso href="https://docs.docker.com/engine/reference/builder/" /}

InferenceContainerProperties

名前 形容 価値
livenessRoute 推論サーバー コンテナーのライブ性を確認するルート。 ルート の
readinessRoute 推論サーバー コンテナーの準備状況を確認するルート。 ルート の
scoringRoute 推論サーバー コンテナー内でスコアリング要求を送信するポート。 ルート の

ルート

名前 形容 価値
パス [必須]ルートのパス。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
[必須]ルートのポート。 int (必須)

IntellectualProperty

名前 形容 価値
protectionLevel 知的財産の保護レベル。 'All'
'None'
発行者 [必須]知的財産の発行元。 レジストリ発行者名と同じである必要があります。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]

ResourceBaseProperties

名前 形容 価値
{カスタマイズされたプロパティ}

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

ワークスペース/環境/バージョンのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの

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

リソースの形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/environments/versions@2023-06-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      autoDeleteSetting = {
        condition = "string"
        value = "string"
      }
      autoRebuild = "string"
      build = {
        contextUri = "string"
        dockerfilePath = "string"
      }
      condaFile = "string"
      description = "string"
      image = "string"
      inferenceConfig = {
        livenessRoute = {
          path = "string"
          port = int
        }
        readinessRoute = {
          path = "string"
          port = int
        }
        scoringRoute = {
          path = "string"
          port = int
        }
      }
      intellectualProperty = {
        protectionLevel = "string"
        publisher = "string"
      }
      isAnonymous = bool
      isArchived = bool
      osType = "string"
      properties = {
        {customized property} = "string"
      }
      stage = "string"
      tags = {}
    }
  })
}

プロパティ値

workspaces/environments/versions

名前 形容 価値
種類 リソースの種類 "Microsoft.MachineLearningServices/workspaces/environments/versions@2023-06-01-preview"
名前 リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: 環境
プロパティ [必須]エンティティの追加の属性。 EnvironmentVersionProperties (必須)

EnvironmentVersionProperties

名前 形容 価値
autoDeleteSetting マネージド データ資産のライフサイクル設定を指定します。 AutoDeleteSetting の
autoRebuild 基本イメージの変更に基づいてイメージを再構築する必要があるかどうかを定義します。 "無効"
"OnBaseImageUpdate"
建てる Docker ビルド コンテキストの構成設定。 BuildContext
condaFile Python、R、C/C++ パッケージなど、あらゆる種類のパッケージをインストールできる Conda によって使用される標準構成ファイル。
{see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" /}
形容 資産の説明テキスト。
画像 環境に使用されるイメージの名前。
{seealso href="/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image" /}
inferenceConfig 推論に固有の構成を定義します。 InferenceContainerProperties の
intellectualProperty 知的財産の詳細。 環境が知的財産である場合に使用されます。 IntellectualProperty
isAnonymous 名前のバージョンがシステムによって生成された場合 (匿名登録)。 Stage が定義されている型の場合、Stage が指定されている場合は IsAnonymous の設定に使用されます bool
isArchived 資産はアーカイブされていますか? Stage が定義されている型の場合、Stage が指定されている場合は IsArchived の設定に使用されます bool
osType 環境の OS の種類。 "Linux"
"Windows"
プロパティ 資産プロパティ ディクショナリ。 ResourceBaseProperties
舞台 この環境に割り当てられている環境ライフサイクルのステージ
タグ タグ ディクショナリ。 タグは追加、削除、更新できます。 オブジェクト

AutoDeleteSetting

名前 形容 価値
条件 資産の有効期限が切れているかどうかを確認するタイミング "CreatedGreaterThan"
"LastAccessedGreaterThan"
価値 有効期限条件の値。

BuildContext

名前 形容 価値
contextUri [必須]イメージのビルドに使用される Docker ビルド コンテキストの URI。 環境の作成時に BLOB URI をサポートし、BLOB または Git URI を返す場合があります。
{seealso href="https://docs.docker.com/engine/reference/commandline/build/#extended-description" /}
string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
dockerfilePath ビルド コンテキスト内の Dockerfile へのパス。
{seealso href="https://docs.docker.com/engine/reference/builder/" /}

InferenceContainerProperties

名前 形容 価値
livenessRoute 推論サーバー コンテナーのライブ性を確認するルート。 ルート の
readinessRoute 推論サーバー コンテナーの準備状況を確認するルート。 ルート の
scoringRoute 推論サーバー コンテナー内でスコアリング要求を送信するポート。 ルート の

ルート

名前 形容 価値
パス [必須]ルートのパス。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]
[必須]ルートのポート。 int (必須)

IntellectualProperty

名前 形容 価値
protectionLevel 知的財産の保護レベル。 "すべて"
"なし"
発行者 [必須]知的財産の発行元。 レジストリ発行者名と同じである必要があります。 string (必須)

制約:
最小長 = 1
パターン = [a-zA-Z0-9_]

ResourceBaseProperties

名前 形容 価値
{カスタマイズされたプロパティ}