次の方法で共有


ConnectionsClient.GetDefaultConnection Method

Definition

Get the details of a single connection.

public virtual Azure.Response<Azure.AI.Projects.ConnectionResponse> GetDefaultConnection (Azure.AI.Projects.ConnectionType category, bool? withCredential = default, bool? includeAll = default, string target = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefaultConnection : Azure.AI.Projects.ConnectionType * Nullable<bool> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.ConnectionResponse>
override this.GetDefaultConnection : Azure.AI.Projects.ConnectionType * Nullable<bool> * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Projects.ConnectionResponse>
Public Overridable Function GetDefaultConnection (category As ConnectionType, Optional withCredential As Nullable(Of Boolean) = Nothing, Optional includeAll As Nullable(Of Boolean) = Nothing, Optional target As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConnectionResponse)

Parameters

category
ConnectionType

Category of the workspace connection.

withCredential
Nullable<Boolean>
includeAll
Nullable<Boolean>

Indicates whether to list datastores. Service default: do not list datastores.

target
String

Target of the workspace connection.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to