Share via


AIProjectDeploymentsOperations.GetDeploymentsAsync Method

Definition

Overloads

GetDeploymentsAsync(String, String, Nullable<AIProjectDeploymentType>, String, CancellationToken)

List all deployed models in the project.

GetDeploymentsAsync(String, String, String, String, RequestOptions)

[Protocol Method] List all deployed models in the project

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetDeploymentsAsync(String, String, Nullable<AIProjectDeploymentType>, String, CancellationToken)

Source:
AIProjectDeploymentsOperations.cs

List all deployed models in the project.

public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDeployment> GetDeploymentsAsync(string modelPublisher = default, string modelName = default, Azure.AI.Projects.AIProjectDeploymentType? deploymentType = default, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentsAsync : string * string * Nullable<Azure.AI.Projects.AIProjectDeploymentType> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDeployment>
override this.GetDeploymentsAsync : string * string * Nullable<Azure.AI.Projects.AIProjectDeploymentType> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDeployment>
Public Overridable Function GetDeploymentsAsync (Optional modelPublisher As String = Nothing, Optional modelName As String = Nothing, Optional deploymentType As Nullable(Of AIProjectDeploymentType) = Nothing, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of AIProjectDeployment)

Parameters

modelPublisher
String

Model publisher to filter models by.

modelName
String

Model name (the publisher specific name) to filter models by.

deploymentType
Nullable<AIProjectDeploymentType>

Type of deployment to filter list by.

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

Service returned a non-success status code.

Applies to

GetDeploymentsAsync(String, String, String, String, RequestOptions)

Source:
AIProjectDeploymentsOperations.cs

[Protocol Method] List all deployed models in the project

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

Parameters

modelPublisher
String

Model publisher to filter models by.

modelName
String

Model name (the publisher specific name) to filter models by.

deploymentType
String

Type of deployment to filter list by.

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

Service returned a non-success status code.

Applies to