다음을 통해 공유


CustomLocationResource.GetEnabledResourceTypes(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.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType> GetEnabledResourceTypes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEnabledResourceTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
override this.GetEnabledResourceTypes : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ExtendedLocation.Models.EnabledResourceType>
Public Overridable Function GetEnabledResourceTypes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EnabledResourceType)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to