import _m0 from 'protobufjs/minimal'; export declare const protobufPackage = "yandex.cloud.vpc.v1.privatelink"; export interface PrivateEndpoint { /** ID of the private endpoint. Generated at creation time. */ id: string; /** ID of the folder that the private endpoint belongs to. */ folderId: string; /** Creation timestamp. */ createdAt?: Date; /** * Name of the private endpoint. * The name is 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; /** Description of the private endpoint. 0-256 characters long. */ description: string; /** * Private endpoint labels as `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; }; /** ID of the network that the private endpoint belongs to. */ networkId: string; /** Status of the private endpoint. */ status: PrivateEndpoint_Status; /** Private endpoint ip address details. */ address?: PrivateEndpoint_EndpointAddress; /** Private endpoint dns options. */ dnsOptions?: PrivateEndpoint_DnsOptions; /** Yandex Cloud Object Storage. */ objectStorage?: PrivateEndpoint_ObjectStorage | undefined; } /** Status of the private endpoint. */ export declare enum PrivateEndpoint_Status { STATUS_UNSPECIFIED = 0, /** PENDING - Private endpoint is still creating / updating. */ PENDING = 1, /** AVAILABLE - Private endpoint is available. */ AVAILABLE = 2, /** DELETING - Private endpoint is deleting. */ DELETING = 3, UNRECOGNIZED = -1 } export declare function privateEndpoint_StatusFromJSON(object: any): PrivateEndpoint_Status; export declare function privateEndpoint_StatusToJSON(object: PrivateEndpoint_Status): string; export interface PrivateEndpoint_LabelsEntry { key: string; value: string; } /** Yandex Cloud Object Storage. */ export interface PrivateEndpoint_ObjectStorage { } export interface PrivateEndpoint_DnsOptions { /** If enabled - vpc will create private dns records for specified service. */ privateDnsRecordsEnabled: boolean; } /** Private endpoint ip address details. */ export interface PrivateEndpoint_EndpointAddress { /** ID of the subnet that the private endpoint address belongs to. */ subnetId: string; /** IP address of the private endpoint. */ address: string; /** ID of the private endpoint address. */ addressId: string; } export declare const PrivateEndpoint: { encode(message: PrivateEndpoint, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PrivateEndpoint; fromJSON(object: any): PrivateEndpoint; toJSON(message: PrivateEndpoint): unknown; fromPartial, never>) | undefined; networkId?: string | undefined; status?: PrivateEndpoint_Status | undefined; address?: ({ subnetId?: string | undefined; address?: string | undefined; addressId?: string | undefined; } & { subnetId?: string | undefined; address?: string | undefined; addressId?: string | undefined; } & Record, never>) | undefined; dnsOptions?: ({ privateDnsRecordsEnabled?: boolean | undefined; } & { privateDnsRecordsEnabled?: boolean | undefined; } & Record, never>) | undefined; objectStorage?: ({} & {} & Record, never>) | undefined; } & Record, never>>(object: I): PrivateEndpoint; }; export declare const PrivateEndpoint_LabelsEntry: { encode(message: PrivateEndpoint_LabelsEntry, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PrivateEndpoint_LabelsEntry; fromJSON(object: any): PrivateEndpoint_LabelsEntry; toJSON(message: PrivateEndpoint_LabelsEntry): unknown; fromPartial, never>>(object: I): PrivateEndpoint_LabelsEntry; }; export declare const PrivateEndpoint_ObjectStorage: { encode(_: PrivateEndpoint_ObjectStorage, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PrivateEndpoint_ObjectStorage; fromJSON(_: any): PrivateEndpoint_ObjectStorage; toJSON(_: PrivateEndpoint_ObjectStorage): unknown; fromPartial, never>>(_: I): PrivateEndpoint_ObjectStorage; }; export declare const PrivateEndpoint_DnsOptions: { encode(message: PrivateEndpoint_DnsOptions, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PrivateEndpoint_DnsOptions; fromJSON(object: any): PrivateEndpoint_DnsOptions; toJSON(message: PrivateEndpoint_DnsOptions): unknown; fromPartial, never>>(object: I): PrivateEndpoint_DnsOptions; }; export declare const PrivateEndpoint_EndpointAddress: { encode(message: PrivateEndpoint_EndpointAddress, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): PrivateEndpoint_EndpointAddress; fromJSON(object: any): PrivateEndpoint_EndpointAddress; toJSON(message: PrivateEndpoint_EndpointAddress): unknown; fromPartial, never>>(object: I): PrivateEndpoint_EndpointAddress; }; 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 {};