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 {
    $type: "yandex.cloud.mdb.greenplum.v1.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. */
    type: Host_Type;
    /** Resources allocated to the Greenplum® host. */
    resources?: Resources;
    /** Status code of the aggregated health of the host. */
    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 - The type is not specified. */
    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. */
    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: {
    $type: "yandex.cloud.mdb.greenplum.v1.Host";
    encode(message: Host, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Host;
    fromJSON(object: any): Host;
    toJSON(message: Host): unknown;
    fromPartial<I extends {
        type?: Host_Type | undefined;
        name?: string | undefined;
        subnetId?: string | undefined;
        zoneId?: string | undefined;
        resources?: {
            diskTypeId?: string | undefined;
            diskSize?: number | undefined;
            resourcePresetId?: string | undefined;
        } | undefined;
        health?: Host_Health | undefined;
        clusterId?: string | undefined;
        assignPublicIp?: boolean | undefined;
    } & {
        type?: Host_Type | undefined;
        name?: string | undefined;
        subnetId?: string | undefined;
        zoneId?: string | undefined;
        resources?: ({
            diskTypeId?: string | undefined;
            diskSize?: number | undefined;
            resourcePresetId?: string | undefined;
        } & {
            diskTypeId?: string | undefined;
            diskSize?: number | undefined;
            resourcePresetId?: string | undefined;
        } & Record<Exclude<keyof I["resources"], "$type" | "diskTypeId" | "diskSize" | "resourcePresetId">, never>) | undefined;
        health?: Host_Health | undefined;
        clusterId?: string | undefined;
        assignPublicIp?: boolean | undefined;
    } & Record<Exclude<keyof I, "$type" | "type" | "name" | "subnetId" | "zoneId" | "resources" | "health" | "clusterId" | "assignPublicIp">, never>>(object: I): Host;
};
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
} : Partial<T>;
declare type KeysOfUnion<T> = T extends T ? keyof T : never;
export declare type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P> | "$type">, never>;
export {};
