Bicep リソース定義
ワークスペース/エンドポイント/デプロイ リソースの種類は、次を対象とする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.MachineLearningServices/workspaces/endpoints/deployments リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/endpoints/deployments@2026-01-15-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
failureReason: 'string'
type: 'string'
// For remaining properties, see EndpointDeploymentResourceProperties objects
}
}
EndpointDeploymentResourceProperties オブジェクト
type プロパティを設定して、オブジェクトのタイプを指定します。
Azure。ContentSafety、使用:
{
model: {
format: 'string'
name: 'string'
source: 'string'
version: 'string'
}
raiPolicyName: 'string'
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
type: 'Azure.ContentSafety'
versionUpgradeOption: 'string'
}
Azure。OpenAI、利用してください:
{
model: {
format: 'string'
name: 'string'
source: 'string'
version: 'string'
}
raiPolicyName: 'string'
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
type: 'Azure.OpenAI'
versionUpgradeOption: 'string'
}
Azure。スピーチ、使用:
{
model: {
format: 'string'
name: 'string'
source: 'string'
version: 'string'
}
raiPolicyName: 'string'
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
type: 'Azure.Speech'
versionUpgradeOption: 'string'
}
managedOnlineEndpoint
{
endpointComputeType: 'string'
model: 'string'
type: 'managedOnlineEndpoint'
}
プロパティ値
Microsoft.MachineLearningServices/ワークスペース/エンドポイント/デプロイ
| 名前 | 説明 | 価値 |
|---|---|---|
| 名前 | リソース名 | string 制約: パターン = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (必須) |
| 親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソースの外部 |
種類のリソースのシンボリック名: ワークスペース/エンドポイント |
| プロパティ | EndpointDeploymentResourceProperties (必須) |
CognitiveServicesSku
| 名前 | 説明 | 価値 |
|---|---|---|
| キャパシティ | int | |
| family | 文字列 | |
| 名前 | 文字列 | |
| サイズ | 文字列 | |
| レベル | 文字列 |
ContentSafetyEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。ContentSafety(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
EndpointDeploymentModel
| 名前 | 説明 | 価値 |
|---|---|---|
| format | モデル形式 | 文字列 |
| 名前 | モデル名。 | 文字列 |
| ソース | オプション。 デプロイ モデルのソース ARM リソース ID。 | 文字列 |
| バージョン | モデルのバージョン。 | 文字列 |
EndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| failureReason | 作成に失敗した場合のエラーの理由。 | 文字列 |
| 型 | Set to 'Azure.ContentSafety' は型 ContentSafetyEndpointDeploymentResourceProperties です。 Set to 'Azure.TypeのOpenAIEndpointDeploymentResourcePropertiesのためのOpenAI'。 Set to 'Azure.Speech' は型 SpeechEndpointDeploymentResourceProperties です。 ManagedOnlineEndpointDeploymentResourceProperties |
「Azure。内容安全 「Azure。OpenAI』 「Azure。スピーチ 'managedOnlineEndpoint' (必須) |
ManagedOnlineEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| endpointComputeType | エンドポイントのコンピューティングの種類を決定する列挙型。 | 'AzureMLCompute' 'Kubernetes' 'Managed' |
| モデル | 文字列 | |
| 型 | デプロイの種類。 | 'managedOnlineEndpoint' (必須) |
OpenAIEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。OpenAI(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
SpeechEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。スピーチ(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
ARM テンプレート リソース定義
ワークスペース/エンドポイント/デプロイ リソースの種類は、次を対象とする操作でデプロイできます。
- リソースグループ - リソースグループのデプロイコマンドを参照してください。 各APIバージョンの変更プロパティ一覧は 変更ログをご覧ください。
使用例
リソースの形式
Microsoft.MachineLearningServices/workspaces/endpoints/deployments リソースを作成するには、テンプレートに次の JSON を追加します。
{
"type": "Microsoft.MachineLearningServices/workspaces/endpoints/deployments",
"apiVersion": "2026-01-15-preview",
"name": "string",
"properties": {
"failureReason": "string",
"type": "string"
// For remaining properties, see EndpointDeploymentResourceProperties objects
}
}
EndpointDeploymentResourceProperties オブジェクト
type プロパティを設定して、オブジェクトのタイプを指定します。
Azure。ContentSafety、使用:
{
"model": {
"format": "string",
"name": "string",
"source": "string",
"version": "string"
},
"raiPolicyName": "string",
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"type": "Azure.ContentSafety",
"versionUpgradeOption": "string"
}
Azure。OpenAI、利用してください:
{
"model": {
"format": "string",
"name": "string",
"source": "string",
"version": "string"
},
"raiPolicyName": "string",
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"type": "Azure.OpenAI",
"versionUpgradeOption": "string"
}
Azure。スピーチ、使用:
{
"model": {
"format": "string",
"name": "string",
"source": "string",
"version": "string"
},
"raiPolicyName": "string",
"sku": {
"capacity": "int",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"type": "Azure.Speech",
"versionUpgradeOption": "string"
}
managedOnlineEndpoint
{
"endpointComputeType": "string",
"model": "string",
"type": "managedOnlineEndpoint"
}
プロパティ値
Microsoft.MachineLearningServices/ワークスペース/エンドポイント/デプロイ
| 名前 | 説明 | 価値 |
|---|---|---|
| apiVersion | API のバージョン | 『2026-01-15-プレビュー』 |
| 名前 | リソース名 | string 制約: パターン = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (必須) |
| プロパティ | EndpointDeploymentResourceProperties (必須) | |
| 型 | リソースの種類 | 'Microsoft.MachineLearningServices/workspaces/endpoints/deployments' |
CognitiveServicesSku
| 名前 | 説明 | 価値 |
|---|---|---|
| キャパシティ | int | |
| family | 文字列 | |
| 名前 | 文字列 | |
| サイズ | 文字列 | |
| レベル | 文字列 |
ContentSafetyEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。ContentSafety(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
EndpointDeploymentModel
| 名前 | 説明 | 価値 |
|---|---|---|
| format | モデル形式 | 文字列 |
| 名前 | モデル名。 | 文字列 |
| ソース | オプション。 デプロイ モデルのソース ARM リソース ID。 | 文字列 |
| バージョン | モデルのバージョン。 | 文字列 |
EndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| failureReason | 作成に失敗した場合のエラーの理由。 | 文字列 |
| 型 | Set to 'Azure.ContentSafety' は型 ContentSafetyEndpointDeploymentResourceProperties です。 Set to 'Azure.TypeのOpenAIEndpointDeploymentResourcePropertiesのためのOpenAI'。 Set to 'Azure.Speech' は型 SpeechEndpointDeploymentResourceProperties です。 ManagedOnlineEndpointDeploymentResourceProperties |
「Azure。内容安全 「Azure。OpenAI』 「Azure。スピーチ 'managedOnlineEndpoint' (必須) |
ManagedOnlineEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| endpointComputeType | エンドポイントのコンピューティングの種類を決定する列挙型。 | 'AzureMLCompute' 'Kubernetes' 'Managed' |
| モデル | 文字列 | |
| 型 | デプロイの種類。 | 'managedOnlineEndpoint' (必須) |
OpenAIEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。OpenAI(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
SpeechEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。スピーチ(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
Terraform (AzAPI プロバイダー) リソース定義
ワークスペース/エンドポイント/デプロイ リソースの種類は、次を対象とする操作でデプロイできます。
- リソースグループ 各APIバージョンの変更プロパティ一覧については、 変更ログをご覧ください。
リソースの形式
Microsoft.MachineLearningServices/workspaces/endpoints/deployments リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/endpoints/deployments@2026-01-15-preview"
name = "string"
parent_id = "string"
body = {
properties = {
failureReason = "string"
type = "string"
// For remaining properties, see EndpointDeploymentResourceProperties objects
}
}
}
EndpointDeploymentResourceProperties オブジェクト
type プロパティを設定して、オブジェクトのタイプを指定します。
Azure。ContentSafety、使用:
{
model = {
format = "string"
name = "string"
source = "string"
version = "string"
}
raiPolicyName = "string"
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
type = "Azure.ContentSafety"
versionUpgradeOption = "string"
}
Azure。OpenAI、利用してください:
{
model = {
format = "string"
name = "string"
source = "string"
version = "string"
}
raiPolicyName = "string"
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
type = "Azure.OpenAI"
versionUpgradeOption = "string"
}
Azure。スピーチ、使用:
{
model = {
format = "string"
name = "string"
source = "string"
version = "string"
}
raiPolicyName = "string"
sku = {
capacity = int
family = "string"
name = "string"
size = "string"
tier = "string"
}
type = "Azure.Speech"
versionUpgradeOption = "string"
}
managedOnlineEndpoint
{
endpointComputeType = "string"
model = "string"
type = "managedOnlineEndpoint"
}
プロパティ値
Microsoft.MachineLearningServices/ワークスペース/エンドポイント/デプロイ
| 名前 | 説明 | 価値 |
|---|---|---|
| 名前 | リソース名 | string 制約: パターン = ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ (必須) |
| parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: ワークスペース/エンドポイント |
| プロパティ | EndpointDeploymentResourceProperties (必須) | |
| 型 | リソースの種類 | "Microsoft.MachineLearningServices/workspaces/endpoints/deployments@2026-01-15-preview" |
CognitiveServicesSku
| 名前 | 説明 | 価値 |
|---|---|---|
| キャパシティ | int | |
| family | 文字列 | |
| 名前 | 文字列 | |
| サイズ | 文字列 | |
| レベル | 文字列 |
ContentSafetyEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。ContentSafety(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
EndpointDeploymentModel
| 名前 | 説明 | 価値 |
|---|---|---|
| format | モデル形式 | 文字列 |
| 名前 | モデル名。 | 文字列 |
| ソース | オプション。 デプロイ モデルのソース ARM リソース ID。 | 文字列 |
| バージョン | モデルのバージョン。 | 文字列 |
EndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| failureReason | 作成に失敗した場合のエラーの理由。 | 文字列 |
| 型 | Set to 'Azure.ContentSafety' は型 ContentSafetyEndpointDeploymentResourceProperties です。 Set to 'Azure.TypeのOpenAIEndpointDeploymentResourcePropertiesのためのOpenAI'。 Set to 'Azure.Speech' は型 SpeechEndpointDeploymentResourceProperties です。 ManagedOnlineEndpointDeploymentResourceProperties |
「Azure。内容安全 「Azure。OpenAI』 「Azure。スピーチ 'managedOnlineEndpoint' (必須) |
ManagedOnlineEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| endpointComputeType | エンドポイントのコンピューティングの種類を決定する列挙型。 | 'AzureMLCompute' 'Kubernetes' 'Managed' |
| モデル | 文字列 | |
| 型 | デプロイの種類。 | 'managedOnlineEndpoint' (必須) |
OpenAIEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。OpenAI(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |
SpeechEndpointDeploymentResourceProperties
| 名前 | 説明 | 価値 |
|---|---|---|
| モデル | エンドポイントのデプロイに使用されるモデル。 | EndpointDeploymentModel (必須) |
| raiPolicyName | RAI ポリシーの名前。 | 文字列 |
| sku | コグニティブサービスSKU | |
| 型 | デプロイの種類。 | 「Azure。スピーチ(必須) |
| versionUpgradeOption | デプロイ モデルバージョンのアップグレード オプション。 | 'NoAutoUpgrade' 'OnceCurrentVersionExpired' 'OnceNewDefaultVersionAvailable' |