Compartilhar via


CustomLocationResource.GetEnabledResourceTypes(CancellationToken) Método

Definição

Obtém a lista dos Tipos de Recursos Habilitados. Caminho da Solicitação: /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)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de EnabledResourceType que pode levar várias solicitações de serviço para iterar.

Aplica-se a