Share via


AIProjectDeploymentsOperations.GetDeployments Method

Definition

Overloads

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

List all deployed models in the project.

GetDeployments(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.

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

Source:
AIProjectDeploymentsOperations.cs

List all deployed models in the project.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDeployment> GetDeployments(string modelPublisher = default, string modelName = default, Azure.AI.Projects.AIProjectDeploymentType? deploymentType = default, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeployments : string * string * Nullable<Azure.AI.Projects.AIProjectDeploymentType> * string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDeployment>
override this.GetDeployments : string * string * Nullable<Azure.AI.Projects.AIProjectDeploymentType> * string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectDeployment>
Public Overridable Function GetDeployments (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 CollectionResult(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

GetDeployments(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.CollectionResult GetDeployments(string modelPublisher, string modelName, string deploymentType, string clientRequestId, System.ClientModel.Primitives.RequestOptions options);
abstract member GetDeployments : string * string * string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetDeployments : string * string * string * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetDeployments (modelPublisher As String, modelName As String, deploymentType As String, clientRequestId As String, options As RequestOptions) As CollectionResult

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