다음을 통해 공유


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to