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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по