// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeAutoSnapshotPolicyAssociationsRequest extends $dara.Model { /** * @remarks * The ID of the automatic snapshot policy. * * * You can specify only one of AutoSnapshotPolicyId and DiskId. * * @example * sp-bp12quk7gqhhuu1f**** */ autoSnapshotPolicyId?: string; /** * @remarks * The ID of the disk. * * * You can specify only one of AutoSnapshotPolicyId and DiskId. * * @example * d-bp67acfmxazb4p**** */ diskId?: string; /** * @remarks * The number of entries to return on each page. Maximum value: 100. * * Default value: * * * If you do not specify this parameter or if you set this parameter to a value that is smaller than 10, the default value is 10. * * If you set a value greater than 100, the default value is 100. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of `NextToken`. * * @example * caeba0bbb2be03f84eb48b699f0a**** */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the automatic snapshot policy. You can call the [DescribeRegions](https://help.aliyun.com/zh/ecs/developer-reference/api-ecs-2014-05-26-describeregions?spm=a2c4g.11186623.0.i11) operation to view the latest list of Alibaba Cloud regions. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { autoSnapshotPolicyId: 'AutoSnapshotPolicyId', diskId: 'DiskId', maxResults: 'MaxResults', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { autoSnapshotPolicyId: 'string', diskId: 'string', maxResults: 'number', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }