// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeImagePipelinesRequestTag extends $dara.Model { /** * @remarks * The key of tag N. Valid values of N: 1 to 20. * * @example * TestKey */ key?: string; /** * @remarks * The value of tag N. Valid values of N: 1 to 20. * * @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 DescribeImagePipelinesRequest extends $dara.Model { /** * @remarks * The IDs of image templates. Valid values of N: 1 to 20. * * @example * ip-2ze5tsl5bp6nf2b3**** */ imagePipelineId?: string[]; /** * @remarks * The maximum number of entries per page. Valid values: 1 to 500 * * Default value: 50. * * @example * 50 */ maxResults?: number; /** * @remarks * The name of the image template. * * @example * testImagePipeline */ name?: string; /** * @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 * AAAAAdDWBF2**** */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the image template. 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; /** * @remarks * The ID of the resource group. If this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response. * * > Resources in the default resource group are displayed in the response regardless of how this parameter is set. * * @example * rg-bp67acfmxazb4p**** */ resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The tags of the image template. */ tag?: DescribeImagePipelinesRequestTag[]; static names(): { [key: string]: string } { return { imagePipelineId: 'ImagePipelineId', maxResults: 'MaxResults', name: 'Name', nextToken: 'NextToken', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceGroupId: 'ResourceGroupId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', tag: 'Tag', }; } static types(): { [key: string]: any } { return { imagePipelineId: { 'type': 'array', 'itemType': 'string' }, maxResults: 'number', name: 'string', nextToken: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceGroupId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', tag: { 'type': 'array', 'itemType': DescribeImagePipelinesRequestTag }, }; } validate() { if(Array.isArray(this.imagePipelineId)) { $dara.Model.validateArray(this.imagePipelineId); } if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }