// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeAutoSnapshotPolicyExRequestTag extends $dara.Model { /** * @remarks * The tag key of the automatic snapshot policy. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot start with aliyun or acs:. The tag key cannot contain http:// or https://. * * @example * TestKey */ key?: string; /** * @remarks * The tag value of the automatic snapshot policy. Valid values of N: 1 to 20. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain http:// or https://. * * @example * TestValue */ value?: string; static names(): { [key: string]: string } { return { key: 'Key', value: 'Value', }; } static types(): { [key: string]: any } { return { key: 'string', value: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DescribeAutoSnapshotPolicyExRequest extends $dara.Model { /** * @remarks * The ID of the automatic snapshot policy. * * @example * sp-bp67acfmxazb4ph**** */ autoSnapshotPolicyId?: string; /** * @remarks * The name of the automatic snapshot policy. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must support characters in the Unicode letter category, which includes characters from various languages such as English and Chinese. * * @example * TestName */ autoSnapshotPolicyName?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The page number of the automatic snapshot policy list. * * Minimum value: 1. * * Default value: 1. * * @example * 1 */ pageNumber?: number; /** * @remarks * The number of entries per page when automatic snapshot policies are displayed in paging mode. * * Maximum value: 100. * * Default value: 10. * * @example * 10 */ pageSize?: number; /** * @remarks * The region ID of the automatic snapshot policies that you want to query. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The ID of the resource group. When you use this parameter to filter resources, the resource count cannot exceed 1000. * * > Filtering by the default resource group is not supported. * * @example * rg-aek2kkmhmhs**** */ resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The tags. */ tag?: DescribeAutoSnapshotPolicyExRequestTag[]; static names(): { [key: string]: string } { return { autoSnapshotPolicyId: 'AutoSnapshotPolicyId', autoSnapshotPolicyName: 'AutoSnapshotPolicyName', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', pageNumber: 'PageNumber', pageSize: 'PageSize', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', tag: 'Tag', }; } static types(): { [key: string]: any } { return { autoSnapshotPolicyId: 'string', autoSnapshotPolicyName: 'string', ownerAccount: 'string', ownerId: 'number', pageNumber: 'number', pageSize: 'number', regionId: 'string', resourceGroupId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', tag: { 'type': 'array', 'itemType': DescribeAutoSnapshotPolicyExRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }