CustomLocationResource.GetEnabledResourceTypesAsync(CancellationToken) 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.
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
Azure SDK for .NET