DeploymentOperationsExtensions.BeginReimagingRoleInstanceByDeploymentName 메서드
Initiates a reimage of a specified role instance that is running in a specified deployment.
네임스페이스: Microsoft.WindowsAzure.Management.Compute
어셈블리: Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute
사용량
‘사용 방법
Dim operations As IDeploymentOperations
Dim serviceName As String
Dim deploymentName As String
Dim roleInstanceName As String
Dim returnValue As AzureOperationResponse
returnValue = DeploymentOperationsExtensions.BeginReimagingRoleInstanceByDeploymentName(operations, serviceName, deploymentName, roleInstanceName)
구문
‘선언
<ExtensionAttribute> _
Public Shared Function BeginReimagingRoleInstanceByDeploymentName ( _
operations As IDeploymentOperations, _
serviceName As String, _
deploymentName As String, _
roleInstanceName As String _
) As AzureOperationResponse
[ExtensionAttribute]
public static AzureOperationResponse BeginReimagingRoleInstanceByDeploymentName (
IDeploymentOperations operations,
string serviceName,
string deploymentName,
string roleInstanceName
)
[ExtensionAttribute]
public:
static AzureOperationResponse^ BeginReimagingRoleInstanceByDeploymentName (
IDeploymentOperations^ operations,
String^ serviceName,
String^ deploymentName,
String^ roleInstanceName
)
/** @attribute ExtensionAttribute() */
public static AzureOperationResponse BeginReimagingRoleInstanceByDeploymentName (
IDeploymentOperations operations,
String serviceName,
String deploymentName,
String roleInstanceName
)
ExtensionAttribute
public static function BeginReimagingRoleInstanceByDeploymentName (
operations : IDeploymentOperations,
serviceName : String,
deploymentName : String,
roleInstanceName : String
) : AzureOperationResponse
매개 변수
- operations
The IDeploymentOperations object that specifies the deployment operations.
- serviceName
The name of the cloud service that contains the deployment.
- deploymentName
The name of deployment that contains the roles.
- roleInstanceName
The name of the role instance that should be reimaged.
반환 값
An OperationResponse object that includes an HTTP status code and request ID.
설명
For more information about reimaging a role instance, see Reimage Role Instance.
When the role instance is reimaged, the instance is taken offline and a fresh guest operating system image is applied. The role instance is then brought back online. Azure attempts to maintain data in any local storage resources when the role is reimaged; however, in case of a transient hardware failure, the local storage resource may be lost. If your application requires that this data be persisted, it is recommended that you write it to a durable data source, such as a Azure drive. Any data that is written to a local directory other than that defined by the local storage resource will be lost when the role is reimaged.
스레드 보안
이 유형의 public static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
플랫폼
개발 플랫폼
Windows Vista, Windows 7 및 Windows Server 2008
대상 플랫폼
참고 항목
참조
DeploymentOperationsExtensions 클래스
DeploymentOperationsExtensions 멤버
Microsoft.WindowsAzure.Management.Compute 네임스페이스