Share via


DeploymentOperationsExtensions.BeginReimagingRoleInstanceByDeploymentSlot 메서드 (IDeploymentOperations, String, DeploymentSlot, String)

 

응용 프로그램이 배포 되는 위치에 따라 지정 된 배포에서 실행 되는 지정 된 역할 인스턴스를 이미지로 다시 설치를 시작 합니다.

네임스페이스:   Microsoft.WindowsAzure.Management.Compute
어셈블리:  Microsoft.WindowsAzure.Management.Compute.dll의 Microsoft.WindowsAzure.Management.Compute

구문

public static AzureOperationResponse BeginReimagingRoleInstanceByDeploymentSlot(
    this IDeploymentOperations operations,
    string serviceName,
    DeploymentSlot deploymentSlot,
    string roleInstanceName
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ BeginReimagingRoleInstanceByDeploymentSlot(
    IDeploymentOperations^ operations,
    String^ serviceName,
    DeploymentSlot deploymentSlot,
    String^ roleInstanceName
)
static member BeginReimagingRoleInstanceByDeploymentSlot : 
        operations:IDeploymentOperations *
        serviceName:string *
        deploymentSlot:DeploymentSlot *
        roleInstanceName:string -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function BeginReimagingRoleInstanceByDeploymentSlot (
    operations As IDeploymentOperations,
    serviceName As String,
    deploymentSlot As DeploymentSlot,
    roleInstanceName As String
) As AzureOperationResponse

매개 변수

  • serviceName
    Type: System.String

    배포를 포함 하는 클라우드 서비스의 이름입니다.

  • roleInstanceName
    Type: System.String

    이미지로 다시 설치할 수 해야 역할 인스턴스의 이름입니다.

반환 값

Type: Microsoft.Azure.AzureOperationResponse

HTTP 상태 코드 및 요청 ID를 포함 하는 OperationResponse 개체

설명

역할 인스턴스를 이미지로 다시 설치 하는 방법에 대 한 자세한 내용은 참조 Reimage Role Instance.

역할 인스턴스가 이미지로 다시 설치되면 인스턴스가 오프라인으로 전환되고 새로운 게스트 운영 체제 이미지가 적용됩니다. 그런 다음 역할 인스턴스가 다시 온라인으로 전환됩니다. Azure에서는 역할을 이미지로 다시 설치할 때 로컬 저장소 리소스에 있는 데이터를 유지하려고 합니다. 하지만 일시적인 하드웨어 오류가 발생할 경우에는 로컬 저장소 리소스가 손실될 수 있습니다. 응용 프로그램의 요구 사항에 따라 이 데이터가 유지되어야 하는 경우에는 Azure 드라이브와 같은 지속형 데이터 원본에 데이터를 쓰는 것이 좋습니다. 로컬 저장소 리소스에 정의된 디렉터리가 아닌 다른 로컬 디렉터리에 쓴 데이터는 역할을 이미지로 다시 설치할 때 손실됩니다.

참고 항목

DeploymentOperationsExtensions 클래스
Microsoft.WindowsAzure.Management.Compute 네임스페이스

맨 위로 이동