import _m0 from 'protobufjs/minimal'; import { Resources } from '../../../../../yandex/cloud/mdb/greenplum/v1/config'; export declare const protobufPackage = "yandex.cloud.mdb.greenplum.v1"; /** A Greenplum® cluster host resource. */ export interface Host { /** * Name of the Greenplum® host. * * The host name is assigned by the platform at creation time and cannot be changed. * * The name is unique across all MDB hosts that exist on the platform, as it defines the FQDN of the host. */ name: string; /** ID of the Greenplum® cluster. The ID is assigned by the platform at creation time. */ clusterId: string; /** ID of the availability zone the Greenplum® host belongs to. */ zoneId: string; /** Type of the host. If the field has default value, it is not returned in the response. */ type: Host_Type; /** Resources allocated to the Greenplum® host. */ resources?: Resources; /** Aggregated health of the host. If the field has default value, it is not returned in the response. */ health: Host_Health; /** ID of the subnet that the host belongs to. */ subnetId: string; /** Determines whether a public IP is assigned to the host. */ assignPublicIp: boolean; } export declare enum Host_Type { /** TYPE_UNSPECIFIED - Host type is not specified. Default value. */ TYPE_UNSPECIFIED = 0, /** MASTER - A Greenplum® master host. */ MASTER = 1, /** REPLICA - A Greenplum® master replica host. */ REPLICA = 2, /** SEGMENT - A Greenplum® segment host. */ SEGMENT = 3, UNRECOGNIZED = -1 } export declare function host_TypeFromJSON(object: any): Host_Type; export declare function host_TypeToJSON(object: Host_Type): string; export declare enum Host_Health { /** UNKNOWN - Health of the host is unknown. Default value. */ UNKNOWN = 0, /** ALIVE - The host is performing all its functions normally. */ ALIVE = 1, /** DEAD - The host is inoperable and cannot perform any of its essential functions. */ DEAD = 2, /** DEGRADED - The host is working below capacity or not fully functional. */ DEGRADED = 3, /** UNBALANCED - One or more segments are not in the preferred role. */ UNBALANCED = 4, UNRECOGNIZED = -1 } export declare function host_HealthFromJSON(object: any): Host_Health; export declare function host_HealthToJSON(object: Host_Health): string; export declare const Host: { encode(message: Host, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Host; fromJSON(object: any): Host; toJSON(message: Host): unknown; fromPartial, never>) | undefined; health?: Host_Health | undefined; subnetId?: string | undefined; assignPublicIp?: boolean | undefined; } & Record, never>>(object: I): Host; }; 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 {};