@nebius/js-sdk 0.2.64 → 0.2.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/cjs/api/nebius/ai/v1/index.d.ts +81 -0
  2. package/dist/cjs/api/nebius/ai/v1/index.d.ts.map +1 -1
  3. package/dist/cjs/api/nebius/ai/v1/index.js +545 -1
  4. package/dist/cjs/api/nebius/ai/v1/index.js.map +1 -1
  5. package/dist/cjs/api/nebius/billing/v1/index.d.ts +714 -2
  6. package/dist/cjs/api/nebius/billing/v1/index.d.ts.map +1 -1
  7. package/dist/cjs/api/nebius/billing/v1/index.js +1970 -1
  8. package/dist/cjs/api/nebius/billing/v1/index.js.map +1 -1
  9. package/dist/cjs/api/nebius/compute/v1/index.d.ts +60 -2
  10. package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +1 -1
  11. package/dist/cjs/api/nebius/compute/v1/index.js +382 -2
  12. package/dist/cjs/api/nebius/compute/v1/index.js.map +1 -1
  13. package/dist/cjs/api/nebius/iam/v1/index.d.ts +28 -8
  14. package/dist/cjs/api/nebius/iam/v1/index.d.ts.map +1 -1
  15. package/dist/cjs/api/nebius/iam/v1/index.js +25 -5
  16. package/dist/cjs/api/nebius/iam/v1/index.js.map +1 -1
  17. package/dist/cjs/version.d.ts +1 -1
  18. package/dist/cjs/version.js +1 -1
  19. package/dist/esm/api/nebius/ai/v1/index.d.ts +81 -0
  20. package/dist/esm/api/nebius/ai/v1/index.d.ts.map +1 -1
  21. package/dist/esm/api/nebius/ai/v1/index.js +544 -0
  22. package/dist/esm/api/nebius/ai/v1/index.js.map +1 -1
  23. package/dist/esm/api/nebius/billing/v1/index.d.ts +714 -2
  24. package/dist/esm/api/nebius/billing/v1/index.d.ts.map +1 -1
  25. package/dist/esm/api/nebius/billing/v1/index.js +1970 -2
  26. package/dist/esm/api/nebius/billing/v1/index.js.map +1 -1
  27. package/dist/esm/api/nebius/compute/v1/index.d.ts +60 -2
  28. package/dist/esm/api/nebius/compute/v1/index.d.ts.map +1 -1
  29. package/dist/esm/api/nebius/compute/v1/index.js +380 -0
  30. package/dist/esm/api/nebius/compute/v1/index.js.map +1 -1
  31. package/dist/esm/api/nebius/iam/v1/index.d.ts +28 -8
  32. package/dist/esm/api/nebius/iam/v1/index.d.ts.map +1 -1
  33. package/dist/esm/api/nebius/iam/v1/index.js +25 -5
  34. package/dist/esm/api/nebius/iam/v1/index.js.map +1 -1
  35. package/dist/esm/version.d.ts +1 -1
  36. package/dist/esm/version.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/cjs/api/nebius/monitoring/v1/index.d.ts +0 -607
  39. package/dist/cjs/api/nebius/monitoring/v1/index.d.ts.map +0 -1
  40. package/dist/cjs/api/nebius/monitoring/v1/index.js +0 -1538
  41. package/dist/cjs/api/nebius/monitoring/v1/index.js.map +0 -1
  42. package/dist/cjs/api/nebius/monitoring/v1.d.ts +0 -1
  43. package/dist/cjs/api/nebius/monitoring/v1.js +0 -2
  44. package/dist/esm/api/nebius/monitoring/v1/index.d.ts +0 -607
  45. package/dist/esm/api/nebius/monitoring/v1/index.d.ts.map +0 -1
  46. package/dist/esm/api/nebius/monitoring/v1/index.js +0 -1534
  47. package/dist/esm/api/nebius/monitoring/v1/index.js.map +0 -1
  48. package/dist/esm/api/nebius/monitoring/v1.d.ts +0 -1
  49. package/dist/esm/api/nebius/monitoring/v1.js +0 -1
@@ -1,10 +1,11 @@
1
- import { unknownFieldsSymbol } from "../../../../runtime/protos/index.js";
1
+ import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js";
2
2
  import type { MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js";
3
3
  import { customJson } from "../../../../runtime/util/logging.js";
4
4
  import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js";
5
5
  import type { SDKInterface } from "../../../../sdk.js";
6
6
  import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js";
7
- import { ResourceMetadata } from "../../common/v1/index.js";
7
+ import { Operation as OperationWrapper } from "../../../../runtime/operation.js";
8
+ import { GetByNameRequest, GetOperationRequest, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js";
8
9
  /** Represents the `nebius.billing.v1.EstimateBatchRequest` protobuf message. */
9
10
  export interface EstimateBatchRequest {
10
11
  /** Contains the fully qualified protobuf type name. */
@@ -606,4 +607,715 @@ export interface OfferTypeValueMembers {
606
607
  export type OfferTypeClass = EnumClass<"UNRECOGNIZED" | "OFFER_TYPE_UNSPECIFIED" | "OFFER_TYPE_CONTRACT_PRICE"> & OfferTypeValueMembers;
607
608
  /** Converts and creates {@link OfferType} values. */
608
609
  export declare const OfferType: OfferTypeClass;
610
+ /** Represents the `nebius.billing.v1.CreatePricingPolicyRequest` protobuf message. */
611
+ export interface CreatePricingPolicyRequest {
612
+ /** Contains the fully qualified protobuf type name. */
613
+ $type: "nebius.billing.v1.CreatePricingPolicyRequest";
614
+ /** Preserves protobuf fields that this SDK version does not recognize. */
615
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
616
+ /** Returns a safe value for JSON logs. */
617
+ [customJson]?: () => unknown;
618
+ /** Contains the `metadata` protobuf field. */
619
+ metadata?: ResourceMetadata | undefined;
620
+ /** Contains the `spec` protobuf field. */
621
+ spec?: PricingPolicySpec | undefined;
622
+ }
623
+ /** Encodes, decodes, converts, and creates {@link CreatePricingPolicyRequest} messages. */
624
+ export declare const CreatePricingPolicyRequest: MessageFns<CreatePricingPolicyRequest, "nebius.billing.v1.CreatePricingPolicyRequest">;
625
+ /** Represents the `nebius.billing.v1.GetPricingPolicyRequest` protobuf message. */
626
+ export interface GetPricingPolicyRequest {
627
+ /** Contains the fully qualified protobuf type name. */
628
+ $type: "nebius.billing.v1.GetPricingPolicyRequest";
629
+ /** Preserves protobuf fields that this SDK version does not recognize. */
630
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
631
+ /** Returns a safe value for JSON logs. */
632
+ [customJson]?: () => unknown;
633
+ /** Contains the `id` protobuf field. */
634
+ id: string;
635
+ }
636
+ /** Encodes, decodes, converts, and creates {@link GetPricingPolicyRequest} messages. */
637
+ export declare const GetPricingPolicyRequest: MessageFns<GetPricingPolicyRequest, "nebius.billing.v1.GetPricingPolicyRequest">;
638
+ /** Represents the `nebius.billing.v1.ListPricingPoliciesRequest` protobuf message. */
639
+ export interface ListPricingPoliciesRequest {
640
+ /** Contains the fully qualified protobuf type name. */
641
+ $type: "nebius.billing.v1.ListPricingPoliciesRequest";
642
+ /** Preserves protobuf fields that this SDK version does not recognize. */
643
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
644
+ /** Returns a safe value for JSON logs. */
645
+ [customJson]?: () => unknown;
646
+ /** Contains the `parent_id` protobuf field. */
647
+ parentId: string;
648
+ /** Contains the `page_size` protobuf field. */
649
+ pageSize: Long;
650
+ /** Contains the `page_token` protobuf field. */
651
+ pageToken: string;
652
+ }
653
+ /** Encodes, decodes, converts, and creates {@link ListPricingPoliciesRequest} messages. */
654
+ export declare const ListPricingPoliciesRequest: MessageFns<ListPricingPoliciesRequest, "nebius.billing.v1.ListPricingPoliciesRequest">;
655
+ /** Represents the `nebius.billing.v1.ListPricingPoliciesResponse` protobuf message. */
656
+ export interface ListPricingPoliciesResponse {
657
+ /** Contains the fully qualified protobuf type name. */
658
+ $type: "nebius.billing.v1.ListPricingPoliciesResponse";
659
+ /** Preserves protobuf fields that this SDK version does not recognize. */
660
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
661
+ /** Returns a safe value for JSON logs. */
662
+ [customJson]?: () => unknown;
663
+ /** Contains the `items` protobuf field. */
664
+ items: PricingPolicy[];
665
+ /** Contains the `next_page_token` protobuf field. */
666
+ nextPageToken: string;
667
+ }
668
+ /** Encodes, decodes, converts, and creates {@link ListPricingPoliciesResponse} messages. */
669
+ export declare const ListPricingPoliciesResponse: MessageFns<ListPricingPoliciesResponse, "nebius.billing.v1.ListPricingPoliciesResponse">;
670
+ /** Represents the `nebius.billing.v1.UpdatePricingPolicyRequest` protobuf message. */
671
+ export interface UpdatePricingPolicyRequest {
672
+ /** Contains the fully qualified protobuf type name. */
673
+ $type: "nebius.billing.v1.UpdatePricingPolicyRequest";
674
+ /** Preserves protobuf fields that this SDK version does not recognize. */
675
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
676
+ /** Returns a safe value for JSON logs. */
677
+ [customJson]?: () => unknown;
678
+ /** Contains the `metadata` protobuf field. */
679
+ metadata?: ResourceMetadata | undefined;
680
+ /** Contains the `spec` protobuf field. */
681
+ spec?: PricingPolicySpec | undefined;
682
+ }
683
+ /** Encodes, decodes, converts, and creates {@link UpdatePricingPolicyRequest} messages. */
684
+ export declare const UpdatePricingPolicyRequest: MessageFns<UpdatePricingPolicyRequest, "nebius.billing.v1.UpdatePricingPolicyRequest">;
685
+ /** Represents the `nebius.billing.v1.DeletePricingPolicyRequest` protobuf message. */
686
+ export interface DeletePricingPolicyRequest {
687
+ /** Contains the fully qualified protobuf type name. */
688
+ $type: "nebius.billing.v1.DeletePricingPolicyRequest";
689
+ /** Preserves protobuf fields that this SDK version does not recognize. */
690
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
691
+ /** Returns a safe value for JSON logs. */
692
+ [customJson]?: () => unknown;
693
+ /** Contains the `id` protobuf field. */
694
+ id: string;
695
+ }
696
+ /** Encodes, decodes, converts, and creates {@link DeletePricingPolicyRequest} messages. */
697
+ export declare const DeletePricingPolicyRequest: MessageFns<DeletePricingPolicyRequest, "nebius.billing.v1.DeletePricingPolicyRequest">;
698
+ /**
699
+ * Defines the gRPC methods for the `nebius.billing.v1.PricingPolicyService` service.
700
+ */
701
+ export type PricingPolicyServiceServiceDescription = typeof PricingPolicyServiceServiceDescription;
702
+ /**
703
+ * Describes the gRPC methods for the `nebius.billing.v1.PricingPolicyService` service.
704
+ */
705
+ export declare const PricingPolicyServiceServiceDescription: {
706
+ readonly create: {
707
+ readonly path: "/nebius.billing.v1.PricingPolicyService/Create";
708
+ readonly requestStream: false;
709
+ readonly responseStream: false;
710
+ readonly requestSerialize: (value: CreatePricingPolicyRequest) => Buffer<ArrayBuffer>;
711
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
712
+ readonly sendResetMask: false;
713
+ readonly requestDeserialize: (value: Buffer) => CreatePricingPolicyRequest;
714
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
715
+ readonly responseDeserialize: (value: Buffer) => Operation;
716
+ };
717
+ readonly get: {
718
+ readonly path: "/nebius.billing.v1.PricingPolicyService/Get";
719
+ readonly requestStream: false;
720
+ readonly responseStream: false;
721
+ readonly requestSerialize: (value: GetPricingPolicyRequest) => Buffer<ArrayBuffer>;
722
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
723
+ readonly sendResetMask: false;
724
+ readonly requestDeserialize: (value: Buffer) => GetPricingPolicyRequest;
725
+ readonly responseSerialize: (value: PricingPolicy) => Buffer<ArrayBuffer>;
726
+ readonly responseDeserialize: (value: Buffer) => PricingPolicy;
727
+ };
728
+ readonly getByName: {
729
+ readonly path: "/nebius.billing.v1.PricingPolicyService/GetByName";
730
+ readonly requestStream: false;
731
+ readonly responseStream: false;
732
+ readonly requestSerialize: (value: GetByNameRequest) => Buffer<ArrayBuffer>;
733
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
734
+ readonly sendResetMask: false;
735
+ readonly requestDeserialize: (value: Buffer) => GetByNameRequest;
736
+ readonly responseSerialize: (value: PricingPolicy) => Buffer<ArrayBuffer>;
737
+ readonly responseDeserialize: (value: Buffer) => PricingPolicy;
738
+ };
739
+ readonly list: {
740
+ readonly path: "/nebius.billing.v1.PricingPolicyService/List";
741
+ readonly requestStream: false;
742
+ readonly responseStream: false;
743
+ readonly requestSerialize: (value: ListPricingPoliciesRequest) => Buffer<ArrayBuffer>;
744
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
745
+ readonly sendResetMask: false;
746
+ readonly requestDeserialize: (value: Buffer) => ListPricingPoliciesRequest;
747
+ readonly responseSerialize: (value: ListPricingPoliciesResponse) => Buffer<ArrayBuffer>;
748
+ readonly responseDeserialize: (value: Buffer) => ListPricingPoliciesResponse;
749
+ };
750
+ readonly update: {
751
+ readonly path: "/nebius.billing.v1.PricingPolicyService/Update";
752
+ readonly requestStream: false;
753
+ readonly responseStream: false;
754
+ readonly requestSerialize: (value: UpdatePricingPolicyRequest) => Buffer<ArrayBuffer>;
755
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
756
+ readonly sendResetMask: true;
757
+ readonly requestDeserialize: (value: Buffer) => UpdatePricingPolicyRequest;
758
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
759
+ readonly responseDeserialize: (value: Buffer) => Operation;
760
+ };
761
+ readonly delete: {
762
+ readonly path: "/nebius.billing.v1.PricingPolicyService/Delete";
763
+ readonly requestStream: false;
764
+ readonly responseStream: false;
765
+ readonly requestSerialize: (value: DeletePricingPolicyRequest) => Buffer<ArrayBuffer>;
766
+ readonly requestDescriptor: () => MessageDescriptor | undefined;
767
+ readonly sendResetMask: false;
768
+ readonly requestDeserialize: (value: Buffer) => DeletePricingPolicyRequest;
769
+ readonly responseSerialize: (value: Operation) => Buffer<ArrayBuffer>;
770
+ readonly responseDeserialize: (value: Buffer) => Operation;
771
+ };
772
+ };
773
+ /**
774
+ * Handles server calls for the `nebius.billing.v1.PricingPolicyService` service.
775
+ */
776
+ export interface PricingPolicyServiceServer extends UntypedServiceImplementation {
777
+ /**
778
+ * Creates a pricing policy. A bid outside the allowed price range fails
779
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
780
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
781
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
782
+ * The Operation completes once the policy is ready to back VMs.
783
+ *
784
+ */
785
+ create: handleUnaryCall<CreatePricingPolicyRequest, Operation>;
786
+ /**
787
+ * Handles the `Get` RPC.
788
+ */
789
+ get: handleUnaryCall<GetPricingPolicyRequest, PricingPolicy>;
790
+ /**
791
+ * Handles the `GetByName` RPC.
792
+ */
793
+ getByName: handleUnaryCall<GetByNameRequest, PricingPolicy>;
794
+ /**
795
+ * Handles the `List` RPC.
796
+ */
797
+ list: handleUnaryCall<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
798
+ /**
799
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
800
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
801
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
802
+ * (INVALID_ARGUMENT).
803
+ *
804
+ */
805
+ update: handleUnaryCall<UpdatePricingPolicyRequest, Operation>;
806
+ /**
807
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
808
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
809
+ *
810
+ */
811
+ delete: handleUnaryCall<DeletePricingPolicyRequest, Operation>;
812
+ }
813
+ /**
814
+ * Defines the low-level gRPC client for the `nebius.billing.v1.PricingPolicyService` service.
815
+ */
816
+ export interface PricingPolicyServiceBaseClient extends Client {
817
+ /**
818
+ * Creates a pricing policy. A bid outside the allowed price range fails
819
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
820
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
821
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
822
+ * The Operation completes once the policy is ready to back VMs.
823
+ *
824
+ */
825
+ create(request: CreatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
826
+ /**
827
+ * Calls the `Get` RPC.
828
+ */
829
+ get(request: GetPricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: PricingPolicy) => void): ClientUnaryCall;
830
+ /**
831
+ * Calls the `GetByName` RPC.
832
+ */
833
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: PricingPolicy) => void): ClientUnaryCall;
834
+ /**
835
+ * Calls the `List` RPC.
836
+ */
837
+ list(request: ListPricingPoliciesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: ListPricingPoliciesResponse) => void): ClientUnaryCall;
838
+ /**
839
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
840
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
841
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
842
+ * (INVALID_ARGUMENT).
843
+ *
844
+ */
845
+ update(request: UpdatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
846
+ /**
847
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
848
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
849
+ *
850
+ */
851
+ delete(request: DeletePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall;
852
+ }
853
+ /**
854
+ * Creates low-level gRPC clients for the `nebius.billing.v1.PricingPolicyService` service.
855
+ */
856
+ export declare const PricingPolicyServiceBaseClient: {
857
+ /** Creates a low-level client for the service address. */
858
+ new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): PricingPolicyServiceBaseClient;
859
+ /** Contains the gRPC service description. */
860
+ service: typeof PricingPolicyServiceServiceDescription;
861
+ /** Contains the fully qualified protobuf service name. */
862
+ serviceName: string;
863
+ };
864
+ /**
865
+ * Manages pricing policies for preemptible VMs.
866
+ * Modifying methods return an Operation and support `X-Idempotency-Key`;
867
+ * the common `common.v1.OperationService` is implemented as well.
868
+ *
869
+ */
870
+ export interface PricingPolicyService {
871
+ /** Contains the fully qualified protobuf service name. */
872
+ $type: "nebius.billing.v1.PricingPolicyService";
873
+ /**
874
+ * Creates a pricing policy. A bid outside the allowed price range fails
875
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
876
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
877
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
878
+ * The Operation completes once the policy is ready to back VMs.
879
+ *
880
+ */
881
+ create(request: CreatePricingPolicyRequest): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
882
+ /**
883
+ * Creates a pricing policy. A bid outside the allowed price range fails
884
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
885
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
886
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
887
+ * The Operation completes once the policy is ready to back VMs.
888
+ *
889
+ */
890
+ create(request: CreatePricingPolicyRequest, metadata: Metadata): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
891
+ /**
892
+ * Creates a pricing policy. A bid outside the allowed price range fails
893
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
894
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
895
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
896
+ * The Operation completes once the policy is ready to back VMs.
897
+ *
898
+ */
899
+ create(request: CreatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
900
+ /**
901
+ * Calls the `Get` RPC.
902
+ */
903
+ get(request: GetPricingPolicyRequest): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
904
+ /**
905
+ * Calls the `Get` RPC.
906
+ */
907
+ get(request: GetPricingPolicyRequest, metadata: Metadata): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
908
+ /**
909
+ * Calls the `Get` RPC.
910
+ */
911
+ get(request: GetPricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
912
+ /**
913
+ * Calls the `GetByName` RPC.
914
+ */
915
+ getByName(request: GetByNameRequest): SDKRequestClass<GetByNameRequest, PricingPolicy>;
916
+ /**
917
+ * Calls the `GetByName` RPC.
918
+ */
919
+ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass<GetByNameRequest, PricingPolicy>;
920
+ /**
921
+ * Calls the `GetByName` RPC.
922
+ */
923
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetByNameRequest, PricingPolicy>;
924
+ /**
925
+ * Calls the `List` RPC.
926
+ */
927
+ list(request: ListPricingPoliciesRequest): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
928
+ /**
929
+ * Calls the `List` RPC.
930
+ */
931
+ list(request: ListPricingPoliciesRequest, metadata: Metadata): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
932
+ /**
933
+ * Calls the `List` RPC.
934
+ */
935
+ list(request: ListPricingPoliciesRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
936
+ /**
937
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
938
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
939
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
940
+ * (INVALID_ARGUMENT).
941
+ *
942
+ */
943
+ update(request: UpdatePricingPolicyRequest): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
944
+ /**
945
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
946
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
947
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
948
+ * (INVALID_ARGUMENT).
949
+ *
950
+ */
951
+ update(request: UpdatePricingPolicyRequest, metadata: Metadata): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
952
+ /**
953
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
954
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
955
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
956
+ * (INVALID_ARGUMENT).
957
+ *
958
+ */
959
+ update(request: UpdatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
960
+ /**
961
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
962
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
963
+ *
964
+ */
965
+ delete(request: DeletePricingPolicyRequest): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
966
+ /**
967
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
968
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
969
+ *
970
+ */
971
+ delete(request: DeletePricingPolicyRequest, metadata: Metadata): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
972
+ /**
973
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
974
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
975
+ *
976
+ */
977
+ delete(request: DeletePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
978
+ }
979
+ /**
980
+ * Calls the `nebius.billing.v1.PricingPolicyService` service through the Nebius SDK.
981
+ */
982
+ export declare class PricingPolicyService implements PricingPolicyService {
983
+ private sdk;
984
+ $type: "nebius.billing.v1.PricingPolicyService";
985
+ private addr;
986
+ private spec;
987
+ private apiServiceName;
988
+ /** Creates a client that uses the SDK service address. */
989
+ constructor(sdk: SDKInterface);
990
+ /** Returns the operation service for this service address. */
991
+ getOperationService(): OperationService;
992
+ /**
993
+ * Creates a pricing policy. A bid outside the allowed price range fails
994
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
995
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
996
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
997
+ * The Operation completes once the policy is ready to back VMs.
998
+ *
999
+ */
1000
+ create(request: CreatePricingPolicyRequest): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1001
+ /**
1002
+ * Creates a pricing policy. A bid outside the allowed price range fails
1003
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
1004
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
1005
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
1006
+ * The Operation completes once the policy is ready to back VMs.
1007
+ *
1008
+ */
1009
+ create(request: CreatePricingPolicyRequest, metadata: Metadata): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1010
+ /**
1011
+ * Creates a pricing policy. A bid outside the allowed price range fails
1012
+ * with OUT_OF_RANGE; below the current market price it is accepted but the
1013
+ * policy starts SCHEDULING_STATE_BLOCKED. Policies per tenant are
1014
+ * quota-limited (RESOURCE_EXHAUSTED past the limit).
1015
+ * The Operation completes once the policy is ready to back VMs.
1016
+ *
1017
+ */
1018
+ create(request: CreatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<CreatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1019
+ /**
1020
+ * Calls the `Get` RPC.
1021
+ */
1022
+ get(request: GetPricingPolicyRequest): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
1023
+ /**
1024
+ * Calls the `Get` RPC.
1025
+ */
1026
+ get(request: GetPricingPolicyRequest, metadata: Metadata): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
1027
+ /**
1028
+ * Calls the `Get` RPC.
1029
+ */
1030
+ get(request: GetPricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetPricingPolicyRequest, PricingPolicy>;
1031
+ /**
1032
+ * Calls the `GetByName` RPC.
1033
+ */
1034
+ getByName(request: GetByNameRequest): SDKRequestClass<GetByNameRequest, PricingPolicy>;
1035
+ /**
1036
+ * Calls the `GetByName` RPC.
1037
+ */
1038
+ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass<GetByNameRequest, PricingPolicy>;
1039
+ /**
1040
+ * Calls the `GetByName` RPC.
1041
+ */
1042
+ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetByNameRequest, PricingPolicy>;
1043
+ /**
1044
+ * Calls the `List` RPC.
1045
+ */
1046
+ list(request: ListPricingPoliciesRequest): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
1047
+ /**
1048
+ * Calls the `List` RPC.
1049
+ */
1050
+ list(request: ListPricingPoliciesRequest, metadata: Metadata): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
1051
+ /**
1052
+ * Calls the `List` RPC.
1053
+ */
1054
+ list(request: ListPricingPoliciesRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListPricingPoliciesRequest, ListPricingPoliciesResponse>;
1055
+ /**
1056
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
1057
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
1058
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
1059
+ * (INVALID_ARGUMENT).
1060
+ *
1061
+ */
1062
+ update(request: UpdatePricingPolicyRequest): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1063
+ /**
1064
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
1065
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
1066
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
1067
+ * (INVALID_ARGUMENT).
1068
+ *
1069
+ */
1070
+ update(request: UpdatePricingPolicyRequest, metadata: Metadata): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1071
+ /**
1072
+ * Updates a pricing policy. `metadata.name` may change any time; the bid in
1073
+ * `spec.pricing.max_price_v1` only while `status.running_vm_count` is 0
1074
+ * (FAILED_PRECONDITION otherwise). Other spec fields are immutable
1075
+ * (INVALID_ARGUMENT).
1076
+ *
1077
+ */
1078
+ update(request: UpdatePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<UpdatePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1079
+ /**
1080
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
1081
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
1082
+ *
1083
+ */
1084
+ delete(request: DeletePricingPolicyRequest): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1085
+ /**
1086
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
1087
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
1088
+ *
1089
+ */
1090
+ delete(request: DeletePricingPolicyRequest, metadata: Metadata): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1091
+ /**
1092
+ * Deletes a pricing policy. Requires that no VM runs under the policy and
1093
+ * nothing is being preempted (FAILED_PRECONDITION otherwise).
1094
+ *
1095
+ */
1096
+ delete(request: DeletePricingPolicyRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<DeletePricingPolicyRequest, OperationWrapper<GetOperationRequest>>;
1097
+ }
1098
+ /**
1099
+ * Represents the `nebius.billing.v1.PricingPolicyStatus.State` protobuf enum.
1100
+ */
1101
+ export type PricingPolicyStatus_State = EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1102
+ /** Defines the static values of {@link PricingPolicyStatus_State}. */
1103
+ export interface PricingPolicyStatus_StateValueMembers {
1104
+ /**
1105
+ * Represents the `STATE_UNSPECIFIED` protobuf enum value.
1106
+ */
1107
+ readonly STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1108
+ /**
1109
+ * Not ready yet; a VM referencing the policy gets a retryable error.
1110
+ *
1111
+ */
1112
+ readonly STATE_CREATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1113
+ /**
1114
+ * Ready; whether VMs may start is `scheduling_state`.
1115
+ *
1116
+ */
1117
+ readonly STATE_ACTIVE: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1118
+ /**
1119
+ * Being deleted; does not accept new VMs.
1120
+ *
1121
+ */
1122
+ readonly STATE_DELETING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1123
+ /**
1124
+ * The bid is being changed; scheduling is blocked until the change lands.
1125
+ *
1126
+ */
1127
+ readonly STATE_UPDATING: EnumInstance<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING">;
1128
+ }
1129
+ /** Defines the runtime API for {@link PricingPolicyStatus_State}. */
1130
+ export type PricingPolicyStatus_StateClass = EnumClass<"UNRECOGNIZED" | "STATE_UNSPECIFIED" | "STATE_CREATING" | "STATE_ACTIVE" | "STATE_DELETING" | "STATE_UPDATING"> & PricingPolicyStatus_StateValueMembers;
1131
+ /** Converts and creates {@link PricingPolicyStatus_State} values. */
1132
+ export declare const PricingPolicyStatus_State: PricingPolicyStatus_StateClass;
1133
+ /**
1134
+ * Represents the `nebius.billing.v1.PricingPolicyStatus.SchedulingState` protobuf enum.
1135
+ */
1136
+ export type PricingPolicyStatus_SchedulingState = EnumInstance<"UNRECOGNIZED" | "SCHEDULING_STATE_UNSPECIFIED" | "SCHEDULING_STATE_ALLOWED" | "SCHEDULING_STATE_BLOCKED">;
1137
+ /** Defines the static values of {@link PricingPolicyStatus_SchedulingState}. */
1138
+ export interface PricingPolicyStatus_SchedulingStateValueMembers {
1139
+ /**
1140
+ * Represents the `SCHEDULING_STATE_UNSPECIFIED` protobuf enum value.
1141
+ */
1142
+ readonly SCHEDULING_STATE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "SCHEDULING_STATE_UNSPECIFIED" | "SCHEDULING_STATE_ALLOWED" | "SCHEDULING_STATE_BLOCKED">;
1143
+ /**
1144
+ * New VMs may start.
1145
+ *
1146
+ */
1147
+ readonly SCHEDULING_STATE_ALLOWED: EnumInstance<"UNRECOGNIZED" | "SCHEDULING_STATE_UNSPECIFIED" | "SCHEDULING_STATE_ALLOWED" | "SCHEDULING_STATE_BLOCKED">;
1148
+ /**
1149
+ * The max_price limit is below the current market price; VM creation succeeds once
1150
+ * the price falls to it.
1151
+ *
1152
+ */
1153
+ readonly SCHEDULING_STATE_BLOCKED: EnumInstance<"UNRECOGNIZED" | "SCHEDULING_STATE_UNSPECIFIED" | "SCHEDULING_STATE_ALLOWED" | "SCHEDULING_STATE_BLOCKED">;
1154
+ }
1155
+ /** Defines the runtime API for {@link PricingPolicyStatus_SchedulingState}. */
1156
+ export type PricingPolicyStatus_SchedulingStateClass = EnumClass<"UNRECOGNIZED" | "SCHEDULING_STATE_UNSPECIFIED" | "SCHEDULING_STATE_ALLOWED" | "SCHEDULING_STATE_BLOCKED"> & PricingPolicyStatus_SchedulingStateValueMembers;
1157
+ /** Converts and creates {@link PricingPolicyStatus_SchedulingState} values. */
1158
+ export declare const PricingPolicyStatus_SchedulingState: PricingPolicyStatus_SchedulingStateClass;
1159
+ /**
1160
+ * How preemptible VMs are priced: a standing per-GPU bid for one (region, platform).
1161
+ * One policy backs any number of VMs, referenced by id from the preemptible spec.
1162
+ * A VM without a policy is a price-taker and pays the market price.
1163
+ *
1164
+ */
1165
+ export interface PricingPolicy {
1166
+ /** Contains the fully qualified protobuf type name. */
1167
+ $type: "nebius.billing.v1.PricingPolicy";
1168
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1169
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1170
+ /** Returns a safe value for JSON logs. */
1171
+ [customJson]?: () => unknown;
1172
+ /**
1173
+ * Parent is a project, immutable. Only VMs in that scope may
1174
+ * reference the policy. Name is unique within the parent, renamable any time.
1175
+ *
1176
+ */
1177
+ metadata?: ResourceMetadata | undefined;
1178
+ /** Contains the `spec` protobuf field. */
1179
+ spec?: PricingPolicySpec | undefined;
1180
+ /** Contains the `status` protobuf field. */
1181
+ status?: PricingPolicyStatus | undefined;
1182
+ }
1183
+ /** Encodes, decodes, converts, and creates {@link PricingPolicy} messages. */
1184
+ export declare const PricingPolicy: MessageFns<PricingPolicy, "nebius.billing.v1.PricingPolicy">;
1185
+ /** Represents the `nebius.billing.v1.PricingPolicySpec` protobuf message. */
1186
+ export interface PricingPolicySpec {
1187
+ /** Contains the fully qualified protobuf type name. */
1188
+ $type: "nebius.billing.v1.PricingPolicySpec";
1189
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1190
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1191
+ /** Returns a safe value for JSON logs. */
1192
+ [customJson]?: () => unknown;
1193
+ /**
1194
+ * Preemptible compute instances the policy prices.
1195
+ *
1196
+ */
1197
+ computeInstanceSpec?: ComputeInstanceSpec | undefined;
1198
+ /**
1199
+ * How the price is set.
1200
+ *
1201
+ */
1202
+ pricing?: PricingMethod | undefined;
1203
+ }
1204
+ /** Encodes, decodes, converts, and creates {@link PricingPolicySpec} messages. */
1205
+ export declare const PricingPolicySpec: MessageFns<PricingPolicySpec, "nebius.billing.v1.PricingPolicySpec">;
1206
+ /**
1207
+ * Preemptible compute instances a pricing policy applies to.
1208
+ *
1209
+ */
1210
+ export interface ComputeInstanceSpec {
1211
+ /** Contains the fully qualified protobuf type name. */
1212
+ $type: "nebius.billing.v1.ComputeInstanceSpec";
1213
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1214
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1215
+ /** Returns a safe value for JSON logs. */
1216
+ [customJson]?: () => unknown;
1217
+ /** Contains the selected value for the `versions` protobuf oneof. */
1218
+ versions?: {
1219
+ $case: "v1";
1220
+ v1: ComputeInstanceSpecV1;
1221
+ } | undefined;
1222
+ }
1223
+ /** Encodes, decodes, converts, and creates {@link ComputeInstanceSpec} messages. */
1224
+ export declare const ComputeInstanceSpec: MessageFns<ComputeInstanceSpec, "nebius.billing.v1.ComputeInstanceSpec">;
1225
+ /** Represents the `nebius.billing.v1.ComputeInstanceSpecV1` protobuf message. */
1226
+ export interface ComputeInstanceSpecV1 {
1227
+ /** Contains the fully qualified protobuf type name. */
1228
+ $type: "nebius.billing.v1.ComputeInstanceSpecV1";
1229
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1230
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1231
+ /** Returns a safe value for JSON logs. */
1232
+ [customJson]?: () => unknown;
1233
+ /**
1234
+ * Compute platform. Example: "gpu-h100-sxm".
1235
+ *
1236
+ */
1237
+ platform: string;
1238
+ }
1239
+ /** Encodes, decodes, converts, and creates {@link ComputeInstanceSpecV1} messages. */
1240
+ export declare const ComputeInstanceSpecV1: MessageFns<ComputeInstanceSpecV1, "nebius.billing.v1.ComputeInstanceSpecV1">;
1241
+ /**
1242
+ * How the price of a pricing policy is set.
1243
+ *
1244
+ */
1245
+ export interface PricingMethod {
1246
+ /** Contains the fully qualified protobuf type name. */
1247
+ $type: "nebius.billing.v1.PricingMethod";
1248
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1249
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1250
+ /** Returns a safe value for JSON logs. */
1251
+ [customJson]?: () => unknown;
1252
+ /** Contains the selected value for the `versions` protobuf oneof. */
1253
+ versions?: {
1254
+ $case: "maxPriceV1";
1255
+ maxPriceV1: MaxPriceV1;
1256
+ } | undefined;
1257
+ }
1258
+ /** Encodes, decodes, converts, and creates {@link PricingMethod} messages. */
1259
+ export declare const PricingMethod: MessageFns<PricingMethod, "nebius.billing.v1.PricingMethod">;
1260
+ /**
1261
+ * Auction-bid pricing.
1262
+ *
1263
+ */
1264
+ export interface MaxPriceV1 {
1265
+ /** Contains the fully qualified protobuf type name. */
1266
+ $type: "nebius.billing.v1.MaxPriceV1";
1267
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1268
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1269
+ /** Returns a safe value for JSON logs. */
1270
+ [customJson]?: () => unknown;
1271
+ /**
1272
+ * Per-GPU hourly limit in USD, decimal string 3 digits precision. Example: "3.515".
1273
+ * Must be within the allowed price range (OUT_OF_RANGE otherwise);
1274
+ * a value below the current market price is accepted but blocks scheduling.
1275
+ * Mutable only while `status.running_vm_count` is 0
1276
+ * (FAILED_PRECONDITION otherwise); the policy reports STATE_UPDATING and
1277
+ * blocks scheduling while the change is applied.
1278
+ *
1279
+ */
1280
+ maxPrice: string;
1281
+ }
1282
+ /** Encodes, decodes, converts, and creates {@link MaxPriceV1} messages. */
1283
+ export declare const MaxPriceV1: MessageFns<MaxPriceV1, "nebius.billing.v1.MaxPriceV1">;
1284
+ /**
1285
+ * Observed state of a pricing policy.
1286
+ *
1287
+ */
1288
+ export interface PricingPolicyStatus {
1289
+ /** Contains the fully qualified protobuf type name. */
1290
+ $type: "nebius.billing.v1.PricingPolicyStatus";
1291
+ /** Preserves protobuf fields that this SDK version does not recognize. */
1292
+ [unknownFieldsSymbol]?: Uint8Array | undefined;
1293
+ /** Returns a safe value for JSON logs. */
1294
+ [customJson]?: () => unknown;
1295
+ /** Contains the `state` protobuf field. */
1296
+ state: PricingPolicyStatus_State;
1297
+ /**
1298
+ * SKU resolved from the spec.
1299
+ *
1300
+ */
1301
+ skuId: string;
1302
+ /**
1303
+ * Whether new VMs may currently start under this policy.
1304
+ *
1305
+ */
1306
+ schedulingState: PricingPolicyStatus_SchedulingState;
1307
+ /**
1308
+ * Number of VMs currently running under this policy. Nonzero blocks resource
1309
+ * changes and deletion.
1310
+ *
1311
+ */
1312
+ runningVmCount: Long;
1313
+ /**
1314
+ * ISO 4217 currency code of max_price, e.g. "USD".
1315
+ *
1316
+ */
1317
+ currency: string;
1318
+ }
1319
+ /** Encodes, decodes, converts, and creates {@link PricingPolicyStatus} messages. */
1320
+ export declare const PricingPolicyStatus: MessageFns<PricingPolicyStatus, "nebius.billing.v1.PricingPolicyStatus">;
609
1321
  //# sourceMappingURL=index.d.ts.map