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 パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
managed
|
path | True |
string |
マネージド インスタンスの名前。 |
|
operation
|
path | True |
string (uuid) |
|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前の大文字と小文字は区別されません。 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
Azureの運用は無事に完了しました。 |
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 Flow.
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| 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"
}
}
定義
| 名前 | 説明 |
|---|---|
|
created |
リソースを作成した ID の種類。 |
|
Error |
リソース管理エラーの追加情報。 |
|
Error |
エラーの詳細。 |
|
Error |
エラー応答 |
|
Managed |
マネージド インスタンス操作。 |
|
Managed |
マネージド インスタンス操作のパラメーター。 |
|
Managed |
マネージド インスタンス操作の手順。 |
|
Management |
操作の状態。 |
|
system |
リソースの作成と最後の変更に関連するメタデータ。 |
|
Upsert |
|
|
Upsert |
|
|
Upsert |
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
| 名前 | 型 | 説明 |
|---|---|---|
| info |
object |
追加情報。 |
| type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
| 名前 | 型 | 説明 |
|---|---|---|
| additionalInfo |
エラーの追加情報。 |
|
| code |
string |
エラー コード。 |
| details |
エラーの詳細。 |
|
| message |
string |
エラー メッセージ。 |
| target |
string |
エラーターゲット。 |
ErrorResponse
エラー応答
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
ManagedInstanceOperation
マネージド インスタンス操作。
| 名前 | 型 | 説明 |
|---|---|---|
| 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 |
操作パラメーター。 |
|
| properties.operationSteps |
操作ステップ。 |
|
| properties.percentComplete |
integer (int32) |
操作が完了した割合。 |
| properties.startTime |
string (date-time) |
操作の開始時刻。 |
| properties.state |
操作の状態。 |
|
| systemData |
create By と modifiedBy の情報を含む Azure Resource Manager メタデータ。 |
|
| type |
string |
リソースの型。 例えば「Microsoft。Compute/virtualMachines」または「Microsoft」などです。ストレージ/ストレージアカウント」 |
ManagedInstanceOperationParametersPair
マネージド インスタンス操作のパラメーター。
| 名前 | 型 | 説明 |
|---|---|---|
| currentParameters |
現在のパラメーター。 |
|
| requestedParameters |
要求されたパラメーター。 |
ManagedInstanceOperationSteps
マネージド インスタンス操作の手順。
| 名前 | 型 | 説明 |
|---|---|---|
| currentStep |
integer (int32) |
現在の操作ステップの数。 |
| stepsList |
操作ステップの一覧。 |
|
| totalSteps |
string |
操作ステップの合計数。 |
ManagementOperationState
操作の状態。
| 値 | 説明 |
|---|---|
| Pending |
保留中 |
| InProgress |
進行中 |
| Succeeded |
成功しました |
| Failed |
失敗 |
| CancelInProgress |
キャンセル進行中 |
| Cancelled |
キャンセル済み |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |
UpsertManagedServerOperationParameters
| 名前 | 型 | 説明 |
|---|---|---|
| family |
string |
|
| storageSizeInGB |
integer (int32) |
|
| tier |
string |
|
| vCores |
integer (int32) |
UpsertManagedServerOperationStepWithEstimatesAndDuration
| 名前 | 型 | 説明 |
|---|---|---|
| name |
string |
|
| order |
integer (int32) |
|
| status |
Upsert |
|
| stepEndTime |
string (date-time) |
|
| stepStartTime |
string (date-time) |
|
| timeElapsed |
string |
UpsertManagedServerOperationStepWithEstimatesAndDurationStatus
| 値 | 説明 |
|---|---|
| NotStarted |
未開始 |
| InProgress |
進行中 |
| SlowedDown |
スロードダウン |
| Completed |
完了 |
| Failed |
失敗 |
| Canceled |
取り消し済み |