Share via


ConnectionsOperations.GetConnectionsAsync Method

Definition

Overloads

GetConnectionsAsync(Nullable<ConnectionType>, Nullable<Boolean>, String, CancellationToken)

List all connections in the project, without populating connection credentials.

GetConnectionsAsync(String, Nullable<Boolean>, String, RequestOptions)

[Protocol Method] List all connections in the project, without populating connection credentials

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

GetConnectionsAsync(Nullable<ConnectionType>, Nullable<Boolean>, String, CancellationToken)

Source:
ConnectionsOperations.cs

List all connections in the project, without populating connection credentials.

public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ConnectionProperties> GetConnectionsAsync(Azure.AI.Projects.ConnectionType? connectionType = default, bool? defaultConnection = default, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionsAsync : Nullable<Azure.AI.Projects.ConnectionType> * Nullable<bool> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ConnectionProperties>
override this.GetConnectionsAsync : Nullable<Azure.AI.Projects.ConnectionType> * Nullable<bool> * string * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ConnectionProperties>
Public Overridable Function GetConnectionsAsync (Optional connectionType As Nullable(Of ConnectionType) = Nothing, Optional defaultConnection As Nullable(Of Boolean) = Nothing, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of ConnectionProperties)

Parameters

connectionType
Nullable<ConnectionType>

List connections of this specific type.

defaultConnection
Nullable<Boolean>

List connections that are default connections.

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

GetConnectionsAsync(String, Nullable<Boolean>, String, RequestOptions)

Source:
ConnectionsOperations.cs

[Protocol Method] List all connections in the project, without populating connection credentials

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetConnectionsAsync(string connectionType, bool? defaultConnection, string clientRequestId, System.ClientModel.Primitives.RequestOptions options);
abstract member GetConnectionsAsync : string * Nullable<bool> * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetConnectionsAsync : string * Nullable<bool> * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetConnectionsAsync (connectionType As String, defaultConnection As Nullable(Of Boolean), clientRequestId As String, options As RequestOptions) As AsyncCollectionResult

Parameters

connectionType
String

List connections of this specific type.

defaultConnection
Nullable<Boolean>

List connections that are default connections.

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