ConnectionsClient.GetDefaultConnectionAsync 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.
List the details of all the connections (not including their credentials).
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.ConnectionResponse>> GetDefaultConnectionAsync(Azure.AI.Projects.ConnectionType category, bool? withCredential = default, bool? includeAll = default, string target = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDefaultConnectionAsync : Azure.AI.Projects.ConnectionType * Nullable<bool> * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.ConnectionResponse>>
override this.GetDefaultConnectionAsync : Azure.AI.Projects.ConnectionType * Nullable<bool> * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Projects.ConnectionResponse>>
Public Overridable Function GetDefaultConnectionAsync (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 Task(Of Response(Of ConnectionResponse))
Parameters
- category
- ConnectionType
Category of the workspace connection.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET