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 { GetOperationRequest, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js"; /** * Request to create a quota allowance with the specified spec and metadata. * */ export interface CreateQuotaAllowanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.CreateQuotaAllowanceRequest"; /** 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?: QuotaAllowanceSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateQuotaAllowanceRequest} messages. */ export declare const CreateQuotaAllowanceRequest: MessageFns; /** * Request to update an existing quota allowance using its metadata and the new spec. * */ export interface UpdateQuotaAllowanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.UpdateQuotaAllowanceRequest"; /** 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?: QuotaAllowanceSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateQuotaAllowanceRequest} messages. */ export declare const UpdateQuotaAllowanceRequest: MessageFns; /** * Request to delete a quota allowance by its identifier. * */ export interface DeleteQuotaAllowanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.DeleteQuotaAllowanceRequest"; /** 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 quota. * */ id: string; } /** Encodes, decodes, converts, and creates {@link DeleteQuotaAllowanceRequest} messages. */ export declare const DeleteQuotaAllowanceRequest: MessageFns; /** * Request to list quota allowances under a container with pagination support. * */ export interface ListQuotaAllowancesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.ListQuotaAllowancesRequest"; /** 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 Container to list quotas for. * */ parentId: string; /** * Page size. Must be between [1...1000]. * Optional; if not specified, a reasonable default will be chosen by the service. * */ pageSize: Long; /** * Listing continuation token. Pass an empty string to start listing from the first page. * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListQuotaAllowancesRequest} messages. */ export declare const ListQuotaAllowancesRequest: MessageFns; /** * Request to get a quota allowance by its identifier. * */ export interface GetQuotaAllowanceRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.GetQuotaAllowanceRequest"; /** 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 quota. * */ id: string; } /** Encodes, decodes, converts, and creates {@link GetQuotaAllowanceRequest} messages. */ export declare const GetQuotaAllowanceRequest: MessageFns; /** * Response containing quota allowances and pagination token. * */ export interface ListQuotaAllowancesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.ListQuotaAllowancesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * List of quota allowances on this result page. * */ items: QuotaAllowance[]; /** * Listing continuation token for the next page of results. * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListQuotaAllowancesResponse} messages. */ export declare const ListQuotaAllowancesResponse: MessageFns; /** * Request to get a quota allowance by container, name, and region. * */ export interface GetByNameRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.GetByNameRequest"; /** 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 Container to list quotas for. * */ parentId: string; /** * Name of the quota. * Example: "compute.disk.size.network-ssd". * */ name: string; /** * Name of the region where the quota is allocated. * Example: "eu-north1". * */ region: string; } /** Encodes, decodes, converts, and creates {@link GetByNameRequest} messages. */ export declare const GetByNameRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.quotas.v1.QuotaAllowanceService` service. */ export type QuotaAllowanceServiceServiceDescription = typeof QuotaAllowanceServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.quotas.v1.QuotaAllowanceService` service. */ export declare const QuotaAllowanceServiceServiceDescription: { readonly list: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListQuotaAllowancesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListQuotaAllowancesRequest; readonly responseSerialize: (value: ListQuotaAllowancesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListQuotaAllowancesResponse; }; readonly get: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetQuotaAllowanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetQuotaAllowanceRequest; readonly responseSerialize: (value: QuotaAllowance) => Buffer; readonly responseDeserialize: (value: Buffer) => QuotaAllowance; }; readonly getByName: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: QuotaAllowance) => Buffer; readonly responseDeserialize: (value: Buffer) => QuotaAllowance; }; readonly create: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateQuotaAllowanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateQuotaAllowanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateQuotaAllowanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateQuotaAllowanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.quotas.v1.QuotaAllowanceService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteQuotaAllowanceRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteQuotaAllowanceRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.quotas.v1.QuotaAllowanceService` service. */ export interface QuotaAllowanceServiceServer extends UntypedServiceImplementation { /** * Lists quota allowances for the specified Tenant or Project. * */ list: handleUnaryCall; /** * Gets a quota allowance by its ID. * */ get: handleUnaryCall; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName: handleUnaryCall; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create: handleUnaryCall; /** * Updates a quota allowance by its ID. * */ update: handleUnaryCall; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.quotas.v1.QuotaAllowanceService` service. */ export interface QuotaAllowanceServiceBaseClient extends Client { /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListQuotaAllowancesResponse) => void): ClientUnaryCall; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: QuotaAllowance) => void): ClientUnaryCall; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: QuotaAllowance) => void): ClientUnaryCall; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.quotas.v1.QuotaAllowanceService` service. */ export declare const QuotaAllowanceServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): QuotaAllowanceServiceBaseClient; /** Contains the gRPC service description. */ service: typeof QuotaAllowanceServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Manages quota allowances for tenants and projects, including listing, retrieval, and lifecycle operations. * */ export interface QuotaAllowanceService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.quotas.v1.QuotaAllowanceService"; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest): SDKRequestClass; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest, metadata: Metadata): SDKRequestClass; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest): SDKRequestClass>; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.quotas.v1.QuotaAllowanceService` service through the Nebius SDK. */ export declare class QuotaAllowanceService implements QuotaAllowanceService { private sdk; $type: "nebius.quotas.v1.QuotaAllowanceService"; 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; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest): SDKRequestClass; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest, metadata: Metadata): SDKRequestClass; /** * Lists quota allowances for the specified Tenant or Project. * */ list(request: ListQuotaAllowancesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass; /** * Gets a quota allowance by its ID. * */ get(request: GetQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets a quota allowance for a Tenant or Project by container ID, region, and name. * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest): SDKRequestClass>; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a quota allowance for a Project. * If the quota already exists, its value is replaced with the provided one. * */ create(request: CreateQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Updates a quota allowance by its ID. * */ update(request: UpdateQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes a quota by its ID. * This is used to reset the quota value. It does not remove the quota entry. * */ delete(request: DeleteQuotaAllowanceRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Represents the `nebius.quotas.v1.QuotaAllowanceStatus.State` protobuf enum. */ export type QuotaAllowanceStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; /** Defines the static values of {@link QuotaAllowanceStatus_State}. */ export interface QuotaAllowanceStatus_StateValueMembers { /** * Represents the `STATE_UNSPECIFIED` protobuf enum value. */ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; /** * Quota is being allocated; the process can take up to several minutes. * */ readonly STATE_PROVISIONING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; /** * Quota is allocated and can be used. * */ readonly STATE_ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; /** * Quota is allocated but cannot be used any longer * */ readonly STATE_FROZEN: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; /** * Quota has been removed and is no longer allocated. * */ readonly STATE_DELETED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED">; } /** Defines the runtime API for {@link QuotaAllowanceStatus_State}. */ export type QuotaAllowanceStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_PROVISIONING" | "STATE_ACTIVE" | "STATE_FROZEN" | "STATE_DELETED"> & QuotaAllowanceStatus_StateValueMembers; /** Converts and creates {@link QuotaAllowanceStatus_State} values. */ export declare const QuotaAllowanceStatus_State: QuotaAllowanceStatus_StateClass; /** * Represents the `nebius.quotas.v1.QuotaAllowanceStatus.UsageState` protobuf enum. */ export type QuotaAllowanceStatus_UsageState = EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; /** Defines the static values of {@link QuotaAllowanceStatus_UsageState}. */ export interface QuotaAllowanceStatus_UsageStateValueMembers { /** * Represents the `USAGE_STATE_UNSPECIFIED` protobuf enum value. */ readonly USAGE_STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; /** * Quota is actively in use. * */ readonly USAGE_STATE_USED: EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; /** * Quota is not currently in use. * */ readonly USAGE_STATE_NOT_USED: EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; /** * Quota region is unreachable, the current usage is therefore unknown. * Please, retry the request later. * */ readonly USAGE_STATE_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; /** * Quota usage is not applicable * */ readonly USAGE_STATE_NOT_APPLICABLE: EnumInstance<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE">; } /** Defines the runtime API for {@link QuotaAllowanceStatus_UsageState}. */ export type QuotaAllowanceStatus_UsageStateClass = EnumClass<"UNRECOGNIZED" | "USAGE_STATE_UNSPECIFIED" | "USAGE_STATE_USED" | "USAGE_STATE_NOT_USED" | "USAGE_STATE_UNKNOWN" | "USAGE_STATE_NOT_APPLICABLE"> & QuotaAllowanceStatus_UsageStateValueMembers; /** Converts and creates {@link QuotaAllowanceStatus_UsageState} values. */ export declare const QuotaAllowanceStatus_UsageState: QuotaAllowanceStatus_UsageStateClass; /** Represents the `nebius.quotas.v1.QuotaAllowanceSpec` protobuf message. */ export interface QuotaAllowanceSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.QuotaAllowanceSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Total amount of resources allocated. * */ limit?: Long | undefined; /** * Name of the region where the quota is allocated. * Example: "eu-north1". * */ region: string; } /** Encodes, decodes, converts, and creates {@link QuotaAllowanceSpec} messages. */ export declare const QuotaAllowanceSpec: MessageFns; /** Represents the `nebius.quotas.v1.QuotaAllowanceStatus` protobuf message. */ export interface QuotaAllowanceStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.QuotaAllowanceStatus"; /** 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 quota. * */ state: QuotaAllowanceStatus_State; /** * Current quota usage. * */ usage: Long; /** * Service in which the quota is allocated. * Example: "mk8s". * */ service: string; /** * Human-readable description of the quota. * Example: "Total RAM across VMs". * */ description: string; /** * Human-readable name of the service managing the quota. * Example: "Managed Kubernetes®". * */ serviceDescription: string; /** * Quota unit. * Example: "byte". * */ unit: string; /** * Current quota usage as a percentage. * Values range from 0.0 to 1.0, representing 0% to 100%. * Values can exceed 1.0 if usage exceeds the limit. * Example: "0.12". * */ usagePercentage: string; /** * Current state of the quota usage. * */ usageState: QuotaAllowanceStatus_UsageState; } /** Encodes, decodes, converts, and creates {@link QuotaAllowanceStatus} messages. */ export declare const QuotaAllowanceStatus: MessageFns; /** Represents the `nebius.quotas.v1.QuotaAllowance` protobuf message. */ export interface QuotaAllowance { /** Contains the fully qualified protobuf type name. */ $type: "nebius.quotas.v1.QuotaAllowance"; /** 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?: QuotaAllowanceSpec | undefined; /** Contains the `status` protobuf field. */ status?: QuotaAllowanceStatus | undefined; } /** Encodes, decodes, converts, and creates {@link QuotaAllowance} messages. */ export declare const QuotaAllowance: MessageFns; //# sourceMappingURL=index.d.ts.map