Language

AIManagerResource.GetCustomAIModelAsync(String, CancellationToken) Method

Definition

Get a CustomAIModel.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceAIManager.CustomAIModelResource>> GetCustomAIModelAsync(string customAIModelName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCustomAIModelAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceAIManager.CustomAIModelResource>>
override this.GetCustomAIModelAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceAIManager.CustomAIModelResource>>
Public Overridable Function GetCustomAIModelAsync (customAIModelName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CustomAIModelResource))

Parameters

customAIModelName
String

The name of the custom AI model resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

customAIModelName is null.

customAIModelName is an empty string, and was expected to be non-empty.

Applies to