CognitiveServicesProjectConnectionCollection.GetAllAsync 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.
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: 2025-06-01
- Resource: CognitiveServicesProjectConnectionResource
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.
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 CognitiveServicesProjectConnectionResource that may take multiple service requests to iterate over.