DedicatedHostResource.GetAvailableSizes(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.Pageable<string> GetAvailableSizes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableSizes : System.Threading.CancellationToken -> Azure.Pageable<string>
override this.GetAvailableSizes : System.Threading.CancellationToken -> Azure.Pageable<string>
Public Overridable Function GetAvailableSizes (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of String)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of String that may take multiple service requests to iterate over.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET