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.ExtendedLocations.Models.CustomLocationEnabledResourceType> GetEnabledResourceTypesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnabledResourceTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceType>
override this.GetEnabledResourceTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceType>
Public Overridable Function GetEnabledResourceTypesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CustomLocationEnabledResourceType)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of CustomLocationEnabledResourceType that may take multiple service requests to iterate over.