DedicatedHostsOperationsExtensions.ListAvailableSizesAsync 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.
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> ListAvailableSizesAsync (this Microsoft.Azure.Management.Compute.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default);
static member ListAvailableSizesAsync : Microsoft.Azure.Management.Compute.IDedicatedHostsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
<Extension()>
Public Function ListAvailableSizesAsync (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))
Parameters
- operations
- IDedicatedHostsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- hostGroupName
- String
The name of the dedicated host group.
- hostName
- String
The name of the dedicated host.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for