Language

DiscoveryChatModelDeploymentCollection.GetAsync Method

Definition

Get a ChatModelDeployment

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Discovery/workspaces/{workspaceName}/chatModelDeployments/{chatModelDeploymentName}.
  • Operation Id. : ChatModelDeployments_Get.
  • Default Api Version. : 2026-06-01.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Discovery.DiscoveryChatModelDeploymentResource>> GetAsync(string chatModelDeploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Discovery.DiscoveryChatModelDeploymentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Discovery.DiscoveryChatModelDeploymentResource>>
Public Overridable Function GetAsync (chatModelDeploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DiscoveryChatModelDeploymentResource))

Parameters

chatModelDeploymentName
String

The name of the ChatModelDeployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

chatModelDeploymentName is null.

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

Applies to