Megosztás a következőn keresztül:


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.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.

Applies to