Condividi tramite


Aree di lavoro Microsoft.MachineLearningServices/endpoints 2024-04-01-preview

Definizione di risorsa Bicep

Il tipo di risorsa workspaces/endpoints può essere distribuito con operazioni destinate a:

  • gruppi di risorse - Vedere i comandi di distribuzione del gruppo di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato risorsa

Per creare una risorsa Microsoft.MachineLearningServices/workspaces/endpoints, aggiungere il bicep seguente al modello.

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

Oggetti EndpointResourceProperties

Impostare la proprietà endpointType per specificare il tipo di oggetto.

Per Azure.ContentSafetyusare:

  endpointType: 'Azure.ContentSafety'

Per Azure.OpenAI, usare:

  endpointType: 'Azure.OpenAI'

Per Azure.Speech, usare:

  endpointType: 'Azure.Speech'

Per managedOnlineEndpoint, usare:

  endpointType: 'managedOnlineEndpoint'

Valori delle proprietà

aree di lavoro/endpoint

Nome Descrizione Valore
nome Nome della risorsa

Vedere come impostare nomi e tipi per le risorse figlio in Bicep.
stringa (obbligatorio)
genitore In Bicep è possibile specificare la risorsa padre per una risorsa figlio. È necessario aggiungere questa proprietà solo quando la risorsa figlio viene dichiarata all'esterno della risorsa padre.

Per altre informazioni, vedere risorsa figlio all'esterno della risorsa padre.
Nome simbolico per la risorsa di tipo: aree di lavoro
proprietà EndpointResourceProperties (obbligatorio)

EndpointResourceProperties

Nome Descrizione Valore
associatedResourceId ID risorsa byo per la creazione degli endpoint di servizio del modello predefiniti. corda
endpointUri URI dell'endpoint. corda
failureReason Motivo dell'errore se la creazione non è riuscita. corda
nome Nome dell'endpoint. corda
shouldCreateAiServicesEndpoint Se l'endpoint proxy (non byo) è un endpoint normale o un endpoint dell'account dei servizi di intelligenza artificiale OneKeyV2. Bool
endpointType Impostare il tipo di oggetto Azure.ContentSafety
Azure.OpenAI
Azure.Speech
managedOnlineEndpoint (obbligatorio)

ContentSafetyEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.ContentSafety' (obbligatorio)

OpenAIEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.OpenAI' (obbligatorio)

SpeechEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.Speech' (obbligatorio)

ManagedOnlineEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'managedOnlineEndpoint' (obbligatorio)

Definizione di risorsa del modello di Resource Manager

Il tipo di risorsa workspaces/endpoints può essere distribuito con operazioni destinate a:

  • gruppi di risorse - Vedere i comandi di distribuzione del gruppo di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato risorsa

Per creare una risorsa Microsoft.MachineLearningServices/workspaces/endpoints, aggiungere il codice JSON seguente al modello.

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

Oggetti EndpointResourceProperties

Impostare la proprietà endpointType per specificare il tipo di oggetto.

Per Azure.ContentSafetyusare:

  "endpointType": "Azure.ContentSafety"

Per Azure.OpenAI, usare:

  "endpointType": "Azure.OpenAI"

Per Azure.Speech, usare:

  "endpointType": "Azure.Speech"

Per managedOnlineEndpoint, usare:

  "endpointType": "managedOnlineEndpoint"

Valori delle proprietà

aree di lavoro/endpoint

Nome Descrizione Valore
digitare Tipo di risorsa 'Microsoft.MachineLearningServices/workspaces/endpoints'
apiVersion Versione dell'API della risorsa '2024-04-01-preview'
nome Nome della risorsa

Vedere come impostare nomi e tipi per le risorse figlio in modelli DI Resource Manager JSON.
stringa (obbligatorio)
proprietà EndpointResourceProperties (obbligatorio)

EndpointResourceProperties

Nome Descrizione Valore
associatedResourceId ID risorsa byo per la creazione degli endpoint di servizio del modello predefiniti. corda
endpointUri URI dell'endpoint. corda
failureReason Motivo dell'errore se la creazione non è riuscita. corda
nome Nome dell'endpoint. corda
shouldCreateAiServicesEndpoint Se l'endpoint proxy (non byo) è un endpoint normale o un endpoint dell'account dei servizi di intelligenza artificiale OneKeyV2. Bool
endpointType Impostare il tipo di oggetto Azure.ContentSafety
Azure.OpenAI
Azure.Speech
managedOnlineEndpoint (obbligatorio)

ContentSafetyEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.ContentSafety' (obbligatorio)

OpenAIEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.OpenAI' (obbligatorio)

SpeechEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'Azure.Speech' (obbligatorio)

ManagedOnlineEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. 'managedOnlineEndpoint' (obbligatorio)

Definizione di risorsa Terraform (provider AzAPI)

Il tipo di risorsa workspaces/endpoints può essere distribuito con operazioni destinate a:

  • gruppi di risorse

Per un elenco delle proprietà modificate in ogni versione dell'API, vedere log delle modifiche.

Formato risorsa

Per creare una risorsa Microsoft.MachineLearningServices/workspaces/endpoints, aggiungere il modello Terraform seguente.

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

Oggetti EndpointResourceProperties

Impostare la proprietà endpointType per specificare il tipo di oggetto.

Per Azure.ContentSafetyusare:

  endpointType = "Azure.ContentSafety"

Per Azure.OpenAI, usare:

  endpointType = "Azure.OpenAI"

Per Azure.Speech, usare:

  endpointType = "Azure.Speech"

Per managedOnlineEndpoint, usare:

  endpointType = "managedOnlineEndpoint"

Valori delle proprietà

aree di lavoro/endpoint

Nome Descrizione Valore
digitare Tipo di risorsa "Microsoft.MachineLearningServices/workspaces/endpoints@2024-04-01-preview"
nome Nome della risorsa stringa (obbligatorio)
parent_id ID della risorsa padre per questa risorsa. ID per la risorsa di tipo: aree di lavoro
proprietà EndpointResourceProperties (obbligatorio)

EndpointResourceProperties

Nome Descrizione Valore
associatedResourceId ID risorsa byo per la creazione degli endpoint di servizio del modello predefiniti. corda
endpointUri URI dell'endpoint. corda
failureReason Motivo dell'errore se la creazione non è riuscita. corda
nome Nome dell'endpoint. corda
shouldCreateAiServicesEndpoint Se l'endpoint proxy (non byo) è un endpoint normale o un endpoint dell'account dei servizi di intelligenza artificiale OneKeyV2. Bool
endpointType Impostare il tipo di oggetto Azure.ContentSafety
Azure.OpenAI
Azure.Speech
managedOnlineEndpoint (obbligatorio)

ContentSafetyEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. "Azure.ContentSafety" (obbligatorio)

OpenAIEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. "Azure.OpenAI" (obbligatorio)

SpeechEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. "Azure.Speech" (obbligatorio)

ManagedOnlineEndpointResourceProperties

Nome Descrizione Valore
endpointType Tipo dell'endpoint. "managedOnlineEndpoint" (obbligatorio)