import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.cloudrouter.v1"; export interface RoutingInstance { /** ID of the routingInstance. */ id: string; /** * Name of the routingInstance. * The name must be unique within the folder. * Value must match the regular expression ``\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``. */ name: string; /** Optional description of the routingInstance. 0-256 characters long. */ description: string; /** ID of the folder that the routingInstance belongs to. */ folderId: string; /** ID of the region that the routingInstance belongs to. */ regionId: string; /** List of the info about vpcNetworks which are attached to routingInstance. */ vpcInfo: RoutingInstance_VpcInfo[]; /** List of the info about privateConnections which are attached to routingInstance. */ cicPrivateConnectionInfo: RoutingInstance_CicPrivateConnectionInfo[]; /** Status of the routingInstance. */ status: RoutingInstance_Status; /** Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. */ createdAt?: Date; /** * Resource labels, `key:value` pairs. * No more than 64 per resource. * The maximum string length in characters for each value is 63. * Each value must match the regular expression `[-_0-9a-z]*`. * The string length in characters for each key must be 1-63. * Each key must match the regular expression `[a-z][-_0-9a-z]*`. */ labels: { [key: string]: string; }; } export declare enum RoutingInstance_Status { STATUS_UNSPECIFIED = 0, CREATING = 1, UPDATING = 2, DELETING = 3, ACTIVE = 4, UNRECOGNIZED = -1 } export declare function routingInstance_StatusFromJSON(object: any): RoutingInstance_Status; export declare function routingInstance_StatusToJSON(object: RoutingInstance_Status): string; export interface RoutingInstance_LabelsEntry { key: string; value: string; } export interface RoutingInstance_CicPrivateConnectionInfo { /** ID of the cicPrivateConnection that is attached to the routingInstance. */ cicPrivateConnectionId: string; } export interface RoutingInstance_VpcInfo { /** ID of the vpcNetwork that is attached to the routingInstance. */ vpcNetworkId: string; /** List of the az-related info about vpcNetworks which are attached to routingInstance */ azInfos: RoutingInstance_VpcAzInfo[]; } export interface RoutingInstance_VpcAzInfo { /** VpcInfo which is set by user */ manualInfo?: RoutingInstance_VpcManualInfo; } export interface RoutingInstance_VpcManualInfo { /** ID of the AZ */ azId: string; /** List of prefixes to announce */ prefixes: string[]; } export declare const RoutingInstance: { encode(message: RoutingInstance, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance; fromJSON(object: any): RoutingInstance; toJSON(message: RoutingInstance): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; cicPrivateConnectionInfo?: ({ cicPrivateConnectionId?: string | undefined; }[] & ({ cicPrivateConnectionId?: string | undefined; } & { cicPrivateConnectionId?: string | undefined; } & Record, never>)[] & Record, never>) | undefined; status?: RoutingInstance_Status | undefined; createdAt?: Date | undefined; labels?: ({ [x: string]: string | undefined; } & { [x: string]: string | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): RoutingInstance; }; export declare const RoutingInstance_LabelsEntry: { encode(message: RoutingInstance_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance_LabelsEntry; fromJSON(object: any): RoutingInstance_LabelsEntry; toJSON(message: RoutingInstance_LabelsEntry): unknown; fromPartial, never>>(object: I): RoutingInstance_LabelsEntry; }; export declare const RoutingInstance_CicPrivateConnectionInfo: { encode(message: RoutingInstance_CicPrivateConnectionInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance_CicPrivateConnectionInfo; fromJSON(object: any): RoutingInstance_CicPrivateConnectionInfo; toJSON(message: RoutingInstance_CicPrivateConnectionInfo): unknown; fromPartial, never>>(object: I): RoutingInstance_CicPrivateConnectionInfo; }; export declare const RoutingInstance_VpcInfo: { encode(message: RoutingInstance_VpcInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance_VpcInfo; fromJSON(object: any): RoutingInstance_VpcInfo; toJSON(message: RoutingInstance_VpcInfo): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, never>>(object: I): RoutingInstance_VpcInfo; }; export declare const RoutingInstance_VpcAzInfo: { encode(message: RoutingInstance_VpcAzInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance_VpcAzInfo; fromJSON(object: any): RoutingInstance_VpcAzInfo; toJSON(message: RoutingInstance_VpcAzInfo): unknown; fromPartial, never>) | undefined; } & Record, never>) | undefined; } & Record, never>>(object: I): RoutingInstance_VpcAzInfo; }; export declare const RoutingInstance_VpcManualInfo: { encode(message: RoutingInstance_VpcManualInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): RoutingInstance_VpcManualInfo; fromJSON(object: any): RoutingInstance_VpcManualInfo; toJSON(message: RoutingInstance_VpcManualInfo): unknown; fromPartial, never>) | undefined; } & Record, never>>(object: I): RoutingInstance_VpcManualInfo; }; 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 {};