Share via


AIProjectDeploymentsOperations.GetDeployment Method

Definition

Overloads

GetDeployment(String, String, RequestOptions)

[Protocol Method] Get a deployed model.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetDeployment(String, String, CancellationToken)

Get a deployed model.

GetDeployment(String, String, RequestOptions)

Source:
AIProjectDeploymentsOperations.cs

[Protocol Method] Get a deployed model.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.ClientResult GetDeployment(string name, string clientRequestId, System.ClientModel.Primitives.RequestOptions options);
abstract member GetDeployment : string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.GetDeployment : string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function GetDeployment (name As String, clientRequestId As String, options As RequestOptions) As ClientResult

Parameters

name
String

Name of the deployment.

clientRequestId
String

An opaque, globally-unique, client-generated string identifier for the request.

options
RequestOptions

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

name is null.

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

Service returned a non-success status code.

Applies to

GetDeployment(String, String, CancellationToken)

Source:
AIProjectDeploymentsOperations.cs

Get a deployed model.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.AIProjectDeployment> GetDeployment(string name, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeployment : string * string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.AIProjectDeployment>
override this.GetDeployment : string * string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.AIProjectDeployment>
Public Overridable Function GetDeployment (name As String, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ClientResult(Of AIProjectDeployment)

Parameters

name
String

Name of the deployment.

clientRequestId
String

An opaque, globally-unique, client-generated string identifier for the request.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

name is null.

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

Service returned a non-success status code.

Applies to