AIProjectConnectionsOperations.GetConnections Method

Definition

Overloads

Name Description
GetConnections(Nullable<ConnectionType>, Nullable<Boolean>, CancellationToken)

Returns the connections available in the current project, optionally filtered by type or default status.

GetConnections(String, Nullable<Boolean>, RequestOptions)

[Protocol Method] Returns the connections available in the current project, optionally filtered by type or default status.

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

GetConnections(Nullable<ConnectionType>, Nullable<Boolean>, CancellationToken)

Source:
AIProjectConnectionsOperations.cs
Source:
AIProjectConnectionsOperations.cs

Returns the connections available in the current project, optionally filtered by type or default status.

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

Parameters

connectionType
Nullable<ConnectionType>

Lists connections of this specific type.

defaultConnection
Nullable<Boolean>

Lists connections that are default connections.

cancellationToken
CancellationToken

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

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetConnections(String, Nullable<Boolean>, RequestOptions)

Source:
AIProjectConnectionsOperations.cs
Source:
AIProjectConnectionsOperations.cs

[Protocol Method] Returns the connections available in the current project, optionally filtered by type or default status.

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

Parameters

connectionType
String

Lists connections of this specific type.

defaultConnection
Nullable<Boolean>

Lists connections that are default connections.

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