CognitiveServicesProjectConnectionCollection.GetAllAsync Method

Definition

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections.
  • Operation Id. : ProjectConnections_List.
  • Default Api Version. : 2026-03-15-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesProjectConnectionResource> 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.CognitiveServicesProjectConnectionResource>
override this.GetAllAsync : string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesProjectConnectionResource>
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 CognitiveServicesProjectConnectionResource)

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

A collection of CognitiveServicesProjectConnectionResource that may take multiple service requests to iterate over.

Applies to