// 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 not publicly available. * * @example * TestKey */ key?: string; /** * @remarks * > This parameter is not publicly available. * * @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 to query. Valid values: * * `attachment`: The attachment details for member network interfaces associated with a trunk network interface. This is an invitation-only parameter. * * `connectionTrackingConfiguration`: The connection tracking configuration. * * @example * attachment */ attribute?: string; /** * @remarks * The ID of the elastic network interface. * * This parameter is required. * * @example * eni-bp67acfmxazb4p**** */ networkInterfaceId?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The ID of the region where the elastic network interface resides. Call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to get the latest list of Alibaba Cloud regions. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * > This parameter is not publicly available. */ 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); } }