CognitiveServicesConnectionCollection.GetAll 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 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.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource> GetAll(string target = default, string category = default, bool? includeAll = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource>
override this.GetAll : string * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesConnectionResource>
Public Overridable Function GetAll (Optional target As String = Nothing, Optional category As String = Nothing, Optional includeAll As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesConnectionResource)
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
A collection of CognitiveServicesConnectionResource that may take multiple service requests to iterate over.