import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js"; import { customJson } from "../../../../runtime/util/logging.js"; import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import type { SDKInterface } from "../../../../sdk.js"; import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js"; import { Operation as OperationWrapper } from "../../../../runtime/operation.js"; import { ResourceMetadata } from "../../common/v1/index.js"; import { GetOperationRequest, Operation, OperationService } from "../../common/v1alpha1/index.js"; /** Represents the `nebius.vpc.v1alpha1.GetAllocationRequest` protobuf message. */ export interface GetAllocationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetAllocationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetAllocationRequest} messages. */ export declare const GetAllocationRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetAllocationByNameRequest` protobuf message. */ export interface GetAllocationByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetAllocationByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetAllocationByNameRequest} messages. */ export declare const GetAllocationByNameRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListAllocationsRequest` protobuf message. */ export interface ListAllocationsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListAllocationsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListAllocationsRequest} messages. */ export declare const ListAllocationsRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListAllocationsResponse` protobuf message. */ export interface ListAllocationsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListAllocationsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Allocation[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListAllocationsResponse} messages. */ export declare const ListAllocationsResponse: MessageFns; /** Represents the `nebius.vpc.v1alpha1.CreateAllocationRequest` protobuf message. */ export interface CreateAllocationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.CreateAllocationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AllocationSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateAllocationRequest} messages. */ export declare const CreateAllocationRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.UpdateAllocationRequest` protobuf message. */ export interface UpdateAllocationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.UpdateAllocationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `metadata` protobuf field. */ metadata?: ResourceMetadata | undefined; /** Contains the `spec` protobuf field. */ spec?: AllocationSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateAllocationRequest} messages. */ export declare const UpdateAllocationRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.DeleteAllocationRequest` protobuf message. */ export interface DeleteAllocationRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.DeleteAllocationRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteAllocationRequest} messages. */ export declare const DeleteAllocationRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.vpc.v1alpha1.AllocationService` service. */ export type AllocationServiceServiceDescription = typeof AllocationServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.vpc.v1alpha1.AllocationService` service. */ export declare const AllocationServiceServiceDescription: { readonly get: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAllocationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAllocationRequest; readonly responseSerialize: (value: Allocation) => Buffer; readonly responseDeserialize: (value: Buffer) => Allocation; }; readonly getByName: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetAllocationByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetAllocationByNameRequest; readonly responseSerialize: (value: Allocation) => Buffer; readonly responseDeserialize: (value: Buffer) => Allocation; }; readonly list: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListAllocationsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListAllocationsRequest; readonly responseSerialize: (value: ListAllocationsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListAllocationsResponse; }; readonly create: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateAllocationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateAllocationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateAllocationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateAllocationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.vpc.v1alpha1.AllocationService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteAllocationRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteAllocationRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.vpc.v1alpha1.AllocationService` service. */ export interface AllocationServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `Create` RPC. */ create: handleUnaryCall; /** * Handles the `Update` RPC. */ update: handleUnaryCall; /** * Handles the `Delete` RPC. */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.vpc.v1alpha1.AllocationService` service. */ export interface AllocationServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Allocation) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Allocation) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListAllocationsResponse) => void): ClientUnaryCall; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.vpc.v1alpha1.AllocationService` service. */ export declare const AllocationServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): AllocationServiceBaseClient; /** Contains the gRPC service description. */ service: typeof AllocationServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.vpc.v1alpha1.AllocationService` service. */ export interface AllocationService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.vpc.v1alpha1.AllocationService"; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.vpc.v1alpha1.AllocationService` service through the Nebius SDK. */ export declare class AllocationService implements AllocationService { private sdk; $type: "nebius.vpc.v1alpha1.AllocationService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetAllocationByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListAllocationsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Create` RPC. */ create(request: CreateAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Update` RPC. */ update(request: UpdateAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest, metadata: Metadata): SDKRequestClass>; /** * Calls the `Delete` RPC. */ delete(request: DeleteAllocationRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Enumeration of possible states of the Allocation. * */ export type AllocationStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; /** Defines the static values of {@link AllocationStatus_State}. */ export interface AllocationStatus_StateValueMembers { /** * Default state, unspecified. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; /** * Allocation is being created. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; /** * Allocation is ready for use. */ readonly ALLOCATED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; /** * Allocation is used. */ readonly ASSIGNED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; /** * Allocation is being deleted. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING">; } /** Defines the runtime API for {@link AllocationStatus_State}. */ export type AllocationStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "ALLOCATED" | "ASSIGNED" | "DELETING"> & AllocationStatus_StateValueMembers; /** Converts and creates {@link AllocationStatus_State} values. */ export declare const AllocationStatus_State: AllocationStatus_StateClass; /** * Represents the `nebius.vpc.v1alpha1.NetworkInterfaceAssignment.Type` protobuf enum. */ export type NetworkInterfaceAssignment_Type = EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC">; /** Defines the static values of {@link NetworkInterfaceAssignment_Type}. */ export interface NetworkInterfaceAssignment_TypeValueMembers { /** * Represents the `TYPE_UNSPECIFIED` protobuf enum value. */ readonly TYPE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC">; /** * Allocation is attached as the interface private IPv4 address. * */ readonly PRIMARY: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC">; /** * Allocation is attached as an IP alias. * */ readonly ALIAS: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC">; /** * Allocation is attached as the interface public IPv4 address. * */ readonly PUBLIC: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC">; } /** Defines the runtime API for {@link NetworkInterfaceAssignment_Type}. */ export type NetworkInterfaceAssignment_TypeClass = EnumClass<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "PRIMARY" | "ALIAS" | "PUBLIC"> & NetworkInterfaceAssignment_TypeValueMembers; /** Converts and creates {@link NetworkInterfaceAssignment_Type} values. */ export declare const NetworkInterfaceAssignment_Type: NetworkInterfaceAssignment_TypeClass; /** Represents the `nebius.vpc.v1alpha1.Allocation` protobuf message. */ export interface Allocation { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Allocation"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the Allocation. * `metadata.parent_id` represents IAM Container. * */ metadata?: ResourceMetadata | undefined; /** * Specifications for the allocation, detailing its name and IP configuration. * */ spec?: AllocationSpec | undefined; /** * Contains the current status of the allocation, indicating its state and any additional details. * */ status?: AllocationStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Allocation} messages. */ export declare const Allocation: MessageFns; /** Represents the `nebius.vpc.v1alpha1.AllocationSpec` protobuf message. */ export interface AllocationSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.AllocationSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Holds the IP specifications for the allocation, including the type of IP (IPv4 or IPv6) and its corresponding configuration. * */ ipSpec?: { $case: "ipv4Private"; ipv4Private: IPv4PrivateAllocationSpec; } | { $case: "ipv4Public"; ipv4Public: IPv4PublicAllocationSpec; } | undefined; } /** Encodes, decodes, converts, and creates {@link AllocationSpec} messages. */ export declare const AllocationSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.IPv4PrivateAllocationSpec` protobuf message. */ export interface IPv4PrivateAllocationSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPv4PrivateAllocationSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * CIDR block for IPv4 Allocation. * May be a single IP address (such as 10.2.3.4), * a prefix length (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). * Random address (/32) from pool would be allocated if field is omitted. * */ cidr: string; /** Contains the selected value for the `pool` protobuf oneof. */ pool?: { $case: "subnetId"; subnetId: string; } | { $case: "poolId"; poolId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link IPv4PrivateAllocationSpec} messages. */ export declare const IPv4PrivateAllocationSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.IPv4PublicAllocationSpec` protobuf message. */ export interface IPv4PublicAllocationSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPv4PublicAllocationSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * CIDR block for IPv4 Allocation. * May be a single IP address (such as 10.2.3.4), * a prefix length (such as /32) or a CIDR-formatted string (such as 10.1.2.0/32). * Random address (/32) from pool would be allocated if field is omitted. * */ cidr: string; /** * Pool for the IPv4 public allocation. * */ poolId: string; } /** Encodes, decodes, converts, and creates {@link IPv4PublicAllocationSpec} messages. */ export declare const IPv4PublicAllocationSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.AllocationStatus` protobuf message. */ export interface AllocationStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.AllocationStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * This field represents the current state of the allocation. * */ state: AllocationStatus_State; /** * Detailed information about the allocation status, * including the allocated CIDR, pool ID, scope type, and IP version. * */ details?: AllocationDetails | undefined; /** * Information about the assignment associated with the allocation, * such as network interface or load balancer assignment. * */ assignment?: Assignment | undefined; /** * If false - Lifecycle of allocation depends on resource that using it. * */ static: boolean; } /** Encodes, decodes, converts, and creates {@link AllocationStatus} messages. */ export declare const AllocationStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.AllocationDetails` protobuf message. */ export interface AllocationDetails { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.AllocationDetails"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `allocated_cidr` protobuf field. */ allocatedCidr: string; /** Contains the `pool_id` protobuf field. */ poolId: string; /** Contains the `version` protobuf field. */ version: IpVersion; } /** Encodes, decodes, converts, and creates {@link AllocationDetails} messages. */ export declare const AllocationDetails: MessageFns; /** Represents the `nebius.vpc.v1alpha1.Assignment` protobuf message. */ export interface Assignment { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Assignment"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * This field specifies the type of assignment associated with the allocation, * which could be a network interface or load balancer assignment. * */ type?: { $case: "networkInterface"; networkInterface: NetworkInterfaceAssignment; } | { $case: "loadBalancer"; loadBalancer: LoadBalancerAssignment; } | undefined; } /** Encodes, decodes, converts, and creates {@link Assignment} messages. */ export declare const Assignment: MessageFns; /** Represents the `nebius.vpc.v1alpha1.NetworkInterfaceAssignment` protobuf message. */ export interface NetworkInterfaceAssignment { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkInterfaceAssignment"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the Compute instance network interface belongs to. * */ instanceId: string; /** * Network interface name * */ name: string; /** * Type of allocation attachment on the network interface. * */ type: NetworkInterfaceAssignment_Type; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceAssignment} messages. */ export declare const NetworkInterfaceAssignment: MessageFns; /** Represents the `nebius.vpc.v1alpha1.LoadBalancerAssignment` protobuf message. */ export interface LoadBalancerAssignment { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.LoadBalancerAssignment"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the Load Balancer. * */ id: string; } /** Encodes, decodes, converts, and creates {@link LoadBalancerAssignment} messages. */ export declare const LoadBalancerAssignment: MessageFns; /** * Describes the specification of a network interface. * */ export interface NetworkInterfaceSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkInterfaceSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Subnet ID * */ subnetId: string; /** * Interface name * Value of this field configures the name of the network interface inside VM's OS. * Longer values will persist in the specification but will be truncated to 15 symbols before being passed to VM configuration. * */ name: string; /** * Private IPv4 address associated with the interface. * */ ipAddress?: IPAddress | undefined; /** * Public IPv4 address associated with the interface. * */ publicIpAddress?: PublicIPAddress | undefined; /** * Assign ranges of IP addresses as aliases * */ aliases: IPAlias[]; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceSpec} messages. */ export declare const NetworkInterfaceSpec: MessageFns; /** * Describes an IPv4 address. * */ export interface IPAddress { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPAddress"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Allocation identifier if it was created before. * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAddress} messages. */ export declare const IPAddress: MessageFns; /** * Describes a public IP address. * */ export interface PublicIPAddress { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.PublicIPAddress"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * If false - Lifecycle of allocation depends on NetworkInterface.Allocate/NetworkInterface.Deallocate * If true - Lifecycle of allocation depends on NetworkInterface.Create/NetworkInterface.Delete * False by default * */ static: boolean; /** * Describes different methods of public IP address allocation. * */ allocation?: { $case: "allocationId"; allocationId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link PublicIPAddress} messages. */ export declare const PublicIPAddress: MessageFns; /** Represents the `nebius.vpc.v1alpha1.IPAlias` protobuf message. */ export interface IPAlias { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPAlias"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of allocation * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAlias} messages. */ export declare const IPAlias: MessageFns; /** * Describes the status of a network interface. * */ export interface NetworkInterfaceStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkInterfaceStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * The index of the network interface * */ index: number; /** * Name for interface. * Unique within instance's network interfaces * */ name: string; /** * Effective Private IPv4 address * */ ipAddress?: IPAddressStatus | undefined; /** * Effective Public IPv4 address * */ publicIpAddress?: PublicIPAddressStatus | undefined; /** * Effective IP Aliases * */ aliases?: IPAliasesStatus | undefined; /** * MAC address * */ macAddress: string; /** * Subnet ID actually used by the network interface. * Equals spec.subnet_id when it is provided; otherwise contains the resolved default subnet ID. * */ subnetId: string; } /** Encodes, decodes, converts, and creates {@link NetworkInterfaceStatus} messages. */ export declare const NetworkInterfaceStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.IPAddressStatus` protobuf message. */ export interface IPAddressStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPAddressStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Effective private IPv4 address assigned to the interface. * */ address: string; /** * Allocation identifier. * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link IPAddressStatus} messages. */ export declare const IPAddressStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.PublicIPAddressStatus` protobuf message. */ export interface PublicIPAddressStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.PublicIPAddressStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Effective public IPv4 address assigned to the interface. * */ address: string; /** * Allocation identifier. * */ allocationId: string; } /** Encodes, decodes, converts, and creates {@link PublicIPAddressStatus} messages. */ export declare const PublicIPAddressStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.IPAliasesStatus` protobuf message. */ export interface IPAliasesStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.IPAliasesStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `cidrs` protobuf field. */ cidrs: string[]; } /** Encodes, decodes, converts, and creates {@link IPAliasesStatus} messages. */ export declare const IPAliasesStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetNetworkRequest` protobuf message. */ export interface GetNetworkRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetNetworkRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetNetworkRequest} messages. */ export declare const GetNetworkRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetNetworkByNameRequest` protobuf message. */ export interface GetNetworkByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetNetworkByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetNetworkByNameRequest} messages. */ export declare const GetNetworkByNameRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListNetworksRequest` protobuf message. */ export interface ListNetworksRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListNetworksRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListNetworksRequest} messages. */ export declare const ListNetworksRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListNetworksResponse` protobuf message. */ export interface ListNetworksResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListNetworksResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Network[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListNetworksResponse} messages. */ export declare const ListNetworksResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.vpc.v1alpha1.NetworkService` service. */ export type NetworkServiceServiceDescription = typeof NetworkServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.vpc.v1alpha1.NetworkService` service. */ export declare const NetworkServiceServiceDescription: { readonly get: { readonly path: "/nebius.vpc.v1alpha1.NetworkService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetNetworkRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetNetworkRequest; readonly responseSerialize: (value: Network) => Buffer; readonly responseDeserialize: (value: Buffer) => Network; }; readonly getByName: { readonly path: "/nebius.vpc.v1alpha1.NetworkService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetNetworkByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetNetworkByNameRequest; readonly responseSerialize: (value: Network) => Buffer; readonly responseDeserialize: (value: Buffer) => Network; }; readonly list: { readonly path: "/nebius.vpc.v1alpha1.NetworkService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListNetworksRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListNetworksRequest; readonly responseSerialize: (value: ListNetworksResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListNetworksResponse; }; }; /** * Handles server calls for the `nebius.vpc.v1alpha1.NetworkService` service. */ export interface NetworkServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.vpc.v1alpha1.NetworkService` service. */ export interface NetworkServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Network) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Network) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListNetworksResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.vpc.v1alpha1.NetworkService` service. */ export declare const NetworkServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): NetworkServiceBaseClient; /** Contains the gRPC service description. */ service: typeof NetworkServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.vpc.v1alpha1.NetworkService` service. */ export interface NetworkService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.vpc.v1alpha1.NetworkService"; /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.vpc.v1alpha1.NetworkService` service through the Nebius SDK. */ export declare class NetworkService implements NetworkService { private sdk; $type: "nebius.vpc.v1alpha1.NetworkService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetNetworkByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListNetworksRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Enumeration of possible states of the network. * */ export type NetworkStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** Defines the static values of {@link NetworkStatus_State}. */ export interface NetworkStatus_StateValueMembers { /** * Default state, unspecified. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Network is being created. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Network is ready for use. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Network is being deleted. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; } /** Defines the runtime API for {@link NetworkStatus_State}. */ export type NetworkStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING"> & NetworkStatus_StateValueMembers; /** Converts and creates {@link NetworkStatus_State} values. */ export declare const NetworkStatus_State: NetworkStatus_StateClass; /** * Defines a Network, which serves as a virtual representation of a traditional LAN * within a cloud environment. * Networks facilitate communication between subnets. * */ export interface Network { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Network"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the network resource. * `metadata.parent_id` represents IAM container * */ metadata?: ResourceMetadata | undefined; /** * Specification of the network. * */ spec?: NetworkSpec | undefined; /** * Status of the network. * */ status?: NetworkStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Network} messages. */ export declare const Network: MessageFns; /** Represents the `nebius.vpc.v1alpha1.NetworkSpec` protobuf message. */ export interface NetworkSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Pools for addresses * */ pools: NetworkPool[]; } /** Encodes, decodes, converts, and creates {@link NetworkSpec} messages. */ export declare const NetworkSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.NetworkPool` protobuf message. */ export interface NetworkPool { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkPool"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `pool_id` protobuf field. */ poolId: string; } /** Encodes, decodes, converts, and creates {@link NetworkPool} messages. */ export declare const NetworkPool: MessageFns; /** Represents the `nebius.vpc.v1alpha1.NetworkStatus` protobuf message. */ export interface NetworkStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.NetworkStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Current state of the network. * */ state: NetworkStatus_State; /** * Scope ID of all pools * */ scopeId: string; } /** Encodes, decodes, converts, and creates {@link NetworkStatus} messages. */ export declare const NetworkStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetPoolRequest` protobuf message. */ export interface GetPoolRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetPoolRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetPoolRequest} messages. */ export declare const GetPoolRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetPoolByNameRequest` protobuf message. */ export interface GetPoolByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetPoolByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetPoolByNameRequest} messages. */ export declare const GetPoolByNameRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListPoolsRequest` protobuf message. */ export interface ListPoolsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListPoolsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListPoolsRequest} messages. */ export declare const ListPoolsRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListPoolsResponse` protobuf message. */ export interface ListPoolsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListPoolsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Pool[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListPoolsResponse} messages. */ export declare const ListPoolsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.vpc.v1alpha1.PoolService` service. */ export type PoolServiceServiceDescription = typeof PoolServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.vpc.v1alpha1.PoolService` service. */ export declare const PoolServiceServiceDescription: { readonly get: { readonly path: "/nebius.vpc.v1alpha1.PoolService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetPoolRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetPoolRequest; readonly responseSerialize: (value: Pool) => Buffer; readonly responseDeserialize: (value: Buffer) => Pool; }; readonly getByName: { readonly path: "/nebius.vpc.v1alpha1.PoolService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetPoolByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetPoolByNameRequest; readonly responseSerialize: (value: Pool) => Buffer; readonly responseDeserialize: (value: Buffer) => Pool; }; readonly list: { readonly path: "/nebius.vpc.v1alpha1.PoolService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListPoolsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListPoolsRequest; readonly responseSerialize: (value: ListPoolsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListPoolsResponse; }; }; /** * Handles server calls for the `nebius.vpc.v1alpha1.PoolService` service. */ export interface PoolServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.vpc.v1alpha1.PoolService` service. */ export interface PoolServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetPoolRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Pool) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Pool) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListPoolsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.vpc.v1alpha1.PoolService` service. */ export declare const PoolServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): PoolServiceBaseClient; /** Contains the gRPC service description. */ service: typeof PoolServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.vpc.v1alpha1.PoolService` service. */ export interface PoolService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.vpc.v1alpha1.PoolService"; /** * Calls the `Get` RPC. */ get(request: GetPoolRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetPoolRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetPoolRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.vpc.v1alpha1.PoolService` service through the Nebius SDK. */ export declare class PoolService implements PoolService { private sdk; $type: "nebius.vpc.v1alpha1.PoolService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetPoolRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetPoolRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetPoolRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetPoolByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListPoolsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Represents the `nebius.vpc.v1alpha1.PoolCidrState` protobuf enum. */ export type PoolCidrState = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "AVAILABLE" | "DISABLED">; /** Defines the static values of {@link PoolCidrState}. */ export interface PoolCidrStateValueMembers { /** * Default, unspecified state. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "AVAILABLE" | "DISABLED">; /** * Allocation from range is available. */ readonly AVAILABLE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "AVAILABLE" | "DISABLED">; /** * New allocation would not be created. */ readonly DISABLED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "AVAILABLE" | "DISABLED">; } /** Defines the runtime API for {@link PoolCidrState}. */ export type PoolCidrStateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "AVAILABLE" | "DISABLED"> & PoolCidrStateValueMembers; /** Converts and creates {@link PoolCidrState} values. */ export declare const PoolCidrState: PoolCidrStateClass; /** * Represents the `nebius.vpc.v1alpha1.IpVersion` protobuf enum. */ export type IpVersion = EnumInstance<"UNRECOGNIZED" | "IP_VERSION_UNSPECIFIED" | "IPV4" | "IPV6">; /** Defines the static values of {@link IpVersion}. */ export interface IpVersionValueMembers { /** * Default, unspecified IP version. */ readonly IP_VERSION_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "IP_VERSION_UNSPECIFIED" | "IPV4" | "IPV6">; /** * IPv4 address. */ readonly IPV4: EnumInstance<"UNRECOGNIZED" | "IP_VERSION_UNSPECIFIED" | "IPV4" | "IPV6">; /** * IPv6 address. */ readonly IPV6: EnumInstance<"UNRECOGNIZED" | "IP_VERSION_UNSPECIFIED" | "IPV4" | "IPV6">; } /** Defines the runtime API for {@link IpVersion}. */ export type IpVersionClass = EnumClass<"UNRECOGNIZED" | "IP_VERSION_UNSPECIFIED" | "IPV4" | "IPV6"> & IpVersionValueMembers; /** Converts and creates {@link IpVersion} values. */ export declare const IpVersion: IpVersionClass; /** * Possible states of the Pool. * */ export type PoolStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** Defines the static values of {@link PoolStatus_State}. */ export interface PoolStatus_StateValueMembers { /** * Default, unspecified state. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Pool is being created. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Pool is ready for use. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Pool is being deleted. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; } /** Defines the runtime API for {@link PoolStatus_State}. */ export type PoolStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING"> & PoolStatus_StateValueMembers; /** Converts and creates {@link PoolStatus_State} values. */ export declare const PoolStatus_State: PoolStatus_StateClass; /** Represents the `nebius.vpc.v1alpha1.Pool` protobuf message. */ export interface Pool { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Pool"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata associated with the Pool. * `metadata.parent_id` represents the Project. * */ metadata?: ResourceMetadata | undefined; /** * Specification of the Pool. * */ spec?: PoolSpec | undefined; /** * Status information for the Pool. * */ status?: PoolStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Pool} messages. */ export declare const Pool: MessageFns; /** Represents the `nebius.vpc.v1alpha1.PoolSpec` protobuf message. */ export interface PoolSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.PoolSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * IP version for the Pool. * */ version: IpVersion; /** * CIDR blocks. * */ cidrs: PoolCidr[]; /** Contains the selected value for the `source` protobuf oneof. */ source?: { $case: "sourcePoolId"; sourcePoolId: string; } | { $case: "sourceScopeId"; sourceScopeId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link PoolSpec} messages. */ export declare const PoolSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.PoolCidr` protobuf message. */ export interface PoolCidr { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.PoolCidr"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * CIDR block. * May be a prefix length (such as /24) for non-top-level pools * or a CIDR-formatted string (such as 10.1.2.0/24). * */ cidr: string; /** * State of the Cidr. * */ state: PoolCidrState; /** * Maximum mask length for allocation from this IP pool including creation of sub-pools * */ allowedMask: Long; } /** Encodes, decodes, converts, and creates {@link PoolCidr} messages. */ export declare const PoolCidr: MessageFns; /** Represents the `nebius.vpc.v1alpha1.PoolStatus` protobuf message. */ export interface PoolStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.PoolStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Current state of the Pool. * */ state: PoolStatus_State; /** * CIDR blocks. * */ cidrs: string[]; /** * ID of the scope * */ scopeId: string; } /** Encodes, decodes, converts, and creates {@link PoolStatus} messages. */ export declare const PoolStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetScopeRequest` protobuf message. */ export interface GetScopeRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetScopeRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetScopeRequest} messages. */ export declare const GetScopeRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetScopeByNameRequest` protobuf message. */ export interface GetScopeByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetScopeByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetScopeByNameRequest} messages. */ export declare const GetScopeByNameRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListScopesRequest` protobuf message. */ export interface ListScopesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListScopesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListScopesRequest} messages. */ export declare const ListScopesRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListScopesResponse` protobuf message. */ export interface ListScopesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListScopesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Scope[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListScopesResponse} messages. */ export declare const ListScopesResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.vpc.v1alpha1.ScopeService` service. */ export type ScopeServiceServiceDescription = typeof ScopeServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.vpc.v1alpha1.ScopeService` service. */ export declare const ScopeServiceServiceDescription: { readonly get: { readonly path: "/nebius.vpc.v1alpha1.ScopeService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetScopeRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetScopeRequest; readonly responseSerialize: (value: Scope) => Buffer; readonly responseDeserialize: (value: Buffer) => Scope; }; readonly getByName: { readonly path: "/nebius.vpc.v1alpha1.ScopeService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetScopeByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetScopeByNameRequest; readonly responseSerialize: (value: Scope) => Buffer; readonly responseDeserialize: (value: Buffer) => Scope; }; readonly list: { readonly path: "/nebius.vpc.v1alpha1.ScopeService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListScopesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListScopesRequest; readonly responseSerialize: (value: ListScopesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListScopesResponse; }; }; /** * Handles server calls for the `nebius.vpc.v1alpha1.ScopeService` service. */ export interface ScopeServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.vpc.v1alpha1.ScopeService` service. */ export interface ScopeServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetScopeRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Scope) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Scope) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListScopesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListScopesResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.vpc.v1alpha1.ScopeService` service. */ export declare const ScopeServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ScopeServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ScopeServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.vpc.v1alpha1.ScopeService` service. */ export interface ScopeService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.vpc.v1alpha1.ScopeService"; /** * Calls the `Get` RPC. */ get(request: GetScopeRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetScopeRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetScopeRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.vpc.v1alpha1.ScopeService` service through the Nebius SDK. */ export declare class ScopeService implements ScopeService { private sdk; $type: "nebius.vpc.v1alpha1.ScopeService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetScopeRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetScopeRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetScopeRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetScopeByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListScopesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Type of scope. * */ export type ScopeSpec_Type = EnumInstance<"UNRECOGNIZED" | "SCOPE_TYPE_UNSPECIFIED" | "PUBLIC" | "PRIVATE">; /** Defines the static values of {@link ScopeSpec_Type}. */ export interface ScopeSpec_TypeValueMembers { /** * Default, unspecified scope type. */ readonly SCOPE_TYPE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "SCOPE_TYPE_UNSPECIFIED" | "PUBLIC" | "PRIVATE">; /** * Public scope. */ readonly PUBLIC: EnumInstance<"UNRECOGNIZED" | "SCOPE_TYPE_UNSPECIFIED" | "PUBLIC" | "PRIVATE">; /** * Private scope. */ readonly PRIVATE: EnumInstance<"UNRECOGNIZED" | "SCOPE_TYPE_UNSPECIFIED" | "PUBLIC" | "PRIVATE">; } /** Defines the runtime API for {@link ScopeSpec_Type}. */ export type ScopeSpec_TypeClass = EnumClass<"UNRECOGNIZED" | "SCOPE_TYPE_UNSPECIFIED" | "PUBLIC" | "PRIVATE"> & ScopeSpec_TypeValueMembers; /** Converts and creates {@link ScopeSpec_Type} values. */ export declare const ScopeSpec_Type: ScopeSpec_TypeClass; /** * Possible states of the Scope. * */ export type ScopeStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** Defines the static values of {@link ScopeStatus_State}. */ export interface ScopeStatus_StateValueMembers { /** * Default, unspecified state. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Scope is being created. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Scope is ready for use. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Scope is being deleted. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; } /** Defines the runtime API for {@link ScopeStatus_State}. */ export type ScopeStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING"> & ScopeStatus_StateValueMembers; /** Converts and creates {@link ScopeStatus_State} values. */ export declare const ScopeStatus_State: ScopeStatus_StateClass; /** Represents the `nebius.vpc.v1alpha1.Scope` protobuf message. */ export interface Scope { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Scope"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata associated with the Scope. * `metadata.parent_id` represents the parent IAM container. * */ metadata?: ResourceMetadata | undefined; /** * Specification of the Scope. * */ spec?: ScopeSpec | undefined; /** * Status information for the Scope. * */ status?: ScopeStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Scope} messages. */ export declare const Scope: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ScopeSpec` protobuf message. */ export interface ScopeSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ScopeSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Type of the Scope (Private or Public). * */ type: ScopeSpec_Type; } /** Encodes, decodes, converts, and creates {@link ScopeSpec} messages. */ export declare const ScopeSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ScopeStatus` protobuf message. */ export interface ScopeStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ScopeStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Current state of the Scope. * */ state: ScopeStatus_State; } /** Encodes, decodes, converts, and creates {@link ScopeStatus} messages. */ export declare const ScopeStatus: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetSubnetRequest` protobuf message. */ export interface GetSubnetRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetSubnetRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `id` protobuf field. */ id: string; } /** Encodes, decodes, converts, and creates {@link GetSubnetRequest} messages. */ export declare const GetSubnetRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.GetSubnetByNameRequest` protobuf message. */ export interface GetSubnetByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.GetSubnetByNameRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `name` protobuf field. */ name: string; } /** Encodes, decodes, converts, and creates {@link GetSubnetByNameRequest} messages. */ export declare const GetSubnetByNameRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListSubnetsRequest` protobuf message. */ export interface ListSubnetsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListSubnetsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `parent_id` protobuf field. */ parentId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListSubnetsRequest} messages. */ export declare const ListSubnetsRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListSubnetsByNetworkRequest` protobuf message. */ export interface ListSubnetsByNetworkRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListSubnetsByNetworkRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `network_id` protobuf field. */ networkId: string; /** Contains the `page_size` protobuf field. */ pageSize: Long; /** Contains the `page_token` protobuf field. */ pageToken: string; /** Contains the `filter` protobuf field. */ filter: string; } /** Encodes, decodes, converts, and creates {@link ListSubnetsByNetworkRequest} messages. */ export declare const ListSubnetsByNetworkRequest: MessageFns; /** Represents the `nebius.vpc.v1alpha1.ListSubnetsResponse` protobuf message. */ export interface ListSubnetsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.ListSubnetsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `items` protobuf field. */ items: Subnet[]; /** Contains the `next_page_token` protobuf field. */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListSubnetsResponse} messages. */ export declare const ListSubnetsResponse: MessageFns; /** * Defines the gRPC methods for the `nebius.vpc.v1alpha1.SubnetService` service. */ export type SubnetServiceServiceDescription = typeof SubnetServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.vpc.v1alpha1.SubnetService` service. */ export declare const SubnetServiceServiceDescription: { readonly get: { readonly path: "/nebius.vpc.v1alpha1.SubnetService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetSubnetRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetSubnetRequest; readonly responseSerialize: (value: Subnet) => Buffer; readonly responseDeserialize: (value: Buffer) => Subnet; }; readonly getByName: { readonly path: "/nebius.vpc.v1alpha1.SubnetService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetSubnetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetSubnetByNameRequest; readonly responseSerialize: (value: Subnet) => Buffer; readonly responseDeserialize: (value: Buffer) => Subnet; }; readonly list: { readonly path: "/nebius.vpc.v1alpha1.SubnetService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListSubnetsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListSubnetsRequest; readonly responseSerialize: (value: ListSubnetsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListSubnetsResponse; }; readonly listByNetwork: { readonly path: "/nebius.vpc.v1alpha1.SubnetService/ListByNetwork"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListSubnetsByNetworkRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListSubnetsByNetworkRequest; readonly responseSerialize: (value: ListSubnetsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListSubnetsResponse; }; }; /** * Handles server calls for the `nebius.vpc.v1alpha1.SubnetService` service. */ export interface SubnetServiceServer extends UntypedServiceImplementation { /** * Handles the `Get` RPC. */ get: handleUnaryCall; /** * Handles the `GetByName` RPC. */ getByName: handleUnaryCall; /** * Handles the `List` RPC. */ list: handleUnaryCall; /** * Handles the `ListByNetwork` RPC. */ listByNetwork: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.vpc.v1alpha1.SubnetService` service. */ export interface SubnetServiceBaseClient extends Client { /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Subnet) => void): ClientUnaryCall; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Subnet) => void): ClientUnaryCall; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListSubnetsResponse) => void): ClientUnaryCall; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListSubnetsResponse) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.vpc.v1alpha1.SubnetService` service. */ export declare const SubnetServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): SubnetServiceBaseClient; /** Contains the gRPC service description. */ service: typeof SubnetServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Calls the `nebius.vpc.v1alpha1.SubnetService` service. */ export interface SubnetService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.vpc.v1alpha1.SubnetService"; /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Calls the `nebius.vpc.v1alpha1.SubnetService` service through the Nebius SDK. */ export declare class SubnetService implements SubnetService { private sdk; $type: "nebius.vpc.v1alpha1.SubnetService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `Get` RPC. */ get(request: GetSubnetRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `GetByName` RPC. */ getByName(request: GetSubnetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `List` RPC. */ list(request: ListSubnetsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Calls the `ListByNetwork` RPC. */ listByNetwork(request: ListSubnetsByNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; } /** * Enumeration of possible states of the subnet. * */ export type SubnetStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** Defines the static values of {@link SubnetStatus_State}. */ export interface SubnetStatus_StateValueMembers { /** * Default state, unspecified. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Subnet is being created. */ readonly CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Subnet is ready for use. */ readonly READY: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; /** * Subnet is being deleted. */ readonly DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING">; } /** Defines the runtime API for {@link SubnetStatus_State}. */ export type SubnetStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "CREATING" | "READY" | "DELETING"> & SubnetStatus_StateValueMembers; /** Converts and creates {@link SubnetStatus_State} values. */ export declare const SubnetStatus_State: SubnetStatus_StateClass; /** * Defines a Subnet, a segment of a network used for more granular control and management. * Subnet uses pools to organize address space. * */ export interface Subnet { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.Subnet"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the subnet resource. * `metadata.parent_id` represents IAM container * */ metadata?: ResourceMetadata | undefined; /** * Specification of the subnet. * */ spec?: SubnetSpec | undefined; /** * Status of the subnet. * */ status?: SubnetStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Subnet} messages. */ export declare const Subnet: MessageFns; /** Represents the `nebius.vpc.v1alpha1.SubnetSpec` protobuf message. */ export interface SubnetSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.SubnetSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Network ID. * */ networkId: string; /** * Pool for addresses * */ pools: SubnetPool[]; /** * Enable egress NAT gateway * */ enableEgressNat: boolean; } /** Encodes, decodes, converts, and creates {@link SubnetSpec} messages. */ export declare const SubnetSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.SubnetPool` protobuf message. */ export interface SubnetPool { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.SubnetPool"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the selected value for the `pool` protobuf oneof. */ pool?: { $case: "spec"; spec: SubnetPoolSpec; } | { $case: "poolId"; poolId: string; } | undefined; } /** Encodes, decodes, converts, and creates {@link SubnetPool} messages. */ export declare const SubnetPool: MessageFns; /** Represents the `nebius.vpc.v1alpha1.SubnetPoolSpec` protobuf message. */ export interface SubnetPoolSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.SubnetPoolSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** Contains the `version` protobuf field. */ version: IpVersion; /** Contains the `cidrs` protobuf field. */ cidrs: SubnetCidr[]; } /** Encodes, decodes, converts, and creates {@link SubnetPoolSpec} messages. */ export declare const SubnetPoolSpec: MessageFns; /** Represents the `nebius.vpc.v1alpha1.SubnetCidr` protobuf message. */ export interface SubnetCidr { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.SubnetCidr"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * CIDR block. * May be a prefix length (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). * */ cidr: string; /** * State of the Cidr. * */ state: PoolCidrState; /** * Maximum mask length for allocation from this cidr * */ allowedMask: Long; } /** Encodes, decodes, converts, and creates {@link SubnetCidr} messages. */ export declare const SubnetCidr: MessageFns; /** Represents the `nebius.vpc.v1alpha1.SubnetStatus` protobuf message. */ export interface SubnetStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.vpc.v1alpha1.SubnetStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Current state of the subnet. * */ state: SubnetStatus_State; /** * CIDR blocks. * */ ipv4Cidrs: string[]; } /** Encodes, decodes, converts, and creates {@link SubnetStatus} messages. */ export declare const SubnetStatus: MessageFns; //# sourceMappingURL=index.d.ts.map