Share via


CustomLocationResource.GetEnabledResourceTypesAsync(CancellationToken) Method

Definition

Gets the list of the Enabled Resource Types. Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes Operation Id: CustomLocations_ListEnabledResourceTypes

public virtual Azure.AsyncPageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType> GetEnabledResourceTypesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnabledResourceTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
override this.GetEnabledResourceTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
Public Overridable Function GetEnabledResourceTypesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EnabledResourceType)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of EnabledResourceType that may take multiple service requests to iterate over.

Applies to