CognitiveServicesAgentDeploymentCollection.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 Agent Deployments in the application.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments.
- Operation Id. : AgentDeploymentResources_List.
- Default Api Version. : 2026-01-15-preview.
public virtual Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource> GetAll(int? count = default, string skipToken = default, System.Collections.Generic.IEnumerable<string> names = default, string orderBy = default, bool? orderByAsc = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * string * seq<string> * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>
override this.GetAll : Nullable<int> * string * seq<string> * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CognitiveServices.CognitiveServicesAgentDeploymentResource>
Public Overridable Function GetAll (Optional count As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional names As IEnumerable(Of String) = Nothing, Optional orderBy As String = Nothing, Optional orderByAsc As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CognitiveServicesAgentDeploymentResource)
Parameters
- skipToken
- String
Continuation token for pagination.
- names
- IEnumerable<String>
Names of agent deployments to retrieve.
- orderBy
- String
Field to order by.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of CognitiveServicesAgentDeploymentResource that may take multiple service requests to iterate over.