Share via


CognitiveServicesConnectionCollection.GetAllAsync Method

Definition

Lists all the available Cognitive Services account connections under the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/connections
  • Operation Id: AccountConnections_List
  • Default Api Version: 2025-06-01
  • Resource: CognitiveServicesConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource> GetAllAsync(string target = default, string category = default, bool? includeAll = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource>
override this.GetAllAsync : string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource>
Public Overridable Function GetAllAsync (Optional target As String = Nothing, Optional category As String = Nothing, Optional includeAll As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CognitiveServicesConnectionResource)

Parameters

target
String

Target of the connection.

category
String

Category of the connection.

includeAll
Nullable<Boolean>

query parameter that indicates if get connection call should return both connections and datastores.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CognitiveServicesConnectionResource that may take multiple service requests to iterate over.

Applies to