Microsoft.MachineLearningServices workspaces/endpoints 2024-01-01-preview

Bicep リソース定義

ワークスペース/エンドポイントのリソースの種類は、次を対象とする操作でデプロイできます。

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

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

リソースの形式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/endpoints@2024-01-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    associatedResourceId: 'string'
    endpointUri: 'string'
    failureReason: 'string'
    name: 'string'
    endpointType: 'string'
    // For remaining properties, see EndpointResourceProperties objects
  }
}

EndpointResourceProperties オブジェクト

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

Azure.ContentSafetyを する場合は、次を使用します。

  endpointType: 'Azure.ContentSafety'

Azure.OpenAIを する場合は、次を使用します。

  endpointType: 'Azure.OpenAI'

Azure.Speechを する場合は、次を使用します。

  endpointType: 'Azure.Speech'

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

  endpointType: 'managedOnlineEndpoint'

プロパティ値

workspaces/endpoints

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

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

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: ワークスペース
プロパティ EndpointResourceProperties (必須)

EndpointResourceProperties

名前 形容 価値
associatedResourceId 組み込みのモデル サービス エンドポイントを作成するための Byo リソース ID。
endpointUri エンドポイントの URI。
failureReason 作成に失敗した場合のエラーの理由。
名前 エンドポイントの名前。
endpointType オブジェクトの種類を設定する Azure.ContentSafety の
Azure.OpenAI
Azure.Speech

managedOnlineEndpoint
(必須)

ContentSafetyEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.ContentSafety' (必須)

OpenAIEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.OpenAI' (必須)

SpeechEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.Speech' (必須)

ManagedOnlineEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'managedOnlineEndpoint' (必須)

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

ワークスペース/エンドポイントのリソースの種類は、次を対象とする操作でデプロイできます。

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

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

リソースの形式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/endpoints",
  "apiVersion": "2024-01-01-preview",
  "name": "string",
  "properties": {
    "associatedResourceId": "string",
    "endpointUri": "string",
    "failureReason": "string",
    "name": "string",
    "endpointType": "string"
    // For remaining properties, see EndpointResourceProperties objects
  }
}

EndpointResourceProperties オブジェクト

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

Azure.ContentSafetyを する場合は、次を使用します。

  "endpointType": "Azure.ContentSafety"

Azure.OpenAIを する場合は、次を使用します。

  "endpointType": "Azure.OpenAI"

Azure.Speechを する場合は、次を使用します。

  "endpointType": "Azure.Speech"

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

  "endpointType": "managedOnlineEndpoint"

プロパティ値

workspaces/endpoints

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

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

EndpointResourceProperties

名前 形容 価値
associatedResourceId 組み込みのモデル サービス エンドポイントを作成するための Byo リソース ID。
endpointUri エンドポイントの URI。
failureReason 作成に失敗した場合のエラーの理由。
名前 エンドポイントの名前。
endpointType オブジェクトの種類を設定する Azure.ContentSafety の
Azure.OpenAI
Azure.Speech

managedOnlineEndpoint
(必須)

ContentSafetyEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.ContentSafety' (必須)

OpenAIEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.OpenAI' (必須)

SpeechEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'Azure.Speech' (必須)

ManagedOnlineEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 'managedOnlineEndpoint' (必須)

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

ワークスペース/エンドポイントのリソースの種類は、次を対象とする操作でデプロイできます。

  • リソース グループの

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

リソースの形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/endpoints@2024-01-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      associatedResourceId = "string"
      endpointUri = "string"
      failureReason = "string"
      name = "string"
      endpointType = "string"
      // For remaining properties, see EndpointResourceProperties objects
    }
  })
}

EndpointResourceProperties オブジェクト

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

Azure.ContentSafetyを する場合は、次を使用します。

  endpointType = "Azure.ContentSafety"

Azure.OpenAIを する場合は、次を使用します。

  endpointType = "Azure.OpenAI"

Azure.Speechを する場合は、次を使用します。

  endpointType = "Azure.Speech"

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

  endpointType = "managedOnlineEndpoint"

プロパティ値

workspaces/endpoints

名前 形容 価値
種類 リソースの種類 "Microsoft.MachineLearningServices/workspaces/endpoints@2024-01-01-preview"
名前 リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: ワークスペース
プロパティ EndpointResourceProperties (必須)

EndpointResourceProperties

名前 形容 価値
associatedResourceId 組み込みのモデル サービス エンドポイントを作成するための Byo リソース ID。
endpointUri エンドポイントの URI。
failureReason 作成に失敗した場合のエラーの理由。
名前 エンドポイントの名前。
endpointType オブジェクトの種類を設定する Azure.ContentSafety の
Azure.OpenAI
Azure.Speech

managedOnlineEndpoint
(必須)

ContentSafetyEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 "Azure.ContentSafety" (必須)

OpenAIEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 "Azure.OpenAI" (必須)

SpeechEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 "Azure.Speech" (必須)

ManagedOnlineEndpointResourceProperties

名前 形容 価値
endpointType エンドポイントの種類。 "managedOnlineEndpoint" (必須)