Condividi tramite


MockableServiceFabricManagedClustersSubscriptionResource.GetManagedUnsupportedVmSizesAsync Method

Definition

Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabric/locations/{location}/managedUnsupportedVMSizes.
  • Operation Id. : ManagedUnsupportedVMSizes_List.
  • Default Api Version. : 2026-02-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedUnsupportedVmSize> GetManagedUnsupportedVmSizesAsync(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedUnsupportedVmSizesAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedUnsupportedVmSize>
override this.GetManagedUnsupportedVmSizesAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedUnsupportedVmSize>
Public Overridable Function GetManagedUnsupportedVmSizesAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceFabricManagedUnsupportedVmSize)

Parameters

location
AzureLocation

The location for the cluster code versions. This is different from cluster location.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to