共用方式為


DedicatedHostsOperationsExtensions.Restart Method

Definition

Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details.

public static void Restart (this Microsoft.Azure.Management.Compute.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, string hostName);
static member Restart : Microsoft.Azure.Management.Compute.IDedicatedHostsOperations * string * string * string -> unit
<Extension()>
Public Sub Restart (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, hostName As 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.

Applies to