import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.apploadbalancer.v1"; /** * A target group resource. * For details about the concept, see [documentation](/docs/application-load-balancer/concepts/target-group). */ export interface TargetGroup { /** ID of the target group. Generated at creation time. */ id: string; /** Name of the target group. The name is unique within the folder. */ name: string; /** Description of the target group. */ description: string; /** ID of the folder that the target group belongs to. */ folderId: string; /** * Target group labels as `key:value` pairs. * For details about the concept, see [documentation](/docs/overview/concepts/services#labels). */ labels: { [key: string]: string; }; /** List of targets in the target group. */ targets: Target[]; /** Creation timestamp. */ createdAt?: Date; } export interface TargetGroup_LabelsEntry { key: string; value: string; } /** * A target resource. * For details about the concept, see [documentation](/docs/application-load-balancer/concepts/target-group). */ export interface Target { /** IP address of the target. */ ipAddress: string | undefined; /** ID of the subnet that the target is connected to. */ subnetId: string; /** * If set, will not require `subnet_id` to validate the target. * Instead, the address should belong to one of the following ranges: * 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 * Only one of `subnet_id` or `private_ipv4_address` should be set. */ privateIpv4Address: boolean; } 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; targets?: ({ ipAddress?: string | undefined; subnetId?: string | undefined; privateIpv4Address?: boolean | undefined; }[] & ({ ipAddress?: string | undefined; subnetId?: string | undefined; privateIpv4Address?: boolean | undefined; } & { ipAddress?: string | undefined; subnetId?: string | undefined; privateIpv4Address?: boolean | undefined; } & Record, never>)[] & Record, never>) | undefined; createdAt?: Date | 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 {};