DedicatedHostsOperationsExtensions.ListByHostGroupAsync 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 of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.DedicatedHost>> ListByHostGroupAsync (this Microsoft.Azure.Management.Compute.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByHostGroupAsync : Microsoft.Azure.Management.Compute.IDedicatedHostsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.DedicatedHost>>
<Extension()>
Public Function ListByHostGroupAsync (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DedicatedHost))
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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för