Share via


Microsoft.MachineLearningServices ワークスペース/batchEndpoints/deployments 2023-04-01-preview

Bicep リソース定義

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

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

リソース形式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2023-04-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  kind: 'string'
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    codeConfiguration: {
      codeId: 'string'
      scoringScript: 'string'
    }
    compute: 'string'
    deploymentConfiguration: {
      deploymentConfigurationType: 'string'
      // For remaining properties, see BatchDeploymentConfiguration objects
    }
    description: 'string'
    environmentId: 'string'
    environmentVariables: {
      {customized property}: 'string'
      {customized property}: 'string'
    }
    errorThreshold: int
    loggingLevel: 'string'
    maxConcurrencyPerInstance: int
    miniBatchSize: int
    model: {
      referenceType: 'string'
      // For remaining properties, see AssetReferenceBase objects
    }
    outputAction: 'string'
    outputFileName: 'string'
    properties: {
      {customized property}: 'string'
      {customized property}: 'string'
    }
    resources: {
      instanceCount: int
      instanceType: 'string'
      locations: [
        'string'
      ]
      maxInstanceCount: int
      properties: {
        {customized property}: any()
        {customized property}: any()
      }
    }
    retrySettings: {
      maxRetries: int
      timeout: 'string'
    }
  }
}

BatchDeploymentConfiguration オブジェクト

オブジェクトの種類を指定するには、 deploymentConfigurationType プロパティを設定します。

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

  deploymentConfigurationType: 'PipelineComponent'
  componentId: {
    assetId: 'string'
    referenceType: 'string'
  }
  description: 'string'
  settings: {
    {customized property}: 'string'
  }
  tags: {
    {customized property}: 'string'
  }

AssetReferenceBase オブジェクト

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

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

  referenceType: 'DataPath'
  datastoreId: 'string'
  path: 'string'

[Id] には、次の値を使用します。

  referenceType: 'Id'
  assetId: 'string'

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

  referenceType: 'OutputPath'
  jobId: 'string'
  path: 'string'

プロパティ値

workspaces/batchEndpoints/deployments

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
location リソースが保存されている地理的な場所 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
sku 自動スケーリングの ARM コントラクトに必要な SKU の詳細。 SKU
kind ポータルやツールなどによって、同じ種類のリソースに対して異なる UX エクスペリエンスをレンダリングするために使用されるメタデータ。 string
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部の子リソース」を参照してください。
種類のリソースのシンボル名: batchEndpoints
identity マネージド サービス ID (システム割り当て ID またはユーザー割り当て ID) ManagedServiceIdentity
properties [必須]エンティティの追加の属性。 BatchDeploymentProperties (必須)

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 です。

BatchDeploymentProperties

名前 説明
codeConfiguration エンドポイントデプロイのコード構成。 CodeConfiguration
compute バッチ推論操作のコンピューティング先。 string
deploymentConfiguration さまざまな展開の種類に関連するプロパティ。 BatchDeploymentConfiguration
description エンドポイントのデプロイの説明。 string
environmentId エンドポイントデプロイの環境仕様の ARM リソース ID。 string
environmentVariables デプロイの環境変数の構成。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold エラーしきい値(入力全体のエラー数がこの値を超える場合)
バッチ推論は中止されます。 範囲は [-1, int.MaxValue]。
FileDataset の場合、この値はファイルエラーの数です。
TabularDataset の場合、この値はレコードエラーの数です。
-1 (下限) に設定すると、バッチ推論中のすべてのエラーは無視されます。
INT
loggingLevel バッチ推論操作のログ レベル。 'Debug'
'Info'
'警告'
maxConcurrencyPerInstance インスタンスあたりの並列処理の最大数を示します。 INT
miniBatchSize 各バッチ呼び出しに渡されるミニバッチのサイズ。
FileDataset の場合、これはミニバッチあたりのファイルの数です。
TabularDataset の場合、これはミニバッチごとのレコードのサイズ (バイト単位) です。
INT
model エンドポイント デプロイのモデル資産への参照。 AssetReferenceBase
outputAction 出力の編成方法を示します。 'AppendRow'
'SummaryOnly'
outputFileName append_row出力アクションのカスタマイズされた出力ファイル名。 string
properties プロパティ ディクショナリ。 プロパティは追加できますが、削除または変更することはできません。 EndpointDeploymentPropertiesBaseProperties
resources ジョブのコンピューティング構成を示します。
指定しない場合、 は ResourceConfiguration で定義されている既定値に既定で設定されます。
DeploymentResourceConfiguration
retrySettings バッチ推論操作の再試行設定。
指定しない場合、既定では BatchRetrySettings で定義されている既定値になります。
BatchRetrySettings

CodeConfiguration

名前 説明
codeId コード資産の ARM リソース ID。 string
scoringScript [必須]起動時に実行するスクリプト。 例: "score.py" string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]

BatchDeploymentConfiguration

名前 説明
deploymentConfigurationType オブジェクトの種類を設定する PipelineComponent (必須)

BatchPipelineComponentDeploymentConfiguration

名前 説明
deploymentConfigurationType [必須]デプロイの種類 'PipelineComponent' (必須)
componentId 実行するコンポーネントの ARM ID。 IdAssetReference
description ジョブに適用される説明。 string
settings パイプライン ジョブの実行時設定。 BatchPipelineComponentDeploymentConfigurationSetting...
tags ジョブに適用されるタグ。 object

IdAssetReference

名前 説明
assetId [必須]資産の ARM リソース ID。 string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]
referenceType [必須]資産参照の種類を指定します。 'DataPath'
'ID'
'OutputPath' (必須)

BatchPipelineComponentDeploymentConfigurationSetting...

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

EndpointDeploymentPropertiesBaseEnvironmentVariables

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

AssetReferenceBase

名前 説明
referenceType オブジェクトの種類を設定する DataPath
Id
OutputPath (必須)

DataPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 'DataPath' (必須)
datastoreId 資産が配置されているデータストアの ARM リソース ID。 string
path データストア内のファイル/ディレクトリのパス。 string

OutputPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 'OutputPath' (必須)
jobId ジョブの ARM リソース ID。 string
path ジョブ出力内のファイル/ディレクトリのパス。 string

EndpointDeploymentPropertiesBaseProperties

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

DeploymentResourceConfiguration

名前 説明
instanceCount コンピューティング 先で使用されるインスタンスまたはノードの数 (省略可能)。 INT
instanceType コンピューティング 先でサポートされている VM の種類 (省略可能)。 string
locations ジョブを実行できる場所。 string[]
maxInstanceCount コンピューティング 先で使用できるインスタンスまたはノードの最大数 (省略可能)。
エラスティック トレーニングで使用する場合は、現在 PyTorch ディストリビューションの種類でのみサポートされています。
INT
properties 追加のプロパティ バッグ。 ResourceConfigurationProperties

ResourceConfigurationProperties

名前 説明
{カスタマイズされたプロパティ} Bicep の場合は、 any() 関数を使用できます。
{カスタマイズされたプロパティ} Bicep の場合は、 any() 関数を使用できます。

BatchRetrySettings

名前 説明
maxRetries ミニバッチの最大再試行回数 INT
timeout ISO 8601 形式のミニバッチの呼び出しタイムアウト。 string

Sku

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

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

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

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

リソース形式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
  "apiVersion": "2023-04-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "kind": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "codeConfiguration": {
      "codeId": "string",
      "scoringScript": "string"
    },
    "compute": "string",
    "deploymentConfiguration": {
      "deploymentConfigurationType": "string"
      // For remaining properties, see BatchDeploymentConfiguration objects
    },
    "description": "string",
    "environmentId": "string",
    "environmentVariables": {
      "{customized property}": "string",
      "{customized property}": "string"
    },
    "errorThreshold": "int",
    "loggingLevel": "string",
    "maxConcurrencyPerInstance": "int",
    "miniBatchSize": "int",
    "model": {
      "referenceType": "string"
      // For remaining properties, see AssetReferenceBase objects
    },
    "outputAction": "string",
    "outputFileName": "string",
    "properties": {
      "{customized property}": "string",
      "{customized property}": "string"
    },
    "resources": {
      "instanceCount": "int",
      "instanceType": "string",
      "locations": [ "string" ],
      "maxInstanceCount": "int",
      "properties": {
        "{customized property}": {},
        "{customized property}": {}
      }
    },
    "retrySettings": {
      "maxRetries": "int",
      "timeout": "string"
    }
  }
}

BatchDeploymentConfiguration オブジェクト

オブジェクトの種類を指定するには、 deploymentConfigurationType プロパティを設定します。

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

  "deploymentConfigurationType": "PipelineComponent",
  "componentId": {
    "assetId": "string",
    "referenceType": "string"
  },
  "description": "string",
  "settings": {
    "{customized property}": "string"
  },
  "tags": {
    "{customized property}": "string"
  }

AssetReferenceBase オブジェクト

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

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

  "referenceType": "DataPath",
  "datastoreId": "string",
  "path": "string"

[Id] には、次の値を使用します。

  "referenceType": "Id",
  "assetId": "string"

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

  "referenceType": "OutputPath",
  "jobId": "string",
  "path": "string"

プロパティ値

workspaces/batchEndpoints/deployments

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

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
location リソースが保存されている地理的な場所 string (必須)
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
sku 自動スケーリングの ARM コントラクトに必要な SKU の詳細。 SKU
kind ポータルやツールなどによって、同じ種類のリソースに対して異なる UX エクスペリエンスをレンダリングするために使用されるメタデータ。 string
identity マネージド サービス ID (システム割り当て ID またはユーザー割り当て ID) ManagedServiceIdentity
properties [必須]エンティティの追加の属性。 BatchDeploymentProperties (必須)

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 です。

BatchDeploymentProperties

名前 説明
codeConfiguration エンドポイントデプロイのコード構成。 CodeConfiguration
compute バッチ推論操作のコンピューティング先。 string
deploymentConfiguration さまざまな展開の種類に関連するプロパティ。 BatchDeploymentConfiguration
description エンドポイントのデプロイの説明。 string
environmentId エンドポイントデプロイの環境仕様の ARM リソース ID。 string
environmentVariables デプロイの環境変数の構成。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold エラーしきい値(入力全体のエラー数がこの値を超える場合)
バッチ推論は中止されます。 範囲は [-1, int です。MaxValue]。
FileDataset の場合、この値はファイルエラーの数です。
TabularDataset の場合、この値はレコードエラーの数です。
-1 (下限) に設定すると、バッチ推論中のすべてのエラーは無視されます。
INT
loggingLevel バッチ推論操作のログ レベル。 'Debug'
'Info'
'警告'
maxConcurrencyPerInstance インスタンスあたりの並列処理の最大数を示します。 INT
miniBatchSize 各バッチ呼び出しに渡されるミニバッチのサイズ。
FileDataset の場合、これはミニバッチあたりのファイル数です。
TabularDataset の場合、これはミニバッチごとのレコードのサイズ (バイト単位) です。
INT
model エンドポイントデプロイのモデル資産への参照。 AssetReferenceBase
outputAction 出力の編成方法を示します。 'AppendRow'
'SummaryOnly'
outputFileName append_row出力アクションのカスタマイズされた出力ファイル名。 string
properties プロパティ ディクショナリ。 プロパティは追加できますが、削除または変更することはできません。 EndpointDeploymentPropertiesBaseProperties
resources ジョブのコンピューティング構成を示します。
指定しない場合、ResourceConfiguration で定義されている既定値が既定値になります。
DeploymentResourceConfiguration
retrySettings バッチ推論操作の再試行設定。
指定しない場合、既定では BatchRetrySettings で定義されている既定値になります。
BatchRetrySettings

CodeConfiguration

名前 説明
codeId コード資産の ARM リソース ID。 string
scoringScript [必須]起動時に実行するスクリプト。 例: "score.py" string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]

BatchDeploymentConfiguration

名前 説明
deploymentConfigurationType オブジェクトの種類を設定する PipelineComponent (必須)

BatchPipelineComponentDeploymentConfiguration

名前 説明
deploymentConfigurationType [必須]デプロイの種類 'PipelineComponent' (必須)
componentId 実行するコンポーネントの ARM ID。 IdAssetReference
description ジョブに適用される説明。 string
settings パイプライン ジョブの実行時設定。 BatchPipelineComponentDeploymentConfigurationSetting...
tags ジョブに適用されるタグ。 object

IdAssetReference

名前 説明
assetId [必須]資産の ARM リソース ID。 string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]
referenceType [必須]資産参照の種類を指定します。 'DataPath'
'ID'
'OutputPath' (必須)

BatchPipelineComponentDeploymentConfigurationSetting...

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

EndpointDeploymentPropertiesBaseEnvironmentVariables

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

AssetReferenceBase

名前 説明
referenceType オブジェクトの種類を設定する DataPath
Id
OutputPath (必須)

DataPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 'DataPath' (必須)
datastoreId 資産が配置されているデータストアの ARM リソース ID。 string
path データストア内のファイル/ディレクトリのパス。 string

OutputPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 'OutputPath' (必須)
jobId ジョブの ARM リソース ID。 string
path ジョブ出力内のファイル/ディレクトリのパス。 string

EndpointDeploymentPropertiesBaseProperties

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

DeploymentResourceConfiguration

名前 説明
instanceCount コンピューティング 先で使用されるインスタンスまたはノードの数 (省略可能)。 INT
instanceType コンピューティング 先でサポートされている VM のオプションの種類。 string
locations ジョブを実行できる場所。 string[]
maxInstanceCount コンピューティング 先で使用できるインスタンスまたはノードの最大数 (省略可能)。
エラスティック トレーニングで使用する場合は、現在 PyTorch ディストリビューションの種類でのみサポートされています。
INT
properties その他のプロパティ バッグ。 ResourceConfigurationProperties

ResourceConfigurationProperties

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

BatchRetrySettings

名前 説明
maxRetries ミニバッチの最大再試行回数 INT
timeout ISO 8601 形式のミニバッチの呼び出しタイムアウト。 string

Sku

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

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

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

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2023-04-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      codeConfiguration = {
        codeId = "string"
        scoringScript = "string"
      }
      compute = "string"
      deploymentConfiguration = {
        deploymentConfigurationType = "string"
        // For remaining properties, see BatchDeploymentConfiguration objects
      }
      description = "string"
      environmentId = "string"
      environmentVariables = {
        {customized property} = "string"
        {customized property} = "string"
      }
      errorThreshold = int
      loggingLevel = "string"
      maxConcurrencyPerInstance = int
      miniBatchSize = int
      model = {
        referenceType = "string"
        // For remaining properties, see AssetReferenceBase objects
      }
      outputAction = "string"
      outputFileName = "string"
      properties = {
        {customized property} = "string"
        {customized property} = "string"
      }
      resources = {
        instanceCount = int
        instanceType = "string"
        locations = [
          "string"
        ]
        maxInstanceCount = int
        properties = {}
      }
      retrySettings = {
        maxRetries = int
        timeout = "string"
      }
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
    kind = "string"
  })
}

BatchDeploymentConfiguration オブジェクト

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

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

  deploymentConfigurationType = "PipelineComponent"
  componentId = {
    assetId = "string"
    referenceType = "string"
  }
  description = "string"
  settings = {
    {customized property} = "string"
  }
  tags = {
    {customized property} = "string"
  }

AssetReferenceBase オブジェクト

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

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

  referenceType = "DataPath"
  datastoreId = "string"
  path = "string"

[ID] には、次の値を使用します。

  referenceType = "Id"
  assetId = "string"

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

  referenceType = "OutputPath"
  jobId = "string"
  path = "string"

プロパティ値

workspaces/batchEndpoints/deployments

名前 説明
type リソースの種類 "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2023-04-01-preview"
name リソース名 string (必須)
location リソースが保存されている地理的な場所 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: batchEndpoints
tags リソース タグ。 タグ名と値のディクショナリ。
sku 自動スケーリングの ARM コントラクトに必要な SKU の詳細。 SKU
kind 同じ種類のリソースに対して異なる UX エクスペリエンスをレンダリングするためにポータル/ツール/etc によって使用されるメタデータ。 string
identity マネージド サービス ID (システム割り当て ID またはユーザー割り当て ID) ManagedServiceIdentity
properties [必須]エンティティの追加の属性。 BatchDeploymentProperties (必須)

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 です。

BatchDeploymentProperties

名前 説明
codeConfiguration エンドポイントデプロイのコード構成。 CodeConfiguration
compute バッチ推論操作のコンピューティング先。 string
deploymentConfiguration さまざまな展開の種類に関連するプロパティ。 BatchDeploymentConfiguration
description エンドポイントのデプロイの説明。 string
environmentId エンドポイントデプロイの環境仕様の ARM リソース ID。 string
environmentVariables デプロイの環境変数の構成。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold エラーしきい値(入力全体のエラー数がこの値を超える場合)
バッチ推論は中止されます。 範囲は [-1, int.MaxValue]。
FileDataset の場合、この値はファイルエラーの数です。
TabularDataset の場合、この値はレコードエラーの数です。
-1 (下限) に設定すると、バッチ推論中のすべてのエラーは無視されます。
INT
loggingLevel バッチ推論操作のログ レベル。 "デバッグ"
"情報"
"Warning"
maxConcurrencyPerInstance インスタンスあたりの並列処理の最大数を示します。 INT
miniBatchSize 各バッチ呼び出しに渡されるミニバッチのサイズ。
FileDataset の場合、これはミニバッチあたりのファイルの数です。
TabularDataset の場合、これはミニバッチごとのレコードのサイズ (バイト単位) です。
INT
model エンドポイント デプロイのモデル資産への参照。 AssetReferenceBase
outputAction 出力の編成方法を示します。 "AppendRow"
"SummaryOnly"
outputFileName append_row出力アクションのカスタマイズされた出力ファイル名。 string
properties プロパティ ディクショナリ。 プロパティは追加できますが、削除または変更することはできません。 EndpointDeploymentPropertiesBaseProperties
resources ジョブのコンピューティング構成を示します。
指定しない場合、 は ResourceConfiguration で定義されている既定値に既定で設定されます。
DeploymentResourceConfiguration
retrySettings バッチ推論操作の再試行設定。
指定しない場合、既定では BatchRetrySettings で定義されている既定値になります。
BatchRetrySettings

CodeConfiguration

名前 説明
codeId コード資産の ARM リソース ID。 string
scoringScript [必須]起動時に実行するスクリプト。 例: "score.py" string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]

BatchDeploymentConfiguration

名前 説明
deploymentConfigurationType オブジェクトの種類を設定する PipelineComponent (必須)

BatchPipelineComponentDeploymentConfiguration

名前 説明
deploymentConfigurationType [必須]デプロイの種類 "PipelineComponent" (必須)
componentId 実行するコンポーネントの ARM ID。 IdAssetReference
description ジョブに適用される説明。 string
settings パイプライン ジョブの実行時設定。 BatchPipelineComponentDeploymentConfigurationSetting...
tags ジョブに適用されるタグ。 object

IdAssetReference

名前 説明
assetId [必須]資産の ARM リソース ID。 string (必須)

制約:
最小長 = 1
Pattern = [a-zA-Z0-9_]
referenceType [必須]資産参照の種類を指定します。 "DataPath"
"Id"
"OutputPath" (必須)

BatchPipelineComponentDeploymentConfigurationSetting...

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

EndpointDeploymentPropertiesBaseEnvironmentVariables

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

AssetReferenceBase

名前 説明
referenceType オブジェクトの種類を設定する DataPath
Id
OutputPath (必須)

DataPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 "DataPath" (必須)
datastoreId 資産が配置されているデータストアの ARM リソース ID。 string
path データストア内のファイル/ディレクトリのパス。 string

OutputPathAssetReference

名前 説明
referenceType [必須]資産参照の種類を指定します。 "OutputPath" (必須)
jobId ジョブの ARM リソース ID。 string
path ジョブ出力内のファイル/ディレクトリのパス。 string

EndpointDeploymentPropertiesBaseProperties

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

DeploymentResourceConfiguration

名前 説明
instanceCount コンピューティング 先で使用されるインスタンスまたはノードの数 (省略可能)。 INT
instanceType コンピューティング 先でサポートされている VM のオプションの種類。 string
locations ジョブを実行できる場所。 string[]
maxInstanceCount コンピューティング 先で使用できるインスタンスまたはノードの最大数 (省略可能)。
エラスティック トレーニングで使用する場合は、現在 PyTorch ディストリビューションの種類でのみサポートされています。
INT
properties 追加のプロパティ バッグ。 ResourceConfigurationProperties

ResourceConfigurationProperties

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

BatchRetrySettings

名前 説明
maxRetries ミニバッチの最大再試行回数 INT
timeout ISO 8601 形式のミニバッチの呼び出しタイムアウト。 string

Sku

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