// 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 cloud disk ID. * - You can specify only one of AutoSnapshotPolicyId and DiskId. * * @example * d-bp67acfmxazb4p**** */ diskId?: string; /** * @remarks * The maximum number of entries per page for paging queries. Maximum value: 100. * * Default value: * - If this parameter is not set or is set to a value less than 10, the default value is 10. * - If the value is set to a value greater than 100, the default value is 100. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token. Set this parameter to the NextToken value returned in the previous API call. * * @example * caeba0bbb2be03f84eb48b699f0a**** */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the automatic snapshot policy. You can call [DescribeRegions](https://www.alibabacloud.com/help/en/ecs/developer-reference/api-ecs-2014-05-26-describeregions) to query the most recent 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); } }