DedicatedHostResource.GetAvailableSizesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The dedicated host sizes provided can be used to only scale up the existing dedicated host.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/hostSizes
- Operation Id: DedicatedHosts_ListAvailableSizes
- Default Api Version: 2024-07-01
- Resource: DedicatedHostResource
public virtual Azure.AsyncPageable<string> GetAvailableSizesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableSizesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<string>
override this.GetAvailableSizesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<string>
Public Overridable Function GetAvailableSizesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of String)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of String that may take multiple service requests to iterate over.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET