Udostępnij za pośrednictwem


VirtualMachineOperationsExtensions.BeginShuttingDownRoles Method

Definition

The Begin Shutting Down Roles operation stops the specified set of virtual machines. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn469421.aspx for more information)

public static Microsoft.Azure.AzureOperationResponse BeginShuttingDownRoles (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations operations, string serviceName, string deploymentName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineShutdownRolesParameters parameters);
static member BeginShuttingDownRoles : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations * string * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineShutdownRolesParameters -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function BeginShuttingDownRoles (operations As IVirtualMachineOperations, serviceName As String, deploymentName As String, parameters As VirtualMachineShutdownRolesParameters) As AzureOperationResponse

Parameters

operations
IVirtualMachineOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperations.

serviceName
String

Required. The name of your service.

deploymentName
String

Required. The name of your deployment.

parameters
VirtualMachineShutdownRolesParameters

Required. Parameters to pass to the Begin Shutting Down Roles operation.

Returns

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to