VirtualMachineOperationsExtensions.Shutdown 메서드
Shuts down the specified Virtual Machine.
네임스페이스: Microsoft.WindowsAzure.Management.Compute
어셈블리: Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute
사용량
‘사용 방법
Dim operations As IVirtualMachineOperations
Dim serviceName As String
Dim deploymentName As String
Dim virtualMachineName As String
Dim parameters As VirtualMachineShutdownParameters
Dim returnValue As OperationStatusResponse
returnValue = VirtualMachineOperationsExtensions.Shutdown(operations, serviceName, deploymentName, virtualMachineName, parameters)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function Shutdown ( _
operations As IVirtualMachineOperations, _
serviceName As String, _
deploymentName As String, _
virtualMachineName As String, _
parameters As VirtualMachineShutdownParameters _
) As OperationStatusResponse
[ExtensionAttribute]
public static OperationStatusResponse Shutdown (
IVirtualMachineOperations operations,
string serviceName,
string deploymentName,
string virtualMachineName,
VirtualMachineShutdownParameters parameters
)
[ExtensionAttribute]
public:
static OperationStatusResponse^ Shutdown (
IVirtualMachineOperations^ operations,
String^ serviceName,
String^ deploymentName,
String^ virtualMachineName,
VirtualMachineShutdownParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static OperationStatusResponse Shutdown (
IVirtualMachineOperations operations,
String serviceName,
String deploymentName,
String virtualMachineName,
VirtualMachineShutdownParameters parameters
)
ExtensionAttribute
public static function Shutdown (
operations : IVirtualMachineOperations,
serviceName : String,
deploymentName : String,
virtualMachineName : String,
parameters : VirtualMachineShutdownParameters
) : OperationStatusResponse
매개 변수
- operations
The IVirtualMachineOperations object that specifies the operations for managing Virtual Machines.
- serviceName
The name of the cloud service that contains the Virtual Machine.
- deploymentName
The name of the deployment.
- virtualMachineName
The name of the Virtual Machine that should be shut down.
- parameters
The VirtualMachineShutdownParameters object that contains the parameters that are used to shut down the Virtual Machine.
반환 값
The ComputeOperationStatusResponse object that contains the status of the operation.
설명
If the asynchronous operation succeeds, the response includes the HTTP status code for the successful request. If the asynchronous operation failed, the response includes the HTTP status code for the failed request, and also includes error information about the failure.
For more information about shutting down a Virtual Machine, see the following resources:
스레드 보안
이 유형의 public static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
플랫폼
개발 플랫폼
Windows Vista, Windows 7 및 Windows Server 2008
대상 플랫폼
참고 항목
참조
VirtualMachineOperationsExtensions 클래스
VirtualMachineOperationsExtensions 멤버
Microsoft.WindowsAzure.Management.Compute 네임스페이스