ConnectionsOperations.GetConnections Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetConnections(Nullable<ConnectionType>, Nullable<Boolean>, String, CancellationToken) |
List all connections in the project, without populating connection credentials. |
GetConnections(String, Nullable<Boolean>, String, RequestOptions) |
[Protocol Method] List all connections in the project, without populating connection credentials
|
GetConnections(Nullable<ConnectionType>, Nullable<Boolean>, String, CancellationToken)
- Source:
- ConnectionsOperations.cs
List all connections in the project, without populating connection credentials.
public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.ConnectionProperties> GetConnections(Azure.AI.Projects.ConnectionType? connectionType = default, bool? defaultConnection = default, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnections : Nullable<Azure.AI.Projects.ConnectionType> * Nullable<bool> * string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.ConnectionProperties>
override this.GetConnections : Nullable<Azure.AI.Projects.ConnectionType> * Nullable<bool> * string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.ConnectionProperties>
Public Overridable Function GetConnections (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 CollectionResult(Of ConnectionProperties)
Parameters
- connectionType
- Nullable<ConnectionType>
List connections of this specific type.
- 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
GetConnections(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.CollectionResult GetConnections(string connectionType, bool? defaultConnection, string clientRequestId, System.ClientModel.Primitives.RequestOptions options);
abstract member GetConnections : string * Nullable<bool> * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetConnections : string * Nullable<bool> * string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetConnections (connectionType As String, defaultConnection As Nullable(Of Boolean), clientRequestId As String, options As RequestOptions) As CollectionResult
Parameters
- connectionType
- String
List connections of this specific type.
- 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.