Share via


ServiceFabricManagedClustersExtensions.GetManagedUnsupportedVmSizes 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: 2024-09-01-preview
public static Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedUnsupportedVmSize> GetManagedUnsupportedVmSizes (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetManagedUnsupportedVmSizes : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ServiceFabricManagedUnsupportedVmSize>
<Extension()>
Public Function GetManagedUnsupportedVmSizes (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceFabricManagedUnsupportedVmSize)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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.

Exceptions

subscriptionResource is null.

Applies to