Mengubah tipe disk atau memodifikasi tingkat kinerja (PL) SSD Perusahaan (ESSD). ESSD Regional (ESSD), disk dasar, disk elastis sementara, dan disk lokal tidak mendukung perubahan tipe disk.
Deskripsi operasi
Untuk meminimalkan dampak perubahan spesifikasi terhadap beban kerja Anda, lakukan perubahan tersebut selama jam sepi.
Saat memanggil operasi ini, perhatikan hal-hal berikut:
-
Untuk memodifikasi tingkat kinerja ESSD (PL) SSD Perusahaan (ESSD):
-
SSD Perusahaan (ESSD) berlangganan hanya mendukung peningkatan tingkat kinerja (PL).
-
SSD Perusahaan (ESSD) pay-as-you-go mendukung peningkatan maupun penurunan tingkat kinerja (PL), tetapi tidak dapat diturunkan ke PL0.
-
SSD Perusahaan (ESSD) harus berada dalam status In Use (In_use) atau Available.
-
Jika SSD Perusahaan (ESSD) tersambung ke Instance ECS, instans tersebut harus berada dalam status Running atau Stopped. Instans tidak boleh dalam status kedaluwarsa atau memiliki pembayaran tertunda.
-
Karena tingkat kinerja ESSD bergantung pada kapasitas disk, jika Anda tidak dapat meningkatkan tingkat kinerja, perluaskan disk (ResizeDisk) lalu coba lagi. Untuk informasi lebih lanjut, lihat Enterprise SSD.
-
-
Untuk tindakan pencegahan terkait perubahan tipe disk, lihat Change the disk type.
-
Untuk informasi tentang perubahan tipe disk yang didukung, lihat Supported disk type changes.
Setelah perubahan tipe disk, penagihan berubah sebagai berikut:
-
Disk pay-as-you-go: ditagih berdasarkan tipe disk baru.
-
Disk berlangganan: biaya tambahan dihitung berdasarkan selisih harga antara konfigurasi lama dan baru serta sisa hari dalam siklus penagihan (dari pukul 00.00 hari berikutnya hingga akhir periode validitas).
Untuk informasi penagihan disk, lihat Block storage billing.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:ModifyDiskSpec |
update |
*Disk.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DiskId |
string |
Yes |
ID disk. |
d-bp131n0q38u3a4zi**** |
| PerformanceLevel |
string |
No |
Tingkat kinerja (PL) baru SSD Perusahaan (ESSD). Nilai yang valid:
Nilai default: PL1. |
PL2 |
| DiskCategory |
string |
No |
Tipe disk baru. Nilai yang valid:
Nilai default: kosong, yang berarti tidak ada perubahan tipe disk yang dilakukan. Catatan
|
cloud_essd |
| DryRun |
boolean |
No |
Menentukan apakah permintaan ini hanya akan menjalankan simulasi (dry run). Nilai yang valid:
Nilai default: false. |
false |
| ProvisionedIops |
integer |
No |
Menentukan apakah akan memodifikasi IOPS baca/tulis yang disediakan dari ESSD AutoPL disk. Nilai yang valid: 0 hingga min{50.000, 1.000 × kapasitas - kinerja dasar}. Kinerja dasar = min{1.800 + 50 × kapasitas, 50.000}. Catatan
Parameter ini hanya didukung saat DiskCategory diatur ke cloud_auto. Untuk informasi lebih lanjut, lihat ESSD AutoPL disk dan Modify the provisioned performance of an ESSD AutoPL disk. |
50000 |
| PerformanceControlOptions |
object |
No |
Kumpulan parameter kontrol performa disk. |
|
| IOPS |
integer |
No |
IOPS target disk. Hanya IOPS disk kluster penyimpanan blok spesifikasi khusus yang dapat dimodifikasi. Nilai yang valid: 900 hingga IOPS maksimum per disk, dengan kelipatan 100. Untuk informasi lebih lanjut, lihat Disk performance. |
2000 |
| Recover |
string |
No |
Meriset performa disk. Parameter ini hanya didukung untuk disk kluster penyimpanan blok spesifikasi khusus. Jika parameter ini ditentukan, parameter PerformanceControlOptions.IOPS dan PerformanceControlOptions.Throughput tidak berlaku. Saat ini, hanya All yang didukung, yang meriset IOPS dan throughput disk ke nilai awalnya. |
All |
| Throughput |
integer |
No |
Throughput target disk, dalam MB/s. Hanya throughput disk kluster penyimpanan blok spesifikasi khusus yang dapat dimodifikasi. Nilai yang valid: 60 hingga throughput maksimum per disk. Untuk informasi lebih lanjut, lihat Disk performance. |
200 |
| DestinationZoneId |
string |
No |
Catatan
Parameter ini saat ini dalam pratinjau undangan dan belum tersedia untuk digunakan. |
cn-hangzhou-g |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| OrderId |
string |
ID pesanan yang dihasilkan. Catatan
ID pesanan hanya dikembalikan ketika disk subscription diubah atau dimodifikasi. |
20413515388**** |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TaskId |
string |
ID tugas perubahan tipe disk. Catatan
Parameter ini tidak dikembalikan jika Anda hanya memodifikasi tingkat kinerja (PL) SSD Perusahaan (ESSD). |
t-bp67acfmxazb4p**** |
Contoh
Respons sukses
JSONformat
{
"OrderId": "20413515388****",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"TaskId": "t-bp67acfmxazb4p****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPerformanceLevel.Malformed | The specified parameter PerformanceLevel is not valid. | Parameter PerformanceLevel yang ditentukan tidak valid. |
| 400 | InvalidDiskCategory.ValueNotSupported | The specified parameter "DiskCategory" is not valid. | Tipe disk sistem dan tipe disk data yang ditentukan tidak didukung. |
| 400 | InvalidPerformanceLevelParam.Mismatch | The specified parameter PerformanceLevel should be null when DiskCategory is not cloud_essd. | |
| 400 | OperationDenied.DiskInDedicatedBlockStorageCluster | The disk in dedicated block storage cluster is not allowed to do this operation. | |
| 400 | IncorrectDiskStatus.ReplicationStatusNotFound | Disk replication status not found. | |
| 400 | IncorrectDiskStatus.InReplication | Disk already in replication. | |
| 400 | ProvisionedIopsForDiskCategoryUnsupported | The specified disk category does not support provisioned iops. | Tipe disk yang ditentukan tidak mendukung IOPS yang disediakan. |
| 400 | InvalidProvisionedIops.LimitExceed | The provisioned iops exceeds the limit. | Parameter ProvisionedIops yang ditentukan melebihi batas. |
| 400 | QuotaExceed.DiskCapacity | The used capacity of disk type has exceeded the quota in the zone, %s. | Kapasitas terpakai dari tipe disk tertentu melebihi batas kuota zona aktif. Buka Pusat Kuota untuk mengkueri dan meminta peningkatan kuota kapasitas disk. |
| 400 | MalformedParameter.PerformanceControlOptions | Parameter invalid, %s. | Parameter tidak valid. |
| 400 | InvalidPerformanceControlOptions.ModifyOperationUnsupported | The specified performance control options are conflicts with disk category or performance level or ProvisionIOPS. | Parameter kontrol performa disk bertentangan dengan parameter tipe disk, tingkat kinerja disk, atau IOPS yang disediakan. |
| 400 | NoPermission.Price | The operation requires price permission. Please either apply for permission from your main account or set the parameter AutoPay to true. | |
| 400 | NoPermission.Refund | The operation requires refund permission. Please apply for permission from your main account. | Akun tidak memiliki izin untuk melakukan pengembalian dana. Akun utama harus memberikan izin terkait pengembalian dana. |
| 400 | InvalidOperation.InstanceRenewWithDowngradeInPlan | The operation is denied due to the specified instance has renew with downgrade record in plan. | Terdapat pesanan perpanjangan dan menurunkan spesifikasi yang belum efektif. Operasi ini tidak diizinkan sebelum pesanan tersebut berlaku. |
| 400 | InvalidOperation.InstanceStatusUnsupported | The specified instance status is not supported for this operation. The expected status is Running or Stopped. | |
| 400 | MissingParameter.DestinationZoneId | The parameter DestinationZoneId must be specified when modifying the disk specification from a regional disk to a zone disk. | Saat mengubah disk regional menjadi disk tingkat zona, Anda harus menentukan DestinationZoneId. |
| 400 | InvalidDestinationZoneId.Mismatch | The specified DestinationZoneId of the regional disk with 'In-use' status should remain consistent with the ZoneId of instance. | Saat melakukan perubahan spesifikasi pada disk regional yang tersambung, DestinationZoneId yang ditentukan harus sama dengan zona instans. |
| 400 | InvalidOperation.MultiAttachRegionalDiskUnsupported | The multi-attach regional disk with 'In-use' status attached to more than one instance is not allowed to modify disk spec. | Untuk melakukan perubahan spesifikasi pada disk regional multi-attach yang tersambung, disk harus menyambungkan hanya ke satu instans. |
| 400 | InvalidDestinationZoneId.DiskCategoryUnsupported | The specified disk category does not allow the DestinationZoneId parameter for this operation. | Tipe disk dari disk yang ditentukan tidak mendukung penetapan DestinationZoneId selama perubahan spesifikasi. |
| 400 | IncorrectInstanceStatus | The current status of the instance does not support this operation. | Status instans saat ini tidak mendukung operasi ini. |
| 400 | InvalidOperation.DiskStatusNotSupported | The specified disk is not in a valid status for the current operation. Ensure the disk is in a valid status before you modify its specification. | |
| 500 | InternalError | The request processing has failed due to an internal error and you may retry later or contact support with the request ID. | |
| 403 | DiskInArrears | The specified operation is denied because the disk has overdue payments. Please settle the outstanding balance. | |
| 403 | InstanceExpiredOrInArrears | The specified operation is denied as your prepay instance is expired (prepay mode) or in arrears (afterpay mode). | |
| 403 | IncorrectDiskStatus | The current disk status does not support this operation. | |
| 403 | DiskCreatingSnapshot | The operation is denied due to a snapshot of the specified disk is not completed yet. | |
| 403 | OperationDenied | The type of the disk does not support the operation. | Snapshot yang ditentukan tidak mengizinkan pembuatan volume data. |
| 403 | InvalidPerformanceLevel.TooLow | Specified new performance level is lower than the original performance level. | |
| 403 | OperationDenied.PerformanceLevelNotMatch | The specified PerformanceLevel and disk size do not match. | Tingkat kinerja yang ditentukan tidak cocok dengan ukuran disk. |
| 403 | UserNotInTheWhiteList | The user is not in modify disk category white list. | |
| 403 | InvalidRegion.NotSupport | The specified region does not support modify disk category. | |
| 403 | InvalidDiskCategory.ValueNotSupported | The current disk category of the resource does not support this operation. | Tipe disk sistem dan tipe disk data yang ditentukan tidak didukung. |
| 403 | Downgrade.NotSupported | Downgrade operation for prepay resource is not supported. | |
| 403 | InvalidInstanceType.NotSupportDiskCategory | The instanceType of the specified instance does not support this disk category. | Tipe instans (InstanceType) tertentu tidak mendukung kategori disk dari instans saat ini. Coba tipe instans yang berbeda. Untuk informasi tentang kategori disk yang didukung oleh setiap tipe instans, lihat dokumentasi keluarga instans. |
| 403 | ModifyingDiskCategoryLimitExceed | The amount of modifying disk category exceeds the limit. | Jumlah disk yang sedang dimodifikasi di wilayah saat ini telah melebihi batas atas. |
| 403 | DiskInCoolingPeriod | There is a cooling period after the disk is successfully modified. | Disk berada dalam periode cooldown perubahan spesifikasi dan tidak dapat dimodifikasi lagi. |
| 403 | DiskHasFlashSnapshot | The specified disk with flash snapshots do not support modify disk category. | |
| 403 | NoChangeInDiskCategoryAndPerformanceLevel | There is no change between the parameters transmitted and the current. | Kategori disk dan tingkat kinerja yang ditentukan sama dengan disk saat ini. |
| 403 | OperationDenied.NoStock | The requested resource is sold out in the specified zone; try other types of resources or other regions and zones. | Kategori disk yang ditentukan tidak ada di zona atau kluster yang ditentukan, atau zona yang ditentukan tidak cocok dengan kluster. |
| 403 | InvalidOperation.MultiAttachDisk | Multi attach disk does not support this operation. | Disk dengan fitur multi-attach diaktifkan tidak mendukung operasi ini. |
| 403 | OperationDenied.DiskExpansionUnfinished | The instance has not been restarted after a previous disk expansion. | |
| 403 | InvalidDiskCategory.NotSupported | The specified disk category is not supported. | Kategori disk yang ditentukan tidak didukung oleh tipe instans. |
| 403 | InvalidPerformanceParameter.DiskNotInDedicatedStorageCluster | The specified disk is not in a dedicated storage cluster. Performance control options cannot be modified. | |
| 403 | InvalidStatus.DiskUnderPerformanceControl | The specified disk is under performance control. Any modifications to the category or performance level of the specified disk are unsupported. | |
| 403 | InvalidStatus.DiskNotReady | The specified disk is not ready. The status must be either In_use or Available. | |
| 403 | InvalidOperation.DiskInReplicaPairsUnsupported | The disk in replication pairs does not support this operation. | Disk dalam pasangan replikasi asinkron tidak mendukung perubahan tipe disk. |
| 403 | InvalidDisk.DetachedSystemDisk | The specified resource is/has a detached system disk %s , not support current operation. | Disk yang ditentukan adalah disk sistem yang dilepaskan. Operasi ini tidak didukung. |
| 403 | InvalidDiskCategory.InstanceTypeUnsupported | The current instance type does not support the specified disk category. Please check the list of disk category supported by the instance type and select an appropriate disk category for configuration. | Tipe instans saat ini tidak mendukung kategori disk yang ditentukan. Periksa daftar tipe disk yang didukung oleh tipe instans dan pilih kategori disk yang valid. |
| 403 | InvalidOperation.CMKNotEnabled | The specified KMS key must be in an enabled state. Please enable the key in the KMS console and try again. | |
| 403 | InvalidOperation.CMKUnauthorized | The specified KMS key is not authorized for the ECS service. Please grant the ECS service permission to use the key in the KMS console and try again. | |
| 403 | InstanceLockedForSecurity | The instance is locked for security reasons. Please contact Security Technical Support for assistance. | Instans tempat disk tersambung terkunci karena alasan keamanan. |
| 404 | InvalidDiskId.NotFound | The specified disk does not exist. | Disk yang ditentukan tidak ada. Periksa apakah ID disk sudah benar. |
| 404 | InvalidInstanceId.NotFound | The specified InstanceId does not exist. | Instans yang ditentukan tidak ada. Periksa apakah ID instans sudah benar. |
| 404 | InternalError | The request processing has failed due to an internal error and you may retry later or contact support with the request ID. | |
| 404 | InvalidDiskCategory.ValueUnauthorized | The specified DiskCategory is not authorized. | |
| 404 | OperationDenied | The specified InstanceType or Zone is not available or not authorized. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.