import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.loadbalancer.v1"; /** A TargetGroup resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources). */ export interface TargetGroup { /** Output only. ID of the target group. */ id: string; /** ID of the folder that the target group belongs to. */ folderId: string; /** Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ createdAt?: Date; /** * Name of the target group. * The name is unique within the folder. 3-63 characters long. */ name: string; /** Description of the target group. 0-256 characters long. */ description: string; /** Resource labels as `` key:value `` pairs. Maximum of 64 per resource. */ labels: { [key: string]: string; }; /** ID of the region where the target group resides. */ regionId: string; /** A list of targets in the target group. */ targets: Target[]; } export interface TargetGroup_LabelsEntry { key: string; value: string; } /** A Target resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources). */ export interface Target { /** * ID of the subnet that targets are connected to. * All targets in the target group must be connected to the same subnet within a single availability zone. */ subnetId: string; /** IP address of the target. */ address: string; } export declare const TargetGroup: { encode(message: TargetGroup, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TargetGroup; fromJSON(object: any): TargetGroup; toJSON(message: TargetGroup): unknown; fromPartial, never>) | undefined; regionId?: string | undefined; targets?: ({ subnetId?: string | undefined; address?: string | undefined; }[] & ({ subnetId?: string | undefined; address?: string | undefined; } & { subnetId?: string | undefined; address?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): TargetGroup; }; export declare const TargetGroup_LabelsEntry: { encode(message: TargetGroup_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TargetGroup_LabelsEntry; fromJSON(object: any): TargetGroup_LabelsEntry; toJSON(message: TargetGroup_LabelsEntry): unknown; fromPartial, never>>(object: I): TargetGroup_LabelsEntry; }; export declare const Target: { encode(message: Target, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Target; fromJSON(object: any): Target; toJSON(message: Target): unknown; fromPartial, never>>(object: I): Target; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};