// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ListPluginStatusRequest extends $dara.Model { /** * @remarks * The ID of the instance. */ instanceId?: string[]; /** * @remarks * The maximum number of entries per page. * * Valid values: 1 to 50. * * Default value: 10. * * @example * 10 */ maxResults?: number; /** * @remarks * The name of the Cloud Assistant plug-in. The name supports all character sets and must be 1 to 255 characters in length. * * * If this parameter is not specified, the status of all Cloud Assistant plug-ins that are installed on the specified instances are queried. * * ** * * **Note** If this parameter is not specified, only a single instance ID can be specified. * * * If this parameter is specified, the status of the specified Cloud Assistant plug-in is queried. * * @example * testPluginName */ name?: string; /** * @remarks * The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken. * * @example * AAAAAdDWBF2 */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query. * * @example * 1 */ pageNumber?: number; /** * @remarks * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query. * * @example * 10 */ pageSize?: number; /** * @remarks * The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; static names(): { [key: string]: string } { return { instanceId: 'InstanceId', maxResults: 'MaxResults', name: 'Name', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', pageNumber: 'PageNumber', pageSize: 'PageSize', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', }; } static types(): { [key: string]: any } { return { instanceId: { 'type': 'array', 'itemType': 'string' }, maxResults: 'number', name: 'string', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', pageNumber: 'number', pageSize: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', }; } validate() { if(Array.isArray(this.instanceId)) { $dara.Model.validateArray(this.instanceId); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }