Managed Instance Operations - Get

관리되는 인스턴스에 대한 관리 작업을 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}?api-version=2025-01-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
managedInstanceName
path True

string

관리되는 인스턴스의 이름입니다.

operationId
path True

string (uuid)

resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

subscriptionId
path True

string (uuid)

대상 구독의 ID입니다. 값은 UUID여야 합니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

ManagedInstanceOperation

Azure 운영이 성공적으로 완료되었습니다.

Other Status Codes

ErrorResponse

예기치 않은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Gets the managed instance management operation

샘플 요청

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/00000000-1111-2222-3333-444444444444?api-version=2025-01-01

샘플 응답

{
  "name": "11111111-1111-1111-1111-111111111111",
  "type": "Microsoft.Sql/managedInstances/operations",
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/managedInstances/sqlcrudtest-4645/operations/11111111-1111-1111-1111-111111111111",
  "properties": {
    "isCancellable": false,
    "managedInstanceName": "sqlcrudtest-4645",
    "operation": "UpsertManagedServer",
    "operationFriendlyName": "UPDATE MANAGED SERVER",
    "operationSteps": {
      "currentStep": 2,
      "stepsList": [
        {
          "name": "Request validation",
          "order": 1,
          "status": "Completed",
          "stepEndTime": "2019-12-06T11:08:45.57Z",
          "stepStartTime": "2019-12-06T11:08:44.49Z",
          "timeElapsed": "0"
        },
        {
          "name": "Virtual Cluster resize/creation",
          "order": 2,
          "status": "Completed",
          "stepEndTime": "2019-12-06T11:23:05.47Z",
          "stepStartTime": "2019-12-06T11:08:46.05Z",
          "timeElapsed": "14"
        },
        {
          "name": "New SQL Instance Startup",
          "order": 3,
          "status": "Canceled",
          "stepEndTime": "2019-12-06T11:23:11.51Z",
          "stepStartTime": "2019-12-06T11:23:05.55Z",
          "timeElapsed": "0"
        },
        {
          "name": "Seeding database files",
          "order": 4,
          "status": "NotStarted"
        },
        {
          "name": "Preparing Failover and Failover",
          "order": 5,
          "status": "NotStarted"
        },
        {
          "name": "Old SQL Instance cleanup",
          "order": 6,
          "status": "NotStarted"
        }
      ],
      "totalSteps": "6"
    },
    "percentComplete": 100,
    "startTime": "2019-12-06T11:08:44.49Z",
    "state": "Cancelled"
  }
}

정의

Name Description
createdByType

리소스를 만든 ID의 형식입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

ManagedInstanceOperation

관리되는 인스턴스 작업입니다.

ManagedInstanceOperationParametersPair

관리되는 인스턴스 작업의 매개 변수입니다.

ManagedInstanceOperationSteps

관리되는 인스턴스 작업의 단계입니다.

ManagementOperationState

작업 상태입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

UpsertManagedServerOperationParameters
UpsertManagedServerOperationStepWithEstimatesAndDuration
UpsertManagedServerOperationStepWithEstimatesAndDurationStatus

createdByType

리소스를 만든 ID의 형식입니다.

Description
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorDetail[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

ManagedInstanceOperation

관리되는 인스턴스 작업입니다.

Name 형식 Description
id

string (arm-id)

리소스에 대한 정규화된 리소스 ID입니다. 예: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

리소스의 이름

properties.description

string

작업 설명입니다.

properties.errorCode

integer (int32)

작업 오류 코드입니다.

properties.errorDescription

string

작업 오류 설명입니다.

properties.errorSeverity

integer (int32)

작업 오류 심각도입니다.

properties.estimatedCompletionTime

string (date-time)

작업의 예상 완료 시간입니다.

properties.isCancellable

boolean

작업을 취소할 수 있는지 여부입니다.

properties.isUserError

boolean

오류가 사용자 오류인지 여부입니다.

properties.managedInstanceName

string

작업이 수행되는 관리되는 인스턴스의 이름입니다.

properties.operation

string

작업의 이름입니다.

properties.operationFriendlyName

string

작업의 이름입니다.

properties.operationParameters

ManagedInstanceOperationParametersPair

작업 매개 변수입니다.

properties.operationSteps

ManagedInstanceOperationSteps

작업 단계입니다.

properties.percentComplete

integer (int32)

완료된 작업의 백분율입니다.

properties.startTime

string (date-time)

작업 시작 시간입니다.

properties.state

ManagementOperationState

작업 상태입니다.

systemData

systemData

Azure Resource Manager 메타데이터에 createdBy 및 modifiedBy 정보가 포함되어 있습니다.

type

string

리소스의 형식입니다. 예를 들어, "Microsoft. 컴퓨트/가상 머신" 또는 "Microsoft." 저장소/저장소 계정"

ManagedInstanceOperationParametersPair

관리되는 인스턴스 작업의 매개 변수입니다.

Name 형식 Description
currentParameters

UpsertManagedServerOperationParameters

현재 매개 변수입니다.

requestedParameters

UpsertManagedServerOperationParameters

요청된 매개 변수입니다.

ManagedInstanceOperationSteps

관리되는 인스턴스 작업의 단계입니다.

Name 형식 Description
currentStep

integer (int32)

현재 작업 단계의 수입니다.

stepsList

UpsertManagedServerOperationStepWithEstimatesAndDuration[]

작업 단계 목록입니다.

totalSteps

string

총 작업 단계 수입니다.

ManagementOperationState

작업 상태입니다.

Description
Pending

보류 중

InProgress

진행 중

Succeeded

성공함

Failed

실패

CancelInProgress

진행 취소

Cancelled

취소됨

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

리소스 만들기의 타임스탬프(UTC)입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string (date-time)

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID의 형식입니다.

UpsertManagedServerOperationParameters

Name 형식 Description
family

string

storageSizeInGB

integer (int32)

tier

string

vCores

integer (int32)

UpsertManagedServerOperationStepWithEstimatesAndDuration

Name 형식 Description
name

string

order

integer (int32)

status

UpsertManagedServerOperationStepWithEstimatesAndDurationStatus

stepEndTime

string (date-time)

stepStartTime

string (date-time)

timeElapsed

string

UpsertManagedServerOperationStepWithEstimatesAndDurationStatus

Description
NotStarted

시작되지 않음

InProgress

진행 중

SlowedDown

느려졌다

Completed

완료됨

Failed

실패

Canceled

취소됨