Managed Instance Operations - Get
Yönetilen örnekte bir yönetim işlemi alır.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/operations/{operationId}?api-version=2025-01-01
URI Parametreleri
| Name | İçinde | Gerekli | Tür | Description |
|---|---|---|---|---|
|
managed
|
path | True |
string |
Yönetilen örneğin adı. |
|
operation
|
path | True |
string (uuid) |
|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Kaynak grubunun adı. İsim büyük/küçük harfe duyarsızdır. |
|
subscription
|
path | True |
string (uuid) |
Hedef aboneliğin kimliği. Değer bir UUID olmalıdır. |
|
api-version
|
query | True |
string minLength: 1 |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
| Name | Tür | Description |
|---|---|---|
| 200 OK |
Azure işlemi başarıyla tamamlandı. |
|
| Other Status Codes |
Beklenmeyen bir hata yanıtı. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow.
Tür:
oauth2
Akış:
implicit
Yetkilendirme URL’si:
https://login.microsoftonline.com/common/oauth2/authorize
Kapsamlar
| Name | Description |
|---|---|
| user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Gets the managed instance management operation
Örnek isteği
Örnek yanıt
{
"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"
}
}
Tanımlar
| Name | Description |
|---|---|
|
created |
Kaynağı oluşturan kimliğin türü. |
|
Error |
Kaynak yönetimi hatası ek bilgileri. |
|
Error |
Hata ayrıntısı. |
|
Error |
Hata yanıtı |
|
Managed |
Yönetilen örnek işlemi. |
|
Managed |
Yönetilen örnek işleminin parametreleri. |
|
Managed |
Yönetilen örnek işleminin adımları. |
|
Management |
İşlem durumu. |
|
system |
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler. |
|
Upsert |
|
|
Upsert |
|
|
Upsert |
createdByType
Kaynağı oluşturan kimliğin türü.
| Değer | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
Kaynak yönetimi hatası ek bilgileri.
| Name | Tür | Description |
|---|---|---|
| info |
object |
Ek bilgiler. |
| type |
string |
Ek bilgi türü. |
ErrorDetail
Hata ayrıntısı.
| Name | Tür | Description |
|---|---|---|
| additionalInfo |
Hata ek bilgileri. |
|
| code |
string |
Hata kodu. |
| details |
Hata ayrıntıları. |
|
| message |
string |
Hata iletisi. |
| target |
string |
Hata hedefi |
ErrorResponse
Hata yanıtı
| Name | Tür | Description |
|---|---|---|
| error |
Hata nesnesi. |
ManagedInstanceOperation
Yönetilen örnek işlemi.
| Name | Tür | Description |
|---|---|---|
| id |
string (arm-id) |
Kaynağın tam kaynak kimliği. Örneğin "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
Kaynağın adı |
| properties.description |
string |
Operasyon açıklaması. |
| properties.errorCode |
integer (int32) |
İşlem hata kodu. |
| properties.errorDescription |
string |
İşlem hatası açıklaması. |
| properties.errorSeverity |
integer (int32) |
İşlem hatası önem derecesi. |
| properties.estimatedCompletionTime |
string (date-time) |
İşlemin tahmini tamamlanma süresi. |
| properties.isCancellable |
boolean |
İşlemin iptal edilip edilemeyeceği. |
| properties.isUserError |
boolean |
Hatanın kullanıcı hatası olup olmadığı. |
| properties.managedInstanceName |
string |
İşlemin gerçekleştirildiği yönetilen örneğin adı. |
| properties.operation |
string |
İşlemin adı. |
| properties.operationFriendlyName |
string |
İşlemin kolay adı. |
| properties.operationParameters |
İşlem parametreleri. |
|
| properties.operationSteps |
İşlem adımları. |
|
| properties.percentComplete |
integer (int32) |
Tamamlanan işlemin yüzdesi. |
| properties.startTime |
string (date-time) |
İşlemin başlangıç saati. |
| properties.state |
İşlem durumu. |
|
| systemData |
Azure Resource Manager metadata içeren createdBy ve modifiedBy bilgileri. |
|
| type |
string |
Kaynağın türü. Örneğin "Microsoft. Compute/virtualMachines" veya "Microsoft. Depo/Depolama Hesapları" |
ManagedInstanceOperationParametersPair
Yönetilen örnek işleminin parametreleri.
| Name | Tür | Description |
|---|---|---|
| currentParameters |
Geçerli parametreler. |
|
| requestedParameters |
İstenen parametreler. |
ManagedInstanceOperationSteps
Yönetilen örnek işleminin adımları.
| Name | Tür | Description |
|---|---|---|
| currentStep |
integer (int32) |
Geçerli işlem adımlarının sayısı. |
| stepsList |
İşlem adımları listesi. |
|
| totalSteps |
string |
İşlem adımlarının toplam sayısı. |
ManagementOperationState
İşlem durumu.
| Değer | Description |
|---|---|
| Pending |
Beklemede |
| InProgress |
Devam Ediyor |
| Succeeded |
Succeeded |
| Failed |
Başarısız oldu |
| CancelInProgress |
Iptal InProgress |
| Cancelled |
İptal edildi |
systemData
Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.
| Name | Tür | Description |
|---|---|---|
| createdAt |
string (date-time) |
Kaynak oluşturma (UTC) zaman damgası. |
| createdBy |
string |
Kaynağı oluşturan kimlik. |
| createdByType |
Kaynağı oluşturan kimliğin türü. |
|
| lastModifiedAt |
string (date-time) |
Kaynağın son değişikliğinin zaman damgası (UTC) |
| lastModifiedBy |
string |
Kaynağı en son değiştiren kimlik. |
| lastModifiedByType |
Kaynağı en son değiştiren kimlik türü. |
UpsertManagedServerOperationParameters
| Name | Tür | Description |
|---|---|---|
| family |
string |
|
| storageSizeInGB |
integer (int32) |
|
| tier |
string |
|
| vCores |
integer (int32) |
UpsertManagedServerOperationStepWithEstimatesAndDuration
| Name | Tür | Description |
|---|---|---|
| name |
string |
|
| order |
integer (int32) |
|
| status |
Upsert |
|
| stepEndTime |
string (date-time) |
|
| stepStartTime |
string (date-time) |
|
| timeElapsed |
string |
UpsertManagedServerOperationStepWithEstimatesAndDurationStatus
| Değer | Description |
|---|---|
| NotStarted |
Henüz Başlamadı |
| InProgress |
Devam Ediyor |
| SlowedDown |
YavaşlamışYavaş |
| Completed |
Tamamlandı |
| Failed |
Başarısız oldu |
| Canceled |
İptal edildi |