GoalTemplateCollection.GetAllAsync Method

Definition

List GoalTemplate resources by tenant

  • Request Path. : /providers/Microsoft.Management/serviceGroups/{serviceGroupName}/providers/Microsoft.AzureResilienceManagement/goalTemplates.
  • Operation Id. : GoalTemplates_List.
  • Default Api Version. : 2026-04-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ResilienceManagement.GoalTemplateResource> GetAllAsync(string skipToken = default, int? maxCount = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResilienceManagement.GoalTemplateResource>
override this.GetAllAsync : string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResilienceManagement.GoalTemplateResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GoalTemplateResource)

Parameters

skipToken
String

Skip over when retrieving results.

maxCount
Nullable<Int32>

Number of elements to return when retrieving results.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to