// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DescribeNetworkInterfaceAttributeRequestTag extends $dara.Model { /** * @remarks * > This parameter is unavailable. * * @example * TestKey */ key?: string; /** * @remarks * > This parameter is unavailable. * * @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 DescribeNetworkInterfaceAttributeRequest extends $dara.Model { /** * @remarks * The attribute of the ENI. Valid values: * * attachment: member ENI attachment information of the trunk ENI. This value is in invitational preview and is not publicly available. * * connectionTrackingConfiguration: connection tracking configuration. * * Default value: * * @example * attachment */ attribute?: string; /** * @remarks * The ID of the ENI. * * This parameter is required. * * @example * eni-bp67acfmxazb4p**** */ networkInterfaceId?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the ENI. 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; /** * @remarks * > This parameter is unavailable. */ tag?: DescribeNetworkInterfaceAttributeRequestTag[]; static names(): { [key: string]: string } { return { attribute: 'Attribute', networkInterfaceId: 'NetworkInterfaceId', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', tag: 'Tag', }; } static types(): { [key: string]: any } { return { attribute: 'string', networkInterfaceId: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', tag: { 'type': 'array', 'itemType': DescribeNetworkInterfaceAttributeRequestTag }, }; } validate() { if(Array.isArray(this.tag)) { $dara.Model.validateArray(this.tag); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }