@nebius/js-sdk 0.2.62 → 0.2.63
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.
- package/dist/cjs/api/nebius/ai/v1/index.d.ts +1353 -1
- package/dist/cjs/api/nebius/ai/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/ai/v1/index.js +4151 -2
- package/dist/cjs/api/nebius/ai/v1/index.js.map +1 -1
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts +1639 -0
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js +7660 -1
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js.map +1 -1
- package/dist/cjs/api/nebius/compute/v1/index.d.ts +4 -1
- package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/compute/v1/index.js.map +1 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts +31 -0
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.js +195 -1
- package/dist/cjs/api/nebius/mk8s/v1/index.js.map +1 -1
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts +128 -0
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -1
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js +261 -1
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/api/nebius/ai/v1/index.d.ts +1353 -1
- package/dist/esm/api/nebius/ai/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/ai/v1/index.js +4149 -1
- package/dist/esm/api/nebius/ai/v1/index.js.map +1 -1
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts +1639 -0
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/applications/v1alpha1/index.js +7658 -1
- package/dist/esm/api/nebius/applications/v1alpha1/index.js.map +1 -1
- package/dist/esm/api/nebius/compute/v1/index.d.ts +4 -1
- package/dist/esm/api/nebius/compute/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/compute/v1/index.js.map +1 -1
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts +31 -0
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/mk8s/v1/index.js +194 -0
- package/dist/esm/api/nebius/mk8s/v1/index.js.map +1 -1
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts +128 -0
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -1
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js +260 -0
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -456,4 +456,1643 @@ export interface K8sReleaseStatus {
|
|
|
456
456
|
}
|
|
457
457
|
/** Encodes, decodes, converts, and creates {@link K8sReleaseStatus} messages. */
|
|
458
458
|
export declare const K8sReleaseStatus: MessageFns<K8sReleaseStatus, "nebius.applications.v1alpha1.K8sReleaseStatus">;
|
|
459
|
+
/**
|
|
460
|
+
* A request to retrieve a VM app template by ID.
|
|
461
|
+
*
|
|
462
|
+
*/
|
|
463
|
+
export interface GetVmAppTemplateRequest {
|
|
464
|
+
/** Contains the fully qualified protobuf type name. */
|
|
465
|
+
$type: "nebius.applications.v1alpha1.GetVmAppTemplateRequest";
|
|
466
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
467
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
468
|
+
/** Returns a safe value for JSON logs. */
|
|
469
|
+
[customJson]?: () => unknown;
|
|
470
|
+
/**
|
|
471
|
+
* The ID of the template to retrieve.
|
|
472
|
+
*
|
|
473
|
+
*/
|
|
474
|
+
id: string;
|
|
475
|
+
}
|
|
476
|
+
/** Encodes, decodes, converts, and creates {@link GetVmAppTemplateRequest} messages. */
|
|
477
|
+
export declare const GetVmAppTemplateRequest: MessageFns<GetVmAppTemplateRequest, "nebius.applications.v1alpha1.GetVmAppTemplateRequest">;
|
|
478
|
+
/**
|
|
479
|
+
* A request to list VM app templates.
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
export interface ListVmAppTemplatesRequest {
|
|
483
|
+
/** Contains the fully qualified protobuf type name. */
|
|
484
|
+
$type: "nebius.applications.v1alpha1.ListVmAppTemplatesRequest";
|
|
485
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
486
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
487
|
+
/** Returns a safe value for JSON logs. */
|
|
488
|
+
[customJson]?: () => unknown;
|
|
489
|
+
/**
|
|
490
|
+
* The project ID. The response includes templates from this project and the global catalog.
|
|
491
|
+
* Required unless global_only is true.
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
parentId: string;
|
|
495
|
+
/**
|
|
496
|
+
* The requested page size. The service currently ignores this field and returns all matching templates.
|
|
497
|
+
* The default value is 0.
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
pageSize: Long;
|
|
501
|
+
/**
|
|
502
|
+
* The pagination token. The service currently ignores this field. Leave it empty.
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
pageToken: string;
|
|
506
|
+
/**
|
|
507
|
+
* The text to find in template names and descriptions. The search is case-sensitive.
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
search: string;
|
|
511
|
+
/**
|
|
512
|
+
* The categories to match. The response includes templates that match at least one category.
|
|
513
|
+
*
|
|
514
|
+
*/
|
|
515
|
+
categories: string[];
|
|
516
|
+
/**
|
|
517
|
+
* Returns only global templates when true. The service ignores parent_id in this mode.
|
|
518
|
+
* Global catalog reads require authentication but do not require a resource permission.
|
|
519
|
+
*
|
|
520
|
+
*/
|
|
521
|
+
globalOnly: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* The template kind: "covm" or "devlab". The default is "covm".
|
|
524
|
+
*
|
|
525
|
+
*/
|
|
526
|
+
kind: string;
|
|
527
|
+
}
|
|
528
|
+
/** Encodes, decodes, converts, and creates {@link ListVmAppTemplatesRequest} messages. */
|
|
529
|
+
export declare const ListVmAppTemplatesRequest: MessageFns<ListVmAppTemplatesRequest, "nebius.applications.v1alpha1.ListVmAppTemplatesRequest">;
|
|
530
|
+
/**
|
|
531
|
+
* The templates that match the list request.
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
export interface ListVmAppTemplatesResponse {
|
|
535
|
+
/** Contains the fully qualified protobuf type name. */
|
|
536
|
+
$type: "nebius.applications.v1alpha1.ListVmAppTemplatesResponse";
|
|
537
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
538
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
539
|
+
/** Returns a safe value for JSON logs. */
|
|
540
|
+
[customJson]?: () => unknown;
|
|
541
|
+
/**
|
|
542
|
+
* All matching templates. The service currently returns the complete list without pagination.
|
|
543
|
+
*
|
|
544
|
+
*/
|
|
545
|
+
items: VmAppTemplate[];
|
|
546
|
+
/**
|
|
547
|
+
* The token for the next page. Currently always empty because the service returns all matching templates.
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
nextPageToken: string;
|
|
551
|
+
}
|
|
552
|
+
/** Encodes, decodes, converts, and creates {@link ListVmAppTemplatesResponse} messages. */
|
|
553
|
+
export declare const ListVmAppTemplatesResponse: MessageFns<ListVmAppTemplatesResponse, "nebius.applications.v1alpha1.ListVmAppTemplatesResponse">;
|
|
554
|
+
/**
|
|
555
|
+
* Defines the gRPC methods for the `nebius.applications.v1alpha1.VmAppTemplateService` service.
|
|
556
|
+
*/
|
|
557
|
+
export type VmAppTemplateServiceServiceDescription = typeof VmAppTemplateServiceServiceDescription;
|
|
558
|
+
/**
|
|
559
|
+
* Describes the gRPC methods for the `nebius.applications.v1alpha1.VmAppTemplateService` service.
|
|
560
|
+
*/
|
|
561
|
+
export declare const VmAppTemplateServiceServiceDescription: {
|
|
562
|
+
readonly get: {
|
|
563
|
+
readonly path: "/nebius.applications.v1alpha1.VmAppTemplateService/Get";
|
|
564
|
+
readonly requestStream: false;
|
|
565
|
+
readonly responseStream: false;
|
|
566
|
+
readonly requestSerialize: (value: GetVmAppTemplateRequest) => Buffer<ArrayBuffer>;
|
|
567
|
+
readonly requestDescriptor: () => MessageDescriptor | undefined;
|
|
568
|
+
readonly sendResetMask: false;
|
|
569
|
+
readonly requestDeserialize: (value: Buffer) => GetVmAppTemplateRequest;
|
|
570
|
+
readonly responseSerialize: (value: VmAppTemplate) => Buffer<ArrayBuffer>;
|
|
571
|
+
readonly responseDeserialize: (value: Buffer) => VmAppTemplate;
|
|
572
|
+
};
|
|
573
|
+
readonly list: {
|
|
574
|
+
readonly path: "/nebius.applications.v1alpha1.VmAppTemplateService/List";
|
|
575
|
+
readonly requestStream: false;
|
|
576
|
+
readonly responseStream: false;
|
|
577
|
+
readonly requestSerialize: (value: ListVmAppTemplatesRequest) => Buffer<ArrayBuffer>;
|
|
578
|
+
readonly requestDescriptor: () => MessageDescriptor | undefined;
|
|
579
|
+
readonly sendResetMask: false;
|
|
580
|
+
readonly requestDeserialize: (value: Buffer) => ListVmAppTemplatesRequest;
|
|
581
|
+
readonly responseSerialize: (value: ListVmAppTemplatesResponse) => Buffer<ArrayBuffer>;
|
|
582
|
+
readonly responseDeserialize: (value: Buffer) => ListVmAppTemplatesResponse;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* Handles server calls for the `nebius.applications.v1alpha1.VmAppTemplateService` service.
|
|
587
|
+
*/
|
|
588
|
+
export interface VmAppTemplateServiceServer extends UntypedServiceImplementation {
|
|
589
|
+
/**
|
|
590
|
+
* Returns the specified VM app template.
|
|
591
|
+
*
|
|
592
|
+
*/
|
|
593
|
+
get: handleUnaryCall<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
594
|
+
/**
|
|
595
|
+
* Retrieves a list of VM app templates.
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
list: handleUnaryCall<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Defines the low-level gRPC client for the `nebius.applications.v1alpha1.VmAppTemplateService` service.
|
|
602
|
+
*/
|
|
603
|
+
export interface VmAppTemplateServiceBaseClient extends Client {
|
|
604
|
+
/**
|
|
605
|
+
* Returns the specified VM app template.
|
|
606
|
+
*
|
|
607
|
+
*/
|
|
608
|
+
get(request: GetVmAppTemplateRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: VmAppTemplate) => void): ClientUnaryCall;
|
|
609
|
+
/**
|
|
610
|
+
* Retrieves a list of VM app templates.
|
|
611
|
+
*
|
|
612
|
+
*/
|
|
613
|
+
list(request: ListVmAppTemplatesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: GrpcServiceError | null, response: ListVmAppTemplatesResponse) => void): ClientUnaryCall;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* Creates low-level gRPC clients for the `nebius.applications.v1alpha1.VmAppTemplateService` service.
|
|
617
|
+
*/
|
|
618
|
+
export declare const VmAppTemplateServiceBaseClient: {
|
|
619
|
+
/** Creates a low-level client for the service address. */
|
|
620
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): VmAppTemplateServiceBaseClient;
|
|
621
|
+
/** Contains the gRPC service description. */
|
|
622
|
+
service: typeof VmAppTemplateServiceServiceDescription;
|
|
623
|
+
/** Contains the fully qualified protobuf service name. */
|
|
624
|
+
serviceName: string;
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Provides access to the VM app template catalog.
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
export interface VmAppTemplateService {
|
|
631
|
+
/** Contains the fully qualified protobuf service name. */
|
|
632
|
+
$type: "nebius.applications.v1alpha1.VmAppTemplateService";
|
|
633
|
+
/**
|
|
634
|
+
* Returns the specified VM app template.
|
|
635
|
+
*
|
|
636
|
+
*/
|
|
637
|
+
get(request: GetVmAppTemplateRequest): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
638
|
+
/**
|
|
639
|
+
* Returns the specified VM app template.
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
get(request: GetVmAppTemplateRequest, metadata: Metadata): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
643
|
+
/**
|
|
644
|
+
* Returns the specified VM app template.
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
get(request: GetVmAppTemplateRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
648
|
+
/**
|
|
649
|
+
* Retrieves a list of VM app templates.
|
|
650
|
+
*
|
|
651
|
+
*/
|
|
652
|
+
list(request: ListVmAppTemplatesRequest): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* Retrieves a list of VM app templates.
|
|
655
|
+
*
|
|
656
|
+
*/
|
|
657
|
+
list(request: ListVmAppTemplatesRequest, metadata: Metadata): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
658
|
+
/**
|
|
659
|
+
* Retrieves a list of VM app templates.
|
|
660
|
+
*
|
|
661
|
+
*/
|
|
662
|
+
list(request: ListVmAppTemplatesRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Calls the `nebius.applications.v1alpha1.VmAppTemplateService` service through the Nebius SDK.
|
|
666
|
+
*/
|
|
667
|
+
export declare class VmAppTemplateService implements VmAppTemplateService {
|
|
668
|
+
private sdk;
|
|
669
|
+
$type: "nebius.applications.v1alpha1.VmAppTemplateService";
|
|
670
|
+
private addr;
|
|
671
|
+
private spec;
|
|
672
|
+
private apiServiceName;
|
|
673
|
+
/** Creates a client that uses the SDK service address. */
|
|
674
|
+
constructor(sdk: SDKInterface);
|
|
675
|
+
/**
|
|
676
|
+
* Returns the specified VM app template.
|
|
677
|
+
*
|
|
678
|
+
*/
|
|
679
|
+
get(request: GetVmAppTemplateRequest): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
680
|
+
/**
|
|
681
|
+
* Returns the specified VM app template.
|
|
682
|
+
*
|
|
683
|
+
*/
|
|
684
|
+
get(request: GetVmAppTemplateRequest, metadata: Metadata): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
685
|
+
/**
|
|
686
|
+
* Returns the specified VM app template.
|
|
687
|
+
*
|
|
688
|
+
*/
|
|
689
|
+
get(request: GetVmAppTemplateRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<GetVmAppTemplateRequest, VmAppTemplate>;
|
|
690
|
+
/**
|
|
691
|
+
* Retrieves a list of VM app templates.
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
list(request: ListVmAppTemplatesRequest): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
695
|
+
/**
|
|
696
|
+
* Retrieves a list of VM app templates.
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
699
|
+
list(request: ListVmAppTemplatesRequest, metadata: Metadata): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
700
|
+
/**
|
|
701
|
+
* Retrieves a list of VM app templates.
|
|
702
|
+
*
|
|
703
|
+
*/
|
|
704
|
+
list(request: ListVmAppTemplatesRequest, metadata: Metadata, options: Partial<CallOptions> & RetryOptions): SDKRequestClass<ListVmAppTemplatesRequest, ListVmAppTemplatesResponse>;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Represents the `nebius.applications.v1alpha1.TemplateInput.BooleanInput.ViewType` protobuf enum.
|
|
708
|
+
*/
|
|
709
|
+
export type TemplateInput_BooleanInput_ViewType = EnumInstance<"UNRECOGNIZED" | "VIEW_TYPE_UNSPECIFIED" | "CHECKBOX" | "SWITCH">;
|
|
710
|
+
/** Defines the static values of {@link TemplateInput_BooleanInput_ViewType}. */
|
|
711
|
+
export interface TemplateInput_BooleanInput_ViewTypeValueMembers {
|
|
712
|
+
/**
|
|
713
|
+
* No form control type specified. Specify CHECKBOX or SWITCH.
|
|
714
|
+
*
|
|
715
|
+
*/
|
|
716
|
+
readonly VIEW_TYPE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "VIEW_TYPE_UNSPECIFIED" | "CHECKBOX" | "SWITCH">;
|
|
717
|
+
/**
|
|
718
|
+
* Display the Boolean input as a checkbox.
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
readonly CHECKBOX: EnumInstance<"UNRECOGNIZED" | "VIEW_TYPE_UNSPECIFIED" | "CHECKBOX" | "SWITCH">;
|
|
722
|
+
/**
|
|
723
|
+
* Display the Boolean input as a toggle switch.
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
readonly SWITCH: EnumInstance<"UNRECOGNIZED" | "VIEW_TYPE_UNSPECIFIED" | "CHECKBOX" | "SWITCH">;
|
|
727
|
+
}
|
|
728
|
+
/** Defines the runtime API for {@link TemplateInput_BooleanInput_ViewType}. */
|
|
729
|
+
export type TemplateInput_BooleanInput_ViewTypeClass = EnumClass<"UNRECOGNIZED" | "VIEW_TYPE_UNSPECIFIED" | "CHECKBOX" | "SWITCH"> & TemplateInput_BooleanInput_ViewTypeValueMembers;
|
|
730
|
+
/** Converts and creates {@link TemplateInput_BooleanInput_ViewType} values. */
|
|
731
|
+
export declare const TemplateInput_BooleanInput_ViewType: TemplateInput_BooleanInput_ViewTypeClass;
|
|
732
|
+
/**
|
|
733
|
+
* The types of template input values.
|
|
734
|
+
*
|
|
735
|
+
*/
|
|
736
|
+
export type TemplateInputField_Type = EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
737
|
+
/** Defines the static values of {@link TemplateInputField_Type}. */
|
|
738
|
+
export interface TemplateInputField_TypeValueMembers {
|
|
739
|
+
/**
|
|
740
|
+
* No input type specified.
|
|
741
|
+
*
|
|
742
|
+
*/
|
|
743
|
+
readonly TYPE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
744
|
+
/**
|
|
745
|
+
* A string value. Unit-based integers include their unit suffix in the string.
|
|
746
|
+
*
|
|
747
|
+
*/
|
|
748
|
+
readonly STRING: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
749
|
+
/**
|
|
750
|
+
* A numeric value with no fractional part.
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
readonly INTEGER: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
754
|
+
/**
|
|
755
|
+
* A Boolean value.
|
|
756
|
+
*
|
|
757
|
+
*/
|
|
758
|
+
readonly BOOLEAN: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
759
|
+
/**
|
|
760
|
+
* A list value. Current templates do not support this type.
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
readonly LIST: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
764
|
+
/**
|
|
765
|
+
* An object value. Current templates do not support this type.
|
|
766
|
+
*
|
|
767
|
+
*/
|
|
768
|
+
readonly STRUCT: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
769
|
+
/**
|
|
770
|
+
* A string that identifies a MysteryBox secret version.
|
|
771
|
+
*
|
|
772
|
+
*/
|
|
773
|
+
readonly MYSTERYBOX_SECRET_VERSION: EnumInstance<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION">;
|
|
774
|
+
}
|
|
775
|
+
/** Defines the runtime API for {@link TemplateInputField_Type}. */
|
|
776
|
+
export type TemplateInputField_TypeClass = EnumClass<"UNRECOGNIZED" | "TYPE_UNSPECIFIED" | "STRING" | "INTEGER" | "BOOLEAN" | "LIST" | "STRUCT" | "MYSTERYBOX_SECRET_VERSION"> & TemplateInputField_TypeValueMembers;
|
|
777
|
+
/** Converts and creates {@link TemplateInputField_Type} values. */
|
|
778
|
+
export declare const TemplateInputField_Type: TemplateInputField_TypeClass;
|
|
779
|
+
/**
|
|
780
|
+
* Represents a reusable VM app template.
|
|
781
|
+
*
|
|
782
|
+
*/
|
|
783
|
+
export interface VmAppTemplate {
|
|
784
|
+
/** Contains the fully qualified protobuf type name. */
|
|
785
|
+
$type: "nebius.applications.v1alpha1.VmAppTemplate";
|
|
786
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
787
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
788
|
+
/** Returns a safe value for JSON logs. */
|
|
789
|
+
[customJson]?: () => unknown;
|
|
790
|
+
/**
|
|
791
|
+
* The template metadata.
|
|
792
|
+
*
|
|
793
|
+
*/
|
|
794
|
+
metadata?: ResourceMetadata | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* The template specification.
|
|
797
|
+
*
|
|
798
|
+
*/
|
|
799
|
+
spec?: VmAppTemplateSpec | undefined;
|
|
800
|
+
/**
|
|
801
|
+
* The template status and available inputs.
|
|
802
|
+
*
|
|
803
|
+
*/
|
|
804
|
+
status?: VmAppTemplateStatus | undefined;
|
|
805
|
+
}
|
|
806
|
+
/** Encodes, decodes, converts, and creates {@link VmAppTemplate} messages. */
|
|
807
|
+
export declare const VmAppTemplate: MessageFns<VmAppTemplate, "nebius.applications.v1alpha1.VmAppTemplate">;
|
|
808
|
+
/** Represents the `nebius.applications.v1alpha1.VmAppTemplateSpec` protobuf message. */
|
|
809
|
+
export interface VmAppTemplateSpec {
|
|
810
|
+
/** Contains the fully qualified protobuf type name. */
|
|
811
|
+
$type: "nebius.applications.v1alpha1.VmAppTemplateSpec";
|
|
812
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
813
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
814
|
+
/** Returns a safe value for JSON logs. */
|
|
815
|
+
[customJson]?: () => unknown;
|
|
816
|
+
/**
|
|
817
|
+
* The template kind: "covm" or "devlab". The default is "covm".
|
|
818
|
+
*
|
|
819
|
+
*/
|
|
820
|
+
kind: string;
|
|
821
|
+
/**
|
|
822
|
+
* The definition of the VM app template.
|
|
823
|
+
*
|
|
824
|
+
*/
|
|
825
|
+
definition?: {
|
|
826
|
+
$case: "containerTemplate";
|
|
827
|
+
containerTemplate: ContainerTemplateDefinition;
|
|
828
|
+
} | undefined;
|
|
829
|
+
}
|
|
830
|
+
/** Encodes, decodes, converts, and creates {@link VmAppTemplateSpec} messages. */
|
|
831
|
+
export declare const VmAppTemplateSpec: MessageFns<VmAppTemplateSpec, "nebius.applications.v1alpha1.VmAppTemplateSpec">;
|
|
832
|
+
/**
|
|
833
|
+
* ContainerTemplateDefinition defines a template for a VM app that consists of one or more containers.
|
|
834
|
+
*
|
|
835
|
+
*/
|
|
836
|
+
export interface ContainerTemplateDefinition {
|
|
837
|
+
/** Contains the fully qualified protobuf type name. */
|
|
838
|
+
$type: "nebius.applications.v1alpha1.ContainerTemplateDefinition";
|
|
839
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
840
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
841
|
+
/** Returns a safe value for JSON logs. */
|
|
842
|
+
[customJson]?: () => unknown;
|
|
843
|
+
/** Contains the `description` protobuf field. */
|
|
844
|
+
description: string;
|
|
845
|
+
/**
|
|
846
|
+
* The URL of the template icon.
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
iconUrl: string;
|
|
850
|
+
/**
|
|
851
|
+
* The inputs that configure the template.
|
|
852
|
+
*
|
|
853
|
+
*/
|
|
854
|
+
inputs: TemplateInput[];
|
|
855
|
+
/**
|
|
856
|
+
* The container definitions for the VM app.
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
containers: ContainerDefinition[];
|
|
860
|
+
/**
|
|
861
|
+
* The platforms that the VM app supports.
|
|
862
|
+
* An empty list allows all platforms.
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
865
|
+
supportedPlatforms: SupportedPlatform[];
|
|
866
|
+
/**
|
|
867
|
+
* The substitutions to apply when their conditions match.
|
|
868
|
+
*
|
|
869
|
+
*/
|
|
870
|
+
substitutions: ContainerTemplateDefinition_Substitution[];
|
|
871
|
+
}
|
|
872
|
+
/** Encodes, decodes, converts, and creates {@link ContainerTemplateDefinition} messages. */
|
|
873
|
+
export declare const ContainerTemplateDefinition: MessageFns<ContainerTemplateDefinition, "nebius.applications.v1alpha1.ContainerTemplateDefinition">;
|
|
874
|
+
/** Represents the `nebius.applications.v1alpha1.ContainerTemplateDefinition.Substitution` protobuf message. */
|
|
875
|
+
export interface ContainerTemplateDefinition_Substitution {
|
|
876
|
+
/** Contains the fully qualified protobuf type name. */
|
|
877
|
+
$type: "nebius.applications.v1alpha1.ContainerTemplateDefinition.Substitution";
|
|
878
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
879
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
880
|
+
/** Returns a safe value for JSON logs. */
|
|
881
|
+
[customJson]?: () => unknown;
|
|
882
|
+
/**
|
|
883
|
+
* The name of the container to modify.
|
|
884
|
+
*
|
|
885
|
+
*/
|
|
886
|
+
containerName: string;
|
|
887
|
+
/**
|
|
888
|
+
* The conditions that permit this substitution. At least one condition must match.
|
|
889
|
+
* An empty list applies the substitution unconditionally.
|
|
890
|
+
*
|
|
891
|
+
*/
|
|
892
|
+
conditions: ContainerTemplateDefinition_SubstitutionCondition[];
|
|
893
|
+
/**
|
|
894
|
+
* The actions to apply in the listed order.
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
operations: ContainerTemplateDefinition_SubstitutionOperation[];
|
|
898
|
+
}
|
|
899
|
+
/** Encodes, decodes, converts, and creates {@link ContainerTemplateDefinition_Substitution} messages. */
|
|
900
|
+
export declare const ContainerTemplateDefinition_Substitution: MessageFns<ContainerTemplateDefinition_Substitution, "nebius.applications.v1alpha1.ContainerTemplateDefinition.Substitution">;
|
|
901
|
+
/**
|
|
902
|
+
* All specified constraints must match. Without constraints, the condition matches unconditionally before applying not.
|
|
903
|
+
*
|
|
904
|
+
*/
|
|
905
|
+
export interface ContainerTemplateDefinition_SubstitutionCondition {
|
|
906
|
+
/** Contains the fully qualified protobuf type name. */
|
|
907
|
+
$type: "nebius.applications.v1alpha1.ContainerTemplateDefinition.SubstitutionCondition";
|
|
908
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
909
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
910
|
+
/** Returns a safe value for JSON logs. */
|
|
911
|
+
[customJson]?: () => unknown;
|
|
912
|
+
/**
|
|
913
|
+
* Whether to negate the condition after evaluating all constraints.
|
|
914
|
+
*
|
|
915
|
+
*/
|
|
916
|
+
not: boolean;
|
|
917
|
+
/**
|
|
918
|
+
* The compute platform name to match. An empty value adds no platform constraint.
|
|
919
|
+
*
|
|
920
|
+
*/
|
|
921
|
+
platform: string;
|
|
922
|
+
/**
|
|
923
|
+
* The compute preset name to match. An empty value adds no preset constraint.
|
|
924
|
+
*
|
|
925
|
+
*/
|
|
926
|
+
preset: string;
|
|
927
|
+
/**
|
|
928
|
+
* The input field ID that must exist. An empty value adds no input constraint.
|
|
929
|
+
* Set at most one input_field_value_* field to require a non-sensitive input value to match.
|
|
930
|
+
*
|
|
931
|
+
*/
|
|
932
|
+
inputFieldId: string;
|
|
933
|
+
/**
|
|
934
|
+
* The string value to match for input_field_id. Requires input_field_id.
|
|
935
|
+
* If absent, this field adds no string value constraint. An empty string requires an empty input string.
|
|
936
|
+
*
|
|
937
|
+
*/
|
|
938
|
+
inputFieldValueString?: string | undefined;
|
|
939
|
+
/**
|
|
940
|
+
* The Boolean value to match for input_field_id. Requires input_field_id.
|
|
941
|
+
* If absent, this field adds no Boolean value constraint. If false, the input must equal false.
|
|
942
|
+
*
|
|
943
|
+
*/
|
|
944
|
+
inputFieldValueBool?: boolean | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* The integer value to match for input_field_id. Requires input_field_id.
|
|
947
|
+
* If absent, this field adds no integer value constraint. If zero, the input must equal zero.
|
|
948
|
+
*
|
|
949
|
+
*/
|
|
950
|
+
inputFieldValueInt64?: Long | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* The floating-point value to match for input_field_id. Requires input_field_id.
|
|
953
|
+
* If absent, this field adds no floating-point value constraint. If zero, the input must equal zero.
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
956
|
+
inputFieldValueDouble?: number | undefined;
|
|
957
|
+
/**
|
|
958
|
+
* The environment variable key that must exist. An empty value adds no environment variable constraint.
|
|
959
|
+
*
|
|
960
|
+
*/
|
|
961
|
+
environmentVariableKey: string;
|
|
962
|
+
/**
|
|
963
|
+
* The non-sensitive environment variable value to match. Requires environment_variable_key.
|
|
964
|
+
* If absent, only the key must exist. An empty string requires an empty variable value.
|
|
965
|
+
*
|
|
966
|
+
*/
|
|
967
|
+
environmentVariableValue?: string | undefined;
|
|
968
|
+
}
|
|
969
|
+
/** Encodes, decodes, converts, and creates {@link ContainerTemplateDefinition_SubstitutionCondition} messages. */
|
|
970
|
+
export declare const ContainerTemplateDefinition_SubstitutionCondition: MessageFns<ContainerTemplateDefinition_SubstitutionCondition, "nebius.applications.v1alpha1.ContainerTemplateDefinition.SubstitutionCondition">;
|
|
971
|
+
/** Represents the `nebius.applications.v1alpha1.ContainerTemplateDefinition.SubstitutionOperation` protobuf message. */
|
|
972
|
+
export interface ContainerTemplateDefinition_SubstitutionOperation {
|
|
973
|
+
/** Contains the fully qualified protobuf type name. */
|
|
974
|
+
$type: "nebius.applications.v1alpha1.ContainerTemplateDefinition.SubstitutionOperation";
|
|
975
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
976
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
977
|
+
/** Returns a safe value for JSON logs. */
|
|
978
|
+
[customJson]?: () => unknown;
|
|
979
|
+
/**
|
|
980
|
+
* The action to perform on the selected container value.
|
|
981
|
+
*
|
|
982
|
+
*/
|
|
983
|
+
action?: {
|
|
984
|
+
$case: "remove";
|
|
985
|
+
remove: boolean;
|
|
986
|
+
} | {
|
|
987
|
+
$case: "setFromInputField";
|
|
988
|
+
setFromInputField: string;
|
|
989
|
+
} | {
|
|
990
|
+
$case: "setToStringValue";
|
|
991
|
+
setToStringValue: string;
|
|
992
|
+
} | {
|
|
993
|
+
$case: "setToIntegerValue";
|
|
994
|
+
setToIntegerValue: Long;
|
|
995
|
+
} | {
|
|
996
|
+
$case: "setUser";
|
|
997
|
+
setUser: ContainerDefinition_User;
|
|
998
|
+
} | undefined;
|
|
999
|
+
/**
|
|
1000
|
+
* The container value to modify.
|
|
1001
|
+
*
|
|
1002
|
+
*/
|
|
1003
|
+
value?: {
|
|
1004
|
+
$case: "environmentVariable";
|
|
1005
|
+
environmentVariable: string;
|
|
1006
|
+
} | {
|
|
1007
|
+
$case: "sensitiveEnvironmentVariable";
|
|
1008
|
+
sensitiveEnvironmentVariable: string;
|
|
1009
|
+
} | {
|
|
1010
|
+
$case: "image";
|
|
1011
|
+
image: boolean;
|
|
1012
|
+
} | {
|
|
1013
|
+
$case: "shmSizeBytes";
|
|
1014
|
+
shmSizeBytes: boolean;
|
|
1015
|
+
} | {
|
|
1016
|
+
$case: "containerCommand";
|
|
1017
|
+
containerCommand: boolean;
|
|
1018
|
+
} | {
|
|
1019
|
+
$case: "containerUser";
|
|
1020
|
+
containerUser: boolean;
|
|
1021
|
+
} | {
|
|
1022
|
+
$case: "imageTag";
|
|
1023
|
+
imageTag: boolean;
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
}
|
|
1026
|
+
/** Encodes, decodes, converts, and creates {@link ContainerTemplateDefinition_SubstitutionOperation} messages. */
|
|
1027
|
+
export declare const ContainerTemplateDefinition_SubstitutionOperation: MessageFns<ContainerTemplateDefinition_SubstitutionOperation, "nebius.applications.v1alpha1.ContainerTemplateDefinition.SubstitutionOperation">;
|
|
1028
|
+
/** Represents the `nebius.applications.v1alpha1.TemplateInput` protobuf message. */
|
|
1029
|
+
export interface TemplateInput {
|
|
1030
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1031
|
+
$type: "nebius.applications.v1alpha1.TemplateInput";
|
|
1032
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1033
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1034
|
+
/** Returns a safe value for JSON logs. */
|
|
1035
|
+
[customJson]?: () => unknown;
|
|
1036
|
+
/**
|
|
1037
|
+
* The input ID. Template input values use this ID as their key.
|
|
1038
|
+
*
|
|
1039
|
+
*/
|
|
1040
|
+
id: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Whether the template requires a value for this input.
|
|
1043
|
+
*
|
|
1044
|
+
*/
|
|
1045
|
+
required: boolean;
|
|
1046
|
+
/**
|
|
1047
|
+
* The input type and its configuration.
|
|
1048
|
+
*
|
|
1049
|
+
*/
|
|
1050
|
+
input?: {
|
|
1051
|
+
$case: "stringInput";
|
|
1052
|
+
stringInput: TemplateInput_StringInput;
|
|
1053
|
+
} | {
|
|
1054
|
+
$case: "enumStringInput";
|
|
1055
|
+
enumStringInput: TemplateInput_EnumStringInput;
|
|
1056
|
+
} | {
|
|
1057
|
+
$case: "integerInput";
|
|
1058
|
+
integerInput: TemplateInput_IntegerInput;
|
|
1059
|
+
} | {
|
|
1060
|
+
$case: "integerUnitInput";
|
|
1061
|
+
integerUnitInput: TemplateInput_IntegerUnitInput;
|
|
1062
|
+
} | {
|
|
1063
|
+
$case: "booleanInput";
|
|
1064
|
+
booleanInput: TemplateInput_BooleanInput;
|
|
1065
|
+
} | {
|
|
1066
|
+
$case: "textContentInput";
|
|
1067
|
+
textContentInput: TemplateInput_TextContentInput;
|
|
1068
|
+
} | {
|
|
1069
|
+
$case: "environmentVariablesInput";
|
|
1070
|
+
environmentVariablesInput: TemplateInput_EnvironmentVariablesInput;
|
|
1071
|
+
} | {
|
|
1072
|
+
$case: "huggingFaceTokenInput";
|
|
1073
|
+
huggingFaceTokenInput: TemplateInput_HuggingFaceTokenInput;
|
|
1074
|
+
} | {
|
|
1075
|
+
$case: "dockerRegistryCredentialsInput";
|
|
1076
|
+
dockerRegistryCredentialsInput: TemplateInput_DockerRegistryCredentialsInput;
|
|
1077
|
+
} | {
|
|
1078
|
+
$case: "serviceAccountMirrorInput";
|
|
1079
|
+
serviceAccountMirrorInput: TemplateInput_ServiceAccountMirrorInput;
|
|
1080
|
+
} | undefined;
|
|
1081
|
+
}
|
|
1082
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput} messages. */
|
|
1083
|
+
export declare const TemplateInput: MessageFns<TemplateInput, "nebius.applications.v1alpha1.TemplateInput">;
|
|
1084
|
+
/** Represents the `nebius.applications.v1alpha1.TemplateInput.StringInput` protobuf message. */
|
|
1085
|
+
export interface TemplateInput_StringInput {
|
|
1086
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1087
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.StringInput";
|
|
1088
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1089
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1090
|
+
/** Returns a safe value for JSON logs. */
|
|
1091
|
+
[customJson]?: () => unknown;
|
|
1092
|
+
/** Contains the `name` protobuf field. */
|
|
1093
|
+
name: string;
|
|
1094
|
+
/** Contains the `description` protobuf field. */
|
|
1095
|
+
description: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* The placeholder text for the input.
|
|
1098
|
+
*
|
|
1099
|
+
*/
|
|
1100
|
+
placeholder: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* The regular expression that validates the input value.
|
|
1103
|
+
*
|
|
1104
|
+
*/
|
|
1105
|
+
pattern: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* The default input value.
|
|
1108
|
+
*
|
|
1109
|
+
*/
|
|
1110
|
+
defaultValue: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Whether the input contains sensitive data.
|
|
1113
|
+
*
|
|
1114
|
+
*/
|
|
1115
|
+
sensitive: boolean;
|
|
1116
|
+
/**
|
|
1117
|
+
* Whether the form offers password generation for this sensitive input.
|
|
1118
|
+
*
|
|
1119
|
+
*/
|
|
1120
|
+
generate: boolean;
|
|
1121
|
+
/**
|
|
1122
|
+
* Whether the form displays a multiline text input.
|
|
1123
|
+
*
|
|
1124
|
+
*/
|
|
1125
|
+
multiline: boolean;
|
|
1126
|
+
/**
|
|
1127
|
+
* The tooltip text for the input.
|
|
1128
|
+
*
|
|
1129
|
+
*/
|
|
1130
|
+
tooltip: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* The prefix to display before the input.
|
|
1133
|
+
*
|
|
1134
|
+
*/
|
|
1135
|
+
inputPrefix: string;
|
|
1136
|
+
}
|
|
1137
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_StringInput} messages. */
|
|
1138
|
+
export declare const TemplateInput_StringInput: MessageFns<TemplateInput_StringInput, "nebius.applications.v1alpha1.TemplateInput.StringInput">;
|
|
1139
|
+
/**
|
|
1140
|
+
* EnumStringInput defines a string input with predefined options.
|
|
1141
|
+
* Will be rendered as a dropdown in UI.
|
|
1142
|
+
*
|
|
1143
|
+
*/
|
|
1144
|
+
export interface TemplateInput_EnumStringInput {
|
|
1145
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1146
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.EnumStringInput";
|
|
1147
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1148
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1149
|
+
/** Returns a safe value for JSON logs. */
|
|
1150
|
+
[customJson]?: () => unknown;
|
|
1151
|
+
/** Contains the `name` protobuf field. */
|
|
1152
|
+
name: string;
|
|
1153
|
+
/** Contains the `description` protobuf field. */
|
|
1154
|
+
description: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* The placeholder text for the input.
|
|
1157
|
+
*
|
|
1158
|
+
*/
|
|
1159
|
+
placeholder: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* The available input options.
|
|
1162
|
+
*
|
|
1163
|
+
*/
|
|
1164
|
+
options: TemplateInput_EnumStringInput_Option[];
|
|
1165
|
+
/**
|
|
1166
|
+
* The default option value.
|
|
1167
|
+
*
|
|
1168
|
+
*/
|
|
1169
|
+
defaultValue: string;
|
|
1170
|
+
}
|
|
1171
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_EnumStringInput} messages. */
|
|
1172
|
+
export declare const TemplateInput_EnumStringInput: MessageFns<TemplateInput_EnumStringInput, "nebius.applications.v1alpha1.TemplateInput.EnumStringInput">;
|
|
1173
|
+
/** Represents the `nebius.applications.v1alpha1.TemplateInput.EnumStringInput.Option` protobuf message. */
|
|
1174
|
+
export interface TemplateInput_EnumStringInput_Option {
|
|
1175
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1176
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.EnumStringInput.Option";
|
|
1177
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1178
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1179
|
+
/** Returns a safe value for JSON logs. */
|
|
1180
|
+
[customJson]?: () => unknown;
|
|
1181
|
+
/**
|
|
1182
|
+
* The value of the option, which is used in the value of the input.
|
|
1183
|
+
*
|
|
1184
|
+
*/
|
|
1185
|
+
value: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* The label for the option. An empty label uses the option value.
|
|
1188
|
+
*
|
|
1189
|
+
*/
|
|
1190
|
+
label: string;
|
|
1191
|
+
}
|
|
1192
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_EnumStringInput_Option} messages. */
|
|
1193
|
+
export declare const TemplateInput_EnumStringInput_Option: MessageFns<TemplateInput_EnumStringInput_Option, "nebius.applications.v1alpha1.TemplateInput.EnumStringInput.Option">;
|
|
1194
|
+
/**
|
|
1195
|
+
* IntegerUnitInput defines an integer input with a unit, bounds, step, and default value.
|
|
1196
|
+
* The form displays a slider with the unit suffix.
|
|
1197
|
+
*
|
|
1198
|
+
*/
|
|
1199
|
+
export interface TemplateInput_IntegerUnitInput {
|
|
1200
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1201
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.IntegerUnitInput";
|
|
1202
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1203
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1204
|
+
/** Returns a safe value for JSON logs. */
|
|
1205
|
+
[customJson]?: () => unknown;
|
|
1206
|
+
/** Contains the `name` protobuf field. */
|
|
1207
|
+
name: string;
|
|
1208
|
+
/** Contains the `description` protobuf field. */
|
|
1209
|
+
description: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* The unit suffix for the input value.
|
|
1212
|
+
*
|
|
1213
|
+
*/
|
|
1214
|
+
unit: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* The minimum input value before multiplication.
|
|
1217
|
+
*
|
|
1218
|
+
*/
|
|
1219
|
+
minValue: Long;
|
|
1220
|
+
/**
|
|
1221
|
+
* The maximum input value before multiplication.
|
|
1222
|
+
*
|
|
1223
|
+
*/
|
|
1224
|
+
maxValue: Long;
|
|
1225
|
+
/**
|
|
1226
|
+
* The increment between valid input values, starting at min_value.
|
|
1227
|
+
*
|
|
1228
|
+
*/
|
|
1229
|
+
step: Long;
|
|
1230
|
+
/**
|
|
1231
|
+
* The default input value before multiplication.
|
|
1232
|
+
*
|
|
1233
|
+
*/
|
|
1234
|
+
defaultValue: Long;
|
|
1235
|
+
/**
|
|
1236
|
+
* The multiplication factor. Values less than one use a factor of one.
|
|
1237
|
+
*
|
|
1238
|
+
*/
|
|
1239
|
+
multiplyBy: Long;
|
|
1240
|
+
}
|
|
1241
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_IntegerUnitInput} messages. */
|
|
1242
|
+
export declare const TemplateInput_IntegerUnitInput: MessageFns<TemplateInput_IntegerUnitInput, "nebius.applications.v1alpha1.TemplateInput.IntegerUnitInput">;
|
|
1243
|
+
/**
|
|
1244
|
+
* IntegerInput defines a simple integer field.
|
|
1245
|
+
* The form displays a text box.
|
|
1246
|
+
*
|
|
1247
|
+
*/
|
|
1248
|
+
export interface TemplateInput_IntegerInput {
|
|
1249
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1250
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.IntegerInput";
|
|
1251
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1252
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1253
|
+
/** Returns a safe value for JSON logs. */
|
|
1254
|
+
[customJson]?: () => unknown;
|
|
1255
|
+
/** Contains the `name` protobuf field. */
|
|
1256
|
+
name: string;
|
|
1257
|
+
/** Contains the `description` protobuf field. */
|
|
1258
|
+
description: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* The minimum input value before multiplication.
|
|
1261
|
+
* If absent, no minimum applies. If zero, the input must be zero or greater.
|
|
1262
|
+
*
|
|
1263
|
+
*/
|
|
1264
|
+
minValue?: Long | undefined;
|
|
1265
|
+
/**
|
|
1266
|
+
* The maximum input value before multiplication.
|
|
1267
|
+
* If absent, no maximum applies. If zero, the input must be zero or less.
|
|
1268
|
+
*
|
|
1269
|
+
*/
|
|
1270
|
+
maxValue?: Long | undefined;
|
|
1271
|
+
/**
|
|
1272
|
+
* The default for an omitted, non-required input before multiplication.
|
|
1273
|
+
* If absent, the input uses min_value, or zero when min_value is absent.
|
|
1274
|
+
* If zero, the default is zero, regardless of min_value. The bounds still apply.
|
|
1275
|
+
*
|
|
1276
|
+
*/
|
|
1277
|
+
defaultValue?: Long | undefined;
|
|
1278
|
+
/**
|
|
1279
|
+
* The multiplication factor. Zero uses a factor of one.
|
|
1280
|
+
*
|
|
1281
|
+
*/
|
|
1282
|
+
multiplyBy: Long;
|
|
1283
|
+
}
|
|
1284
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_IntegerInput} messages. */
|
|
1285
|
+
export declare const TemplateInput_IntegerInput: MessageFns<TemplateInput_IntegerInput, "nebius.applications.v1alpha1.TemplateInput.IntegerInput">;
|
|
1286
|
+
/**
|
|
1287
|
+
* BooleanInput defines a Boolean field.
|
|
1288
|
+
*
|
|
1289
|
+
*/
|
|
1290
|
+
export interface TemplateInput_BooleanInput {
|
|
1291
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1292
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.BooleanInput";
|
|
1293
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1294
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1295
|
+
/** Returns a safe value for JSON logs. */
|
|
1296
|
+
[customJson]?: () => unknown;
|
|
1297
|
+
/** Contains the `name` protobuf field. */
|
|
1298
|
+
name: string;
|
|
1299
|
+
/** Contains the `description` protobuf field. */
|
|
1300
|
+
description: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* The default input value.
|
|
1303
|
+
*
|
|
1304
|
+
*/
|
|
1305
|
+
defaultValue: boolean;
|
|
1306
|
+
/**
|
|
1307
|
+
* The form control type for the input.
|
|
1308
|
+
*
|
|
1309
|
+
*/
|
|
1310
|
+
viewType: TemplateInput_BooleanInput_ViewType;
|
|
1311
|
+
}
|
|
1312
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_BooleanInput} messages. */
|
|
1313
|
+
export declare const TemplateInput_BooleanInput: MessageFns<TemplateInput_BooleanInput, "nebius.applications.v1alpha1.TemplateInput.BooleanInput">;
|
|
1314
|
+
/**
|
|
1315
|
+
* TextContentInput defines a read-only text content field.
|
|
1316
|
+
* Will be rendered as a text block in UI.
|
|
1317
|
+
* Cannot be optional.
|
|
1318
|
+
*
|
|
1319
|
+
*/
|
|
1320
|
+
export interface TemplateInput_TextContentInput {
|
|
1321
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1322
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.TextContentInput";
|
|
1323
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1324
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1325
|
+
/** Returns a safe value for JSON logs. */
|
|
1326
|
+
[customJson]?: () => unknown;
|
|
1327
|
+
/**
|
|
1328
|
+
* The content to display.
|
|
1329
|
+
*
|
|
1330
|
+
*/
|
|
1331
|
+
content: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* If set to true, the field will be shown in the form.
|
|
1334
|
+
*
|
|
1335
|
+
*/
|
|
1336
|
+
showInForm: boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* If set to true, the field will be shown in the overview page after the VM app is created.
|
|
1339
|
+
*
|
|
1340
|
+
*/
|
|
1341
|
+
showInOverview: boolean;
|
|
1342
|
+
}
|
|
1343
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_TextContentInput} messages. */
|
|
1344
|
+
export declare const TemplateInput_TextContentInput: MessageFns<TemplateInput_TextContentInput, "nebius.applications.v1alpha1.TemplateInput.TextContentInput">;
|
|
1345
|
+
/**
|
|
1346
|
+
* Environment variables input
|
|
1347
|
+
* Will be rendered as a list of key-value pairs in UI.
|
|
1348
|
+
* Cannot be optional.
|
|
1349
|
+
*
|
|
1350
|
+
*/
|
|
1351
|
+
export interface TemplateInput_EnvironmentVariablesInput {
|
|
1352
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1353
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.EnvironmentVariablesInput";
|
|
1354
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1355
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1356
|
+
/** Returns a safe value for JSON logs. */
|
|
1357
|
+
[customJson]?: () => unknown;
|
|
1358
|
+
/** Contains the `name` protobuf field. */
|
|
1359
|
+
name: string;
|
|
1360
|
+
/** Contains the `description` protobuf field. */
|
|
1361
|
+
description: string;
|
|
1362
|
+
}
|
|
1363
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_EnvironmentVariablesInput} messages. */
|
|
1364
|
+
export declare const TemplateInput_EnvironmentVariablesInput: MessageFns<TemplateInput_EnvironmentVariablesInput, "nebius.applications.v1alpha1.TemplateInput.EnvironmentVariablesInput">;
|
|
1365
|
+
/**
|
|
1366
|
+
* Hugging face token input
|
|
1367
|
+
* Will be rendered as the form in UI.
|
|
1368
|
+
*
|
|
1369
|
+
*/
|
|
1370
|
+
export interface TemplateInput_HuggingFaceTokenInput {
|
|
1371
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1372
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.HuggingFaceTokenInput";
|
|
1373
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1374
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1375
|
+
/** Returns a safe value for JSON logs. */
|
|
1376
|
+
[customJson]?: () => unknown;
|
|
1377
|
+
/** Contains the `name` protobuf field. */
|
|
1378
|
+
name: string;
|
|
1379
|
+
/** Contains the `description` protobuf field. */
|
|
1380
|
+
description: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* If set to true, the field will be shown in the form.
|
|
1383
|
+
*
|
|
1384
|
+
*/
|
|
1385
|
+
showInForm: boolean;
|
|
1386
|
+
/**
|
|
1387
|
+
* Whether the token contains sensitive data.
|
|
1388
|
+
*
|
|
1389
|
+
*/
|
|
1390
|
+
sensitive: boolean;
|
|
1391
|
+
}
|
|
1392
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_HuggingFaceTokenInput} messages. */
|
|
1393
|
+
export declare const TemplateInput_HuggingFaceTokenInput: MessageFns<TemplateInput_HuggingFaceTokenInput, "nebius.applications.v1alpha1.TemplateInput.HuggingFaceTokenInput">;
|
|
1394
|
+
/**
|
|
1395
|
+
* Docker Registry Credentials input
|
|
1396
|
+
* Will be rendered as the form in UI.
|
|
1397
|
+
*
|
|
1398
|
+
*/
|
|
1399
|
+
export interface TemplateInput_DockerRegistryCredentialsInput {
|
|
1400
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1401
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.DockerRegistryCredentialsInput";
|
|
1402
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1403
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1404
|
+
/** Returns a safe value for JSON logs. */
|
|
1405
|
+
[customJson]?: () => unknown;
|
|
1406
|
+
/** Contains the `name` protobuf field. */
|
|
1407
|
+
name: string;
|
|
1408
|
+
/** Contains the `description` protobuf field. */
|
|
1409
|
+
description: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* If set to true, the field will be shown in the form.
|
|
1412
|
+
*
|
|
1413
|
+
*/
|
|
1414
|
+
showInForm: boolean;
|
|
1415
|
+
/**
|
|
1416
|
+
* Whether the credentials contain sensitive data.
|
|
1417
|
+
*
|
|
1418
|
+
*/
|
|
1419
|
+
sensitive: boolean;
|
|
1420
|
+
}
|
|
1421
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_DockerRegistryCredentialsInput} messages. */
|
|
1422
|
+
export declare const TemplateInput_DockerRegistryCredentialsInput: MessageFns<TemplateInput_DockerRegistryCredentialsInput, "nebius.applications.v1alpha1.TemplateInput.DockerRegistryCredentialsInput">;
|
|
1423
|
+
/**
|
|
1424
|
+
* Service Account Mirror input
|
|
1425
|
+
* Will be rendered as a service account selector in UI.
|
|
1426
|
+
*
|
|
1427
|
+
*/
|
|
1428
|
+
export interface TemplateInput_ServiceAccountMirrorInput {
|
|
1429
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1430
|
+
$type: "nebius.applications.v1alpha1.TemplateInput.ServiceAccountMirrorInput";
|
|
1431
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1432
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1433
|
+
/** Returns a safe value for JSON logs. */
|
|
1434
|
+
[customJson]?: () => unknown;
|
|
1435
|
+
/** Contains the `description` protobuf field. */
|
|
1436
|
+
description: string;
|
|
1437
|
+
}
|
|
1438
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInput_ServiceAccountMirrorInput} messages. */
|
|
1439
|
+
export declare const TemplateInput_ServiceAccountMirrorInput: MessageFns<TemplateInput_ServiceAccountMirrorInput, "nebius.applications.v1alpha1.TemplateInput.ServiceAccountMirrorInput">;
|
|
1440
|
+
/** Represents the `nebius.applications.v1alpha1.VmAppTemplateStatus` protobuf message. */
|
|
1441
|
+
export interface VmAppTemplateStatus {
|
|
1442
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1443
|
+
$type: "nebius.applications.v1alpha1.VmAppTemplateStatus";
|
|
1444
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1445
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1446
|
+
/** Returns a safe value for JSON logs. */
|
|
1447
|
+
[customJson]?: () => unknown;
|
|
1448
|
+
/** Contains the `description` protobuf field. */
|
|
1449
|
+
description: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* The URL of the template icon.
|
|
1452
|
+
*
|
|
1453
|
+
*/
|
|
1454
|
+
iconUrl: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* The fields that accept values for this template.
|
|
1457
|
+
*
|
|
1458
|
+
*/
|
|
1459
|
+
inputFields: TemplateInputField[];
|
|
1460
|
+
/**
|
|
1461
|
+
* Supported platforms for the VM app template.
|
|
1462
|
+
* If empty, the VM app template is supported on all platforms.
|
|
1463
|
+
*
|
|
1464
|
+
*/
|
|
1465
|
+
supportedPlatforms: SupportedPlatform[];
|
|
1466
|
+
/**
|
|
1467
|
+
* Categories that the template belongs to.
|
|
1468
|
+
*
|
|
1469
|
+
*/
|
|
1470
|
+
categories: string[];
|
|
1471
|
+
}
|
|
1472
|
+
/** Encodes, decodes, converts, and creates {@link VmAppTemplateStatus} messages. */
|
|
1473
|
+
export declare const VmAppTemplateStatus: MessageFns<VmAppTemplateStatus, "nebius.applications.v1alpha1.VmAppTemplateStatus">;
|
|
1474
|
+
/** Represents the `nebius.applications.v1alpha1.TemplateInputField` protobuf message. */
|
|
1475
|
+
export interface TemplateInputField {
|
|
1476
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1477
|
+
$type: "nebius.applications.v1alpha1.TemplateInputField";
|
|
1478
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1479
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1480
|
+
/** Returns a safe value for JSON logs. */
|
|
1481
|
+
[customJson]?: () => unknown;
|
|
1482
|
+
/**
|
|
1483
|
+
* The ID of the input field.
|
|
1484
|
+
*
|
|
1485
|
+
*/
|
|
1486
|
+
id: string;
|
|
1487
|
+
/**
|
|
1488
|
+
* The type of value that the input field accepts.
|
|
1489
|
+
*
|
|
1490
|
+
*/
|
|
1491
|
+
type: TemplateInputField_Type;
|
|
1492
|
+
/** Contains the `name` protobuf field. */
|
|
1493
|
+
name: string;
|
|
1494
|
+
/** Contains the `description` protobuf field. */
|
|
1495
|
+
description: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Whether the template requires a value for this input.
|
|
1498
|
+
*
|
|
1499
|
+
*/
|
|
1500
|
+
required: boolean;
|
|
1501
|
+
/**
|
|
1502
|
+
* Whether the input field contains sensitive data.
|
|
1503
|
+
*
|
|
1504
|
+
*/
|
|
1505
|
+
sensitive: boolean;
|
|
1506
|
+
}
|
|
1507
|
+
/** Encodes, decodes, converts, and creates {@link TemplateInputField} messages. */
|
|
1508
|
+
export declare const TemplateInputField: MessageFns<TemplateInputField, "nebius.applications.v1alpha1.TemplateInputField">;
|
|
1509
|
+
/** Represents the `nebius.applications.v1alpha1.SupportedPlatform` protobuf message. */
|
|
1510
|
+
export interface SupportedPlatform {
|
|
1511
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1512
|
+
$type: "nebius.applications.v1alpha1.SupportedPlatform";
|
|
1513
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1514
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1515
|
+
/** Returns a safe value for JSON logs. */
|
|
1516
|
+
[customJson]?: () => unknown;
|
|
1517
|
+
/**
|
|
1518
|
+
* The compute platform ID.
|
|
1519
|
+
*
|
|
1520
|
+
*/
|
|
1521
|
+
id: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Presets of the platform that are supported by the VM app template.
|
|
1524
|
+
* If empty, all presets are supported.
|
|
1525
|
+
*
|
|
1526
|
+
*/
|
|
1527
|
+
supportedPresets: string[];
|
|
1528
|
+
}
|
|
1529
|
+
/** Encodes, decodes, converts, and creates {@link SupportedPlatform} messages. */
|
|
1530
|
+
export declare const SupportedPlatform: MessageFns<SupportedPlatform, "nebius.applications.v1alpha1.SupportedPlatform">;
|
|
1531
|
+
/**
|
|
1532
|
+
* Represents the `nebius.applications.v1alpha1.ContainerDefinition.RestartPolicy` protobuf enum.
|
|
1533
|
+
*/
|
|
1534
|
+
export type ContainerDefinition_RestartPolicy = EnumInstance<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER">;
|
|
1535
|
+
/** Defines the static values of {@link ContainerDefinition_RestartPolicy}. */
|
|
1536
|
+
export interface ContainerDefinition_RestartPolicyValueMembers {
|
|
1537
|
+
/**
|
|
1538
|
+
* No restart policy specified. Uses ALWAYS.
|
|
1539
|
+
*
|
|
1540
|
+
*/
|
|
1541
|
+
readonly RESTART_POLICY_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER">;
|
|
1542
|
+
/**
|
|
1543
|
+
* Restart the container whenever it stops.
|
|
1544
|
+
*
|
|
1545
|
+
*/
|
|
1546
|
+
readonly ALWAYS: EnumInstance<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER">;
|
|
1547
|
+
/**
|
|
1548
|
+
* Restart the container only when it exits with a non-zero exit code.
|
|
1549
|
+
*
|
|
1550
|
+
*/
|
|
1551
|
+
readonly ON_FAILURE: EnumInstance<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER">;
|
|
1552
|
+
/**
|
|
1553
|
+
* Do not restart the container when it stops.
|
|
1554
|
+
*
|
|
1555
|
+
*/
|
|
1556
|
+
readonly NEVER: EnumInstance<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER">;
|
|
1557
|
+
}
|
|
1558
|
+
/** Defines the runtime API for {@link ContainerDefinition_RestartPolicy}. */
|
|
1559
|
+
export type ContainerDefinition_RestartPolicyClass = EnumClass<"UNRECOGNIZED" | "RESTART_POLICY_UNSPECIFIED" | "ALWAYS" | "ON_FAILURE" | "NEVER"> & ContainerDefinition_RestartPolicyValueMembers;
|
|
1560
|
+
/** Converts and creates {@link ContainerDefinition_RestartPolicy} values. */
|
|
1561
|
+
export declare const ContainerDefinition_RestartPolicy: ContainerDefinition_RestartPolicyClass;
|
|
1562
|
+
/**
|
|
1563
|
+
* The transport protocol for the exposed port.
|
|
1564
|
+
*
|
|
1565
|
+
*/
|
|
1566
|
+
export type ContainerDefinition_Port_Protocol = EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "TCP" | "UDP">;
|
|
1567
|
+
/** Defines the static values of {@link ContainerDefinition_Port_Protocol}. */
|
|
1568
|
+
export interface ContainerDefinition_Port_ProtocolValueMembers {
|
|
1569
|
+
/**
|
|
1570
|
+
* No protocol specified. Uses TCP.
|
|
1571
|
+
*
|
|
1572
|
+
*/
|
|
1573
|
+
readonly PROTOCOL_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "TCP" | "UDP">;
|
|
1574
|
+
/**
|
|
1575
|
+
* The Transmission Control Protocol.
|
|
1576
|
+
*
|
|
1577
|
+
*/
|
|
1578
|
+
readonly TCP: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "TCP" | "UDP">;
|
|
1579
|
+
/**
|
|
1580
|
+
* The User Datagram Protocol.
|
|
1581
|
+
*
|
|
1582
|
+
*/
|
|
1583
|
+
readonly UDP: EnumInstance<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "TCP" | "UDP">;
|
|
1584
|
+
}
|
|
1585
|
+
/** Defines the runtime API for {@link ContainerDefinition_Port_Protocol}. */
|
|
1586
|
+
export type ContainerDefinition_Port_ProtocolClass = EnumClass<"UNRECOGNIZED" | "PROTOCOL_UNSPECIFIED" | "TCP" | "UDP"> & ContainerDefinition_Port_ProtocolValueMembers;
|
|
1587
|
+
/** Converts and creates {@link ContainerDefinition_Port_Protocol} values. */
|
|
1588
|
+
export declare const ContainerDefinition_Port_Protocol: ContainerDefinition_Port_ProtocolClass;
|
|
1589
|
+
/**
|
|
1590
|
+
* The access mode for the mounted disk.
|
|
1591
|
+
*
|
|
1592
|
+
*/
|
|
1593
|
+
export type DiskMount_Mode = EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1594
|
+
/** Defines the static values of {@link DiskMount_Mode}. */
|
|
1595
|
+
export interface DiskMount_ModeValueMembers {
|
|
1596
|
+
/**
|
|
1597
|
+
* No access mode specified. Specify READ_WRITE or READ_ONLY.
|
|
1598
|
+
*
|
|
1599
|
+
*/
|
|
1600
|
+
readonly MODE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1601
|
+
/**
|
|
1602
|
+
* Allow reads and writes.
|
|
1603
|
+
*
|
|
1604
|
+
*/
|
|
1605
|
+
readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1606
|
+
/**
|
|
1607
|
+
* Allow reads only.
|
|
1608
|
+
*
|
|
1609
|
+
*/
|
|
1610
|
+
readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1611
|
+
}
|
|
1612
|
+
/** Defines the runtime API for {@link DiskMount_Mode}. */
|
|
1613
|
+
export type DiskMount_ModeClass = EnumClass<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY"> & DiskMount_ModeValueMembers;
|
|
1614
|
+
/** Converts and creates {@link DiskMount_Mode} values. */
|
|
1615
|
+
export declare const DiskMount_Mode: DiskMount_ModeClass;
|
|
1616
|
+
/**
|
|
1617
|
+
* The access mode for the mounted filesystem.
|
|
1618
|
+
*
|
|
1619
|
+
*/
|
|
1620
|
+
export type FilesystemMount_Mode = EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1621
|
+
/** Defines the static values of {@link FilesystemMount_Mode}. */
|
|
1622
|
+
export interface FilesystemMount_ModeValueMembers {
|
|
1623
|
+
/**
|
|
1624
|
+
* No access mode specified. Specify READ_WRITE or READ_ONLY.
|
|
1625
|
+
*
|
|
1626
|
+
*/
|
|
1627
|
+
readonly MODE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1628
|
+
/**
|
|
1629
|
+
* Allow reads and writes.
|
|
1630
|
+
*
|
|
1631
|
+
*/
|
|
1632
|
+
readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1633
|
+
/**
|
|
1634
|
+
* Allow reads only.
|
|
1635
|
+
*
|
|
1636
|
+
*/
|
|
1637
|
+
readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1638
|
+
}
|
|
1639
|
+
/** Defines the runtime API for {@link FilesystemMount_Mode}. */
|
|
1640
|
+
export type FilesystemMount_ModeClass = EnumClass<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY"> & FilesystemMount_ModeValueMembers;
|
|
1641
|
+
/** Converts and creates {@link FilesystemMount_Mode} values. */
|
|
1642
|
+
export declare const FilesystemMount_Mode: FilesystemMount_ModeClass;
|
|
1643
|
+
/**
|
|
1644
|
+
* The access mode for the mounted storage bucket.
|
|
1645
|
+
*
|
|
1646
|
+
*/
|
|
1647
|
+
export type StorageBucketMount_Mode = EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1648
|
+
/** Defines the static values of {@link StorageBucketMount_Mode}. */
|
|
1649
|
+
export interface StorageBucketMount_ModeValueMembers {
|
|
1650
|
+
/**
|
|
1651
|
+
* No access mode specified. Specify READ_WRITE or READ_ONLY.
|
|
1652
|
+
*
|
|
1653
|
+
*/
|
|
1654
|
+
readonly MODE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1655
|
+
/**
|
|
1656
|
+
* Allow reads and writes.
|
|
1657
|
+
*
|
|
1658
|
+
*/
|
|
1659
|
+
readonly READ_WRITE: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1660
|
+
/**
|
|
1661
|
+
* Allow reads only.
|
|
1662
|
+
*
|
|
1663
|
+
*/
|
|
1664
|
+
readonly READ_ONLY: EnumInstance<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY">;
|
|
1665
|
+
}
|
|
1666
|
+
/** Defines the runtime API for {@link StorageBucketMount_Mode}. */
|
|
1667
|
+
export type StorageBucketMount_ModeClass = EnumClass<"UNRECOGNIZED" | "MODE_UNSPECIFIED" | "READ_WRITE" | "READ_ONLY"> & StorageBucketMount_ModeValueMembers;
|
|
1668
|
+
/** Converts and creates {@link StorageBucketMount_Mode} values. */
|
|
1669
|
+
export declare const StorageBucketMount_Mode: StorageBucketMount_ModeClass;
|
|
1670
|
+
/**
|
|
1671
|
+
* ContainerDefinition defines a container that will be run on the VM.
|
|
1672
|
+
*
|
|
1673
|
+
*/
|
|
1674
|
+
export interface ContainerDefinition {
|
|
1675
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1676
|
+
$type: "nebius.applications.v1alpha1.ContainerDefinition";
|
|
1677
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1678
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1679
|
+
/** Returns a safe value for JSON logs. */
|
|
1680
|
+
[customJson]?: () => unknown;
|
|
1681
|
+
/**
|
|
1682
|
+
* The name of the container. This name is should be unique within the VM app.
|
|
1683
|
+
* If not specified, it will be generated based on the image name.
|
|
1684
|
+
*
|
|
1685
|
+
*/
|
|
1686
|
+
name: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* The Docker image to use for the container.
|
|
1689
|
+
*
|
|
1690
|
+
*/
|
|
1691
|
+
image: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Specifies the environment variables for the container.
|
|
1694
|
+
*
|
|
1695
|
+
*/
|
|
1696
|
+
environmentVariables: EnvironmentVariable[];
|
|
1697
|
+
/**
|
|
1698
|
+
* Specifies the ports that the container exposes.
|
|
1699
|
+
*
|
|
1700
|
+
*/
|
|
1701
|
+
ports: ContainerDefinition_Port[];
|
|
1702
|
+
/**
|
|
1703
|
+
* The volume to be mounted into the container.
|
|
1704
|
+
*
|
|
1705
|
+
*/
|
|
1706
|
+
volumes: ContainerDefinition_Volume[];
|
|
1707
|
+
/**
|
|
1708
|
+
* The command for the container in shell-string format.
|
|
1709
|
+
* If not specified, the default entrypoint from the image will be used.
|
|
1710
|
+
*
|
|
1711
|
+
*/
|
|
1712
|
+
command: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Shared memory size in bytes.
|
|
1715
|
+
*
|
|
1716
|
+
*/
|
|
1717
|
+
shmSizeBytes: Long;
|
|
1718
|
+
/**
|
|
1719
|
+
* The user to run the container as.
|
|
1720
|
+
*
|
|
1721
|
+
*/
|
|
1722
|
+
runtimeUser?: ContainerDefinition_User | undefined;
|
|
1723
|
+
/**
|
|
1724
|
+
* The working directory for the container.
|
|
1725
|
+
*
|
|
1726
|
+
*/
|
|
1727
|
+
workingDir: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* If true, the container will be run in privileged mode.
|
|
1730
|
+
*
|
|
1731
|
+
*/
|
|
1732
|
+
privileged: boolean;
|
|
1733
|
+
/**
|
|
1734
|
+
* The entrypoint for the container.
|
|
1735
|
+
*
|
|
1736
|
+
*/
|
|
1737
|
+
entrypoint: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* The restart policy for the container.
|
|
1740
|
+
* If not specified, the default policy is "always".
|
|
1741
|
+
*
|
|
1742
|
+
*/
|
|
1743
|
+
restartPolicy: ContainerDefinition_RestartPolicy;
|
|
1744
|
+
/**
|
|
1745
|
+
* The maximum number of restart attempts for the ON_FAILURE restart policy.
|
|
1746
|
+
* If absent or zero, restarts have no limit. A positive value limits the number of restarts.
|
|
1747
|
+
* Other restart policies ignore this field. Devlab templates must omit it.
|
|
1748
|
+
*
|
|
1749
|
+
*/
|
|
1750
|
+
maxAttempts?: Long | undefined;
|
|
1751
|
+
/**
|
|
1752
|
+
* Enables host IPC namespace sharing.
|
|
1753
|
+
*
|
|
1754
|
+
*/
|
|
1755
|
+
hostIpc: boolean;
|
|
1756
|
+
/**
|
|
1757
|
+
* Enables host network namespace sharing.
|
|
1758
|
+
*
|
|
1759
|
+
*/
|
|
1760
|
+
hostNetwork: boolean;
|
|
1761
|
+
/**
|
|
1762
|
+
* Enables logs export to Nebius Observability.
|
|
1763
|
+
*
|
|
1764
|
+
*/
|
|
1765
|
+
exportLogs: boolean;
|
|
1766
|
+
/**
|
|
1767
|
+
* The docker registry username to configure for the container.
|
|
1768
|
+
*
|
|
1769
|
+
*/
|
|
1770
|
+
registryUsername: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* The docker registry password to configure for the container.
|
|
1773
|
+
*
|
|
1774
|
+
*/
|
|
1775
|
+
registryPassword: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Small files materialized inside the container before it starts.
|
|
1778
|
+
*
|
|
1779
|
+
*/
|
|
1780
|
+
injectedFiles: ContainerDefinition_InjectedFile[];
|
|
1781
|
+
/**
|
|
1782
|
+
* GPU configuration for the container.
|
|
1783
|
+
* If not specified, the container will not have access to GPUs.
|
|
1784
|
+
* Ignored if the compute instance does not have GPUs.
|
|
1785
|
+
*
|
|
1786
|
+
*/
|
|
1787
|
+
gpu?: {
|
|
1788
|
+
$case: "gpuCount";
|
|
1789
|
+
gpuCount: Long;
|
|
1790
|
+
} | {
|
|
1791
|
+
$case: "allGpus";
|
|
1792
|
+
allGpus: boolean;
|
|
1793
|
+
} | undefined;
|
|
1794
|
+
}
|
|
1795
|
+
/** Encodes, decodes, converts, and creates {@link ContainerDefinition} messages. */
|
|
1796
|
+
export declare const ContainerDefinition: MessageFns<ContainerDefinition, "nebius.applications.v1alpha1.ContainerDefinition">;
|
|
1797
|
+
/** Represents the `nebius.applications.v1alpha1.ContainerDefinition.User` protobuf message. */
|
|
1798
|
+
export interface ContainerDefinition_User {
|
|
1799
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1800
|
+
$type: "nebius.applications.v1alpha1.ContainerDefinition.User";
|
|
1801
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1802
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1803
|
+
/** Returns a safe value for JSON logs. */
|
|
1804
|
+
[customJson]?: () => unknown;
|
|
1805
|
+
/**
|
|
1806
|
+
* The user ID to run the container as.
|
|
1807
|
+
*
|
|
1808
|
+
*/
|
|
1809
|
+
uid: Long;
|
|
1810
|
+
/**
|
|
1811
|
+
* The group ID to run the container as.
|
|
1812
|
+
*
|
|
1813
|
+
*/
|
|
1814
|
+
gid: Long;
|
|
1815
|
+
}
|
|
1816
|
+
/** Encodes, decodes, converts, and creates {@link ContainerDefinition_User} messages. */
|
|
1817
|
+
export declare const ContainerDefinition_User: MessageFns<ContainerDefinition_User, "nebius.applications.v1alpha1.ContainerDefinition.User">;
|
|
1818
|
+
/**
|
|
1819
|
+
* Port defines a port that is exposed by the container.
|
|
1820
|
+
*
|
|
1821
|
+
*/
|
|
1822
|
+
export interface ContainerDefinition_Port {
|
|
1823
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1824
|
+
$type: "nebius.applications.v1alpha1.ContainerDefinition.Port";
|
|
1825
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1826
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1827
|
+
/** Returns a safe value for JSON logs. */
|
|
1828
|
+
[customJson]?: () => unknown;
|
|
1829
|
+
/**
|
|
1830
|
+
* The port number of the container that needs to be exposed.
|
|
1831
|
+
*
|
|
1832
|
+
*/
|
|
1833
|
+
port: number;
|
|
1834
|
+
/**
|
|
1835
|
+
* The port on the host that the container port will be mapped to.
|
|
1836
|
+
* If not specified, the port will be mapped to the same port on the host.
|
|
1837
|
+
*
|
|
1838
|
+
*/
|
|
1839
|
+
hostPort: number;
|
|
1840
|
+
/**
|
|
1841
|
+
* The protocol used by the exposed port, either TCP or UDP.
|
|
1842
|
+
* If not specified, it defaults to TCP.
|
|
1843
|
+
*
|
|
1844
|
+
*/
|
|
1845
|
+
protocol: ContainerDefinition_Port_Protocol;
|
|
1846
|
+
/**
|
|
1847
|
+
* The name of the endpoint for this port, which is used to identify the endpoint in the UI.
|
|
1848
|
+
*
|
|
1849
|
+
*/
|
|
1850
|
+
endpointName: string;
|
|
1851
|
+
}
|
|
1852
|
+
/** Encodes, decodes, converts, and creates {@link ContainerDefinition_Port} messages. */
|
|
1853
|
+
export declare const ContainerDefinition_Port: MessageFns<ContainerDefinition_Port, "nebius.applications.v1alpha1.ContainerDefinition.Port">;
|
|
1854
|
+
/**
|
|
1855
|
+
* Volume defines a volume that will be mounted into the container.
|
|
1856
|
+
*
|
|
1857
|
+
*/
|
|
1858
|
+
export interface ContainerDefinition_Volume {
|
|
1859
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1860
|
+
$type: "nebius.applications.v1alpha1.ContainerDefinition.Volume";
|
|
1861
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1862
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1863
|
+
/** Returns a safe value for JSON logs. */
|
|
1864
|
+
[customJson]?: () => unknown;
|
|
1865
|
+
/**
|
|
1866
|
+
* The unique identifier of the volume.
|
|
1867
|
+
* If not specified, an ID will be generated.
|
|
1868
|
+
*
|
|
1869
|
+
*/
|
|
1870
|
+
id: string;
|
|
1871
|
+
/**
|
|
1872
|
+
* The path in the container where the mounted volume will be available.
|
|
1873
|
+
*
|
|
1874
|
+
*/
|
|
1875
|
+
mountPath: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* The description of the volume.
|
|
1878
|
+
*
|
|
1879
|
+
*/
|
|
1880
|
+
description: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* The storage of the volume.
|
|
1883
|
+
* If not specified, the volume will be mounted on the VM boot disk.
|
|
1884
|
+
*
|
|
1885
|
+
*/
|
|
1886
|
+
storage?: {
|
|
1887
|
+
$case: "bootDisk";
|
|
1888
|
+
bootDisk: BootDisk;
|
|
1889
|
+
} | {
|
|
1890
|
+
$case: "disk";
|
|
1891
|
+
disk: DiskMount;
|
|
1892
|
+
} | {
|
|
1893
|
+
$case: "filesystem";
|
|
1894
|
+
filesystem: FilesystemMount;
|
|
1895
|
+
} | {
|
|
1896
|
+
$case: "storageBucket";
|
|
1897
|
+
storageBucket: StorageBucketMount;
|
|
1898
|
+
} | {
|
|
1899
|
+
$case: "externalS3";
|
|
1900
|
+
externalS3: ExternalS3Mount;
|
|
1901
|
+
} | undefined;
|
|
1902
|
+
}
|
|
1903
|
+
/** Encodes, decodes, converts, and creates {@link ContainerDefinition_Volume} messages. */
|
|
1904
|
+
export declare const ContainerDefinition_Volume: MessageFns<ContainerDefinition_Volume, "nebius.applications.v1alpha1.ContainerDefinition.Volume">;
|
|
1905
|
+
/**
|
|
1906
|
+
* InjectedFile is a small file materialized inside the container at launch.
|
|
1907
|
+
*
|
|
1908
|
+
*/
|
|
1909
|
+
export interface ContainerDefinition_InjectedFile {
|
|
1910
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1911
|
+
$type: "nebius.applications.v1alpha1.ContainerDefinition.InjectedFile";
|
|
1912
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1913
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1914
|
+
/** Returns a safe value for JSON logs. */
|
|
1915
|
+
[customJson]?: () => unknown;
|
|
1916
|
+
/**
|
|
1917
|
+
* Stable identifier within the container, used as the materialized
|
|
1918
|
+
* file's name under the agent state directory.
|
|
1919
|
+
*
|
|
1920
|
+
*/
|
|
1921
|
+
id: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* Absolute path inside the container where the content is written.
|
|
1924
|
+
*
|
|
1925
|
+
*/
|
|
1926
|
+
containerPath: string;
|
|
1927
|
+
/**
|
|
1928
|
+
* File content. Masked out of the stored definition by Sanitize(); the
|
|
1929
|
+
* real bytes live only in the mystery box data secret.
|
|
1930
|
+
*
|
|
1931
|
+
*/
|
|
1932
|
+
content: Uint8Array;
|
|
1933
|
+
}
|
|
1934
|
+
/** Encodes, decodes, converts, and creates {@link ContainerDefinition_InjectedFile} messages. */
|
|
1935
|
+
export declare const ContainerDefinition_InjectedFile: MessageFns<ContainerDefinition_InjectedFile, "nebius.applications.v1alpha1.ContainerDefinition.InjectedFile">;
|
|
1936
|
+
/**
|
|
1937
|
+
* EnvironmentVariable defines an environment variable for the container.
|
|
1938
|
+
*
|
|
1939
|
+
*/
|
|
1940
|
+
export interface EnvironmentVariable {
|
|
1941
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1942
|
+
$type: "nebius.applications.v1alpha1.EnvironmentVariable";
|
|
1943
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1944
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1945
|
+
/** Returns a safe value for JSON logs. */
|
|
1946
|
+
[customJson]?: () => unknown;
|
|
1947
|
+
/**
|
|
1948
|
+
* The key of the environment variable.
|
|
1949
|
+
*
|
|
1950
|
+
*/
|
|
1951
|
+
key: string;
|
|
1952
|
+
/**
|
|
1953
|
+
* The value of the environment variable.
|
|
1954
|
+
*
|
|
1955
|
+
*/
|
|
1956
|
+
data?: {
|
|
1957
|
+
$case: "value";
|
|
1958
|
+
value: string;
|
|
1959
|
+
} | {
|
|
1960
|
+
$case: "sensitiveValue";
|
|
1961
|
+
sensitiveValue: string;
|
|
1962
|
+
} | undefined;
|
|
1963
|
+
}
|
|
1964
|
+
/** Encodes, decodes, converts, and creates {@link EnvironmentVariable} messages. */
|
|
1965
|
+
export declare const EnvironmentVariable: MessageFns<EnvironmentVariable, "nebius.applications.v1alpha1.EnvironmentVariable">;
|
|
1966
|
+
/**
|
|
1967
|
+
* BootDisk defines a boot disk path that will be mounted into the container.
|
|
1968
|
+
*
|
|
1969
|
+
*/
|
|
1970
|
+
export interface BootDisk {
|
|
1971
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1972
|
+
$type: "nebius.applications.v1alpha1.BootDisk";
|
|
1973
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1974
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1975
|
+
/** Returns a safe value for JSON logs. */
|
|
1976
|
+
[customJson]?: () => unknown;
|
|
1977
|
+
}
|
|
1978
|
+
/** Encodes, decodes, converts, and creates {@link BootDisk} messages. */
|
|
1979
|
+
export declare const BootDisk: MessageFns<BootDisk, "nebius.applications.v1alpha1.BootDisk">;
|
|
1980
|
+
/** Represents the `nebius.applications.v1alpha1.DiskMount` protobuf message. */
|
|
1981
|
+
export interface DiskMount {
|
|
1982
|
+
/** Contains the fully qualified protobuf type name. */
|
|
1983
|
+
$type: "nebius.applications.v1alpha1.DiskMount";
|
|
1984
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
1985
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1986
|
+
/** Returns a safe value for JSON logs. */
|
|
1987
|
+
[customJson]?: () => unknown;
|
|
1988
|
+
/**
|
|
1989
|
+
* ID of the compute disk to be mounted
|
|
1990
|
+
*
|
|
1991
|
+
*/
|
|
1992
|
+
id: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* Mount mode.
|
|
1995
|
+
*
|
|
1996
|
+
*/
|
|
1997
|
+
mode: DiskMount_Mode;
|
|
1998
|
+
}
|
|
1999
|
+
/** Encodes, decodes, converts, and creates {@link DiskMount} messages. */
|
|
2000
|
+
export declare const DiskMount: MessageFns<DiskMount, "nebius.applications.v1alpha1.DiskMount">;
|
|
2001
|
+
/**
|
|
2002
|
+
* FilesystemMount defines a filesystem that will be mounted into the container.
|
|
2003
|
+
*
|
|
2004
|
+
*/
|
|
2005
|
+
export interface FilesystemMount {
|
|
2006
|
+
/** Contains the fully qualified protobuf type name. */
|
|
2007
|
+
$type: "nebius.applications.v1alpha1.FilesystemMount";
|
|
2008
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
2009
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
2010
|
+
/** Returns a safe value for JSON logs. */
|
|
2011
|
+
[customJson]?: () => unknown;
|
|
2012
|
+
/**
|
|
2013
|
+
* ID of the filesystem to be mounted
|
|
2014
|
+
*
|
|
2015
|
+
*/
|
|
2016
|
+
id: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Mount mode.
|
|
2019
|
+
*
|
|
2020
|
+
*/
|
|
2021
|
+
mode: FilesystemMount_Mode;
|
|
2022
|
+
}
|
|
2023
|
+
/** Encodes, decodes, converts, and creates {@link FilesystemMount} messages. */
|
|
2024
|
+
export declare const FilesystemMount: MessageFns<FilesystemMount, "nebius.applications.v1alpha1.FilesystemMount">;
|
|
2025
|
+
/**
|
|
2026
|
+
* StorageBucketMount defines a storage bucket that will be mounted into the container.
|
|
2027
|
+
*
|
|
2028
|
+
*/
|
|
2029
|
+
export interface StorageBucketMount {
|
|
2030
|
+
/** Contains the fully qualified protobuf type name. */
|
|
2031
|
+
$type: "nebius.applications.v1alpha1.StorageBucketMount";
|
|
2032
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
2033
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
2034
|
+
/** Returns a safe value for JSON logs. */
|
|
2035
|
+
[customJson]?: () => unknown;
|
|
2036
|
+
/**
|
|
2037
|
+
* ID of the storage bucket to be mounted
|
|
2038
|
+
*
|
|
2039
|
+
*/
|
|
2040
|
+
id: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* Mount mode.
|
|
2043
|
+
*
|
|
2044
|
+
*/
|
|
2045
|
+
mode: StorageBucketMount_Mode;
|
|
2046
|
+
}
|
|
2047
|
+
/** Encodes, decodes, converts, and creates {@link StorageBucketMount} messages. */
|
|
2048
|
+
export declare const StorageBucketMount: MessageFns<StorageBucketMount, "nebius.applications.v1alpha1.StorageBucketMount">;
|
|
2049
|
+
/**
|
|
2050
|
+
* ExternalS3Mount defines an external S3-compatible bucket that will be mounted into the container.
|
|
2051
|
+
*
|
|
2052
|
+
*/
|
|
2053
|
+
export interface ExternalS3Mount {
|
|
2054
|
+
/** Contains the fully qualified protobuf type name. */
|
|
2055
|
+
$type: "nebius.applications.v1alpha1.ExternalS3Mount";
|
|
2056
|
+
/** Preserves protobuf fields that this SDK version does not recognize. */
|
|
2057
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
2058
|
+
/** Returns a safe value for JSON logs. */
|
|
2059
|
+
[customJson]?: () => unknown;
|
|
2060
|
+
/**
|
|
2061
|
+
* S3-compatible endpoint URL.
|
|
2062
|
+
*
|
|
2063
|
+
*/
|
|
2064
|
+
endpoint: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* Bucket name.
|
|
2067
|
+
*
|
|
2068
|
+
*/
|
|
2069
|
+
bucket: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* Access key ID.
|
|
2072
|
+
*
|
|
2073
|
+
*/
|
|
2074
|
+
accessKeyId: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Secret access key.
|
|
2077
|
+
*
|
|
2078
|
+
*/
|
|
2079
|
+
secretAccessKey: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Session token (optional, for temporary credentials).
|
|
2082
|
+
*
|
|
2083
|
+
*/
|
|
2084
|
+
sessionToken: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Mount mode.
|
|
2087
|
+
*
|
|
2088
|
+
*/
|
|
2089
|
+
mode: StorageBucketMount_Mode;
|
|
2090
|
+
/**
|
|
2091
|
+
* S3 region.
|
|
2092
|
+
*
|
|
2093
|
+
*/
|
|
2094
|
+
region: string;
|
|
2095
|
+
}
|
|
2096
|
+
/** Encodes, decodes, converts, and creates {@link ExternalS3Mount} messages. */
|
|
2097
|
+
export declare const ExternalS3Mount: MessageFns<ExternalS3Mount, "nebius.applications.v1alpha1.ExternalS3Mount">;
|
|
459
2098
|
//# sourceMappingURL=index.d.ts.map
|