// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ModifyDiskDeploymentRequest extends $dara.Model { /** * @remarks * The new disk category. The parameter can be used only when you migrate a disk between dedicated block storage clusters. Only ESSDs can be created in dedicated block storage clusters. Set this parameter to cloud_essd. * * This parameter is empty by default, which indicates that the disk category is not changed. * * @example * cloud_essd */ diskCategory?: string; /** * @remarks * The ID of the disk. * * This parameter is required. * * @example * d-bp131n0q38u3a4zi**** */ diskId?: string; /** * @remarks * Specifies whether to perform only a dry run, without performing the actual request. Valid values: * * * true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, service limits, and unavailable ECS resources. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned. * * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. * * Default value: false. * * @example * false */ dryRun?: boolean; ownerAccount?: string; ownerId?: number; /** * @remarks * The new performance level of the ESSD. The parameter can be used only when you migrate data between dedicated block storage clusters. Valid values: * * * PL0: A single ESSD can deliver up to 10000 random read/write IOPS. * * PL1: A single ESSD can deliver up to 50000 random read/write IOPS. * * This parameter is empty by default, which indicates that the performance level is not modified. * * @example * PL1 */ performanceLevel?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The ID of the dedicated block storage cluster to which data disk N belongs. * * * When you migrate a disk to a dedicated block storage cluster, the` StorageClusterId ` parameter must be specified. * * When you migrate a disk to a public block storage cluster, the `StorageClusterId` parameter must be left empty. * * This parameter is empty by default, which indicates that the disk is migrated to a public block storage cluster. * * @example * dbsc-cn-c4d2uea**** */ storageClusterId?: string; static names(): { [key: string]: string } { return { diskCategory: 'DiskCategory', diskId: 'DiskId', dryRun: 'DryRun', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', performanceLevel: 'PerformanceLevel', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', storageClusterId: 'StorageClusterId', }; } static types(): { [key: string]: any } { return { diskCategory: 'string', diskId: 'string', dryRun: 'boolean', ownerAccount: 'string', ownerId: 'number', performanceLevel: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', storageClusterId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }