Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDiskServiceServer(s grpc.ServiceRegistrar, srv DiskServiceServer)
- func RegisterFilesystemServiceServer(s grpc.ServiceRegistrar, srv FilesystemServiceServer)
- func RegisterGpuClusterServiceServer(s grpc.ServiceRegistrar, srv GpuClusterServiceServer)
- func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)
- func RegisterInstanceServiceServer(s grpc.ServiceRegistrar, srv InstanceServiceServer)
- func RegisterMaintenanceServiceServer(s grpc.ServiceRegistrar, srv MaintenanceServiceServer)
- func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
- func RegisterPlatformServiceServer(s grpc.ServiceRegistrar, srv PlatformServiceServer)
- type AttachedDiskSpec
- func (*AttachedDiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedDiskSpec) GetAttachMode() AttachedDiskSpec_AttachMode
- func (x *AttachedDiskSpec) GetDeviceId() string
- func (x *AttachedDiskSpec) GetExistingDisk() *ExistingDisk
- func (x *AttachedDiskSpec) GetManagedDisk() *ManagedDisk
- func (x *AttachedDiskSpec) GetType() isAttachedDiskSpec_Type
- func (*AttachedDiskSpec) ProtoMessage()
- func (x *AttachedDiskSpec) ProtoReflect() protoreflect.Message
- func (x *AttachedDiskSpec) Reset()
- func (x *AttachedDiskSpec) String() string
- type AttachedDiskSpec_AttachMode
- func (AttachedDiskSpec_AttachMode) Descriptor() protoreflect.EnumDescriptor
- func (x AttachedDiskSpec_AttachMode) Enum() *AttachedDiskSpec_AttachMode
- func (AttachedDiskSpec_AttachMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttachedDiskSpec_AttachMode) Number() protoreflect.EnumNumber
- func (x AttachedDiskSpec_AttachMode) String() string
- func (AttachedDiskSpec_AttachMode) Type() protoreflect.EnumType
- type AttachedDiskSpec_ExistingDisk
- type AttachedDiskSpec_ManagedDisk
- type AttachedFilesystemSpec
- func (*AttachedFilesystemSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedFilesystemSpec) GetAttachMode() AttachedFilesystemSpec_AttachMode
- func (x *AttachedFilesystemSpec) GetExistingFilesystem() *ExistingFilesystem
- func (x *AttachedFilesystemSpec) GetMountTag() string
- func (x *AttachedFilesystemSpec) GetType() isAttachedFilesystemSpec_Type
- func (*AttachedFilesystemSpec) ProtoMessage()
- func (x *AttachedFilesystemSpec) ProtoReflect() protoreflect.Message
- func (x *AttachedFilesystemSpec) Reset()
- func (x *AttachedFilesystemSpec) String() string
- type AttachedFilesystemSpec_AttachMode
- func (AttachedFilesystemSpec_AttachMode) Descriptor() protoreflect.EnumDescriptor
- func (x AttachedFilesystemSpec_AttachMode) Enum() *AttachedFilesystemSpec_AttachMode
- func (AttachedFilesystemSpec_AttachMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttachedFilesystemSpec_AttachMode) Number() protoreflect.EnumNumber
- func (x AttachedFilesystemSpec_AttachMode) String() string
- func (AttachedFilesystemSpec_AttachMode) Type() protoreflect.EnumType
- type AttachedFilesystemSpec_ExistingFilesystem
- type BatchGetRequest
- type BatchGetResponse
- func (*BatchGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetResponse) GetItems() map[string]*BatchGetResponse_BatchGetResult
- func (x *BatchGetResponse) LogValue() slog.Value
- func (*BatchGetResponse) ProtoMessage()
- func (x *BatchGetResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetResponse) Reset()
- func (x *BatchGetResponse) Sanitize()
- func (x *BatchGetResponse) String() string
- type BatchGetResponse_BatchGetResult
- func (*BatchGetResponse_BatchGetResult) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetResponse_BatchGetResult) GetError() *status.Status
- func (x *BatchGetResponse_BatchGetResult) GetInstance() *Instance
- func (x *BatchGetResponse_BatchGetResult) GetResult() isBatchGetResponse_BatchGetResult_Result
- func (x *BatchGetResponse_BatchGetResult) LogValue() slog.Value
- func (*BatchGetResponse_BatchGetResult) ProtoMessage()
- func (x *BatchGetResponse_BatchGetResult) ProtoReflect() protoreflect.Message
- func (x *BatchGetResponse_BatchGetResult) Reset()
- func (x *BatchGetResponse_BatchGetResult) Sanitize()
- func (x *BatchGetResponse_BatchGetResult) String() string
- type BatchGetResponse_BatchGetResult_Error
- type BatchGetResponse_BatchGetResult_Instance
- type CreateDiskRequest
- func (*CreateDiskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDiskRequest) GetMetadata() *v1.ResourceMetadata
- func (x *CreateDiskRequest) GetSpec() *DiskSpec
- func (*CreateDiskRequest) ProtoMessage()
- func (x *CreateDiskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDiskRequest) Reset()
- func (x *CreateDiskRequest) String() string
- type CreateFilesystemRequest
- func (*CreateFilesystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFilesystemRequest) GetMetadata() *v1.ResourceMetadata
- func (x *CreateFilesystemRequest) GetSpec() *FilesystemSpec
- func (*CreateFilesystemRequest) ProtoMessage()
- func (x *CreateFilesystemRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFilesystemRequest) Reset()
- func (x *CreateFilesystemRequest) String() string
- type CreateGpuClusterRequest
- func (*CreateGpuClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGpuClusterRequest) GetMetadata() *v1.ResourceMetadata
- func (x *CreateGpuClusterRequest) GetSpec() *GpuClusterSpec
- func (*CreateGpuClusterRequest) ProtoMessage()
- func (x *CreateGpuClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGpuClusterRequest) Reset()
- func (x *CreateGpuClusterRequest) String() string
- type CreateImageRequest
- func (*CreateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageRequest) GetMetadata() *v1.ResourceMetadata
- func (x *CreateImageRequest) GetSpec() *ImageSpec
- func (*CreateImageRequest) ProtoMessage()
- func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateImageRequest) Reset()
- func (x *CreateImageRequest) String() string
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceRequest) GetMetadata() *v1.ResourceMetadata
- func (x *CreateInstanceRequest) GetSpec() *InstanceSpec
- func (x *CreateInstanceRequest) LogValue() slog.Value
- func (*CreateInstanceRequest) ProtoMessage()
- func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceRequest) Reset()
- func (x *CreateInstanceRequest) Sanitize()
- func (x *CreateInstanceRequest) String() string
- type DeleteDiskRequest
- type DeleteFilesystemRequest
- func (*DeleteFilesystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFilesystemRequest) GetId() string
- func (*DeleteFilesystemRequest) ProtoMessage()
- func (x *DeleteFilesystemRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFilesystemRequest) Reset()
- func (x *DeleteFilesystemRequest) String() string
- type DeleteGpuClusterRequest
- func (*DeleteGpuClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGpuClusterRequest) GetId() string
- func (*DeleteGpuClusterRequest) ProtoMessage()
- func (x *DeleteGpuClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGpuClusterRequest) Reset()
- func (x *DeleteGpuClusterRequest) String() string
- type DeleteImageRequest
- type DeleteInstanceRequest
- func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceRequest) GetId() string
- func (*DeleteInstanceRequest) ProtoMessage()
- func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceRequest) Reset()
- func (x *DeleteInstanceRequest) String() string
- type Disk
- func (*Disk) Descriptor() ([]byte, []int)deprecated
- func (x *Disk) GetMetadata() *v1.ResourceMetadata
- func (x *Disk) GetSpec() *DiskSpec
- func (x *Disk) GetStatus() *DiskStatus
- func (*Disk) ProtoMessage()
- func (x *Disk) ProtoReflect() protoreflect.Message
- func (x *Disk) Reset()
- func (x *Disk) String() string
- type DiskAttachmentStatus
- func (*DiskAttachmentStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DiskAttachmentStatus) GetId() string
- func (x *DiskAttachmentStatus) GetIsManaged() bool
- func (x *DiskAttachmentStatus) GetName() string
- func (*DiskAttachmentStatus) ProtoMessage()
- func (x *DiskAttachmentStatus) ProtoReflect() protoreflect.Message
- func (x *DiskAttachmentStatus) Reset()
- func (x *DiskAttachmentStatus) String() string
- type DiskEncryption
- func (*DiskEncryption) Descriptor() ([]byte, []int)deprecated
- func (x *DiskEncryption) GetType() DiskEncryption_DiskEncryptionType
- func (*DiskEncryption) ProtoMessage()
- func (x *DiskEncryption) ProtoReflect() protoreflect.Message
- func (x *DiskEncryption) Reset()
- func (x *DiskEncryption) String() string
- type DiskEncryption_DiskEncryptionType
- func (DiskEncryption_DiskEncryptionType) Descriptor() protoreflect.EnumDescriptor
- func (x DiskEncryption_DiskEncryptionType) Enum() *DiskEncryption_DiskEncryptionType
- func (DiskEncryption_DiskEncryptionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskEncryption_DiskEncryptionType) Number() protoreflect.EnumNumber
- func (x DiskEncryption_DiskEncryptionType) String() string
- func (DiskEncryption_DiskEncryptionType) Type() protoreflect.EnumType
- type DiskServiceClient
- type DiskServiceServer
- type DiskSpec
- func (*DiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DiskSpec) GetBlockSizeBytes() int64
- func (x *DiskSpec) GetDiskEncryption() *DiskEncryption
- func (x *DiskSpec) GetForbidDeletion() bool
- func (x *DiskSpec) GetSize() isDiskSpec_Size
- func (x *DiskSpec) GetSizeBytes() int64
- func (x *DiskSpec) GetSizeGibibytes() int64
- func (x *DiskSpec) GetSizeKibibytes() int64
- func (x *DiskSpec) GetSizeMebibytes() int64
- func (x *DiskSpec) GetSource() isDiskSpec_Source
- func (x *DiskSpec) GetSourceImageFamily() *SourceImageFamily
- func (x *DiskSpec) GetSourceImageId() string
- func (x *DiskSpec) GetType() DiskSpec_DiskType
- func (*DiskSpec) ProtoMessage()
- func (x *DiskSpec) ProtoReflect() protoreflect.Message
- func (x *DiskSpec) Reset()
- func (x *DiskSpec) String() string
- type DiskSpec_DiskType
- func (DiskSpec_DiskType) Descriptor() protoreflect.EnumDescriptor
- func (x DiskSpec_DiskType) Enum() *DiskSpec_DiskType
- func (DiskSpec_DiskType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskSpec_DiskType) Number() protoreflect.EnumNumber
- func (x DiskSpec_DiskType) String() string
- func (DiskSpec_DiskType) Type() protoreflect.EnumType
- type DiskSpec_SizeBytes
- type DiskSpec_SizeGibibytes
- type DiskSpec_SizeKibibytes
- type DiskSpec_SizeMebibytes
- type DiskSpec_SourceImageFamily
- type DiskSpec_SourceImageId
- type DiskStatus
- func (*DiskStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DiskStatus) GetBlockSizeBytes() int64
- func (x *DiskStatus) GetLockState() *DiskStatus_LockState
- func (x *DiskStatus) GetReadOnlyAttachments() []string
- func (x *DiskStatus) GetReadWriteAttachment() string
- func (x *DiskStatus) GetReconciling() bool
- func (x *DiskStatus) GetSizeBytes() int64
- func (x *DiskStatus) GetSourceImageCpuArchitecture() DiskStatus_SourceImageCPUArchitecture
- func (x *DiskStatus) GetSourceImageId() string
- func (x *DiskStatus) GetState() DiskStatus_State
- func (x *DiskStatus) GetStateDescription() string
- func (*DiskStatus) ProtoMessage()
- func (x *DiskStatus) ProtoReflect() protoreflect.Message
- func (x *DiskStatus) Reset()
- func (x *DiskStatus) String() string
- type DiskStatus_LockState
- func (*DiskStatus_LockState) Descriptor() ([]byte, []int)deprecated
- func (x *DiskStatus_LockState) GetImages() []string
- func (*DiskStatus_LockState) ProtoMessage()
- func (x *DiskStatus_LockState) ProtoReflect() protoreflect.Message
- func (x *DiskStatus_LockState) Reset()
- func (x *DiskStatus_LockState) String() string
- type DiskStatus_SourceImageCPUArchitecture
- func (DiskStatus_SourceImageCPUArchitecture) Descriptor() protoreflect.EnumDescriptor
- func (x DiskStatus_SourceImageCPUArchitecture) Enum() *DiskStatus_SourceImageCPUArchitecture
- func (DiskStatus_SourceImageCPUArchitecture) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskStatus_SourceImageCPUArchitecture) Number() protoreflect.EnumNumber
- func (x DiskStatus_SourceImageCPUArchitecture) String() string
- func (DiskStatus_SourceImageCPUArchitecture) Type() protoreflect.EnumType
- type DiskStatus_State
- func (DiskStatus_State) Descriptor() protoreflect.EnumDescriptor
- func (x DiskStatus_State) Enum() *DiskStatus_State
- func (DiskStatus_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiskStatus_State) Number() protoreflect.EnumNumber
- func (x DiskStatus_State) String() string
- func (DiskStatus_State) Type() protoreflect.EnumType
- type ExistingDisk
- type ExistingFilesystem
- type Filesystem
- func (*Filesystem) Descriptor() ([]byte, []int)deprecated
- func (x *Filesystem) GetMetadata() *v1.ResourceMetadata
- func (x *Filesystem) GetSpec() *FilesystemSpec
- func (x *Filesystem) GetStatus() *FilesystemStatus
- func (*Filesystem) ProtoMessage()
- func (x *Filesystem) ProtoReflect() protoreflect.Message
- func (x *Filesystem) Reset()
- func (x *Filesystem) String() string
- type FilesystemServiceClient
- type FilesystemServiceServer
- type FilesystemSpec
- func (*FilesystemSpec) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemSpec) GetBlockSizeBytes() int64
- func (x *FilesystemSpec) GetForbidDeletion() bool
- func (x *FilesystemSpec) GetSize() isFilesystemSpec_Size
- func (x *FilesystemSpec) GetSizeBytes() int64
- func (x *FilesystemSpec) GetSizeGibibytes() int64
- func (x *FilesystemSpec) GetSizeKibibytes() int64
- func (x *FilesystemSpec) GetSizeMebibytes() int64
- func (x *FilesystemSpec) GetType() FilesystemSpec_FilesystemType
- func (*FilesystemSpec) ProtoMessage()
- func (x *FilesystemSpec) ProtoReflect() protoreflect.Message
- func (x *FilesystemSpec) Reset()
- func (x *FilesystemSpec) String() string
- type FilesystemSpec_FilesystemType
- func (FilesystemSpec_FilesystemType) Descriptor() protoreflect.EnumDescriptor
- func (x FilesystemSpec_FilesystemType) Enum() *FilesystemSpec_FilesystemType
- func (FilesystemSpec_FilesystemType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilesystemSpec_FilesystemType) Number() protoreflect.EnumNumber
- func (x FilesystemSpec_FilesystemType) String() string
- func (FilesystemSpec_FilesystemType) Type() protoreflect.EnumType
- type FilesystemSpec_SizeBytes
- type FilesystemSpec_SizeGibibytes
- type FilesystemSpec_SizeKibibytes
- type FilesystemSpec_SizeMebibytes
- type FilesystemStatus
- func (*FilesystemStatus) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemStatus) GetBlockSizeBytes() int64
- func (x *FilesystemStatus) GetReadOnlyAttachments() []string
- func (x *FilesystemStatus) GetReadWriteAttachments() []string
- func (x *FilesystemStatus) GetReconciling() bool
- func (x *FilesystemStatus) GetSizeBytes() int64
- func (x *FilesystemStatus) GetState() FilesystemStatus_State
- func (x *FilesystemStatus) GetStateDescription() string
- func (*FilesystemStatus) ProtoMessage()
- func (x *FilesystemStatus) ProtoReflect() protoreflect.Message
- func (x *FilesystemStatus) Reset()
- func (x *FilesystemStatus) String() string
- type FilesystemStatus_State
- func (FilesystemStatus_State) Descriptor() protoreflect.EnumDescriptor
- func (x FilesystemStatus_State) Enum() *FilesystemStatus_State
- func (FilesystemStatus_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x FilesystemStatus_State) Number() protoreflect.EnumNumber
- func (x FilesystemStatus_State) String() string
- func (FilesystemStatus_State) Type() protoreflect.EnumType
- type GetDiskRequest
- type GetFilesystemRequest
- func (*GetFilesystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFilesystemRequest) GetId() string
- func (*GetFilesystemRequest) ProtoMessage()
- func (x *GetFilesystemRequest) ProtoReflect() protoreflect.Message
- func (x *GetFilesystemRequest) Reset()
- func (x *GetFilesystemRequest) String() string
- type GetGpuClusterRequest
- func (*GetGpuClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGpuClusterRequest) GetId() string
- func (*GetGpuClusterRequest) ProtoMessage()
- func (x *GetGpuClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetGpuClusterRequest) Reset()
- func (x *GetGpuClusterRequest) String() string
- type GetImageLatestByFamilyRequest
- func (*GetImageLatestByFamilyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetImageLatestByFamilyRequest) GetImageFamily() string
- func (x *GetImageLatestByFamilyRequest) GetParentId() string
- func (*GetImageLatestByFamilyRequest) ProtoMessage()
- func (x *GetImageLatestByFamilyRequest) ProtoReflect() protoreflect.Message
- func (x *GetImageLatestByFamilyRequest) Reset()
- func (x *GetImageLatestByFamilyRequest) String() string
- type GetImageRequest
- type GetInstanceRequest
- type GetMaintenanceEventByInstanceRequest
- func (*GetMaintenanceEventByInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaintenanceEventByInstanceRequest) GetInstanceId() string
- func (*GetMaintenanceEventByInstanceRequest) ProtoMessage()
- func (x *GetMaintenanceEventByInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetMaintenanceEventByInstanceRequest) Reset()
- func (x *GetMaintenanceEventByInstanceRequest) String() string
- type GpuCluster
- func (*GpuCluster) Descriptor() ([]byte, []int)deprecated
- func (x *GpuCluster) GetMetadata() *v1.ResourceMetadata
- func (x *GpuCluster) GetSpec() *GpuClusterSpec
- func (x *GpuCluster) GetStatus() *GpuClusterStatus
- func (*GpuCluster) ProtoMessage()
- func (x *GpuCluster) ProtoReflect() protoreflect.Message
- func (x *GpuCluster) Reset()
- func (x *GpuCluster) String() string
- type GpuClusterServiceClient
- type GpuClusterServiceServer
- type GpuClusterSpec
- type GpuClusterStatus
- func (*GpuClusterStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GpuClusterStatus) GetInfinibandTopologyPath() *GpuClusterStatusInfinibandTopologyPath
- func (x *GpuClusterStatus) GetInstances() []string
- func (x *GpuClusterStatus) GetReconciling() bool
- func (x *GpuClusterStatus) GetTopology() isGpuClusterStatus_Topology
- func (*GpuClusterStatus) ProtoMessage()
- func (x *GpuClusterStatus) ProtoReflect() protoreflect.Message
- func (x *GpuClusterStatus) Reset()
- func (x *GpuClusterStatus) String() string
- type GpuClusterStatusInfinibandTopologyPath
- func (*GpuClusterStatusInfinibandTopologyPath) Descriptor() ([]byte, []int)deprecated
- func (x *GpuClusterStatusInfinibandTopologyPath) GetInstances() []*GpuClusterStatusInfinibandTopologyPathInstance
- func (*GpuClusterStatusInfinibandTopologyPath) ProtoMessage()
- func (x *GpuClusterStatusInfinibandTopologyPath) ProtoReflect() protoreflect.Message
- func (x *GpuClusterStatusInfinibandTopologyPath) Reset()
- func (x *GpuClusterStatusInfinibandTopologyPath) String() string
- type GpuClusterStatusInfinibandTopologyPathInstance
- func (*GpuClusterStatusInfinibandTopologyPathInstance) Descriptor() ([]byte, []int)deprecated
- func (x *GpuClusterStatusInfinibandTopologyPathInstance) GetInstanceId() string
- func (x *GpuClusterStatusInfinibandTopologyPathInstance) GetPath() []string
- func (*GpuClusterStatusInfinibandTopologyPathInstance) ProtoMessage()
- func (x *GpuClusterStatusInfinibandTopologyPathInstance) ProtoReflect() protoreflect.Message
- func (x *GpuClusterStatusInfinibandTopologyPathInstance) Reset()
- func (x *GpuClusterStatusInfinibandTopologyPathInstance) String() string
- type GpuClusterStatus_InfinibandTopologyPath
- type IPAddress
- type IPAddressStatus
- func (*IPAddressStatus) Descriptor() ([]byte, []int)deprecated
- func (x *IPAddressStatus) GetAddress() string
- func (x *IPAddressStatus) GetAllocationId() string
- func (*IPAddressStatus) ProtoMessage()
- func (x *IPAddressStatus) ProtoReflect() protoreflect.Message
- func (x *IPAddressStatus) Reset()
- func (x *IPAddressStatus) String() string
- type IPAlias
- type IPAliasesStatus
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetMetadata() *v1.ResourceMetadata
- func (x *Image) GetSpec() *ImageSpec
- func (x *Image) GetStatus() *ImageStatus
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type ImageServiceClient
- type ImageServiceServer
- type ImageSpec
- func (*ImageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSpec) GetCpuArchitecture() ImageSpec_CPUArchitecture
- func (x *ImageSpec) GetDescription() string
- func (x *ImageSpec) GetImageFamily() string
- func (x *ImageSpec) GetImageFamilyHumanReadable() string
- func (x *ImageSpec) GetRecommendedPlatforms() []string
- func (x *ImageSpec) GetSource() isImageSpec_Source
- func (x *ImageSpec) GetSourceDiskId() string
- func (x *ImageSpec) GetSourceStorage() *ImageSpec_SourceStorage
- func (x *ImageSpec) GetUnsupportedPlatforms() map[string]string
- func (x *ImageSpec) GetVersion() string
- func (*ImageSpec) ProtoMessage()
- func (x *ImageSpec) ProtoReflect() protoreflect.Message
- func (x *ImageSpec) Reset()
- func (x *ImageSpec) String() string
- type ImageSpec_CPUArchitecture
- func (ImageSpec_CPUArchitecture) Descriptor() protoreflect.EnumDescriptor
- func (x ImageSpec_CPUArchitecture) Enum() *ImageSpec_CPUArchitecture
- func (ImageSpec_CPUArchitecture) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImageSpec_CPUArchitecture) Number() protoreflect.EnumNumber
- func (x ImageSpec_CPUArchitecture) String() string
- func (ImageSpec_CPUArchitecture) Type() protoreflect.EnumType
- type ImageSpec_SourceDiskId
- type ImageSpec_SourceStorage
- func (*ImageSpec_SourceStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSpec_SourceStorage) GetBucketName() string
- func (x *ImageSpec_SourceStorage) GetObjectName() string
- func (*ImageSpec_SourceStorage) ProtoMessage()
- func (x *ImageSpec_SourceStorage) ProtoReflect() protoreflect.Message
- func (x *ImageSpec_SourceStorage) Reset()
- func (x *ImageSpec_SourceStorage) String() string
- type ImageSpec_SourceStorage_
- type ImageStatus
- func (*ImageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ImageStatus) GetImageFamilyDeprecation() *ImageStatus_ImageFamilyDeprecationStatus
- func (x *ImageStatus) GetMinDiskSizeBytes() int64
- func (x *ImageStatus) GetReconciling() bool
- func (x *ImageStatus) GetState() ImageStatus_State
- func (x *ImageStatus) GetStateDescription() string
- func (x *ImageStatus) GetStorageSizeBytes() int64
- func (*ImageStatus) ProtoMessage()
- func (x *ImageStatus) ProtoReflect() protoreflect.Message
- func (x *ImageStatus) Reset()
- func (x *ImageStatus) String() string
- type ImageStatus_ImageFamilyDeprecationStatus
- func (*ImageStatus_ImageFamilyDeprecationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ImageStatus_ImageFamilyDeprecationStatus) GetDeprecatedAt() *timestamppb.Timestamp
- func (x *ImageStatus_ImageFamilyDeprecationStatus) GetMessage() string
- func (*ImageStatus_ImageFamilyDeprecationStatus) ProtoMessage()
- func (x *ImageStatus_ImageFamilyDeprecationStatus) ProtoReflect() protoreflect.Message
- func (x *ImageStatus_ImageFamilyDeprecationStatus) Reset()
- func (x *ImageStatus_ImageFamilyDeprecationStatus) String() string
- type ImageStatus_State
- func (ImageStatus_State) Descriptor() protoreflect.EnumDescriptor
- func (x ImageStatus_State) Enum() *ImageStatus_State
- func (ImageStatus_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImageStatus_State) Number() protoreflect.EnumNumber
- func (x ImageStatus_State) String() string
- func (ImageStatus_State) Type() protoreflect.EnumType
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetMetadata() *v1.ResourceMetadata
- func (x *Instance) GetSpec() *InstanceSpec
- func (x *Instance) GetStatus() *InstanceStatus
- func (x *Instance) LogValue() slog.Value
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) Sanitize()
- func (x *Instance) String() string
- type InstanceGpuClusterSpec
- func (*InstanceGpuClusterSpec) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceGpuClusterSpec) GetId() string
- func (*InstanceGpuClusterSpec) ProtoMessage()
- func (x *InstanceGpuClusterSpec) ProtoReflect() protoreflect.Message
- func (x *InstanceGpuClusterSpec) Reset()
- func (x *InstanceGpuClusterSpec) String() string
- type InstanceRecoveryPolicy
- func (InstanceRecoveryPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceRecoveryPolicy) Enum() *InstanceRecoveryPolicy
- func (InstanceRecoveryPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceRecoveryPolicy) Number() protoreflect.EnumNumber
- func (x InstanceRecoveryPolicy) String() string
- func (InstanceRecoveryPolicy) Type() protoreflect.EnumType
- type InstanceServiceClient
- type InstanceServiceServer
- type InstanceSpec
- func (*InstanceSpec) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceSpec) GetBootDisk() *AttachedDiskSpec
- func (x *InstanceSpec) GetCloudInitUserData() string
- func (x *InstanceSpec) GetFilesystems() []*AttachedFilesystemSpec
- func (x *InstanceSpec) GetGpuCluster() *InstanceGpuClusterSpec
- func (x *InstanceSpec) GetHostname() string
- func (x *InstanceSpec) GetLocalDisks() *LocalDisksSpec
- func (x *InstanceSpec) GetNetworkInterfaces() []*NetworkInterfaceSpec
- func (x *InstanceSpec) GetPreemptible() *PreemptibleSpec
- func (x *InstanceSpec) GetRecoveryPolicy() InstanceRecoveryPolicy
- func (x *InstanceSpec) GetReservationPolicy() *ReservationPolicy
- func (x *InstanceSpec) GetResources() *ResourcesSpec
- func (x *InstanceSpec) GetSecondaryDisks() []*AttachedDiskSpec
- func (x *InstanceSpec) GetServiceAccountId() string
- func (x *InstanceSpec) GetStopped() bool
- func (x *InstanceSpec) LogValue() slog.Value
- func (*InstanceSpec) ProtoMessage()
- func (x *InstanceSpec) ProtoReflect() protoreflect.Message
- func (x *InstanceSpec) Reset()
- func (x *InstanceSpec) Sanitize()
- func (x *InstanceSpec) String() string
- type InstanceStatus
- func (*InstanceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStatus) GetDiskAttachments() []*DiskAttachmentStatus
- func (x *InstanceStatus) GetGpuClusterTopology() isInstanceStatus_GpuClusterTopology
- func (x *InstanceStatus) GetInfinibandTopologyPath() *InstanceStatusInfinibandTopologyPath
- func (x *InstanceStatus) GetMaintenanceEventId() string
- func (x *InstanceStatus) GetNetworkInterfaces() []*NetworkInterfaceStatus
- func (x *InstanceStatus) GetReconciling() bool
- func (x *InstanceStatus) GetReservationId() string
- func (x *InstanceStatus) GetState() InstanceStatus_InstanceState
- func (*InstanceStatus) ProtoMessage()
- func (x *InstanceStatus) ProtoReflect() protoreflect.Message
- func (x *InstanceStatus) Reset()
- func (x *InstanceStatus) String() string
- type InstanceStatusInfinibandTopologyPath
- func (*InstanceStatusInfinibandTopologyPath) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStatusInfinibandTopologyPath) GetPath() []string
- func (*InstanceStatusInfinibandTopologyPath) ProtoMessage()
- func (x *InstanceStatusInfinibandTopologyPath) ProtoReflect() protoreflect.Message
- func (x *InstanceStatusInfinibandTopologyPath) Reset()
- func (x *InstanceStatusInfinibandTopologyPath) String() string
- type InstanceStatus_InfinibandTopologyPath
- type InstanceStatus_InstanceState
- func (InstanceStatus_InstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceStatus_InstanceState) Enum() *InstanceStatus_InstanceState
- func (InstanceStatus_InstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceStatus_InstanceState) Number() protoreflect.EnumNumber
- func (x InstanceStatus_InstanceState) String() string
- func (InstanceStatus_InstanceState) Type() protoreflect.EnumType
- type ListDisksRequest
- func (*ListDisksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDisksRequest) GetFilter() stringdeprecated
- func (x *ListDisksRequest) GetPageSize() int64
- func (x *ListDisksRequest) GetPageToken() string
- func (x *ListDisksRequest) GetParentId() string
- func (*ListDisksRequest) ProtoMessage()
- func (x *ListDisksRequest) ProtoReflect() protoreflect.Message
- func (x *ListDisksRequest) Reset()
- func (x *ListDisksRequest) String() string
- type ListDisksResponse
- func (*ListDisksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDisksResponse) GetItems() []*Disk
- func (x *ListDisksResponse) GetNextPageToken() string
- func (*ListDisksResponse) ProtoMessage()
- func (x *ListDisksResponse) ProtoReflect() protoreflect.Message
- func (x *ListDisksResponse) Reset()
- func (x *ListDisksResponse) String() string
- type ListFilesystemsRequest
- func (*ListFilesystemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesystemsRequest) GetFilter() stringdeprecated
- func (x *ListFilesystemsRequest) GetPageSize() int64
- func (x *ListFilesystemsRequest) GetPageToken() string
- func (x *ListFilesystemsRequest) GetParentId() string
- func (*ListFilesystemsRequest) ProtoMessage()
- func (x *ListFilesystemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFilesystemsRequest) Reset()
- func (x *ListFilesystemsRequest) String() string
- type ListFilesystemsResponse
- func (*ListFilesystemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFilesystemsResponse) GetItems() []*Filesystem
- func (x *ListFilesystemsResponse) GetNextPageToken() string
- func (*ListFilesystemsResponse) ProtoMessage()
- func (x *ListFilesystemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFilesystemsResponse) Reset()
- func (x *ListFilesystemsResponse) String() string
- type ListGpuClustersRequest
- func (*ListGpuClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGpuClustersRequest) GetFilter() stringdeprecated
- func (x *ListGpuClustersRequest) GetPageSize() int64
- func (x *ListGpuClustersRequest) GetPageToken() string
- func (x *ListGpuClustersRequest) GetParentId() string
- func (*ListGpuClustersRequest) ProtoMessage()
- func (x *ListGpuClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListGpuClustersRequest) Reset()
- func (x *ListGpuClustersRequest) String() string
- type ListGpuClustersResponse
- func (*ListGpuClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGpuClustersResponse) GetItems() []*GpuCluster
- func (x *ListGpuClustersResponse) GetNextPageToken() string
- func (*ListGpuClustersResponse) ProtoMessage()
- func (x *ListGpuClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListGpuClustersResponse) Reset()
- func (x *ListGpuClustersResponse) String() string
- type ListImagesRequest
- func (*ListImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesRequest) GetFilter() stringdeprecated
- func (x *ListImagesRequest) GetPageSize() int64
- func (x *ListImagesRequest) GetPageToken() string
- func (x *ListImagesRequest) GetParentId() string
- func (*ListImagesRequest) ProtoMessage()
- func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListImagesRequest) Reset()
- func (x *ListImagesRequest) String() string
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesResponse) GetItems() []*Image
- func (x *ListImagesResponse) GetNextPageToken() string
- func (*ListImagesResponse) ProtoMessage()
- func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesResponse) Reset()
- func (x *ListImagesResponse) String() string
- type ListInstancesRequest
- func (*ListInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesRequest) GetPageSize() int64
- func (x *ListInstancesRequest) GetPageToken() string
- func (x *ListInstancesRequest) GetParentId() string
- func (*ListInstancesRequest) ProtoMessage()
- func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstancesRequest) Reset()
- func (x *ListInstancesRequest) String() string
- type ListInstancesResponse
- func (*ListInstancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstancesResponse) GetItems() []*Instance
- func (x *ListInstancesResponse) GetNextPageToken() string
- func (x *ListInstancesResponse) LogValue() slog.Value
- func (*ListInstancesResponse) ProtoMessage()
- func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstancesResponse) Reset()
- func (x *ListInstancesResponse) Sanitize()
- func (x *ListInstancesResponse) String() string
- type ListMaintenanceEventsRequest
- func (*ListMaintenanceEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMaintenanceEventsRequest) GetPageSize() int64
- func (x *ListMaintenanceEventsRequest) GetPageToken() string
- func (x *ListMaintenanceEventsRequest) GetParentId() string
- func (*ListMaintenanceEventsRequest) ProtoMessage()
- func (x *ListMaintenanceEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMaintenanceEventsRequest) Reset()
- func (x *ListMaintenanceEventsRequest) String() string
- type ListMaintenanceEventsResponse
- func (*ListMaintenanceEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMaintenanceEventsResponse) GetItems() []*MaintenanceEvent
- func (x *ListMaintenanceEventsResponse) GetNextPageToken() string
- func (*ListMaintenanceEventsResponse) ProtoMessage()
- func (x *ListMaintenanceEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMaintenanceEventsResponse) Reset()
- func (x *ListMaintenanceEventsResponse) String() string
- type ListOperationsByParentRequest
- func (*ListOperationsByParentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOperationsByParentRequest) GetPageSize() int64
- func (x *ListOperationsByParentRequest) GetPageToken() string
- func (x *ListOperationsByParentRequest) GetParentId() string
- func (*ListOperationsByParentRequest) ProtoMessage()
- func (x *ListOperationsByParentRequest) ProtoReflect() protoreflect.Message
- func (x *ListOperationsByParentRequest) Reset()
- func (x *ListOperationsByParentRequest) String() string
- type ListPlatformsRequest
- func (*ListPlatformsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsRequest) GetPageSize() int64
- func (x *ListPlatformsRequest) GetPageToken() string
- func (x *ListPlatformsRequest) GetParentId() string
- func (*ListPlatformsRequest) ProtoMessage()
- func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsRequest) Reset()
- func (x *ListPlatformsRequest) String() string
- type ListPlatformsResponse
- func (*ListPlatformsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlatformsResponse) GetItems() []*Platform
- func (x *ListPlatformsResponse) GetNextPageToken() string
- func (*ListPlatformsResponse) ProtoMessage()
- func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPlatformsResponse) Reset()
- func (x *ListPlatformsResponse) String() string
- type ListPublicRequest
- func (*ListPublicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicRequest) GetPageSize() int64
- func (x *ListPublicRequest) GetPageToken() string
- func (x *ListPublicRequest) GetRegion() string
- func (*ListPublicRequest) ProtoMessage()
- func (x *ListPublicRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicRequest) Reset()
- func (x *ListPublicRequest) String() string
- type LocalDisksSpec
- func (*LocalDisksSpec) Descriptor() ([]byte, []int)deprecated
- func (x *LocalDisksSpec) GetPassthroughGroup() *PassthroughGroupRequest
- func (x *LocalDisksSpec) GetRequest() isLocalDisksSpec_Request
- func (*LocalDisksSpec) ProtoMessage()
- func (x *LocalDisksSpec) ProtoReflect() protoreflect.Message
- func (x *LocalDisksSpec) Reset()
- func (x *LocalDisksSpec) String() string
- type LocalDisksSpec_PassthroughGroup
- type MaintenanceEvent
- func (*MaintenanceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceEvent) GetId() string
- func (x *MaintenanceEvent) GetSpec() *MaintenanceEventSpec
- func (x *MaintenanceEvent) GetStatus() *MaintenanceEventStatus
- func (*MaintenanceEvent) ProtoMessage()
- func (x *MaintenanceEvent) ProtoReflect() protoreflect.Message
- func (x *MaintenanceEvent) Reset()
- func (x *MaintenanceEvent) String() string
- type MaintenanceEventSpec
- func (*MaintenanceEventSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceEventSpec) GetIsPlanned() bool
- func (*MaintenanceEventSpec) ProtoMessage()
- func (x *MaintenanceEventSpec) ProtoReflect() protoreflect.Message
- func (x *MaintenanceEventSpec) Reset()
- func (x *MaintenanceEventSpec) String() string
- type MaintenanceEventStatus
- func (*MaintenanceEventStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceEventStatus) GetCreatedAt() *timestamppb.Timestamp
- func (x *MaintenanceEventStatus) GetFinishedAt() *timestamppb.Timestamp
- func (x *MaintenanceEventStatus) GetMaintenanceId() string
- func (x *MaintenanceEventStatus) GetMaintenanceReason() string
- func (x *MaintenanceEventStatus) GetSlaDeadlineTs() *timestamppb.Timestamp
- func (x *MaintenanceEventStatus) GetSupportCenterTicketId() string
- func (*MaintenanceEventStatus) ProtoMessage()
- func (x *MaintenanceEventStatus) ProtoReflect() protoreflect.Message
- func (x *MaintenanceEventStatus) Reset()
- func (x *MaintenanceEventStatus) String() string
- type MaintenanceServiceClient
- type MaintenanceServiceServer
- type ManagedDisk
- func (*ManagedDisk) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedDisk) GetLabels() map[string]string
- func (x *ManagedDisk) GetName() string
- func (x *ManagedDisk) GetSpec() *DiskSpec
- func (*ManagedDisk) ProtoMessage()
- func (x *ManagedDisk) ProtoReflect() protoreflect.Message
- func (x *ManagedDisk) Reset()
- func (x *ManagedDisk) String() string
- type NetworkInterfaceSpec
- func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterfaceSpec) GetAliases() []*IPAlias
- func (x *NetworkInterfaceSpec) GetIpAddress() *IPAddress
- func (x *NetworkInterfaceSpec) GetName() string
- func (x *NetworkInterfaceSpec) GetPublicIpAddress() *PublicIPAddress
- func (x *NetworkInterfaceSpec) GetSecurityGroups() []*SecurityGroup
- func (x *NetworkInterfaceSpec) GetSubnetId() string
- func (*NetworkInterfaceSpec) ProtoMessage()
- func (x *NetworkInterfaceSpec) ProtoReflect() protoreflect.Message
- func (x *NetworkInterfaceSpec) Reset()
- func (x *NetworkInterfaceSpec) String() string
- type NetworkInterfaceStatus
- func (*NetworkInterfaceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterfaceStatus) GetAliases() *IPAliasesStatus
- func (x *NetworkInterfaceStatus) GetFqdn() string
- func (x *NetworkInterfaceStatus) GetIndex() int32
- func (x *NetworkInterfaceStatus) GetIpAddress() *IPAddressStatus
- func (x *NetworkInterfaceStatus) GetMacAddress() string
- func (x *NetworkInterfaceStatus) GetName() string
- func (x *NetworkInterfaceStatus) GetPublicIpAddress() *PublicIPAddressStatus
- func (*NetworkInterfaceStatus) ProtoMessage()
- func (x *NetworkInterfaceStatus) ProtoReflect() protoreflect.Message
- func (x *NetworkInterfaceStatus) Reset()
- func (x *NetworkInterfaceStatus) String() string
- type NodeServiceClient
- type NodeServiceServer
- type NodeSetUnhealthyRequest
- func (*NodeSetUnhealthyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSetUnhealthyRequest) GetDryRun() bool
- func (x *NodeSetUnhealthyRequest) GetHealthCheckInfo() *NodeSetUnhealthyRequest_HealthCheckInfo
- func (x *NodeSetUnhealthyRequest) GetInstanceId() string
- func (*NodeSetUnhealthyRequest) ProtoMessage()
- func (x *NodeSetUnhealthyRequest) ProtoReflect() protoreflect.Message
- func (x *NodeSetUnhealthyRequest) Reset()
- func (x *NodeSetUnhealthyRequest) String() string
- type NodeSetUnhealthyRequest_HealthCheckInfo
- func (*NodeSetUnhealthyRequest_HealthCheckInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetCheckId() string
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetDescription() string
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetObservedAt() *timestamppb.Timestamp
- func (*NodeSetUnhealthyRequest_HealthCheckInfo) ProtoMessage()
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) ProtoReflect() protoreflect.Message
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) Reset()
- func (x *NodeSetUnhealthyRequest_HealthCheckInfo) String() string
- type NodeSetUnhealthyResponse
- type PassthroughGroupRequest
- func (*PassthroughGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PassthroughGroupRequest) GetRequested() bool
- func (*PassthroughGroupRequest) ProtoMessage()
- func (x *PassthroughGroupRequest) ProtoReflect() protoreflect.Message
- func (x *PassthroughGroupRequest) Reset()
- func (x *PassthroughGroupRequest) String() string
- type Platform
- func (*Platform) Descriptor() ([]byte, []int)deprecated
- func (x *Platform) GetMetadata() *v1.ResourceMetadata
- func (x *Platform) GetSpec() *PlatformSpec
- func (x *Platform) GetStatus() *PlatformStatus
- func (*Platform) ProtoMessage()
- func (x *Platform) ProtoReflect() protoreflect.Message
- func (x *Platform) Reset()
- func (x *Platform) String() string
- type PlatformServiceClient
- type PlatformServiceServer
- type PlatformSpec
- func (*PlatformSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformSpec) GetAllowPresetChange() bool
- func (x *PlatformSpec) GetGpuCountQuotaType() string
- func (x *PlatformSpec) GetGpuMemoryGibibytes() int32deprecated
- func (x *PlatformSpec) GetGpuMemoryGigabytes() int32
- func (x *PlatformSpec) GetHumanReadableName() string
- func (x *PlatformSpec) GetPresets() []*Preset
- func (x *PlatformSpec) GetShortHumanReadableName() string
- func (*PlatformSpec) ProtoMessage()
- func (x *PlatformSpec) ProtoReflect() protoreflect.Message
- func (x *PlatformSpec) Reset()
- func (x *PlatformSpec) String() string
- type PlatformStatus
- type PreemptibleSpec
- func (*PreemptibleSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PreemptibleSpec) GetOnPreemption() PreemptibleSpec_PreemptionPolicy
- func (x *PreemptibleSpec) GetPriority() int32
- func (*PreemptibleSpec) ProtoMessage()
- func (x *PreemptibleSpec) ProtoReflect() protoreflect.Message
- func (x *PreemptibleSpec) Reset()
- func (x *PreemptibleSpec) String() string
- type PreemptibleSpec_PreemptionPolicy
- func (PreemptibleSpec_PreemptionPolicy) Descriptor() protoreflect.EnumDescriptor
- func (x PreemptibleSpec_PreemptionPolicy) Enum() *PreemptibleSpec_PreemptionPolicy
- func (PreemptibleSpec_PreemptionPolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreemptibleSpec_PreemptionPolicy) Number() protoreflect.EnumNumber
- func (x PreemptibleSpec_PreemptionPolicy) String() string
- func (PreemptibleSpec_PreemptionPolicy) Type() protoreflect.EnumType
- type Preset
- func (*Preset) Descriptor() ([]byte, []int)deprecated
- func (x *Preset) GetAllowGpuClustering() bool
- func (x *Preset) GetName() string
- func (x *Preset) GetResources() *PresetResources
- func (*Preset) ProtoMessage()
- func (x *Preset) ProtoReflect() protoreflect.Message
- func (x *Preset) Reset()
- func (x *Preset) String() string
- type PresetResources
- func (*PresetResources) Descriptor() ([]byte, []int)deprecated
- func (x *PresetResources) GetGpuCount() int32
- func (x *PresetResources) GetGpuMemoryGibibytes() int32deprecated
- func (x *PresetResources) GetMemoryGibibytes() int32
- func (x *PresetResources) GetVcpuCount() int32
- func (*PresetResources) ProtoMessage()
- func (x *PresetResources) ProtoReflect() protoreflect.Message
- func (x *PresetResources) Reset()
- func (x *PresetResources) String() string
- type PublicIPAddress
- func (*PublicIPAddress) Descriptor() ([]byte, []int)deprecated
- func (x *PublicIPAddress) GetAllocation() isPublicIPAddress_Allocation
- func (x *PublicIPAddress) GetAllocationId() string
- func (x *PublicIPAddress) GetStatic() bool
- func (*PublicIPAddress) ProtoMessage()
- func (x *PublicIPAddress) ProtoReflect() protoreflect.Message
- func (x *PublicIPAddress) Reset()
- func (x *PublicIPAddress) String() string
- type PublicIPAddressStatus
- func (*PublicIPAddressStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PublicIPAddressStatus) GetAddress() string
- func (x *PublicIPAddressStatus) GetAllocationId() string
- func (x *PublicIPAddressStatus) GetStatic() bool
- func (*PublicIPAddressStatus) ProtoMessage()
- func (x *PublicIPAddressStatus) ProtoReflect() protoreflect.Message
- func (x *PublicIPAddressStatus) Reset()
- func (x *PublicIPAddressStatus) String() string
- type PublicIPAddress_AllocationId
- type ReservationPolicy
- func (*ReservationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ReservationPolicy) GetPolicy() ReservationPolicy_Policy
- func (x *ReservationPolicy) GetReservationIds() []string
- func (*ReservationPolicy) ProtoMessage()
- func (x *ReservationPolicy) ProtoReflect() protoreflect.Message
- func (x *ReservationPolicy) Reset()
- func (x *ReservationPolicy) String() string
- type ReservationPolicy_Policy
- func (ReservationPolicy_Policy) Descriptor() protoreflect.EnumDescriptor
- func (x ReservationPolicy_Policy) Enum() *ReservationPolicy_Policy
- func (ReservationPolicy_Policy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReservationPolicy_Policy) Number() protoreflect.EnumNumber
- func (x ReservationPolicy_Policy) String() string
- func (ReservationPolicy_Policy) Type() protoreflect.EnumType
- type ResourcesSpec
- func (*ResourcesSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesSpec) GetPlatform() string
- func (x *ResourcesSpec) GetPreset() string
- func (x *ResourcesSpec) GetSize() isResourcesSpec_Size
- func (*ResourcesSpec) ProtoMessage()
- func (x *ResourcesSpec) ProtoReflect() protoreflect.Message
- func (x *ResourcesSpec) Reset()
- func (x *ResourcesSpec) String() string
- type ResourcesSpec_Preset
- type SecurityGroup
- type SourceImageFamily
- func (*SourceImageFamily) Descriptor() ([]byte, []int)deprecated
- func (x *SourceImageFamily) GetImageFamily() string
- func (x *SourceImageFamily) GetParentId() string
- func (*SourceImageFamily) ProtoMessage()
- func (x *SourceImageFamily) ProtoReflect() protoreflect.Message
- func (x *SourceImageFamily) Reset()
- func (x *SourceImageFamily) String() string
- type StartInstanceRequest
- func (*StartInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartInstanceRequest) GetId() string
- func (*StartInstanceRequest) ProtoMessage()
- func (x *StartInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *StartInstanceRequest) Reset()
- func (x *StartInstanceRequest) String() string
- type StopInstanceRequest
- func (*StopInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstanceRequest) GetId() string
- func (*StopInstanceRequest) ProtoMessage()
- func (x *StopInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *StopInstanceRequest) Reset()
- func (x *StopInstanceRequest) String() string
- type UnimplementedDiskServiceServer
- func (UnimplementedDiskServiceServer) Create(context.Context, *CreateDiskRequest) (*v1.Operation, error)
- func (UnimplementedDiskServiceServer) Delete(context.Context, *DeleteDiskRequest) (*v1.Operation, error)
- func (UnimplementedDiskServiceServer) Get(context.Context, *GetDiskRequest) (*Disk, error)
- func (UnimplementedDiskServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Disk, error)
- func (UnimplementedDiskServiceServer) List(context.Context, *ListDisksRequest) (*ListDisksResponse, error)
- func (UnimplementedDiskServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
- func (UnimplementedDiskServiceServer) Update(context.Context, *UpdateDiskRequest) (*v1.Operation, error)
- type UnimplementedFilesystemServiceServer
- func (UnimplementedFilesystemServiceServer) Create(context.Context, *CreateFilesystemRequest) (*v1.Operation, error)
- func (UnimplementedFilesystemServiceServer) Delete(context.Context, *DeleteFilesystemRequest) (*v1.Operation, error)
- func (UnimplementedFilesystemServiceServer) Get(context.Context, *GetFilesystemRequest) (*Filesystem, error)
- func (UnimplementedFilesystemServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Filesystem, error)
- func (UnimplementedFilesystemServiceServer) List(context.Context, *ListFilesystemsRequest) (*ListFilesystemsResponse, error)
- func (UnimplementedFilesystemServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
- func (UnimplementedFilesystemServiceServer) Update(context.Context, *UpdateFilesystemRequest) (*v1.Operation, error)
- type UnimplementedGpuClusterServiceServer
- func (UnimplementedGpuClusterServiceServer) Create(context.Context, *CreateGpuClusterRequest) (*v1.Operation, error)
- func (UnimplementedGpuClusterServiceServer) Delete(context.Context, *DeleteGpuClusterRequest) (*v1.Operation, error)
- func (UnimplementedGpuClusterServiceServer) Get(context.Context, *GetGpuClusterRequest) (*GpuCluster, error)
- func (UnimplementedGpuClusterServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*GpuCluster, error)
- func (UnimplementedGpuClusterServiceServer) List(context.Context, *ListGpuClustersRequest) (*ListGpuClustersResponse, error)
- func (UnimplementedGpuClusterServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
- func (UnimplementedGpuClusterServiceServer) Update(context.Context, *UpdateGpuClusterRequest) (*v1.Operation, error)
- type UnimplementedImageServiceServer
- func (UnimplementedImageServiceServer) Create(context.Context, *CreateImageRequest) (*v1.Operation, error)
- func (UnimplementedImageServiceServer) Delete(context.Context, *DeleteImageRequest) (*v1.Operation, error)
- func (UnimplementedImageServiceServer) Get(context.Context, *GetImageRequest) (*Image, error)
- func (UnimplementedImageServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Image, error)
- func (UnimplementedImageServiceServer) GetLatestByFamily(context.Context, *GetImageLatestByFamilyRequest) (*Image, error)
- func (UnimplementedImageServiceServer) List(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
- func (UnimplementedImageServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
- func (UnimplementedImageServiceServer) ListPublic(context.Context, *ListPublicRequest) (*ListImagesResponse, error)
- func (UnimplementedImageServiceServer) Update(context.Context, *UpdateImageRequest) (*v1.Operation, error)
- type UnimplementedInstanceServiceServer
- func (UnimplementedInstanceServiceServer) BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
- func (UnimplementedInstanceServiceServer) Create(context.Context, *CreateInstanceRequest) (*v1.Operation, error)
- func (UnimplementedInstanceServiceServer) Delete(context.Context, *DeleteInstanceRequest) (*v1.Operation, error)
- func (UnimplementedInstanceServiceServer) Get(context.Context, *GetInstanceRequest) (*Instance, error)
- func (UnimplementedInstanceServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Instance, error)
- func (UnimplementedInstanceServiceServer) List(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
- func (UnimplementedInstanceServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
- func (UnimplementedInstanceServiceServer) Start(context.Context, *StartInstanceRequest) (*v1.Operation, error)
- func (UnimplementedInstanceServiceServer) Stop(context.Context, *StopInstanceRequest) (*v1.Operation, error)
- func (UnimplementedInstanceServiceServer) Update(context.Context, *UpdateInstanceRequest) (*v1.Operation, error)
- type UnimplementedMaintenanceServiceServer
- type UnimplementedNodeServiceServer
- type UnimplementedPlatformServiceServer
- type UnsafeDiskServiceServer
- type UnsafeFilesystemServiceServer
- type UnsafeGpuClusterServiceServer
- type UnsafeImageServiceServer
- type UnsafeInstanceServiceServer
- type UnsafeMaintenanceServiceServer
- type UnsafeNodeServiceServer
- type UnsafePlatformServiceServer
- type UpdateDiskRequest
- func (*UpdateDiskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiskRequest) GetMetadata() *v1.ResourceMetadata
- func (x *UpdateDiskRequest) GetSpec() *DiskSpec
- func (*UpdateDiskRequest) ProtoMessage()
- func (x *UpdateDiskRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDiskRequest) Reset()
- func (x *UpdateDiskRequest) String() string
- type UpdateFilesystemRequest
- func (*UpdateFilesystemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFilesystemRequest) GetMetadata() *v1.ResourceMetadata
- func (x *UpdateFilesystemRequest) GetSpec() *FilesystemSpec
- func (*UpdateFilesystemRequest) ProtoMessage()
- func (x *UpdateFilesystemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFilesystemRequest) Reset()
- func (x *UpdateFilesystemRequest) String() string
- type UpdateGpuClusterRequest
- func (*UpdateGpuClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGpuClusterRequest) GetMetadata() *v1.ResourceMetadata
- func (x *UpdateGpuClusterRequest) GetSpec() *GpuClusterSpec
- func (*UpdateGpuClusterRequest) ProtoMessage()
- func (x *UpdateGpuClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGpuClusterRequest) Reset()
- func (x *UpdateGpuClusterRequest) String() string
- type UpdateImageRequest
- func (*UpdateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateImageRequest) GetMetadata() *v1.ResourceMetadata
- func (x *UpdateImageRequest) GetSpec() *ImageSpec
- func (*UpdateImageRequest) ProtoMessage()
- func (x *UpdateImageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateImageRequest) Reset()
- func (x *UpdateImageRequest) String() string
- type UpdateInstanceRequest
- func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstanceRequest) GetMetadata() *v1.ResourceMetadata
- func (x *UpdateInstanceRequest) GetSpec() *InstanceSpec
- func (x *UpdateInstanceRequest) LogValue() slog.Value
- func (*UpdateInstanceRequest) ProtoMessage()
- func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInstanceRequest) Reset()
- func (x *UpdateInstanceRequest) Sanitize()
- func (x *UpdateInstanceRequest) String() string
Constants ¶
const ( DiskService_Get_FullMethodName = "/nebius.compute.v1.DiskService/Get" DiskService_GetByName_FullMethodName = "/nebius.compute.v1.DiskService/GetByName" DiskService_List_FullMethodName = "/nebius.compute.v1.DiskService/List" DiskService_Create_FullMethodName = "/nebius.compute.v1.DiskService/Create" DiskService_Update_FullMethodName = "/nebius.compute.v1.DiskService/Update" DiskService_Delete_FullMethodName = "/nebius.compute.v1.DiskService/Delete" DiskService_ListOperationsByParent_FullMethodName = "/nebius.compute.v1.DiskService/ListOperationsByParent" )
const ( FilesystemService_Get_FullMethodName = "/nebius.compute.v1.FilesystemService/Get" FilesystemService_GetByName_FullMethodName = "/nebius.compute.v1.FilesystemService/GetByName" FilesystemService_List_FullMethodName = "/nebius.compute.v1.FilesystemService/List" FilesystemService_Create_FullMethodName = "/nebius.compute.v1.FilesystemService/Create" FilesystemService_Update_FullMethodName = "/nebius.compute.v1.FilesystemService/Update" FilesystemService_Delete_FullMethodName = "/nebius.compute.v1.FilesystemService/Delete" FilesystemService_ListOperationsByParent_FullMethodName = "/nebius.compute.v1.FilesystemService/ListOperationsByParent" )
const ( GpuClusterService_Get_FullMethodName = "/nebius.compute.v1.GpuClusterService/Get" GpuClusterService_GetByName_FullMethodName = "/nebius.compute.v1.GpuClusterService/GetByName" GpuClusterService_List_FullMethodName = "/nebius.compute.v1.GpuClusterService/List" GpuClusterService_Create_FullMethodName = "/nebius.compute.v1.GpuClusterService/Create" GpuClusterService_Update_FullMethodName = "/nebius.compute.v1.GpuClusterService/Update" GpuClusterService_Delete_FullMethodName = "/nebius.compute.v1.GpuClusterService/Delete" GpuClusterService_ListOperationsByParent_FullMethodName = "/nebius.compute.v1.GpuClusterService/ListOperationsByParent" )
const ( ImageService_Get_FullMethodName = "/nebius.compute.v1.ImageService/Get" ImageService_GetByName_FullMethodName = "/nebius.compute.v1.ImageService/GetByName" ImageService_GetLatestByFamily_FullMethodName = "/nebius.compute.v1.ImageService/GetLatestByFamily" ImageService_List_FullMethodName = "/nebius.compute.v1.ImageService/List" ImageService_Create_FullMethodName = "/nebius.compute.v1.ImageService/Create" ImageService_Update_FullMethodName = "/nebius.compute.v1.ImageService/Update" ImageService_Delete_FullMethodName = "/nebius.compute.v1.ImageService/Delete" ImageService_ListOperationsByParent_FullMethodName = "/nebius.compute.v1.ImageService/ListOperationsByParent" ImageService_ListPublic_FullMethodName = "/nebius.compute.v1.ImageService/ListPublic" )
const ( InstanceService_Get_FullMethodName = "/nebius.compute.v1.InstanceService/Get" InstanceService_GetByName_FullMethodName = "/nebius.compute.v1.InstanceService/GetByName" InstanceService_BatchGet_FullMethodName = "/nebius.compute.v1.InstanceService/BatchGet" InstanceService_List_FullMethodName = "/nebius.compute.v1.InstanceService/List" InstanceService_Create_FullMethodName = "/nebius.compute.v1.InstanceService/Create" InstanceService_Update_FullMethodName = "/nebius.compute.v1.InstanceService/Update" InstanceService_Delete_FullMethodName = "/nebius.compute.v1.InstanceService/Delete" InstanceService_Start_FullMethodName = "/nebius.compute.v1.InstanceService/Start" InstanceService_Stop_FullMethodName = "/nebius.compute.v1.InstanceService/Stop" InstanceService_ListOperationsByParent_FullMethodName = "/nebius.compute.v1.InstanceService/ListOperationsByParent" )
const ( MaintenanceService_GetByInstance_FullMethodName = "/nebius.compute.v1.MaintenanceService/GetByInstance" MaintenanceService_ListActive_FullMethodName = "/nebius.compute.v1.MaintenanceService/ListActive" )
const ( PlatformService_GetByName_FullMethodName = "/nebius.compute.v1.PlatformService/GetByName" PlatformService_List_FullMethodName = "/nebius.compute.v1.PlatformService/List" )
const (
NodeService_SetUnhealthy_FullMethodName = "/nebius.compute.v1.NodeService/SetUnhealthy"
)
Variables ¶
var ( DiskSpec_DiskType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NETWORK_SSD", 2: "NETWORK_HDD", 3: "NETWORK_SSD_NON_REPLICATED", 4: "NETWORK_SSD_IO_M3", } DiskSpec_DiskType_value = map[string]int32{ "UNSPECIFIED": 0, "NETWORK_SSD": 1, "NETWORK_HDD": 2, "NETWORK_SSD_NON_REPLICATED": 3, "NETWORK_SSD_IO_M3": 4, } )
Enum value maps for DiskSpec_DiskType.
var ( DiskStatus_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "UPDATING", 4: "DELETING", 5: "ERROR", 6: "BROKEN", } DiskStatus_State_value = map[string]int32{ "UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "UPDATING": 3, "DELETING": 4, "ERROR": 5, "BROKEN": 6, } )
Enum value maps for DiskStatus_State.
var ( DiskStatus_SourceImageCPUArchitecture_name = map[int32]string{ 0: "SOURCE_IMAGE_CPU_UNSPECIFIED", 1: "AMD64", 2: "ARM64", } DiskStatus_SourceImageCPUArchitecture_value = map[string]int32{ "SOURCE_IMAGE_CPU_UNSPECIFIED": 0, "AMD64": 1, "ARM64": 2, } )
Enum value maps for DiskStatus_SourceImageCPUArchitecture.
var ( DiskEncryption_DiskEncryptionType_name = map[int32]string{ 0: "DISK_ENCRYPTION_UNSPECIFIED", 1: "DISK_ENCRYPTION_MANAGED", } DiskEncryption_DiskEncryptionType_value = map[string]int32{ "DISK_ENCRYPTION_UNSPECIFIED": 0, "DISK_ENCRYPTION_MANAGED": 1, } )
Enum value maps for DiskEncryption_DiskEncryptionType.
var ( FilesystemSpec_FilesystemType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NETWORK_SSD", 2: "NETWORK_HDD", 3: "WEKA", 4: "VAST", } FilesystemSpec_FilesystemType_value = map[string]int32{ "UNSPECIFIED": 0, "NETWORK_SSD": 1, "NETWORK_HDD": 2, "WEKA": 3, "VAST": 4, } )
Enum value maps for FilesystemSpec_FilesystemType.
var ( FilesystemStatus_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "UPDATING", 4: "DELETING", 5: "ERROR", } FilesystemStatus_State_value = map[string]int32{ "UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "UPDATING": 3, "DELETING": 4, "ERROR": 5, } )
Enum value maps for FilesystemStatus_State.
var ( ImageSpec_CPUArchitecture_name = map[int32]string{ 0: "UNSPECIFIED", 1: "AMD64", 2: "ARM64", } ImageSpec_CPUArchitecture_value = map[string]int32{ "UNSPECIFIED": 0, "AMD64": 1, "ARM64": 2, } )
Enum value maps for ImageSpec_CPUArchitecture.
var ( ImageStatus_State_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "UPDATING", 4: "DELETING", 5: "ERROR", } ImageStatus_State_value = map[string]int32{ "UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "UPDATING": 3, "DELETING": 4, "ERROR": 5, } )
Enum value maps for ImageStatus_State.
var ( InstanceRecoveryPolicy_name = map[int32]string{ 0: "RECOVER", 1: "FAIL", } InstanceRecoveryPolicy_value = map[string]int32{ "RECOVER": 0, "FAIL": 1, } )
Enum value maps for InstanceRecoveryPolicy.
var ( PreemptibleSpec_PreemptionPolicy_name = map[int32]string{ 0: "UNSPECIFIED", 1: "STOP", } PreemptibleSpec_PreemptionPolicy_value = map[string]int32{ "UNSPECIFIED": 0, "STOP": 1, } )
Enum value maps for PreemptibleSpec_PreemptionPolicy.
var ( AttachedDiskSpec_AttachMode_name = map[int32]string{ 0: "UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } AttachedDiskSpec_AttachMode_value = map[string]int32{ "UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for AttachedDiskSpec_AttachMode.
var ( AttachedFilesystemSpec_AttachMode_name = map[int32]string{ 0: "UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } AttachedFilesystemSpec_AttachMode_value = map[string]int32{ "UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for AttachedFilesystemSpec_AttachMode.
var ( InstanceStatus_InstanceState_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CREATING", 2: "UPDATING", 3: "STARTING", 4: "RUNNING", 5: "STOPPING", 6: "STOPPED", 7: "DELETING", 8: "ERROR", } InstanceStatus_InstanceState_value = map[string]int32{ "UNSPECIFIED": 0, "CREATING": 1, "UPDATING": 2, "STARTING": 3, "RUNNING": 4, "STOPPING": 5, "STOPPED": 6, "DELETING": 7, "ERROR": 8, } )
Enum value maps for InstanceStatus_InstanceState.
var ( ReservationPolicy_Policy_name = map[int32]string{ 0: "AUTO", 1: "FORBID", 2: "STRICT", } ReservationPolicy_Policy_value = map[string]int32{ "AUTO": 0, "FORBID": 1, "STRICT": 2, } )
Enum value maps for ReservationPolicy_Policy.
var DiskService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.DiskService", HandlerType: (*DiskServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _DiskService_Get_Handler, }, { MethodName: "GetByName", Handler: _DiskService_GetByName_Handler, }, { MethodName: "List", Handler: _DiskService_List_Handler, }, { MethodName: "Create", Handler: _DiskService_Create_Handler, }, { MethodName: "Update", Handler: _DiskService_Update_Handler, }, { MethodName: "Delete", Handler: _DiskService_Delete_Handler, }, { MethodName: "ListOperationsByParent", Handler: _DiskService_ListOperationsByParent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/disk_service.proto", }
DiskService_ServiceDesc is the grpc.ServiceDesc for DiskService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_nebius_compute_v1_disk_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_disk_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_filesystem_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_filesystem_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_gpu_cluster_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_gpu_cluster_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_image_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_image_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_instance_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_instance_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_maintenance_event_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_maintenance_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_network_interface_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_node_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_operation_service_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_platform_proto protoreflect.FileDescriptor
var File_nebius_compute_v1_platform_service_proto protoreflect.FileDescriptor
var FilesystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.FilesystemService", HandlerType: (*FilesystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _FilesystemService_Get_Handler, }, { MethodName: "GetByName", Handler: _FilesystemService_GetByName_Handler, }, { MethodName: "List", Handler: _FilesystemService_List_Handler, }, { MethodName: "Create", Handler: _FilesystemService_Create_Handler, }, { MethodName: "Update", Handler: _FilesystemService_Update_Handler, }, { MethodName: "Delete", Handler: _FilesystemService_Delete_Handler, }, { MethodName: "ListOperationsByParent", Handler: _FilesystemService_ListOperationsByParent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/filesystem_service.proto", }
FilesystemService_ServiceDesc is the grpc.ServiceDesc for FilesystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GpuClusterService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.GpuClusterService", HandlerType: (*GpuClusterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _GpuClusterService_Get_Handler, }, { MethodName: "GetByName", Handler: _GpuClusterService_GetByName_Handler, }, { MethodName: "List", Handler: _GpuClusterService_List_Handler, }, { MethodName: "Create", Handler: _GpuClusterService_Create_Handler, }, { MethodName: "Update", Handler: _GpuClusterService_Update_Handler, }, { MethodName: "Delete", Handler: _GpuClusterService_Delete_Handler, }, { MethodName: "ListOperationsByParent", Handler: _GpuClusterService_ListOperationsByParent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/gpu_cluster_service.proto", }
GpuClusterService_ServiceDesc is the grpc.ServiceDesc for GpuClusterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ImageService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.ImageService", HandlerType: (*ImageServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ImageService_Get_Handler, }, { MethodName: "GetByName", Handler: _ImageService_GetByName_Handler, }, { MethodName: "GetLatestByFamily", Handler: _ImageService_GetLatestByFamily_Handler, }, { MethodName: "List", Handler: _ImageService_List_Handler, }, { MethodName: "Create", Handler: _ImageService_Create_Handler, }, { MethodName: "Update", Handler: _ImageService_Update_Handler, }, { MethodName: "Delete", Handler: _ImageService_Delete_Handler, }, { MethodName: "ListOperationsByParent", Handler: _ImageService_ListOperationsByParent_Handler, }, { MethodName: "ListPublic", Handler: _ImageService_ListPublic_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/image_service.proto", }
ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var InstanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.InstanceService", HandlerType: (*InstanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _InstanceService_Get_Handler, }, { MethodName: "GetByName", Handler: _InstanceService_GetByName_Handler, }, { MethodName: "BatchGet", Handler: _InstanceService_BatchGet_Handler, }, { MethodName: "List", Handler: _InstanceService_List_Handler, }, { MethodName: "Create", Handler: _InstanceService_Create_Handler, }, { MethodName: "Update", Handler: _InstanceService_Update_Handler, }, { MethodName: "Delete", Handler: _InstanceService_Delete_Handler, }, { MethodName: "Start", Handler: _InstanceService_Start_Handler, }, { MethodName: "Stop", Handler: _InstanceService_Stop_Handler, }, { MethodName: "ListOperationsByParent", Handler: _InstanceService_ListOperationsByParent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/instance_service.proto", }
InstanceService_ServiceDesc is the grpc.ServiceDesc for InstanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MaintenanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.MaintenanceService", HandlerType: (*MaintenanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetByInstance", Handler: _MaintenanceService_GetByInstance_Handler, }, { MethodName: "ListActive", Handler: _MaintenanceService_ListActive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/maintenance_service.proto", }
MaintenanceService_ServiceDesc is the grpc.ServiceDesc for MaintenanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NodeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.NodeService", HandlerType: (*NodeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetUnhealthy", Handler: _NodeService_SetUnhealthy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/node_service.proto", }
NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PlatformService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nebius.compute.v1.PlatformService", HandlerType: (*PlatformServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetByName", Handler: _PlatformService_GetByName_Handler, }, { MethodName: "List", Handler: _PlatformService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nebius/compute/v1/platform_service.proto", }
PlatformService_ServiceDesc is the grpc.ServiceDesc for PlatformService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDiskServiceServer ¶
func RegisterDiskServiceServer(s grpc.ServiceRegistrar, srv DiskServiceServer)
func RegisterFilesystemServiceServer ¶
func RegisterFilesystemServiceServer(s grpc.ServiceRegistrar, srv FilesystemServiceServer)
func RegisterGpuClusterServiceServer ¶
func RegisterGpuClusterServiceServer(s grpc.ServiceRegistrar, srv GpuClusterServiceServer)
func RegisterImageServiceServer ¶
func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)
func RegisterInstanceServiceServer ¶
func RegisterInstanceServiceServer(s grpc.ServiceRegistrar, srv InstanceServiceServer)
func RegisterMaintenanceServiceServer ¶
func RegisterMaintenanceServiceServer(s grpc.ServiceRegistrar, srv MaintenanceServiceServer)
func RegisterNodeServiceServer ¶
func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
func RegisterPlatformServiceServer ¶
func RegisterPlatformServiceServer(s grpc.ServiceRegistrar, srv PlatformServiceServer)
Types ¶
type AttachedDiskSpec ¶
type AttachedDiskSpec struct {
AttachMode AttachedDiskSpec_AttachMode `` /* 143-byte string literal not displayed */
// Types that are valid to be assigned to Type:
//
// *AttachedDiskSpec_ExistingDisk
// *AttachedDiskSpec_ManagedDisk
Type isAttachedDiskSpec_Type `protobuf_oneof:"type"`
// Specifies the user-defined identifier, allowing to use '/dev/disk/by-id/virtio-{device_id}' as a device path in mount command.
DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
// contains filtered or unexported fields
}
func (*AttachedDiskSpec) Descriptor
deprecated
func (*AttachedDiskSpec) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDiskSpec.ProtoReflect.Descriptor instead.
func (*AttachedDiskSpec) GetAttachMode ¶
func (x *AttachedDiskSpec) GetAttachMode() AttachedDiskSpec_AttachMode
func (*AttachedDiskSpec) GetDeviceId ¶
func (x *AttachedDiskSpec) GetDeviceId() string
func (*AttachedDiskSpec) GetExistingDisk ¶
func (x *AttachedDiskSpec) GetExistingDisk() *ExistingDisk
func (*AttachedDiskSpec) GetManagedDisk ¶ added in v0.2.10
func (x *AttachedDiskSpec) GetManagedDisk() *ManagedDisk
func (*AttachedDiskSpec) GetType ¶
func (x *AttachedDiskSpec) GetType() isAttachedDiskSpec_Type
func (*AttachedDiskSpec) ProtoMessage ¶
func (*AttachedDiskSpec) ProtoMessage()
func (*AttachedDiskSpec) ProtoReflect ¶
func (x *AttachedDiskSpec) ProtoReflect() protoreflect.Message
func (*AttachedDiskSpec) Reset ¶
func (x *AttachedDiskSpec) Reset()
func (*AttachedDiskSpec) String ¶
func (x *AttachedDiskSpec) String() string
type AttachedDiskSpec_AttachMode ¶
type AttachedDiskSpec_AttachMode int32
const ( AttachedDiskSpec_UNSPECIFIED AttachedDiskSpec_AttachMode = 0 AttachedDiskSpec_READ_ONLY AttachedDiskSpec_AttachMode = 1 AttachedDiskSpec_READ_WRITE AttachedDiskSpec_AttachMode = 2 )
func (AttachedDiskSpec_AttachMode) Descriptor ¶
func (AttachedDiskSpec_AttachMode) Descriptor() protoreflect.EnumDescriptor
func (AttachedDiskSpec_AttachMode) Enum ¶
func (x AttachedDiskSpec_AttachMode) Enum() *AttachedDiskSpec_AttachMode
func (AttachedDiskSpec_AttachMode) EnumDescriptor
deprecated
func (AttachedDiskSpec_AttachMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDiskSpec_AttachMode.Descriptor instead.
func (AttachedDiskSpec_AttachMode) Number ¶
func (x AttachedDiskSpec_AttachMode) Number() protoreflect.EnumNumber
func (AttachedDiskSpec_AttachMode) String ¶
func (x AttachedDiskSpec_AttachMode) String() string
func (AttachedDiskSpec_AttachMode) Type ¶
func (AttachedDiskSpec_AttachMode) Type() protoreflect.EnumType
type AttachedDiskSpec_ExistingDisk ¶
type AttachedDiskSpec_ExistingDisk struct {
// Attach an existing disk.
//
// Lifecycle:
// - The disk is preserved when the instance is deleted (it will be detached).
//
// Switching to a managed disk:
// - To delete the disk together with the instance, switch to ManagedDisk in the instance spec.
// - For the switch, `ManagedDisk.name` MUST match the current disk `name`
// (see DiskService.Get for the disk referenced by `ExistingDisk.id`).
// - When converting an ExistingDisk to a ManagedDisk, you must provide `ManagedDisk.name` and `ManagedDisk.spec`
// exactly as they are currently defined in the disk resource.
// Obtain the current values via `DiskService.Get` and copy them verbatim.
// If `ManagedDisk.spec` differs from the current disk spec, the instance update will fail.
ExistingDisk *ExistingDisk `protobuf:"bytes,2,opt,name=existing_disk,json=existingDisk,proto3,oneof"`
}
type AttachedDiskSpec_ManagedDisk ¶ added in v0.2.10
type AttachedDiskSpec_ManagedDisk struct {
// Attach a managed disk.
//
// Lifecycle:
// - The disk is deleted when the instance is deleted.
//
// Semantics:
// - Specifying a ManagedDisk expresses an intent to have that managed disk attached.
// - If this intent cannot be satisfied, the entire operation fails.
// - You can check the intent status in `instance.status.disk_attachments`.
//
// Updates and matching:
// - Managed disks can be updated only via instance spec updates. Updates via DiskService are not allowed.
// - During updates, disks are matched by `name`.
//
// Renaming and data loss:
// - Changing the disk `name` triggers disk replacement (create a new disk and delete the old one),
// which causes data loss.
// - To rename a managed disk safely:
// 1) switch it to ExistingDisk in the instance spec, and
// 2) update/rename it via DiskService.
//
// Conflicts:
// - Instance create/update fails if there is already a disk with the same `name`.
// as requested by any ManagedDisk.
//
// Finding the disk ID:
// - The disk ID is available in `instance.status.disk_attachments` after it is created.
// Use `DiskAttachmentStatus.name` to find the desired disk which matches `name`.
//
// Switching to an existing (non-managed) disk:
// - To preserve the disk after instance deletion, switch it to ExistingDisk in the instance spec,
// use the disk ID from `instance.status.disk_attachments`.
//
// Deletion protection:
// - Switching ExistingDisk to ManagedDisk fails if `Disk.spec.deletion_protection` is enabled.
// - Deleting an instance that has a ManagedDisk fails if `Disk.spec.deletion_protection` is enabled.
ManagedDisk *ManagedDisk `protobuf:"bytes,4,opt,name=managed_disk,json=managedDisk,proto3,oneof"`
}
type AttachedFilesystemSpec ¶
type AttachedFilesystemSpec struct {
AttachMode AttachedFilesystemSpec_AttachMode `` /* 149-byte string literal not displayed */
// Specifies the user-defined identifier, allowing to use it as a device in mount command.
MountTag string `protobuf:"bytes,2,opt,name=mount_tag,json=mountTag,proto3" json:"mount_tag,omitempty"`
// Types that are valid to be assigned to Type:
//
// *AttachedFilesystemSpec_ExistingFilesystem
Type isAttachedFilesystemSpec_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*AttachedFilesystemSpec) Descriptor
deprecated
func (*AttachedFilesystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use AttachedFilesystemSpec.ProtoReflect.Descriptor instead.
func (*AttachedFilesystemSpec) GetAttachMode ¶
func (x *AttachedFilesystemSpec) GetAttachMode() AttachedFilesystemSpec_AttachMode
func (*AttachedFilesystemSpec) GetExistingFilesystem ¶
func (x *AttachedFilesystemSpec) GetExistingFilesystem() *ExistingFilesystem
func (*AttachedFilesystemSpec) GetMountTag ¶
func (x *AttachedFilesystemSpec) GetMountTag() string
func (*AttachedFilesystemSpec) GetType ¶
func (x *AttachedFilesystemSpec) GetType() isAttachedFilesystemSpec_Type
func (*AttachedFilesystemSpec) ProtoMessage ¶
func (*AttachedFilesystemSpec) ProtoMessage()
func (*AttachedFilesystemSpec) ProtoReflect ¶
func (x *AttachedFilesystemSpec) ProtoReflect() protoreflect.Message
func (*AttachedFilesystemSpec) Reset ¶
func (x *AttachedFilesystemSpec) Reset()
func (*AttachedFilesystemSpec) String ¶
func (x *AttachedFilesystemSpec) String() string
type AttachedFilesystemSpec_AttachMode ¶
type AttachedFilesystemSpec_AttachMode int32
const ( AttachedFilesystemSpec_UNSPECIFIED AttachedFilesystemSpec_AttachMode = 0 AttachedFilesystemSpec_READ_ONLY AttachedFilesystemSpec_AttachMode = 1 AttachedFilesystemSpec_READ_WRITE AttachedFilesystemSpec_AttachMode = 2 )
func (AttachedFilesystemSpec_AttachMode) Descriptor ¶
func (AttachedFilesystemSpec_AttachMode) Descriptor() protoreflect.EnumDescriptor
func (AttachedFilesystemSpec_AttachMode) Enum ¶
func (x AttachedFilesystemSpec_AttachMode) Enum() *AttachedFilesystemSpec_AttachMode
func (AttachedFilesystemSpec_AttachMode) EnumDescriptor
deprecated
func (AttachedFilesystemSpec_AttachMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedFilesystemSpec_AttachMode.Descriptor instead.
func (AttachedFilesystemSpec_AttachMode) Number ¶
func (x AttachedFilesystemSpec_AttachMode) Number() protoreflect.EnumNumber
func (AttachedFilesystemSpec_AttachMode) String ¶
func (x AttachedFilesystemSpec_AttachMode) String() string
func (AttachedFilesystemSpec_AttachMode) Type ¶
func (AttachedFilesystemSpec_AttachMode) Type() protoreflect.EnumType
type AttachedFilesystemSpec_ExistingFilesystem ¶
type AttachedFilesystemSpec_ExistingFilesystem struct {
ExistingFilesystem *ExistingFilesystem `protobuf:"bytes,3,opt,name=existing_filesystem,json=existingFilesystem,proto3,oneof"`
}
type BatchGetRequest ¶ added in v0.2.9
type BatchGetRequest struct {
// List of instances to fetch.
InstanceIds []string `protobuf:"bytes,1,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids,omitempty"`
// contains filtered or unexported fields
}
func (*BatchGetRequest) Descriptor
deprecated
added in
v0.2.9
func (*BatchGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetRequest.ProtoReflect.Descriptor instead.
func (*BatchGetRequest) GetInstanceIds ¶ added in v0.2.9
func (x *BatchGetRequest) GetInstanceIds() []string
func (*BatchGetRequest) ProtoMessage ¶ added in v0.2.9
func (*BatchGetRequest) ProtoMessage()
func (*BatchGetRequest) ProtoReflect ¶ added in v0.2.9
func (x *BatchGetRequest) ProtoReflect() protoreflect.Message
func (*BatchGetRequest) Reset ¶ added in v0.2.9
func (x *BatchGetRequest) Reset()
func (*BatchGetRequest) String ¶ added in v0.2.9
func (x *BatchGetRequest) String() string
type BatchGetResponse ¶ added in v0.2.9
type BatchGetResponse struct {
// Map where key is instance id from original request array.
Items map[string]*BatchGetResponse_BatchGetResult `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BatchGetResponse) Descriptor
deprecated
added in
v0.2.9
func (*BatchGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetResponse.ProtoReflect.Descriptor instead.
func (*BatchGetResponse) GetItems ¶ added in v0.2.9
func (x *BatchGetResponse) GetItems() map[string]*BatchGetResponse_BatchGetResult
func (*BatchGetResponse) LogValue ¶ added in v0.2.9
func (x *BatchGetResponse) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of BatchGetResponse. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
It also sanitizes the content of google.protobuf.Any, i.e. performs unmarshal, sanitize, marshal cycle. Important: proto.UnmarshalOptions.DiscardUnknown = true is used. In case of an error, the content of Any is replaced with google.protobuf.Empty.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *BatchGetResponse sanitized := original.LogValue().Any().(proto.Message)
If you need to extract BatchGetResponse, use the following code:
var original *BatchGetResponse sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*BatchGetResponse)
func (*BatchGetResponse) ProtoMessage ¶ added in v0.2.9
func (*BatchGetResponse) ProtoMessage()
func (*BatchGetResponse) ProtoReflect ¶ added in v0.2.9
func (x *BatchGetResponse) ProtoReflect() protoreflect.Message
func (*BatchGetResponse) Reset ¶ added in v0.2.9
func (x *BatchGetResponse) Reset()
func (*BatchGetResponse) Sanitize ¶ added in v0.2.9
func (x *BatchGetResponse) Sanitize()
Sanitize mutates BatchGetResponse to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
It also sanitizes the content of google.protobuf.Any, i.e. performs unmarshal, sanitize, marshal cycle. Important: proto.UnmarshalOptions.DiscardUnknown = true is used. In case of an error, the content of Any is replaced with google.protobuf.Empty.
func (*BatchGetResponse) String ¶ added in v0.2.9
func (x *BatchGetResponse) String() string
type BatchGetResponse_BatchGetResult ¶ added in v0.2.9
type BatchGetResponse_BatchGetResult struct {
// Types that are valid to be assigned to Result:
//
// *BatchGetResponse_BatchGetResult_Instance
// *BatchGetResponse_BatchGetResult_Error
Result isBatchGetResponse_BatchGetResult_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*BatchGetResponse_BatchGetResult) Descriptor
deprecated
added in
v0.2.9
func (*BatchGetResponse_BatchGetResult) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetResponse_BatchGetResult.ProtoReflect.Descriptor instead.
func (*BatchGetResponse_BatchGetResult) GetError ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) GetError() *status.Status
func (*BatchGetResponse_BatchGetResult) GetInstance ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) GetInstance() *Instance
func (*BatchGetResponse_BatchGetResult) GetResult ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) GetResult() isBatchGetResponse_BatchGetResult_Result
func (*BatchGetResponse_BatchGetResult) LogValue ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of BatchGetResponse_BatchGetResult. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
It also sanitizes the content of google.protobuf.Any, i.e. performs unmarshal, sanitize, marshal cycle. Important: proto.UnmarshalOptions.DiscardUnknown = true is used. In case of an error, the content of Any is replaced with google.protobuf.Empty.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *BatchGetResponse_BatchGetResult sanitized := original.LogValue().Any().(proto.Message)
If you need to extract BatchGetResponse_BatchGetResult, use the following code:
var original *BatchGetResponse_BatchGetResult sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*BatchGetResponse_BatchGetResult)
func (*BatchGetResponse_BatchGetResult) ProtoMessage ¶ added in v0.2.9
func (*BatchGetResponse_BatchGetResult) ProtoMessage()
func (*BatchGetResponse_BatchGetResult) ProtoReflect ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) ProtoReflect() protoreflect.Message
func (*BatchGetResponse_BatchGetResult) Reset ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) Reset()
func (*BatchGetResponse_BatchGetResult) Sanitize ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) Sanitize()
Sanitize mutates BatchGetResponse_BatchGetResult to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
It also sanitizes the content of google.protobuf.Any, i.e. performs unmarshal, sanitize, marshal cycle. Important: proto.UnmarshalOptions.DiscardUnknown = true is used. In case of an error, the content of Any is replaced with google.protobuf.Empty.
func (*BatchGetResponse_BatchGetResult) String ¶ added in v0.2.9
func (x *BatchGetResponse_BatchGetResult) String() string
type BatchGetResponse_BatchGetResult_Error ¶ added in v0.2.9
type BatchGetResponse_BatchGetResult_Instance ¶ added in v0.2.9
type BatchGetResponse_BatchGetResult_Instance struct {
// Will be set if we successfully fetched instance info.
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3,oneof"`
}
type CreateDiskRequest ¶
type CreateDiskRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *DiskSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateDiskRequest) Descriptor
deprecated
func (*CreateDiskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDiskRequest.ProtoReflect.Descriptor instead.
func (*CreateDiskRequest) GetMetadata ¶
func (x *CreateDiskRequest) GetMetadata() *v1.ResourceMetadata
func (*CreateDiskRequest) GetSpec ¶
func (x *CreateDiskRequest) GetSpec() *DiskSpec
func (*CreateDiskRequest) ProtoMessage ¶
func (*CreateDiskRequest) ProtoMessage()
func (*CreateDiskRequest) ProtoReflect ¶
func (x *CreateDiskRequest) ProtoReflect() protoreflect.Message
func (*CreateDiskRequest) Reset ¶
func (x *CreateDiskRequest) Reset()
func (*CreateDiskRequest) String ¶
func (x *CreateDiskRequest) String() string
type CreateFilesystemRequest ¶
type CreateFilesystemRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *FilesystemSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFilesystemRequest) Descriptor
deprecated
func (*CreateFilesystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFilesystemRequest.ProtoReflect.Descriptor instead.
func (*CreateFilesystemRequest) GetMetadata ¶
func (x *CreateFilesystemRequest) GetMetadata() *v1.ResourceMetadata
func (*CreateFilesystemRequest) GetSpec ¶
func (x *CreateFilesystemRequest) GetSpec() *FilesystemSpec
func (*CreateFilesystemRequest) ProtoMessage ¶
func (*CreateFilesystemRequest) ProtoMessage()
func (*CreateFilesystemRequest) ProtoReflect ¶
func (x *CreateFilesystemRequest) ProtoReflect() protoreflect.Message
func (*CreateFilesystemRequest) Reset ¶
func (x *CreateFilesystemRequest) Reset()
func (*CreateFilesystemRequest) String ¶
func (x *CreateFilesystemRequest) String() string
type CreateGpuClusterRequest ¶
type CreateGpuClusterRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *GpuClusterSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateGpuClusterRequest) Descriptor
deprecated
func (*CreateGpuClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGpuClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateGpuClusterRequest) GetMetadata ¶
func (x *CreateGpuClusterRequest) GetMetadata() *v1.ResourceMetadata
func (*CreateGpuClusterRequest) GetSpec ¶
func (x *CreateGpuClusterRequest) GetSpec() *GpuClusterSpec
func (*CreateGpuClusterRequest) ProtoMessage ¶
func (*CreateGpuClusterRequest) ProtoMessage()
func (*CreateGpuClusterRequest) ProtoReflect ¶
func (x *CreateGpuClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateGpuClusterRequest) Reset ¶
func (x *CreateGpuClusterRequest) Reset()
func (*CreateGpuClusterRequest) String ¶
func (x *CreateGpuClusterRequest) String() string
type CreateImageRequest ¶
type CreateImageRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *ImageSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateImageRequest) Descriptor
deprecated
func (*CreateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
func (*CreateImageRequest) GetMetadata ¶
func (x *CreateImageRequest) GetMetadata() *v1.ResourceMetadata
func (*CreateImageRequest) GetSpec ¶
func (x *CreateImageRequest) GetSpec() *ImageSpec
func (*CreateImageRequest) ProtoMessage ¶
func (*CreateImageRequest) ProtoMessage()
func (*CreateImageRequest) ProtoReflect ¶
func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
func (*CreateImageRequest) Reset ¶
func (x *CreateImageRequest) Reset()
func (*CreateImageRequest) String ¶
func (x *CreateImageRequest) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *InstanceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateInstanceRequest) Descriptor
deprecated
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceRequest) GetMetadata ¶
func (x *CreateInstanceRequest) GetMetadata() *v1.ResourceMetadata
func (*CreateInstanceRequest) GetSpec ¶
func (x *CreateInstanceRequest) GetSpec() *InstanceSpec
func (*CreateInstanceRequest) LogValue ¶
func (x *CreateInstanceRequest) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of CreateInstanceRequest. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *CreateInstanceRequest sanitized := original.LogValue().Any().(proto.Message)
If you need to extract CreateInstanceRequest, use the following code:
var original *CreateInstanceRequest sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*CreateInstanceRequest)
func (*CreateInstanceRequest) ProtoMessage ¶
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) ProtoReflect ¶
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceRequest) Reset ¶
func (x *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) Sanitize ¶
func (x *CreateInstanceRequest) Sanitize()
Sanitize mutates CreateInstanceRequest to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
func (*CreateInstanceRequest) String ¶
func (x *CreateInstanceRequest) String() string
type DeleteDiskRequest ¶
type DeleteDiskRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteDiskRequest) Descriptor
deprecated
func (*DeleteDiskRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDiskRequest.ProtoReflect.Descriptor instead.
func (*DeleteDiskRequest) GetId ¶
func (x *DeleteDiskRequest) GetId() string
func (*DeleteDiskRequest) ProtoMessage ¶
func (*DeleteDiskRequest) ProtoMessage()
func (*DeleteDiskRequest) ProtoReflect ¶
func (x *DeleteDiskRequest) ProtoReflect() protoreflect.Message
func (*DeleteDiskRequest) Reset ¶
func (x *DeleteDiskRequest) Reset()
func (*DeleteDiskRequest) String ¶
func (x *DeleteDiskRequest) String() string
type DeleteFilesystemRequest ¶
type DeleteFilesystemRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteFilesystemRequest) Descriptor
deprecated
func (*DeleteFilesystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFilesystemRequest.ProtoReflect.Descriptor instead.
func (*DeleteFilesystemRequest) GetId ¶
func (x *DeleteFilesystemRequest) GetId() string
func (*DeleteFilesystemRequest) ProtoMessage ¶
func (*DeleteFilesystemRequest) ProtoMessage()
func (*DeleteFilesystemRequest) ProtoReflect ¶
func (x *DeleteFilesystemRequest) ProtoReflect() protoreflect.Message
func (*DeleteFilesystemRequest) Reset ¶
func (x *DeleteFilesystemRequest) Reset()
func (*DeleteFilesystemRequest) String ¶
func (x *DeleteFilesystemRequest) String() string
type DeleteGpuClusterRequest ¶
type DeleteGpuClusterRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteGpuClusterRequest) Descriptor
deprecated
func (*DeleteGpuClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGpuClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteGpuClusterRequest) GetId ¶
func (x *DeleteGpuClusterRequest) GetId() string
func (*DeleteGpuClusterRequest) ProtoMessage ¶
func (*DeleteGpuClusterRequest) ProtoMessage()
func (*DeleteGpuClusterRequest) ProtoReflect ¶
func (x *DeleteGpuClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteGpuClusterRequest) Reset ¶
func (x *DeleteGpuClusterRequest) Reset()
func (*DeleteGpuClusterRequest) String ¶
func (x *DeleteGpuClusterRequest) String() string
type DeleteImageRequest ¶
type DeleteImageRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteImageRequest) Descriptor
deprecated
func (*DeleteImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteImageRequest.ProtoReflect.Descriptor instead.
func (*DeleteImageRequest) GetId ¶
func (x *DeleteImageRequest) GetId() string
func (*DeleteImageRequest) ProtoMessage ¶
func (*DeleteImageRequest) ProtoMessage()
func (*DeleteImageRequest) ProtoReflect ¶
func (x *DeleteImageRequest) ProtoReflect() protoreflect.Message
func (*DeleteImageRequest) Reset ¶
func (x *DeleteImageRequest) Reset()
func (*DeleteImageRequest) String ¶
func (x *DeleteImageRequest) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteInstanceRequest) Descriptor
deprecated
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceRequest) GetId ¶
func (x *DeleteInstanceRequest) GetId() string
func (*DeleteInstanceRequest) ProtoMessage ¶
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) ProtoReflect ¶
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstanceRequest) Reset ¶
func (x *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String ¶
func (x *DeleteInstanceRequest) String() string
type Disk ¶
type Disk struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *DiskSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *DiskStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Disk) Descriptor
deprecated
func (*Disk) GetMetadata ¶
func (x *Disk) GetMetadata() *v1.ResourceMetadata
func (*Disk) GetStatus ¶
func (x *Disk) GetStatus() *DiskStatus
func (*Disk) ProtoMessage ¶
func (*Disk) ProtoMessage()
func (*Disk) ProtoReflect ¶
func (x *Disk) ProtoReflect() protoreflect.Message
type DiskAttachmentStatus ¶ added in v0.2.10
type DiskAttachmentStatus struct {
// Disk ID.
// - For ExistingDisk, this is the referenced disk ID.
// - For ManagedDisk, may be empty while the attachment intent is still pending.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Disk name used to match this status entry with the desired attachment
// from the instance specification.
//
// Consistency:
// - For ManagedDisk, this value is derived from the instance spec (ManagedDisk.name).
// - For ExistingDisk, this value is derived from the disk resource name and may lag behind
// in case of renaming. It is updated asynchronously and is eventually consistent.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Indicates whether this attachment is managed by the instance lifecycle.
// If true, the disk is expected to be deleted when the instance is deleted.
// If false, the disk is preserved and only detached on instance deletion.
IsManaged bool `protobuf:"varint,3,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
// contains filtered or unexported fields
}
func (*DiskAttachmentStatus) Descriptor
deprecated
added in
v0.2.10
func (*DiskAttachmentStatus) Descriptor() ([]byte, []int)
Deprecated: Use DiskAttachmentStatus.ProtoReflect.Descriptor instead.
func (*DiskAttachmentStatus) GetId ¶ added in v0.2.10
func (x *DiskAttachmentStatus) GetId() string
func (*DiskAttachmentStatus) GetIsManaged ¶ added in v0.2.10
func (x *DiskAttachmentStatus) GetIsManaged() bool
func (*DiskAttachmentStatus) GetName ¶ added in v0.2.10
func (x *DiskAttachmentStatus) GetName() string
func (*DiskAttachmentStatus) ProtoMessage ¶ added in v0.2.10
func (*DiskAttachmentStatus) ProtoMessage()
func (*DiskAttachmentStatus) ProtoReflect ¶ added in v0.2.10
func (x *DiskAttachmentStatus) ProtoReflect() protoreflect.Message
func (*DiskAttachmentStatus) Reset ¶ added in v0.2.10
func (x *DiskAttachmentStatus) Reset()
func (*DiskAttachmentStatus) String ¶ added in v0.2.10
func (x *DiskAttachmentStatus) String() string
type DiskEncryption ¶
type DiskEncryption struct {
Type DiskEncryption_DiskEncryptionType `protobuf:"varint,1,opt,name=type,proto3,enum=nebius.compute.v1.DiskEncryption_DiskEncryptionType" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*DiskEncryption) Descriptor
deprecated
func (*DiskEncryption) Descriptor() ([]byte, []int)
Deprecated: Use DiskEncryption.ProtoReflect.Descriptor instead.
func (*DiskEncryption) GetType ¶
func (x *DiskEncryption) GetType() DiskEncryption_DiskEncryptionType
func (*DiskEncryption) ProtoMessage ¶
func (*DiskEncryption) ProtoMessage()
func (*DiskEncryption) ProtoReflect ¶
func (x *DiskEncryption) ProtoReflect() protoreflect.Message
func (*DiskEncryption) Reset ¶
func (x *DiskEncryption) Reset()
func (*DiskEncryption) String ¶
func (x *DiskEncryption) String() string
type DiskEncryption_DiskEncryptionType ¶
type DiskEncryption_DiskEncryptionType int32
const ( // No encryption is applied unless explicitly specified. DiskEncryption_DISK_ENCRYPTION_UNSPECIFIED DiskEncryption_DiskEncryptionType = 0 // Enables encryption using the platform's default root key from KMS. // Available for disks with NETWORK_SSD_NON_REPLICATED and NETWORK_SSD_IO_M3 types only. DiskEncryption_DISK_ENCRYPTION_MANAGED DiskEncryption_DiskEncryptionType = 1 )
func (DiskEncryption_DiskEncryptionType) Descriptor ¶
func (DiskEncryption_DiskEncryptionType) Descriptor() protoreflect.EnumDescriptor
func (DiskEncryption_DiskEncryptionType) Enum ¶
func (x DiskEncryption_DiskEncryptionType) Enum() *DiskEncryption_DiskEncryptionType
func (DiskEncryption_DiskEncryptionType) EnumDescriptor
deprecated
func (DiskEncryption_DiskEncryptionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskEncryption_DiskEncryptionType.Descriptor instead.
func (DiskEncryption_DiskEncryptionType) Number ¶
func (x DiskEncryption_DiskEncryptionType) Number() protoreflect.EnumNumber
func (DiskEncryption_DiskEncryptionType) String ¶
func (x DiskEncryption_DiskEncryptionType) String() string
func (DiskEncryption_DiskEncryptionType) Type ¶
func (DiskEncryption_DiskEncryptionType) Type() protoreflect.EnumType
type DiskServiceClient ¶
type DiskServiceClient interface {
// Retrieves information about a disk by its ID.
Get(ctx context.Context, in *GetDiskRequest, opts ...grpc.CallOption) (*Disk, error)
// Retrieves information about a disk by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*Disk, error)
// Lists all disks within a specified parent.
List(ctx context.Context, in *ListDisksRequest, opts ...grpc.CallOption) (*ListDisksResponse, error)
// Creates a new disk with the specified configuration.
// For details, see https://docs.nebius.com/compute/storage/manage
Create(ctx context.Context, in *CreateDiskRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Updates an existing disk with new configuration parameters.
// For details, see https://docs.nebius.com/compute/storage/manage#parameters
Update(ctx context.Context, in *UpdateDiskRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Deletes a disk by its ID.
Delete(ctx context.Context, in *DeleteDiskRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(ctx context.Context, in *ListOperationsByParentRequest, opts ...grpc.CallOption) (*v1.ListOperationsResponse, error)
}
DiskServiceClient is the client API for DiskService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDiskServiceClient ¶
func NewDiskServiceClient(cc grpc.ClientConnInterface) DiskServiceClient
type DiskServiceServer ¶
type DiskServiceServer interface {
// Retrieves information about a disk by its ID.
Get(context.Context, *GetDiskRequest) (*Disk, error)
// Retrieves information about a disk by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*Disk, error)
// Lists all disks within a specified parent.
List(context.Context, *ListDisksRequest) (*ListDisksResponse, error)
// Creates a new disk with the specified configuration.
// For details, see https://docs.nebius.com/compute/storage/manage
Create(context.Context, *CreateDiskRequest) (*v1.Operation, error)
// Updates an existing disk with new configuration parameters.
// For details, see https://docs.nebius.com/compute/storage/manage#parameters
Update(context.Context, *UpdateDiskRequest) (*v1.Operation, error)
// Deletes a disk by its ID.
Delete(context.Context, *DeleteDiskRequest) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
}
DiskServiceServer is the server API for DiskService service. All implementations should embed UnimplementedDiskServiceServer for forward compatibility
type DiskSpec ¶
type DiskSpec struct {
// Size of the disk. The size must be within the limits for the selected disk type.
// For current limits, see https://docs.nebius.com/compute/storage/types#disks-types-comparison
//
// Types that are valid to be assigned to Size:
//
// *DiskSpec_SizeBytes
// *DiskSpec_SizeKibibytes
// *DiskSpec_SizeMebibytes
// *DiskSpec_SizeGibibytes
Size isDiskSpec_Size `protobuf_oneof:"size"`
// Block size in bytes.
// The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB).
// The default value is 4096 bytes (4 KiB).
BlockSizeBytes int64 `protobuf:"varint,5,opt,name=block_size_bytes,json=blockSizeBytes,proto3" json:"block_size_bytes,omitempty"`
// The type of disk defines the performance and reliability characteristics of the block device.
// For details, see https://docs.nebius.com/compute/storage/types#disks-types
Type DiskSpec_DiskType `protobuf:"varint,6,opt,name=type,proto3,enum=nebius.compute.v1.DiskSpec_DiskType" json:"type,omitempty"`
// Source for disk creation.
// Boot disk must be created from an image https://docs.nebius.com/compute/storage/manage#boot
// Additional disks can be created as an empty volume https://docs.nebius.com/compute/storage/manage#additional
//
// Types that are valid to be assigned to Source:
//
// *DiskSpec_SourceImageId
// *DiskSpec_SourceImageFamily
Source isDiskSpec_Source `protobuf_oneof:"source"`
// Defines how data on the disk is encrypted. By default, no encryption is applied.
DiskEncryption *DiskEncryption `protobuf:"bytes,11,opt,name=disk_encryption,json=diskEncryption,proto3" json:"disk_encryption,omitempty"`
// Prevents deletion whilst set
ForbidDeletion bool `protobuf:"varint,12,opt,name=forbid_deletion,json=forbidDeletion,proto3" json:"forbid_deletion,omitempty"`
// contains filtered or unexported fields
}
func (*DiskSpec) Descriptor
deprecated
func (*DiskSpec) GetBlockSizeBytes ¶
func (*DiskSpec) GetDiskEncryption ¶
func (x *DiskSpec) GetDiskEncryption() *DiskEncryption
func (*DiskSpec) GetForbidDeletion ¶ added in v0.2.5
func (*DiskSpec) GetSizeBytes ¶
func (*DiskSpec) GetSizeGibibytes ¶
func (*DiskSpec) GetSizeKibibytes ¶
func (*DiskSpec) GetSizeMebibytes ¶
func (*DiskSpec) GetSourceImageFamily ¶
func (x *DiskSpec) GetSourceImageFamily() *SourceImageFamily
func (*DiskSpec) GetSourceImageId ¶
func (*DiskSpec) GetType ¶
func (x *DiskSpec) GetType() DiskSpec_DiskType
func (*DiskSpec) ProtoMessage ¶
func (*DiskSpec) ProtoMessage()
func (*DiskSpec) ProtoReflect ¶
func (x *DiskSpec) ProtoReflect() protoreflect.Message
type DiskSpec_DiskType ¶
type DiskSpec_DiskType int32
the list of available types will be clarified later, it is not final version
const ( DiskSpec_UNSPECIFIED DiskSpec_DiskType = 0 DiskSpec_NETWORK_SSD DiskSpec_DiskType = 1 DiskSpec_NETWORK_HDD DiskSpec_DiskType = 2 DiskSpec_NETWORK_SSD_NON_REPLICATED DiskSpec_DiskType = 3 DiskSpec_NETWORK_SSD_IO_M3 DiskSpec_DiskType = 4 )
func (DiskSpec_DiskType) Descriptor ¶
func (DiskSpec_DiskType) Descriptor() protoreflect.EnumDescriptor
func (DiskSpec_DiskType) Enum ¶
func (x DiskSpec_DiskType) Enum() *DiskSpec_DiskType
func (DiskSpec_DiskType) EnumDescriptor
deprecated
func (DiskSpec_DiskType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskSpec_DiskType.Descriptor instead.
func (DiskSpec_DiskType) Number ¶
func (x DiskSpec_DiskType) Number() protoreflect.EnumNumber
func (DiskSpec_DiskType) String ¶
func (x DiskSpec_DiskType) String() string
func (DiskSpec_DiskType) Type ¶
func (DiskSpec_DiskType) Type() protoreflect.EnumType
type DiskSpec_SizeBytes ¶
type DiskSpec_SizeBytes struct {
SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3,oneof"`
}
type DiskSpec_SizeGibibytes ¶
type DiskSpec_SizeGibibytes struct {
SizeGibibytes int64 `protobuf:"varint,4,opt,name=size_gibibytes,json=sizeGibibytes,proto3,oneof"`
}
type DiskSpec_SizeKibibytes ¶
type DiskSpec_SizeKibibytes struct {
SizeKibibytes int64 `protobuf:"varint,2,opt,name=size_kibibytes,json=sizeKibibytes,proto3,oneof"`
}
type DiskSpec_SizeMebibytes ¶
type DiskSpec_SizeMebibytes struct {
SizeMebibytes int64 `protobuf:"varint,3,opt,name=size_mebibytes,json=sizeMebibytes,proto3,oneof"`
}
type DiskSpec_SourceImageFamily ¶
type DiskSpec_SourceImageFamily struct {
SourceImageFamily *SourceImageFamily `protobuf:"bytes,10,opt,name=source_image_family,json=sourceImageFamily,proto3,oneof"`
}
type DiskSpec_SourceImageId ¶
type DiskSpec_SourceImageId struct {
SourceImageId string `protobuf:"bytes,8,opt,name=source_image_id,json=sourceImageId,proto3,oneof"`
}
type DiskStatus ¶
type DiskStatus struct {
State DiskStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=nebius.compute.v1.DiskStatus_State" json:"state,omitempty"`
StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
// Current read-write owner (instance ID).
// May refer to an instance in any state, including stopped
// (this semantics is preserved for backward compatibility).
// Reassigned on disk detach, instance deletion, or ownership transfer.
// Ownership transfer occurs when this disk is explicitly attached to another instance
// or when a VM with this disk attached starts while the current owner is stopped.
ReadWriteAttachment string `protobuf:"bytes,3,opt,name=read_write_attachment,json=readWriteAttachment,proto3" json:"read_write_attachment,omitempty"`
ReadOnlyAttachments []string `protobuf:"bytes,4,rep,name=read_only_attachments,json=readOnlyAttachments,proto3" json:"read_only_attachments,omitempty"`
SourceImageId string `protobuf:"bytes,5,opt,name=source_image_id,json=sourceImageId,proto3" json:"source_image_id,omitempty"`
SizeBytes int64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// Indicates whether there is an ongoing operation
Reconciling bool `protobuf:"varint,7,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
BlockSizeBytes int64 `protobuf:"varint,8,opt,name=block_size_bytes,json=blockSizeBytes,proto3" json:"block_size_bytes,omitempty"`
SourceImageCpuArchitecture DiskStatus_SourceImageCPUArchitecture `` /* 205-byte string literal not displayed */
// Indicates resources that prevent the disk from being attached as read-write.
LockState *DiskStatus_LockState `protobuf:"bytes,11,opt,name=lock_state,json=lockState,proto3" json:"lock_state,omitempty"`
// contains filtered or unexported fields
}
func (*DiskStatus) Descriptor
deprecated
func (*DiskStatus) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatus.ProtoReflect.Descriptor instead.
func (*DiskStatus) GetBlockSizeBytes ¶
func (x *DiskStatus) GetBlockSizeBytes() int64
func (*DiskStatus) GetLockState ¶
func (x *DiskStatus) GetLockState() *DiskStatus_LockState
func (*DiskStatus) GetReadOnlyAttachments ¶
func (x *DiskStatus) GetReadOnlyAttachments() []string
func (*DiskStatus) GetReadWriteAttachment ¶
func (x *DiskStatus) GetReadWriteAttachment() string
func (*DiskStatus) GetReconciling ¶
func (x *DiskStatus) GetReconciling() bool
func (*DiskStatus) GetSizeBytes ¶
func (x *DiskStatus) GetSizeBytes() int64
func (*DiskStatus) GetSourceImageCpuArchitecture ¶
func (x *DiskStatus) GetSourceImageCpuArchitecture() DiskStatus_SourceImageCPUArchitecture
func (*DiskStatus) GetSourceImageId ¶
func (x *DiskStatus) GetSourceImageId() string
func (*DiskStatus) GetState ¶
func (x *DiskStatus) GetState() DiskStatus_State
func (*DiskStatus) GetStateDescription ¶
func (x *DiskStatus) GetStateDescription() string
func (*DiskStatus) ProtoMessage ¶
func (*DiskStatus) ProtoMessage()
func (*DiskStatus) ProtoReflect ¶
func (x *DiskStatus) ProtoReflect() protoreflect.Message
func (*DiskStatus) Reset ¶
func (x *DiskStatus) Reset()
func (*DiskStatus) String ¶
func (x *DiskStatus) String() string
type DiskStatus_LockState ¶
type DiskStatus_LockState struct {
// Disk is locked for deletion and for read-write operations while image is being created.
// Here is the list of these images.
Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
// contains filtered or unexported fields
}
func (*DiskStatus_LockState) Descriptor
deprecated
func (*DiskStatus_LockState) Descriptor() ([]byte, []int)
Deprecated: Use DiskStatus_LockState.ProtoReflect.Descriptor instead.
func (*DiskStatus_LockState) GetImages ¶
func (x *DiskStatus_LockState) GetImages() []string
func (*DiskStatus_LockState) ProtoMessage ¶
func (*DiskStatus_LockState) ProtoMessage()
func (*DiskStatus_LockState) ProtoReflect ¶
func (x *DiskStatus_LockState) ProtoReflect() protoreflect.Message
func (*DiskStatus_LockState) Reset ¶
func (x *DiskStatus_LockState) Reset()
func (*DiskStatus_LockState) String ¶
func (x *DiskStatus_LockState) String() string
type DiskStatus_SourceImageCPUArchitecture ¶
type DiskStatus_SourceImageCPUArchitecture int32
const ( DiskStatus_SOURCE_IMAGE_CPU_UNSPECIFIED DiskStatus_SourceImageCPUArchitecture = 0 DiskStatus_AMD64 DiskStatus_SourceImageCPUArchitecture = 1 DiskStatus_ARM64 DiskStatus_SourceImageCPUArchitecture = 2 )
func (DiskStatus_SourceImageCPUArchitecture) Descriptor ¶
func (DiskStatus_SourceImageCPUArchitecture) Descriptor() protoreflect.EnumDescriptor
func (DiskStatus_SourceImageCPUArchitecture) EnumDescriptor
deprecated
func (DiskStatus_SourceImageCPUArchitecture) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskStatus_SourceImageCPUArchitecture.Descriptor instead.
func (DiskStatus_SourceImageCPUArchitecture) Number ¶
func (x DiskStatus_SourceImageCPUArchitecture) Number() protoreflect.EnumNumber
func (DiskStatus_SourceImageCPUArchitecture) String ¶
func (x DiskStatus_SourceImageCPUArchitecture) String() string
func (DiskStatus_SourceImageCPUArchitecture) Type ¶
func (DiskStatus_SourceImageCPUArchitecture) Type() protoreflect.EnumType
type DiskStatus_State ¶
type DiskStatus_State int32
const ( DiskStatus_UNSPECIFIED DiskStatus_State = 0 DiskStatus_CREATING DiskStatus_State = 1 DiskStatus_READY DiskStatus_State = 2 DiskStatus_UPDATING DiskStatus_State = 3 DiskStatus_DELETING DiskStatus_State = 4 // Indicates that error happened during disk creation, and the disk cannot be recovered. DiskStatus_ERROR DiskStatus_State = 5 // Indicates that an error has occurred during the disk's life cycle, and the disk is broken or unhealthy, but can still be recovered. DiskStatus_BROKEN DiskStatus_State = 6 )
func (DiskStatus_State) Descriptor ¶
func (DiskStatus_State) Descriptor() protoreflect.EnumDescriptor
func (DiskStatus_State) Enum ¶
func (x DiskStatus_State) Enum() *DiskStatus_State
func (DiskStatus_State) EnumDescriptor
deprecated
func (DiskStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiskStatus_State.Descriptor instead.
func (DiskStatus_State) Number ¶
func (x DiskStatus_State) Number() protoreflect.EnumNumber
func (DiskStatus_State) String ¶
func (x DiskStatus_State) String() string
func (DiskStatus_State) Type ¶
func (DiskStatus_State) Type() protoreflect.EnumType
type ExistingDisk ¶
type ExistingDisk struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ExistingDisk) Descriptor
deprecated
func (*ExistingDisk) Descriptor() ([]byte, []int)
Deprecated: Use ExistingDisk.ProtoReflect.Descriptor instead.
func (*ExistingDisk) GetId ¶
func (x *ExistingDisk) GetId() string
func (*ExistingDisk) ProtoMessage ¶
func (*ExistingDisk) ProtoMessage()
func (*ExistingDisk) ProtoReflect ¶
func (x *ExistingDisk) ProtoReflect() protoreflect.Message
func (*ExistingDisk) Reset ¶
func (x *ExistingDisk) Reset()
func (*ExistingDisk) String ¶
func (x *ExistingDisk) String() string
type ExistingFilesystem ¶
type ExistingFilesystem struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ExistingFilesystem) Descriptor
deprecated
func (*ExistingFilesystem) Descriptor() ([]byte, []int)
Deprecated: Use ExistingFilesystem.ProtoReflect.Descriptor instead.
func (*ExistingFilesystem) GetId ¶
func (x *ExistingFilesystem) GetId() string
func (*ExistingFilesystem) ProtoMessage ¶
func (*ExistingFilesystem) ProtoMessage()
func (*ExistingFilesystem) ProtoReflect ¶
func (x *ExistingFilesystem) ProtoReflect() protoreflect.Message
func (*ExistingFilesystem) Reset ¶
func (x *ExistingFilesystem) Reset()
func (*ExistingFilesystem) String ¶
func (x *ExistingFilesystem) String() string
type Filesystem ¶
type Filesystem struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *FilesystemSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *FilesystemStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Filesystem) Descriptor
deprecated
func (*Filesystem) Descriptor() ([]byte, []int)
Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.
func (*Filesystem) GetMetadata ¶
func (x *Filesystem) GetMetadata() *v1.ResourceMetadata
func (*Filesystem) GetSpec ¶
func (x *Filesystem) GetSpec() *FilesystemSpec
func (*Filesystem) GetStatus ¶
func (x *Filesystem) GetStatus() *FilesystemStatus
func (*Filesystem) ProtoMessage ¶
func (*Filesystem) ProtoMessage()
func (*Filesystem) ProtoReflect ¶
func (x *Filesystem) ProtoReflect() protoreflect.Message
func (*Filesystem) Reset ¶
func (x *Filesystem) Reset()
func (*Filesystem) String ¶
func (x *Filesystem) String() string
type FilesystemServiceClient ¶
type FilesystemServiceClient interface {
// Retrieves information about a filesystem by its ID.
Get(ctx context.Context, in *GetFilesystemRequest, opts ...grpc.CallOption) (*Filesystem, error)
// Retrieves information about a filesystem by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*Filesystem, error)
// Lists all filesystems within a specified parent.
List(ctx context.Context, in *ListFilesystemsRequest, opts ...grpc.CallOption) (*ListFilesystemsResponse, error)
// Creates a new filesystem with the specified configuration.
// For details, see https://docs.nebius.com/compute/storage/manage
Create(ctx context.Context, in *CreateFilesystemRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Updates an existing filesystem with new configuration parameters.
// For details, see https://docs.nebius.com/compute/storage/manage#parameters
Update(ctx context.Context, in *UpdateFilesystemRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Deletes a disk by its ID.
Delete(ctx context.Context, in *DeleteFilesystemRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(ctx context.Context, in *ListOperationsByParentRequest, opts ...grpc.CallOption) (*v1.ListOperationsResponse, error)
}
FilesystemServiceClient is the client API for FilesystemService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFilesystemServiceClient ¶
func NewFilesystemServiceClient(cc grpc.ClientConnInterface) FilesystemServiceClient
type FilesystemServiceServer ¶
type FilesystemServiceServer interface {
// Retrieves information about a filesystem by its ID.
Get(context.Context, *GetFilesystemRequest) (*Filesystem, error)
// Retrieves information about a filesystem by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*Filesystem, error)
// Lists all filesystems within a specified parent.
List(context.Context, *ListFilesystemsRequest) (*ListFilesystemsResponse, error)
// Creates a new filesystem with the specified configuration.
// For details, see https://docs.nebius.com/compute/storage/manage
Create(context.Context, *CreateFilesystemRequest) (*v1.Operation, error)
// Updates an existing filesystem with new configuration parameters.
// For details, see https://docs.nebius.com/compute/storage/manage#parameters
Update(context.Context, *UpdateFilesystemRequest) (*v1.Operation, error)
// Deletes a disk by its ID.
Delete(context.Context, *DeleteFilesystemRequest) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
}
FilesystemServiceServer is the server API for FilesystemService service. All implementations should embed UnimplementedFilesystemServiceServer for forward compatibility
type FilesystemSpec ¶
type FilesystemSpec struct {
// Size of the disk. Only one size unit can be specified.
// The size must be within the limits for the selected disk type.
// For current limits, see https://docs.nebius.com/compute/storage/types#disks-types-comparison
//
// Types that are valid to be assigned to Size:
//
// *FilesystemSpec_SizeBytes
// *FilesystemSpec_SizeKibibytes
// *FilesystemSpec_SizeMebibytes
// *FilesystemSpec_SizeGibibytes
Size isFilesystemSpec_Size `protobuf_oneof:"size"`
// Block size in bytes.
// The block size must be a power of two between 4096 bytes (4 KiB) and 131072 bytes (128 KiB).
// The default value is 4096 bytes (4 KiB).
BlockSizeBytes int64 `protobuf:"varint,5,opt,name=block_size_bytes,json=blockSizeBytes,proto3" json:"block_size_bytes,omitempty"`
// The Shared Filesystem type determines its limits and performance characteristics.
// For details, see https://docs.nebius.com/compute/storage/types#filesystems-types
Type FilesystemSpec_FilesystemType `protobuf:"varint,6,opt,name=type,proto3,enum=nebius.compute.v1.FilesystemSpec_FilesystemType" json:"type,omitempty"`
// Prevents deletion whilst set
ForbidDeletion bool `protobuf:"varint,7,opt,name=forbid_deletion,json=forbidDeletion,proto3" json:"forbid_deletion,omitempty"`
// contains filtered or unexported fields
}
func (*FilesystemSpec) Descriptor
deprecated
func (*FilesystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemSpec.ProtoReflect.Descriptor instead.
func (*FilesystemSpec) GetBlockSizeBytes ¶
func (x *FilesystemSpec) GetBlockSizeBytes() int64
func (*FilesystemSpec) GetForbidDeletion ¶ added in v0.2.5
func (x *FilesystemSpec) GetForbidDeletion() bool
func (*FilesystemSpec) GetSize ¶
func (x *FilesystemSpec) GetSize() isFilesystemSpec_Size
func (*FilesystemSpec) GetSizeBytes ¶
func (x *FilesystemSpec) GetSizeBytes() int64
func (*FilesystemSpec) GetSizeGibibytes ¶
func (x *FilesystemSpec) GetSizeGibibytes() int64
func (*FilesystemSpec) GetSizeKibibytes ¶
func (x *FilesystemSpec) GetSizeKibibytes() int64
func (*FilesystemSpec) GetSizeMebibytes ¶
func (x *FilesystemSpec) GetSizeMebibytes() int64
func (*FilesystemSpec) GetType ¶
func (x *FilesystemSpec) GetType() FilesystemSpec_FilesystemType
func (*FilesystemSpec) ProtoMessage ¶
func (*FilesystemSpec) ProtoMessage()
func (*FilesystemSpec) ProtoReflect ¶
func (x *FilesystemSpec) ProtoReflect() protoreflect.Message
func (*FilesystemSpec) Reset ¶
func (x *FilesystemSpec) Reset()
func (*FilesystemSpec) String ¶
func (x *FilesystemSpec) String() string
type FilesystemSpec_FilesystemType ¶
type FilesystemSpec_FilesystemType int32
const ( FilesystemSpec_UNSPECIFIED FilesystemSpec_FilesystemType = 0 // the list of available types will be clarified later, it is not final version FilesystemSpec_NETWORK_SSD FilesystemSpec_FilesystemType = 1 FilesystemSpec_NETWORK_HDD FilesystemSpec_FilesystemType = 2 FilesystemSpec_WEKA FilesystemSpec_FilesystemType = 3 FilesystemSpec_VAST FilesystemSpec_FilesystemType = 4 )
func (FilesystemSpec_FilesystemType) Descriptor ¶
func (FilesystemSpec_FilesystemType) Descriptor() protoreflect.EnumDescriptor
func (FilesystemSpec_FilesystemType) Enum ¶
func (x FilesystemSpec_FilesystemType) Enum() *FilesystemSpec_FilesystemType
func (FilesystemSpec_FilesystemType) EnumDescriptor
deprecated
func (FilesystemSpec_FilesystemType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilesystemSpec_FilesystemType.Descriptor instead.
func (FilesystemSpec_FilesystemType) Number ¶
func (x FilesystemSpec_FilesystemType) Number() protoreflect.EnumNumber
func (FilesystemSpec_FilesystemType) String ¶
func (x FilesystemSpec_FilesystemType) String() string
func (FilesystemSpec_FilesystemType) Type ¶
func (FilesystemSpec_FilesystemType) Type() protoreflect.EnumType
type FilesystemSpec_SizeBytes ¶
type FilesystemSpec_SizeBytes struct {
SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3,oneof"`
}
type FilesystemSpec_SizeGibibytes ¶
type FilesystemSpec_SizeGibibytes struct {
SizeGibibytes int64 `protobuf:"varint,4,opt,name=size_gibibytes,json=sizeGibibytes,proto3,oneof"`
}
type FilesystemSpec_SizeKibibytes ¶
type FilesystemSpec_SizeKibibytes struct {
SizeKibibytes int64 `protobuf:"varint,2,opt,name=size_kibibytes,json=sizeKibibytes,proto3,oneof"`
}
type FilesystemSpec_SizeMebibytes ¶
type FilesystemSpec_SizeMebibytes struct {
SizeMebibytes int64 `protobuf:"varint,3,opt,name=size_mebibytes,json=sizeMebibytes,proto3,oneof"`
}
type FilesystemStatus ¶
type FilesystemStatus struct {
State FilesystemStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=nebius.compute.v1.FilesystemStatus_State" json:"state,omitempty"`
StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
ReadWriteAttachments []string `protobuf:"bytes,3,rep,name=read_write_attachments,json=readWriteAttachments,proto3" json:"read_write_attachments,omitempty"`
ReadOnlyAttachments []string `protobuf:"bytes,4,rep,name=read_only_attachments,json=readOnlyAttachments,proto3" json:"read_only_attachments,omitempty"`
SizeBytes int64 `protobuf:"varint,5,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// Indicates whether there is an ongoing operation
Reconciling bool `protobuf:"varint,6,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
BlockSizeBytes int64 `protobuf:"varint,7,opt,name=block_size_bytes,json=blockSizeBytes,proto3" json:"block_size_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*FilesystemStatus) Descriptor
deprecated
func (*FilesystemStatus) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemStatus.ProtoReflect.Descriptor instead.
func (*FilesystemStatus) GetBlockSizeBytes ¶
func (x *FilesystemStatus) GetBlockSizeBytes() int64
func (*FilesystemStatus) GetReadOnlyAttachments ¶
func (x *FilesystemStatus) GetReadOnlyAttachments() []string
func (*FilesystemStatus) GetReadWriteAttachments ¶
func (x *FilesystemStatus) GetReadWriteAttachments() []string
func (*FilesystemStatus) GetReconciling ¶
func (x *FilesystemStatus) GetReconciling() bool
func (*FilesystemStatus) GetSizeBytes ¶
func (x *FilesystemStatus) GetSizeBytes() int64
func (*FilesystemStatus) GetState ¶
func (x *FilesystemStatus) GetState() FilesystemStatus_State
func (*FilesystemStatus) GetStateDescription ¶
func (x *FilesystemStatus) GetStateDescription() string
func (*FilesystemStatus) ProtoMessage ¶
func (*FilesystemStatus) ProtoMessage()
func (*FilesystemStatus) ProtoReflect ¶
func (x *FilesystemStatus) ProtoReflect() protoreflect.Message
func (*FilesystemStatus) Reset ¶
func (x *FilesystemStatus) Reset()
func (*FilesystemStatus) String ¶
func (x *FilesystemStatus) String() string
type FilesystemStatus_State ¶
type FilesystemStatus_State int32
const ( FilesystemStatus_UNSPECIFIED FilesystemStatus_State = 0 FilesystemStatus_CREATING FilesystemStatus_State = 1 FilesystemStatus_READY FilesystemStatus_State = 2 FilesystemStatus_UPDATING FilesystemStatus_State = 3 FilesystemStatus_DELETING FilesystemStatus_State = 4 FilesystemStatus_ERROR FilesystemStatus_State = 5 )
func (FilesystemStatus_State) Descriptor ¶
func (FilesystemStatus_State) Descriptor() protoreflect.EnumDescriptor
func (FilesystemStatus_State) Enum ¶
func (x FilesystemStatus_State) Enum() *FilesystemStatus_State
func (FilesystemStatus_State) EnumDescriptor
deprecated
func (FilesystemStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use FilesystemStatus_State.Descriptor instead.
func (FilesystemStatus_State) Number ¶
func (x FilesystemStatus_State) Number() protoreflect.EnumNumber
func (FilesystemStatus_State) String ¶
func (x FilesystemStatus_State) String() string
func (FilesystemStatus_State) Type ¶
func (FilesystemStatus_State) Type() protoreflect.EnumType
type GetDiskRequest ¶
type GetDiskRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetDiskRequest) Descriptor
deprecated
func (*GetDiskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiskRequest.ProtoReflect.Descriptor instead.
func (*GetDiskRequest) GetId ¶
func (x *GetDiskRequest) GetId() string
func (*GetDiskRequest) ProtoMessage ¶
func (*GetDiskRequest) ProtoMessage()
func (*GetDiskRequest) ProtoReflect ¶
func (x *GetDiskRequest) ProtoReflect() protoreflect.Message
func (*GetDiskRequest) Reset ¶
func (x *GetDiskRequest) Reset()
func (*GetDiskRequest) String ¶
func (x *GetDiskRequest) String() string
type GetFilesystemRequest ¶
type GetFilesystemRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetFilesystemRequest) Descriptor
deprecated
func (*GetFilesystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFilesystemRequest.ProtoReflect.Descriptor instead.
func (*GetFilesystemRequest) GetId ¶
func (x *GetFilesystemRequest) GetId() string
func (*GetFilesystemRequest) ProtoMessage ¶
func (*GetFilesystemRequest) ProtoMessage()
func (*GetFilesystemRequest) ProtoReflect ¶
func (x *GetFilesystemRequest) ProtoReflect() protoreflect.Message
func (*GetFilesystemRequest) Reset ¶
func (x *GetFilesystemRequest) Reset()
func (*GetFilesystemRequest) String ¶
func (x *GetFilesystemRequest) String() string
type GetGpuClusterRequest ¶
type GetGpuClusterRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetGpuClusterRequest) Descriptor
deprecated
func (*GetGpuClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGpuClusterRequest.ProtoReflect.Descriptor instead.
func (*GetGpuClusterRequest) GetId ¶
func (x *GetGpuClusterRequest) GetId() string
func (*GetGpuClusterRequest) ProtoMessage ¶
func (*GetGpuClusterRequest) ProtoMessage()
func (*GetGpuClusterRequest) ProtoReflect ¶
func (x *GetGpuClusterRequest) ProtoReflect() protoreflect.Message
func (*GetGpuClusterRequest) Reset ¶
func (x *GetGpuClusterRequest) Reset()
func (*GetGpuClusterRequest) String ¶
func (x *GetGpuClusterRequest) String() string
type GetImageLatestByFamilyRequest ¶
type GetImageLatestByFamilyRequest struct {
ImageFamily string `protobuf:"bytes,1,opt,name=image_family,json=imageFamily,proto3" json:"image_family,omitempty"`
ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // default 'project-{region}public-images'
// contains filtered or unexported fields
}
func (*GetImageLatestByFamilyRequest) Descriptor
deprecated
func (*GetImageLatestByFamilyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetImageLatestByFamilyRequest.ProtoReflect.Descriptor instead.
func (*GetImageLatestByFamilyRequest) GetImageFamily ¶
func (x *GetImageLatestByFamilyRequest) GetImageFamily() string
func (*GetImageLatestByFamilyRequest) GetParentId ¶
func (x *GetImageLatestByFamilyRequest) GetParentId() string
func (*GetImageLatestByFamilyRequest) ProtoMessage ¶
func (*GetImageLatestByFamilyRequest) ProtoMessage()
func (*GetImageLatestByFamilyRequest) ProtoReflect ¶
func (x *GetImageLatestByFamilyRequest) ProtoReflect() protoreflect.Message
func (*GetImageLatestByFamilyRequest) Reset ¶
func (x *GetImageLatestByFamilyRequest) Reset()
func (*GetImageLatestByFamilyRequest) String ¶
func (x *GetImageLatestByFamilyRequest) String() string
type GetImageRequest ¶
type GetImageRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetImageRequest) Descriptor
deprecated
func (*GetImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetImageRequest.ProtoReflect.Descriptor instead.
func (*GetImageRequest) GetId ¶
func (x *GetImageRequest) GetId() string
func (*GetImageRequest) ProtoMessage ¶
func (*GetImageRequest) ProtoMessage()
func (*GetImageRequest) ProtoReflect ¶
func (x *GetImageRequest) ProtoReflect() protoreflect.Message
func (*GetImageRequest) Reset ¶
func (x *GetImageRequest) Reset()
func (*GetImageRequest) String ¶
func (x *GetImageRequest) String() string
type GetInstanceRequest ¶
type GetInstanceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetInstanceRequest) Descriptor
deprecated
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetId ¶
func (x *GetInstanceRequest) GetId() string
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) ProtoReflect ¶
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceRequest) Reset ¶
func (x *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (x *GetInstanceRequest) String() string
type GetMaintenanceEventByInstanceRequest ¶
type GetMaintenanceEventByInstanceRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetMaintenanceEventByInstanceRequest) Descriptor
deprecated
func (*GetMaintenanceEventByInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMaintenanceEventByInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetMaintenanceEventByInstanceRequest) GetInstanceId ¶
func (x *GetMaintenanceEventByInstanceRequest) GetInstanceId() string
func (*GetMaintenanceEventByInstanceRequest) ProtoMessage ¶
func (*GetMaintenanceEventByInstanceRequest) ProtoMessage()
func (*GetMaintenanceEventByInstanceRequest) ProtoReflect ¶
func (x *GetMaintenanceEventByInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetMaintenanceEventByInstanceRequest) Reset ¶
func (x *GetMaintenanceEventByInstanceRequest) Reset()
func (*GetMaintenanceEventByInstanceRequest) String ¶
func (x *GetMaintenanceEventByInstanceRequest) String() string
type GpuCluster ¶
type GpuCluster struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *GpuClusterSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *GpuClusterStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*GpuCluster) Descriptor
deprecated
func (*GpuCluster) Descriptor() ([]byte, []int)
Deprecated: Use GpuCluster.ProtoReflect.Descriptor instead.
func (*GpuCluster) GetMetadata ¶
func (x *GpuCluster) GetMetadata() *v1.ResourceMetadata
func (*GpuCluster) GetSpec ¶
func (x *GpuCluster) GetSpec() *GpuClusterSpec
func (*GpuCluster) GetStatus ¶
func (x *GpuCluster) GetStatus() *GpuClusterStatus
func (*GpuCluster) ProtoMessage ¶
func (*GpuCluster) ProtoMessage()
func (*GpuCluster) ProtoReflect ¶
func (x *GpuCluster) ProtoReflect() protoreflect.Message
func (*GpuCluster) Reset ¶
func (x *GpuCluster) Reset()
func (*GpuCluster) String ¶
func (x *GpuCluster) String() string
type GpuClusterServiceClient ¶
type GpuClusterServiceClient interface {
// Retrieves the specified GPU Cluster by its ID.
Get(ctx context.Context, in *GetGpuClusterRequest, opts ...grpc.CallOption) (*GpuCluster, error)
// Retrieves the specified GPU Cluster by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*GpuCluster, error)
// Lists GPU Clusters in the specified parent.
List(ctx context.Context, in *ListGpuClustersRequest, opts ...grpc.CallOption) (*ListGpuClustersResponse, error)
// Creates a new GPU Cluster.
// For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster
Create(ctx context.Context, in *CreateGpuClusterRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Modifies the configuration of an existing GPU Cluster.
Update(ctx context.Context, in *UpdateGpuClusterRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Deletes a GPU Cluster by its ID.
Delete(ctx context.Context, in *DeleteGpuClusterRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(ctx context.Context, in *ListOperationsByParentRequest, opts ...grpc.CallOption) (*v1.ListOperationsResponse, error)
}
GpuClusterServiceClient is the client API for GpuClusterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGpuClusterServiceClient ¶
func NewGpuClusterServiceClient(cc grpc.ClientConnInterface) GpuClusterServiceClient
type GpuClusterServiceServer ¶
type GpuClusterServiceServer interface {
// Retrieves the specified GPU Cluster by its ID.
Get(context.Context, *GetGpuClusterRequest) (*GpuCluster, error)
// Retrieves the specified GPU Cluster by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*GpuCluster, error)
// Lists GPU Clusters in the specified parent.
List(context.Context, *ListGpuClustersRequest) (*ListGpuClustersResponse, error)
// Creates a new GPU Cluster.
// For details, see https://docs.nebius.com/compute/clusters/gpu#create-cluster
Create(context.Context, *CreateGpuClusterRequest) (*v1.Operation, error)
// Modifies the configuration of an existing GPU Cluster.
Update(context.Context, *UpdateGpuClusterRequest) (*v1.Operation, error)
// Deletes a GPU Cluster by its ID.
Delete(context.Context, *DeleteGpuClusterRequest) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
}
GpuClusterServiceServer is the server API for GpuClusterService service. All implementations should embed UnimplementedGpuClusterServiceServer for forward compatibility
type GpuClusterSpec ¶
type GpuClusterSpec struct {
// The identifier of the physical InfiniBand fabric to connect GPU instances to.
// For details, see https://docs.nebius.com/compute/clusters/gpu#fabrics
InfinibandFabric string `protobuf:"bytes,1,opt,name=infiniband_fabric,json=infinibandFabric,proto3" json:"infiniband_fabric,omitempty"`
// contains filtered or unexported fields
}
func (*GpuClusterSpec) Descriptor
deprecated
func (*GpuClusterSpec) Descriptor() ([]byte, []int)
Deprecated: Use GpuClusterSpec.ProtoReflect.Descriptor instead.
func (*GpuClusterSpec) GetInfinibandFabric ¶
func (x *GpuClusterSpec) GetInfinibandFabric() string
func (*GpuClusterSpec) ProtoMessage ¶
func (*GpuClusterSpec) ProtoMessage()
func (*GpuClusterSpec) ProtoReflect ¶
func (x *GpuClusterSpec) ProtoReflect() protoreflect.Message
func (*GpuClusterSpec) Reset ¶
func (x *GpuClusterSpec) Reset()
func (*GpuClusterSpec) String ¶
func (x *GpuClusterSpec) String() string
type GpuClusterStatus ¶
type GpuClusterStatus struct {
Instances []string `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// Indicates whether there is an ongoing operation
Reconciling bool `protobuf:"varint,2,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
// Types that are valid to be assigned to Topology:
//
// *GpuClusterStatus_InfinibandTopologyPath
Topology isGpuClusterStatus_Topology `protobuf_oneof:"topology"`
// contains filtered or unexported fields
}
func (*GpuClusterStatus) Descriptor
deprecated
func (*GpuClusterStatus) Descriptor() ([]byte, []int)
Deprecated: Use GpuClusterStatus.ProtoReflect.Descriptor instead.
func (*GpuClusterStatus) GetInfinibandTopologyPath ¶
func (x *GpuClusterStatus) GetInfinibandTopologyPath() *GpuClusterStatusInfinibandTopologyPath
func (*GpuClusterStatus) GetInstances ¶
func (x *GpuClusterStatus) GetInstances() []string
func (*GpuClusterStatus) GetReconciling ¶
func (x *GpuClusterStatus) GetReconciling() bool
func (*GpuClusterStatus) GetTopology ¶
func (x *GpuClusterStatus) GetTopology() isGpuClusterStatus_Topology
func (*GpuClusterStatus) ProtoMessage ¶
func (*GpuClusterStatus) ProtoMessage()
func (*GpuClusterStatus) ProtoReflect ¶
func (x *GpuClusterStatus) ProtoReflect() protoreflect.Message
func (*GpuClusterStatus) Reset ¶
func (x *GpuClusterStatus) Reset()
func (*GpuClusterStatus) String ¶
func (x *GpuClusterStatus) String() string
type GpuClusterStatusInfinibandTopologyPath ¶
type GpuClusterStatusInfinibandTopologyPath struct {
Instances []*GpuClusterStatusInfinibandTopologyPathInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
func (*GpuClusterStatusInfinibandTopologyPath) Descriptor
deprecated
func (*GpuClusterStatusInfinibandTopologyPath) Descriptor() ([]byte, []int)
Deprecated: Use GpuClusterStatusInfinibandTopologyPath.ProtoReflect.Descriptor instead.
func (*GpuClusterStatusInfinibandTopologyPath) GetInstances ¶
func (x *GpuClusterStatusInfinibandTopologyPath) GetInstances() []*GpuClusterStatusInfinibandTopologyPathInstance
func (*GpuClusterStatusInfinibandTopologyPath) ProtoMessage ¶
func (*GpuClusterStatusInfinibandTopologyPath) ProtoMessage()
func (*GpuClusterStatusInfinibandTopologyPath) ProtoReflect ¶
func (x *GpuClusterStatusInfinibandTopologyPath) ProtoReflect() protoreflect.Message
func (*GpuClusterStatusInfinibandTopologyPath) Reset ¶
func (x *GpuClusterStatusInfinibandTopologyPath) Reset()
func (*GpuClusterStatusInfinibandTopologyPath) String ¶
func (x *GpuClusterStatusInfinibandTopologyPath) String() string
type GpuClusterStatusInfinibandTopologyPathInstance ¶
type GpuClusterStatusInfinibandTopologyPathInstance struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*GpuClusterStatusInfinibandTopologyPathInstance) Descriptor
deprecated
func (*GpuClusterStatusInfinibandTopologyPathInstance) Descriptor() ([]byte, []int)
Deprecated: Use GpuClusterStatusInfinibandTopologyPathInstance.ProtoReflect.Descriptor instead.
func (*GpuClusterStatusInfinibandTopologyPathInstance) GetInstanceId ¶
func (x *GpuClusterStatusInfinibandTopologyPathInstance) GetInstanceId() string
func (*GpuClusterStatusInfinibandTopologyPathInstance) GetPath ¶
func (x *GpuClusterStatusInfinibandTopologyPathInstance) GetPath() []string
func (*GpuClusterStatusInfinibandTopologyPathInstance) ProtoMessage ¶
func (*GpuClusterStatusInfinibandTopologyPathInstance) ProtoMessage()
func (*GpuClusterStatusInfinibandTopologyPathInstance) ProtoReflect ¶
func (x *GpuClusterStatusInfinibandTopologyPathInstance) ProtoReflect() protoreflect.Message
func (*GpuClusterStatusInfinibandTopologyPathInstance) Reset ¶
func (x *GpuClusterStatusInfinibandTopologyPathInstance) Reset()
func (*GpuClusterStatusInfinibandTopologyPathInstance) String ¶
func (x *GpuClusterStatusInfinibandTopologyPathInstance) String() string
type GpuClusterStatus_InfinibandTopologyPath ¶
type GpuClusterStatus_InfinibandTopologyPath struct {
InfinibandTopologyPath *GpuClusterStatusInfinibandTopologyPath `protobuf:"bytes,3,opt,name=infiniband_topology_path,json=infinibandTopologyPath,proto3,oneof"`
}
type IPAddress ¶
type IPAddress struct {
// Allocation identifier if it was created before.
AllocationId string `protobuf:"bytes,1,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
// contains filtered or unexported fields
}
Describes an IPv4 address.
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) GetAllocationId ¶
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
type IPAddressStatus ¶
type IPAddressStatus struct {
// Effective private IPv4 address assigned to the interface.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Allocation identifier.
AllocationId string `protobuf:"bytes,2,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
// contains filtered or unexported fields
}
func (*IPAddressStatus) Descriptor
deprecated
func (*IPAddressStatus) Descriptor() ([]byte, []int)
Deprecated: Use IPAddressStatus.ProtoReflect.Descriptor instead.
func (*IPAddressStatus) GetAddress ¶
func (x *IPAddressStatus) GetAddress() string
func (*IPAddressStatus) GetAllocationId ¶
func (x *IPAddressStatus) GetAllocationId() string
func (*IPAddressStatus) ProtoMessage ¶
func (*IPAddressStatus) ProtoMessage()
func (*IPAddressStatus) ProtoReflect ¶
func (x *IPAddressStatus) ProtoReflect() protoreflect.Message
func (*IPAddressStatus) Reset ¶
func (x *IPAddressStatus) Reset()
func (*IPAddressStatus) String ¶
func (x *IPAddressStatus) String() string
type IPAlias ¶
type IPAlias struct {
// ID of allocation
AllocationId string `protobuf:"bytes,1,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
// contains filtered or unexported fields
}
func (*IPAlias) Descriptor
deprecated
func (*IPAlias) GetAllocationId ¶
func (*IPAlias) ProtoMessage ¶
func (*IPAlias) ProtoMessage()
func (*IPAlias) ProtoReflect ¶
func (x *IPAlias) ProtoReflect() protoreflect.Message
type IPAliasesStatus ¶
type IPAliasesStatus struct {
Cidrs []string `protobuf:"bytes,2,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
// contains filtered or unexported fields
}
func (*IPAliasesStatus) Descriptor
deprecated
func (*IPAliasesStatus) Descriptor() ([]byte, []int)
Deprecated: Use IPAliasesStatus.ProtoReflect.Descriptor instead.
func (*IPAliasesStatus) GetCidrs ¶
func (x *IPAliasesStatus) GetCidrs() []string
func (*IPAliasesStatus) ProtoMessage ¶
func (*IPAliasesStatus) ProtoMessage()
func (*IPAliasesStatus) ProtoReflect ¶
func (x *IPAliasesStatus) ProtoReflect() protoreflect.Message
func (*IPAliasesStatus) Reset ¶
func (x *IPAliasesStatus) Reset()
func (*IPAliasesStatus) String ¶
func (x *IPAliasesStatus) String() string
type Image ¶
type Image struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *ImageSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *ImageStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Image) Descriptor
deprecated
func (*Image) GetMetadata ¶
func (x *Image) GetMetadata() *v1.ResourceMetadata
func (*Image) GetStatus ¶
func (x *Image) GetStatus() *ImageStatus
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type ImageServiceClient ¶
type ImageServiceClient interface {
// Retrieves detailed information about a specific image by its ID.
Get(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error)
// Retrieves detailed information about a specific image by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*Image, error)
// Retrieves the most recent image from a specified family.
// Image families are used to organize related images and ensure easy access to the latest version.
GetLatestByFamily(ctx context.Context, in *GetImageLatestByFamilyRequest, opts ...grpc.CallOption) (*Image, error)
// Lists all images in a specific parent resource.
List(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
// Creates a new image resource.
Create(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Updates an existing image resource. Only specific fields can be updated, such as labels and name.
Update(ctx context.Context, in *UpdateImageRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Deletes an existing image resource by its ID.
Delete(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(ctx context.Context, in *ListOperationsByParentRequest, opts ...grpc.CallOption) (*v1.ListOperationsResponse, error)
// Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions
// Public images can contain specific labels in metadata like:
// "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0"
// "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10"
ListPublic(ctx context.Context, in *ListPublicRequest, opts ...grpc.CallOption) (*ListImagesResponse, error)
}
ImageServiceClient is the client API for ImageService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewImageServiceClient ¶
func NewImageServiceClient(cc grpc.ClientConnInterface) ImageServiceClient
type ImageServiceServer ¶
type ImageServiceServer interface {
// Retrieves detailed information about a specific image by its ID.
Get(context.Context, *GetImageRequest) (*Image, error)
// Retrieves detailed information about a specific image by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*Image, error)
// Retrieves the most recent image from a specified family.
// Image families are used to organize related images and ensure easy access to the latest version.
GetLatestByFamily(context.Context, *GetImageLatestByFamilyRequest) (*Image, error)
// Lists all images in a specific parent resource.
List(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
// Creates a new image resource.
Create(context.Context, *CreateImageRequest) (*v1.Operation, error)
// Updates an existing image resource. Only specific fields can be updated, such as labels and name.
Update(context.Context, *UpdateImageRequest) (*v1.Operation, error)
// Deletes an existing image resource by its ID.
Delete(context.Context, *DeleteImageRequest) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
// Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions
// Public images can contain specific labels in metadata like:
// "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0"
// "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10"
ListPublic(context.Context, *ListPublicRequest) (*ListImagesResponse, error)
}
ImageServiceServer is the server API for ImageService service. All implementations should embed UnimplementedImageServiceServer for forward compatibility
type ImageSpec ¶
type ImageSpec struct {
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
ImageFamily string `protobuf:"bytes,2,opt,name=image_family,json=imageFamily,proto3" json:"image_family,omitempty"`
// part of identifier into the image family
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// Types that are valid to be assigned to Source:
//
// *ImageSpec_SourceDiskId
// *ImageSpec_SourceStorage_
Source isImageSpec_Source `protobuf_oneof:"source"`
// CPU architecture supported by the image
CpuArchitecture ImageSpec_CPUArchitecture `` /* 156-byte string literal not displayed */
// human readable name for image family
ImageFamilyHumanReadable string `` /* 137-byte string literal not displayed */
// list of platforms where this image is recommended to use
RecommendedPlatforms []string `protobuf:"bytes,8,rep,name=recommended_platforms,json=recommendedPlatforms,proto3" json:"recommended_platforms,omitempty"`
// list of platforms where this image is not supported with explanation
UnsupportedPlatforms map[string]string `` /* 195-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ImageSpec) Descriptor
deprecated
func (*ImageSpec) GetCpuArchitecture ¶
func (x *ImageSpec) GetCpuArchitecture() ImageSpec_CPUArchitecture
func (*ImageSpec) GetDescription ¶
func (*ImageSpec) GetImageFamily ¶
func (*ImageSpec) GetImageFamilyHumanReadable ¶
func (*ImageSpec) GetRecommendedPlatforms ¶
func (*ImageSpec) GetSourceDiskId ¶
func (*ImageSpec) GetSourceStorage ¶ added in v0.2.9
func (x *ImageSpec) GetSourceStorage() *ImageSpec_SourceStorage
func (*ImageSpec) GetUnsupportedPlatforms ¶
func (*ImageSpec) GetVersion ¶
func (*ImageSpec) ProtoMessage ¶
func (*ImageSpec) ProtoMessage()
func (*ImageSpec) ProtoReflect ¶
func (x *ImageSpec) ProtoReflect() protoreflect.Message
type ImageSpec_CPUArchitecture ¶
type ImageSpec_CPUArchitecture int32
const ( ImageSpec_UNSPECIFIED ImageSpec_CPUArchitecture = 0 ImageSpec_AMD64 ImageSpec_CPUArchitecture = 1 ImageSpec_ARM64 ImageSpec_CPUArchitecture = 2 )
func (ImageSpec_CPUArchitecture) Descriptor ¶
func (ImageSpec_CPUArchitecture) Descriptor() protoreflect.EnumDescriptor
func (ImageSpec_CPUArchitecture) Enum ¶
func (x ImageSpec_CPUArchitecture) Enum() *ImageSpec_CPUArchitecture
func (ImageSpec_CPUArchitecture) EnumDescriptor
deprecated
func (ImageSpec_CPUArchitecture) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImageSpec_CPUArchitecture.Descriptor instead.
func (ImageSpec_CPUArchitecture) Number ¶
func (x ImageSpec_CPUArchitecture) Number() protoreflect.EnumNumber
func (ImageSpec_CPUArchitecture) String ¶
func (x ImageSpec_CPUArchitecture) String() string
func (ImageSpec_CPUArchitecture) Type ¶
func (ImageSpec_CPUArchitecture) Type() protoreflect.EnumType
type ImageSpec_SourceDiskId ¶
type ImageSpec_SourceDiskId struct {
// ID of the disk to create the image from
SourceDiskId string `protobuf:"bytes,4,opt,name=source_disk_id,json=sourceDiskId,proto3,oneof"`
}
type ImageSpec_SourceStorage ¶ added in v0.2.9
type ImageSpec_SourceStorage struct {
BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
// contains filtered or unexported fields
}
func (*ImageSpec_SourceStorage) Descriptor
deprecated
added in
v0.2.9
func (*ImageSpec_SourceStorage) Descriptor() ([]byte, []int)
Deprecated: Use ImageSpec_SourceStorage.ProtoReflect.Descriptor instead.
func (*ImageSpec_SourceStorage) GetBucketName ¶ added in v0.2.9
func (x *ImageSpec_SourceStorage) GetBucketName() string
func (*ImageSpec_SourceStorage) GetObjectName ¶ added in v0.2.9
func (x *ImageSpec_SourceStorage) GetObjectName() string
func (*ImageSpec_SourceStorage) ProtoMessage ¶ added in v0.2.9
func (*ImageSpec_SourceStorage) ProtoMessage()
func (*ImageSpec_SourceStorage) ProtoReflect ¶ added in v0.2.9
func (x *ImageSpec_SourceStorage) ProtoReflect() protoreflect.Message
func (*ImageSpec_SourceStorage) Reset ¶ added in v0.2.9
func (x *ImageSpec_SourceStorage) Reset()
func (*ImageSpec_SourceStorage) String ¶ added in v0.2.9
func (x *ImageSpec_SourceStorage) String() string
type ImageSpec_SourceStorage_ ¶ added in v0.2.9
type ImageSpec_SourceStorage_ struct {
SourceStorage *ImageSpec_SourceStorage `protobuf:"bytes,11,opt,name=source_storage,json=sourceStorage,proto3,oneof"`
}
type ImageStatus ¶
type ImageStatus struct {
State ImageStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=nebius.compute.v1.ImageStatus_State" json:"state,omitempty"`
StateDescription string `protobuf:"bytes,2,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
StorageSizeBytes int64 `protobuf:"varint,3,opt,name=storage_size_bytes,json=storageSizeBytes,proto3" json:"storage_size_bytes,omitempty"`
MinDiskSizeBytes int64 `protobuf:"varint,4,opt,name=min_disk_size_bytes,json=minDiskSizeBytes,proto3" json:"min_disk_size_bytes,omitempty"`
// Indicates whether there is an ongoing operation
Reconciling bool `protobuf:"varint,5,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
ImageFamilyDeprecation *ImageStatus_ImageFamilyDeprecationStatus `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ImageStatus) Descriptor
deprecated
func (*ImageStatus) Descriptor() ([]byte, []int)
Deprecated: Use ImageStatus.ProtoReflect.Descriptor instead.
func (*ImageStatus) GetImageFamilyDeprecation ¶
func (x *ImageStatus) GetImageFamilyDeprecation() *ImageStatus_ImageFamilyDeprecationStatus
func (*ImageStatus) GetMinDiskSizeBytes ¶
func (x *ImageStatus) GetMinDiskSizeBytes() int64
func (*ImageStatus) GetReconciling ¶
func (x *ImageStatus) GetReconciling() bool
func (*ImageStatus) GetState ¶
func (x *ImageStatus) GetState() ImageStatus_State
func (*ImageStatus) GetStateDescription ¶
func (x *ImageStatus) GetStateDescription() string
func (*ImageStatus) GetStorageSizeBytes ¶
func (x *ImageStatus) GetStorageSizeBytes() int64
func (*ImageStatus) ProtoMessage ¶
func (*ImageStatus) ProtoMessage()
func (*ImageStatus) ProtoReflect ¶
func (x *ImageStatus) ProtoReflect() protoreflect.Message
func (*ImageStatus) Reset ¶
func (x *ImageStatus) Reset()
func (*ImageStatus) String ¶
func (x *ImageStatus) String() string
type ImageStatus_ImageFamilyDeprecationStatus ¶
type ImageStatus_ImageFamilyDeprecationStatus struct {
DeprecatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=deprecated_at,json=deprecatedAt,proto3" json:"deprecated_at,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
Impossible create a disk using image family after the deprecation time, but still possible to create disk using image id.
func (*ImageStatus_ImageFamilyDeprecationStatus) Descriptor
deprecated
func (*ImageStatus_ImageFamilyDeprecationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ImageStatus_ImageFamilyDeprecationStatus.ProtoReflect.Descriptor instead.
func (*ImageStatus_ImageFamilyDeprecationStatus) GetDeprecatedAt ¶
func (x *ImageStatus_ImageFamilyDeprecationStatus) GetDeprecatedAt() *timestamppb.Timestamp
func (*ImageStatus_ImageFamilyDeprecationStatus) GetMessage ¶
func (x *ImageStatus_ImageFamilyDeprecationStatus) GetMessage() string
func (*ImageStatus_ImageFamilyDeprecationStatus) ProtoMessage ¶
func (*ImageStatus_ImageFamilyDeprecationStatus) ProtoMessage()
func (*ImageStatus_ImageFamilyDeprecationStatus) ProtoReflect ¶
func (x *ImageStatus_ImageFamilyDeprecationStatus) ProtoReflect() protoreflect.Message
func (*ImageStatus_ImageFamilyDeprecationStatus) Reset ¶
func (x *ImageStatus_ImageFamilyDeprecationStatus) Reset()
func (*ImageStatus_ImageFamilyDeprecationStatus) String ¶
func (x *ImageStatus_ImageFamilyDeprecationStatus) String() string
type ImageStatus_State ¶
type ImageStatus_State int32
const ( ImageStatus_UNSPECIFIED ImageStatus_State = 0 ImageStatus_CREATING ImageStatus_State = 1 ImageStatus_READY ImageStatus_State = 2 ImageStatus_UPDATING ImageStatus_State = 3 ImageStatus_DELETING ImageStatus_State = 4 ImageStatus_ERROR ImageStatus_State = 5 )
func (ImageStatus_State) Descriptor ¶
func (ImageStatus_State) Descriptor() protoreflect.EnumDescriptor
func (ImageStatus_State) Enum ¶
func (x ImageStatus_State) Enum() *ImageStatus_State
func (ImageStatus_State) EnumDescriptor
deprecated
func (ImageStatus_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImageStatus_State.Descriptor instead.
func (ImageStatus_State) Number ¶
func (x ImageStatus_State) Number() protoreflect.EnumNumber
func (ImageStatus_State) String ¶
func (x ImageStatus_State) String() string
func (ImageStatus_State) Type ¶
func (ImageStatus_State) Type() protoreflect.EnumType
type Instance ¶
type Instance struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *InstanceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *InstanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Instance) Descriptor
deprecated
func (*Instance) GetMetadata ¶
func (x *Instance) GetMetadata() *v1.ResourceMetadata
func (*Instance) GetSpec ¶
func (x *Instance) GetSpec() *InstanceSpec
func (*Instance) GetStatus ¶
func (x *Instance) GetStatus() *InstanceStatus
func (*Instance) LogValue ¶
LogValue implements slog.LogValuer interface. It returns sanitized copy of Instance. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *Instance sanitized := original.LogValue().Any().(proto.Message)
If you need to extract Instance, use the following code:
var original *Instance sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*Instance)
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
type InstanceGpuClusterSpec ¶
type InstanceGpuClusterSpec struct {
// If you want to interconnect several instances in a GPU cluster via NVIDIA InfiniBand,
// set the ID of an existing GPU cluster.
// You can only add the VM to the cluster when creating the VM.
// For details, see https://docs.nebius.com/compute/clusters/gpu
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceGpuClusterSpec) Descriptor
deprecated
func (*InstanceGpuClusterSpec) Descriptor() ([]byte, []int)
Deprecated: Use InstanceGpuClusterSpec.ProtoReflect.Descriptor instead.
func (*InstanceGpuClusterSpec) GetId ¶
func (x *InstanceGpuClusterSpec) GetId() string
func (*InstanceGpuClusterSpec) ProtoMessage ¶
func (*InstanceGpuClusterSpec) ProtoMessage()
func (*InstanceGpuClusterSpec) ProtoReflect ¶
func (x *InstanceGpuClusterSpec) ProtoReflect() protoreflect.Message
func (*InstanceGpuClusterSpec) Reset ¶
func (x *InstanceGpuClusterSpec) Reset()
func (*InstanceGpuClusterSpec) String ¶
func (x *InstanceGpuClusterSpec) String() string
type InstanceRecoveryPolicy ¶
type InstanceRecoveryPolicy int32
const ( InstanceRecoveryPolicy_RECOVER InstanceRecoveryPolicy = 0 InstanceRecoveryPolicy_FAIL InstanceRecoveryPolicy = 1 )
func (InstanceRecoveryPolicy) Descriptor ¶
func (InstanceRecoveryPolicy) Descriptor() protoreflect.EnumDescriptor
func (InstanceRecoveryPolicy) Enum ¶
func (x InstanceRecoveryPolicy) Enum() *InstanceRecoveryPolicy
func (InstanceRecoveryPolicy) EnumDescriptor
deprecated
func (InstanceRecoveryPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceRecoveryPolicy.Descriptor instead.
func (InstanceRecoveryPolicy) Number ¶
func (x InstanceRecoveryPolicy) Number() protoreflect.EnumNumber
func (InstanceRecoveryPolicy) String ¶
func (x InstanceRecoveryPolicy) String() string
func (InstanceRecoveryPolicy) Type ¶
func (InstanceRecoveryPolicy) Type() protoreflect.EnumType
type InstanceServiceClient ¶
type InstanceServiceClient interface {
// Retrieves detailed information about a specific VM instance by its ID.
Get(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
// Retrieves detailed information about a specific VM instance by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*Instance, error)
// Retrieves detailed information about specific VMs by their IDs.
// If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead.
BatchGet(ctx context.Context, in *BatchGetRequest, opts ...grpc.CallOption) (*BatchGetResponse, error)
// Lists all VM instances within a specified parent.
List(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
// Creates a new VM instance based on the provided specification.
// For details, see https://docs.nebius.com/compute/virtual-machines/manage
Create(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Updates an existing VM instance with new configuration parameters.
Update(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec.
// Fails if cannot delete any of the managed disks.
Delete(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Starts a stopped VM instance.
Start(ctx context.Context, in *StartInstanceRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Stops a running VM instance.
Stop(ctx context.Context, in *StopInstanceRequest, opts ...grpc.CallOption) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(ctx context.Context, in *ListOperationsByParentRequest, opts ...grpc.CallOption) (*v1.ListOperationsResponse, error)
}
InstanceServiceClient is the client API for InstanceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInstanceServiceClient ¶
func NewInstanceServiceClient(cc grpc.ClientConnInterface) InstanceServiceClient
type InstanceServiceServer ¶
type InstanceServiceServer interface {
// Retrieves detailed information about a specific VM instance by its ID.
Get(context.Context, *GetInstanceRequest) (*Instance, error)
// Retrieves detailed information about a specific VM instance by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*Instance, error)
// Retrieves detailed information about specific VMs by their IDs.
// If instance cannot be retrieved (e.g. not found) error is returned in place of instance instead.
BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
// Lists all VM instances within a specified parent.
List(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
// Creates a new VM instance based on the provided specification.
// For details, see https://docs.nebius.com/compute/virtual-machines/manage
Create(context.Context, *CreateInstanceRequest) (*v1.Operation, error)
// Updates an existing VM instance with new configuration parameters.
Update(context.Context, *UpdateInstanceRequest) (*v1.Operation, error)
// Deletes a VM instance by its ID. Also deletes all the managed disks, declared in the instance spec.
// Fails if cannot delete any of the managed disks.
Delete(context.Context, *DeleteInstanceRequest) (*v1.Operation, error)
// Starts a stopped VM instance.
Start(context.Context, *StartInstanceRequest) (*v1.Operation, error)
// Stops a running VM instance.
Stop(context.Context, *StopInstanceRequest) (*v1.Operation, error)
// Lists all operations that were performed within a specific parent resource.
ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
}
InstanceServiceServer is the server API for InstanceService service. All implementations should embed UnimplementedInstanceServiceServer for forward compatibility
type InstanceSpec ¶
type InstanceSpec struct {
// Unique identifier of the service account associated with this instance.
// For details, see https://docs.nebius.dev/en/iam/about-iam/concepts/service-accounts
ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
// Specification of compute resources allocated to the instance.
// For details, see https://docs.nebius.com/compute/virtual-machines/types
Resources *ResourcesSpec `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
// If you want to interconnect several instances in a GPU cluster via NVIDIA InfiniBand,
// set the ID of an existing GPU cluster.
// You can only add the VM to the cluster when creating the VM.
// For details, see https://docs.nebius.com/compute/clusters/gpu
GpuCluster *InstanceGpuClusterSpec `protobuf:"bytes,3,opt,name=gpu_cluster,json=gpuCluster,proto3" json:"gpu_cluster,omitempty"`
// List of network interfaces attached to the instance.
NetworkInterfaces []*NetworkInterfaceSpec `protobuf:"bytes,4,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
// Specified boot disk attached to the instance.
BootDisk *AttachedDiskSpec `protobuf:"bytes,5,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
// List of additional data disks attached to the instance beyond the boot disk.
SecondaryDisks []*AttachedDiskSpec `protobuf:"bytes,6,rep,name=secondary_disks,json=secondaryDisks,proto3" json:"secondary_disks,omitempty"`
// List of Shared Filesystems attached to the instance.
Filesystems []*AttachedFilesystemSpec `protobuf:"bytes,7,rep,name=filesystems,proto3" json:"filesystems,omitempty"`
// Data in cloud-init format for customizing instance initialization.
// For details, see https://docs.nebius.com/compute/virtual-machines/manage#user-data
CloudInitUserData string `protobuf:"bytes,8,opt,name=cloud_init_user_data,json=cloudInitUserData,proto3" json:"cloud_init_user_data,omitempty"`
// Indicates whether the instance should be stopped.
Stopped bool `protobuf:"varint,13,opt,name=stopped,proto3" json:"stopped,omitempty"`
// Recovery policy defines how the instance will be treated in case of a failure.
// Common source of failure is a host failure, but it can be any other failure.
// Instance undergoing a guest shutdown (poweroff, etc.) will be subject to recovery policy, meaning that it could
// be restarted and billed accordingly. Stop instance via API or UI to stop it to avoid recovering.
// - If set to RECOVER, instance will be restarted, if possible. It could be restarted on the same host or on another host.
// - If set to FAIL, instance will be stopped and not restarted.
RecoveryPolicy InstanceRecoveryPolicy `` /* 151-byte string literal not displayed */
// Include these parameters to create a Preemptible VM and omit them to create a Regular VM
// For details, see https://docs.nebius.com/compute/virtual-machines/preemptible
Preemptible *PreemptibleSpec `protobuf:"bytes,19,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
// Instance's hostname. Used to generate default DNS record in format `<hostname>.<network_id>.compute.internal.`
// or `<instance_id>.<network_id>.compute.internal.` if hostname is not specified.
Hostname string `protobuf:"bytes,20,opt,name=hostname,proto3" json:"hostname,omitempty"`
ReservationPolicy *ReservationPolicy `protobuf:"bytes,23,opt,name=reservation_policy,json=reservationPolicy,proto3" json:"reservation_policy,omitempty"`
// Local disks are meaningfully different from regular (remote) disks:
// they are provided by the underlying host and are tied to a particular VM run.
// Local disk data is not preserved across Stop-Start initiated via Compute API.
// Local disks are not provided by default. To get them, explicitly request them via this field.
// Availability depends on the selected platform, preset and region.
// Changing this field will result in disks change and content loss, but only after stop and start the instance.
LocalDisks *LocalDisksSpec `protobuf:"bytes,24,opt,name=local_disks,json=localDisks,proto3" json:"local_disks,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceSpec) Descriptor
deprecated
func (*InstanceSpec) Descriptor() ([]byte, []int)
Deprecated: Use InstanceSpec.ProtoReflect.Descriptor instead.
func (*InstanceSpec) GetBootDisk ¶
func (x *InstanceSpec) GetBootDisk() *AttachedDiskSpec
func (*InstanceSpec) GetCloudInitUserData ¶
func (x *InstanceSpec) GetCloudInitUserData() string
func (*InstanceSpec) GetFilesystems ¶
func (x *InstanceSpec) GetFilesystems() []*AttachedFilesystemSpec
func (*InstanceSpec) GetGpuCluster ¶
func (x *InstanceSpec) GetGpuCluster() *InstanceGpuClusterSpec
func (*InstanceSpec) GetHostname ¶
func (x *InstanceSpec) GetHostname() string
func (*InstanceSpec) GetLocalDisks ¶ added in v0.2.8
func (x *InstanceSpec) GetLocalDisks() *LocalDisksSpec
func (*InstanceSpec) GetNetworkInterfaces ¶
func (x *InstanceSpec) GetNetworkInterfaces() []*NetworkInterfaceSpec
func (*InstanceSpec) GetPreemptible ¶
func (x *InstanceSpec) GetPreemptible() *PreemptibleSpec
func (*InstanceSpec) GetRecoveryPolicy ¶
func (x *InstanceSpec) GetRecoveryPolicy() InstanceRecoveryPolicy
func (*InstanceSpec) GetReservationPolicy ¶
func (x *InstanceSpec) GetReservationPolicy() *ReservationPolicy
func (*InstanceSpec) GetResources ¶
func (x *InstanceSpec) GetResources() *ResourcesSpec
func (*InstanceSpec) GetSecondaryDisks ¶
func (x *InstanceSpec) GetSecondaryDisks() []*AttachedDiskSpec
func (*InstanceSpec) GetServiceAccountId ¶
func (x *InstanceSpec) GetServiceAccountId() string
func (*InstanceSpec) GetStopped ¶
func (x *InstanceSpec) GetStopped() bool
func (*InstanceSpec) LogValue ¶
func (x *InstanceSpec) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of InstanceSpec. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *InstanceSpec sanitized := original.LogValue().Any().(proto.Message)
If you need to extract InstanceSpec, use the following code:
var original *InstanceSpec sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*InstanceSpec)
func (*InstanceSpec) ProtoMessage ¶
func (*InstanceSpec) ProtoMessage()
func (*InstanceSpec) ProtoReflect ¶
func (x *InstanceSpec) ProtoReflect() protoreflect.Message
func (*InstanceSpec) Reset ¶
func (x *InstanceSpec) Reset()
func (*InstanceSpec) Sanitize ¶
func (x *InstanceSpec) Sanitize()
Sanitize mutates InstanceSpec to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
func (*InstanceSpec) String ¶
func (x *InstanceSpec) String() string
type InstanceStatus ¶
type InstanceStatus struct {
State InstanceStatus_InstanceState `protobuf:"varint,1,opt,name=state,proto3,enum=nebius.compute.v1.InstanceStatus_InstanceState" json:"state,omitempty"`
NetworkInterfaces []*NetworkInterfaceStatus `protobuf:"bytes,2,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
// Indicates whether there is an ongoing operation
Reconciling bool `protobuf:"varint,5,opt,name=reconciling,proto3" json:"reconciling,omitempty"`
MaintenanceEventId string `protobuf:"bytes,7,opt,name=maintenance_event_id,json=maintenanceEventId,proto3" json:"maintenance_event_id,omitempty"`
// Types that are valid to be assigned to GpuClusterTopology:
//
// *InstanceStatus_InfinibandTopologyPath
GpuClusterTopology isInstanceStatus_GpuClusterTopology `protobuf_oneof:"gpu_cluster_topology"`
ReservationId string `protobuf:"bytes,12,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"`
// Status of the requested disk attachments.
DiskAttachments []*DiskAttachmentStatus `protobuf:"bytes,13,rep,name=disk_attachments,json=diskAttachments,proto3" json:"disk_attachments,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceStatus) Descriptor
deprecated
func (*InstanceStatus) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStatus.ProtoReflect.Descriptor instead.
func (*InstanceStatus) GetDiskAttachments ¶ added in v0.2.10
func (x *InstanceStatus) GetDiskAttachments() []*DiskAttachmentStatus
func (*InstanceStatus) GetGpuClusterTopology ¶
func (x *InstanceStatus) GetGpuClusterTopology() isInstanceStatus_GpuClusterTopology
func (*InstanceStatus) GetInfinibandTopologyPath ¶
func (x *InstanceStatus) GetInfinibandTopologyPath() *InstanceStatusInfinibandTopologyPath
func (*InstanceStatus) GetMaintenanceEventId ¶
func (x *InstanceStatus) GetMaintenanceEventId() string
func (*InstanceStatus) GetNetworkInterfaces ¶
func (x *InstanceStatus) GetNetworkInterfaces() []*NetworkInterfaceStatus
func (*InstanceStatus) GetReconciling ¶
func (x *InstanceStatus) GetReconciling() bool
func (*InstanceStatus) GetReservationId ¶
func (x *InstanceStatus) GetReservationId() string
func (*InstanceStatus) GetState ¶
func (x *InstanceStatus) GetState() InstanceStatus_InstanceState
func (*InstanceStatus) ProtoMessage ¶
func (*InstanceStatus) ProtoMessage()
func (*InstanceStatus) ProtoReflect ¶
func (x *InstanceStatus) ProtoReflect() protoreflect.Message
func (*InstanceStatus) Reset ¶
func (x *InstanceStatus) Reset()
func (*InstanceStatus) String ¶
func (x *InstanceStatus) String() string
type InstanceStatusInfinibandTopologyPath ¶
type InstanceStatusInfinibandTopologyPath struct {
Path []string `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceStatusInfinibandTopologyPath) Descriptor
deprecated
func (*InstanceStatusInfinibandTopologyPath) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStatusInfinibandTopologyPath.ProtoReflect.Descriptor instead.
func (*InstanceStatusInfinibandTopologyPath) GetPath ¶
func (x *InstanceStatusInfinibandTopologyPath) GetPath() []string
func (*InstanceStatusInfinibandTopologyPath) ProtoMessage ¶
func (*InstanceStatusInfinibandTopologyPath) ProtoMessage()
func (*InstanceStatusInfinibandTopologyPath) ProtoReflect ¶
func (x *InstanceStatusInfinibandTopologyPath) ProtoReflect() protoreflect.Message
func (*InstanceStatusInfinibandTopologyPath) Reset ¶
func (x *InstanceStatusInfinibandTopologyPath) Reset()
func (*InstanceStatusInfinibandTopologyPath) String ¶
func (x *InstanceStatusInfinibandTopologyPath) String() string
type InstanceStatus_InfinibandTopologyPath ¶
type InstanceStatus_InfinibandTopologyPath struct {
InfinibandTopologyPath *InstanceStatusInfinibandTopologyPath `protobuf:"bytes,10,opt,name=infiniband_topology_path,json=infinibandTopologyPath,proto3,oneof"`
}
type InstanceStatus_InstanceState ¶
type InstanceStatus_InstanceState int32
const ( InstanceStatus_UNSPECIFIED InstanceStatus_InstanceState = 0 InstanceStatus_CREATING InstanceStatus_InstanceState = 1 InstanceStatus_UPDATING InstanceStatus_InstanceState = 2 InstanceStatus_STARTING InstanceStatus_InstanceState = 3 InstanceStatus_RUNNING InstanceStatus_InstanceState = 4 InstanceStatus_STOPPING InstanceStatus_InstanceState = 5 InstanceStatus_STOPPED InstanceStatus_InstanceState = 6 InstanceStatus_DELETING InstanceStatus_InstanceState = 7 InstanceStatus_ERROR InstanceStatus_InstanceState = 8 )
func (InstanceStatus_InstanceState) Descriptor ¶
func (InstanceStatus_InstanceState) Descriptor() protoreflect.EnumDescriptor
func (InstanceStatus_InstanceState) Enum ¶
func (x InstanceStatus_InstanceState) Enum() *InstanceStatus_InstanceState
func (InstanceStatus_InstanceState) EnumDescriptor
deprecated
func (InstanceStatus_InstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceStatus_InstanceState.Descriptor instead.
func (InstanceStatus_InstanceState) Number ¶
func (x InstanceStatus_InstanceState) Number() protoreflect.EnumNumber
func (InstanceStatus_InstanceState) String ¶
func (x InstanceStatus_InstanceState) String() string
func (InstanceStatus_InstanceState) Type ¶
func (InstanceStatus_InstanceState) Type() protoreflect.EnumType
type ListDisksRequest ¶
type ListDisksRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Deprecated: Marked as deprecated in nebius/compute/v1/disk_service.proto.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListDisksRequest) Descriptor
deprecated
func (*ListDisksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDisksRequest.ProtoReflect.Descriptor instead.
func (*ListDisksRequest) GetFilter
deprecated
func (x *ListDisksRequest) GetFilter() string
Deprecated: Marked as deprecated in nebius/compute/v1/disk_service.proto.
func (*ListDisksRequest) GetPageSize ¶
func (x *ListDisksRequest) GetPageSize() int64
func (*ListDisksRequest) GetPageToken ¶
func (x *ListDisksRequest) GetPageToken() string
func (*ListDisksRequest) GetParentId ¶
func (x *ListDisksRequest) GetParentId() string
func (*ListDisksRequest) ProtoMessage ¶
func (*ListDisksRequest) ProtoMessage()
func (*ListDisksRequest) ProtoReflect ¶
func (x *ListDisksRequest) ProtoReflect() protoreflect.Message
func (*ListDisksRequest) Reset ¶
func (x *ListDisksRequest) Reset()
func (*ListDisksRequest) String ¶
func (x *ListDisksRequest) String() string
type ListDisksResponse ¶
type ListDisksResponse struct {
Items []*Disk `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListDisksResponse) Descriptor
deprecated
func (*ListDisksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDisksResponse.ProtoReflect.Descriptor instead.
func (*ListDisksResponse) GetItems ¶
func (x *ListDisksResponse) GetItems() []*Disk
func (*ListDisksResponse) GetNextPageToken ¶
func (x *ListDisksResponse) GetNextPageToken() string
func (*ListDisksResponse) ProtoMessage ¶
func (*ListDisksResponse) ProtoMessage()
func (*ListDisksResponse) ProtoReflect ¶
func (x *ListDisksResponse) ProtoReflect() protoreflect.Message
func (*ListDisksResponse) Reset ¶
func (x *ListDisksResponse) Reset()
func (*ListDisksResponse) String ¶
func (x *ListDisksResponse) String() string
type ListFilesystemsRequest ¶
type ListFilesystemsRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Deprecated: Marked as deprecated in nebius/compute/v1/filesystem_service.proto.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListFilesystemsRequest) Descriptor
deprecated
func (*ListFilesystemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesystemsRequest.ProtoReflect.Descriptor instead.
func (*ListFilesystemsRequest) GetFilter
deprecated
func (x *ListFilesystemsRequest) GetFilter() string
Deprecated: Marked as deprecated in nebius/compute/v1/filesystem_service.proto.
func (*ListFilesystemsRequest) GetPageSize ¶
func (x *ListFilesystemsRequest) GetPageSize() int64
func (*ListFilesystemsRequest) GetPageToken ¶
func (x *ListFilesystemsRequest) GetPageToken() string
func (*ListFilesystemsRequest) GetParentId ¶
func (x *ListFilesystemsRequest) GetParentId() string
func (*ListFilesystemsRequest) ProtoMessage ¶
func (*ListFilesystemsRequest) ProtoMessage()
func (*ListFilesystemsRequest) ProtoReflect ¶
func (x *ListFilesystemsRequest) ProtoReflect() protoreflect.Message
func (*ListFilesystemsRequest) Reset ¶
func (x *ListFilesystemsRequest) Reset()
func (*ListFilesystemsRequest) String ¶
func (x *ListFilesystemsRequest) String() string
type ListFilesystemsResponse ¶
type ListFilesystemsResponse struct {
Items []*Filesystem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListFilesystemsResponse) Descriptor
deprecated
func (*ListFilesystemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFilesystemsResponse.ProtoReflect.Descriptor instead.
func (*ListFilesystemsResponse) GetItems ¶
func (x *ListFilesystemsResponse) GetItems() []*Filesystem
func (*ListFilesystemsResponse) GetNextPageToken ¶
func (x *ListFilesystemsResponse) GetNextPageToken() string
func (*ListFilesystemsResponse) ProtoMessage ¶
func (*ListFilesystemsResponse) ProtoMessage()
func (*ListFilesystemsResponse) ProtoReflect ¶
func (x *ListFilesystemsResponse) ProtoReflect() protoreflect.Message
func (*ListFilesystemsResponse) Reset ¶
func (x *ListFilesystemsResponse) Reset()
func (*ListFilesystemsResponse) String ¶
func (x *ListFilesystemsResponse) String() string
type ListGpuClustersRequest ¶
type ListGpuClustersRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Deprecated: Marked as deprecated in nebius/compute/v1/gpu_cluster_service.proto.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListGpuClustersRequest) Descriptor
deprecated
func (*ListGpuClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGpuClustersRequest.ProtoReflect.Descriptor instead.
func (*ListGpuClustersRequest) GetFilter
deprecated
func (x *ListGpuClustersRequest) GetFilter() string
Deprecated: Marked as deprecated in nebius/compute/v1/gpu_cluster_service.proto.
func (*ListGpuClustersRequest) GetPageSize ¶
func (x *ListGpuClustersRequest) GetPageSize() int64
func (*ListGpuClustersRequest) GetPageToken ¶
func (x *ListGpuClustersRequest) GetPageToken() string
func (*ListGpuClustersRequest) GetParentId ¶
func (x *ListGpuClustersRequest) GetParentId() string
func (*ListGpuClustersRequest) ProtoMessage ¶
func (*ListGpuClustersRequest) ProtoMessage()
func (*ListGpuClustersRequest) ProtoReflect ¶
func (x *ListGpuClustersRequest) ProtoReflect() protoreflect.Message
func (*ListGpuClustersRequest) Reset ¶
func (x *ListGpuClustersRequest) Reset()
func (*ListGpuClustersRequest) String ¶
func (x *ListGpuClustersRequest) String() string
type ListGpuClustersResponse ¶
type ListGpuClustersResponse struct {
Items []*GpuCluster `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListGpuClustersResponse) Descriptor
deprecated
func (*ListGpuClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGpuClustersResponse.ProtoReflect.Descriptor instead.
func (*ListGpuClustersResponse) GetItems ¶
func (x *ListGpuClustersResponse) GetItems() []*GpuCluster
func (*ListGpuClustersResponse) GetNextPageToken ¶
func (x *ListGpuClustersResponse) GetNextPageToken() string
func (*ListGpuClustersResponse) ProtoMessage ¶
func (*ListGpuClustersResponse) ProtoMessage()
func (*ListGpuClustersResponse) ProtoReflect ¶
func (x *ListGpuClustersResponse) ProtoReflect() protoreflect.Message
func (*ListGpuClustersResponse) Reset ¶
func (x *ListGpuClustersResponse) Reset()
func (*ListGpuClustersResponse) String ¶
func (x *ListGpuClustersResponse) String() string
type ListImagesRequest ¶
type ListImagesRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Deprecated: Marked as deprecated in nebius/compute/v1/image_service.proto.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ListImagesRequest) Descriptor
deprecated
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (*ListImagesRequest) GetFilter
deprecated
func (x *ListImagesRequest) GetFilter() string
Deprecated: Marked as deprecated in nebius/compute/v1/image_service.proto.
func (*ListImagesRequest) GetPageSize ¶
func (x *ListImagesRequest) GetPageSize() int64
func (*ListImagesRequest) GetPageToken ¶
func (x *ListImagesRequest) GetPageToken() string
func (*ListImagesRequest) GetParentId ¶
func (x *ListImagesRequest) GetParentId() string
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) ProtoReflect ¶
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (*ListImagesRequest) Reset ¶
func (x *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (x *ListImagesRequest) String() string
type ListImagesResponse ¶
type ListImagesResponse struct {
Items []*Image `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListImagesResponse) Descriptor
deprecated
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (*ListImagesResponse) GetItems ¶
func (x *ListImagesResponse) GetItems() []*Image
func (*ListImagesResponse) GetNextPageToken ¶
func (x *ListImagesResponse) GetNextPageToken() string
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) ProtoReflect ¶
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (*ListImagesResponse) Reset ¶
func (x *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (x *ListImagesResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListInstancesRequest) Descriptor
deprecated
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstancesRequest) GetPageSize ¶
func (x *ListInstancesRequest) GetPageSize() int64
func (*ListInstancesRequest) GetPageToken ¶
func (x *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParentId ¶
func (x *ListInstancesRequest) GetParentId() string
func (*ListInstancesRequest) ProtoMessage ¶
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) ProtoReflect ¶
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstancesRequest) Reset ¶
func (x *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String ¶
func (x *ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct {
Items []*Instance `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListInstancesResponse) Descriptor
deprecated
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstancesResponse) GetItems ¶
func (x *ListInstancesResponse) GetItems() []*Instance
func (*ListInstancesResponse) GetNextPageToken ¶
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) LogValue ¶
func (x *ListInstancesResponse) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of ListInstancesResponse. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *ListInstancesResponse sanitized := original.LogValue().Any().(proto.Message)
If you need to extract ListInstancesResponse, use the following code:
var original *ListInstancesResponse sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*ListInstancesResponse)
func (*ListInstancesResponse) ProtoMessage ¶
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) ProtoReflect ¶
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstancesResponse) Reset ¶
func (x *ListInstancesResponse) Reset()
func (*ListInstancesResponse) Sanitize ¶
func (x *ListInstancesResponse) Sanitize()
Sanitize mutates ListInstancesResponse to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
func (*ListInstancesResponse) String ¶
func (x *ListInstancesResponse) String() string
type ListMaintenanceEventsRequest ¶
type ListMaintenanceEventsRequest struct {
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMaintenanceEventsRequest) Descriptor
deprecated
func (*ListMaintenanceEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMaintenanceEventsRequest.ProtoReflect.Descriptor instead.
func (*ListMaintenanceEventsRequest) GetPageSize ¶
func (x *ListMaintenanceEventsRequest) GetPageSize() int64
func (*ListMaintenanceEventsRequest) GetPageToken ¶
func (x *ListMaintenanceEventsRequest) GetPageToken() string
func (*ListMaintenanceEventsRequest) GetParentId ¶
func (x *ListMaintenanceEventsRequest) GetParentId() string
func (*ListMaintenanceEventsRequest) ProtoMessage ¶
func (*ListMaintenanceEventsRequest) ProtoMessage()
func (*ListMaintenanceEventsRequest) ProtoReflect ¶
func (x *ListMaintenanceEventsRequest) ProtoReflect() protoreflect.Message
func (*ListMaintenanceEventsRequest) Reset ¶
func (x *ListMaintenanceEventsRequest) Reset()
func (*ListMaintenanceEventsRequest) String ¶
func (x *ListMaintenanceEventsRequest) String() string
type ListMaintenanceEventsResponse ¶
type ListMaintenanceEventsResponse struct {
Items []*MaintenanceEvent `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListMaintenanceEventsResponse) Descriptor
deprecated
func (*ListMaintenanceEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMaintenanceEventsResponse.ProtoReflect.Descriptor instead.
func (*ListMaintenanceEventsResponse) GetItems ¶
func (x *ListMaintenanceEventsResponse) GetItems() []*MaintenanceEvent
func (*ListMaintenanceEventsResponse) GetNextPageToken ¶
func (x *ListMaintenanceEventsResponse) GetNextPageToken() string
func (*ListMaintenanceEventsResponse) ProtoMessage ¶
func (*ListMaintenanceEventsResponse) ProtoMessage()
func (*ListMaintenanceEventsResponse) ProtoReflect ¶
func (x *ListMaintenanceEventsResponse) ProtoReflect() protoreflect.Message
func (*ListMaintenanceEventsResponse) Reset ¶
func (x *ListMaintenanceEventsResponse) Reset()
func (*ListMaintenanceEventsResponse) String ¶
func (x *ListMaintenanceEventsResponse) String() string
type ListOperationsByParentRequest ¶
type ListOperationsByParentRequest struct {
// ID of the parent to list operations for resource type at.
ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// Page size. [1...1000]. Optional, if not specified, a reasonable default will be chosen by the service.
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Listing continuation token. Empty to start listing from the first page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListOperationsByParentRequest) Descriptor
deprecated
func (*ListOperationsByParentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsByParentRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsByParentRequest) GetPageSize ¶
func (x *ListOperationsByParentRequest) GetPageSize() int64
func (*ListOperationsByParentRequest) GetPageToken ¶
func (x *ListOperationsByParentRequest) GetPageToken() string
func (*ListOperationsByParentRequest) GetParentId ¶
func (x *ListOperationsByParentRequest) GetParentId() string
func (*ListOperationsByParentRequest) ProtoMessage ¶
func (*ListOperationsByParentRequest) ProtoMessage()
func (*ListOperationsByParentRequest) ProtoReflect ¶
func (x *ListOperationsByParentRequest) ProtoReflect() protoreflect.Message
func (*ListOperationsByParentRequest) Reset ¶
func (x *ListOperationsByParentRequest) Reset()
func (*ListOperationsByParentRequest) String ¶
func (x *ListOperationsByParentRequest) String() string
type ListPlatformsRequest ¶
type ListPlatformsRequest struct {
PageSize int64 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListPlatformsRequest) Descriptor
deprecated
func (*ListPlatformsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsRequest.ProtoReflect.Descriptor instead.
func (*ListPlatformsRequest) GetPageSize ¶
func (x *ListPlatformsRequest) GetPageSize() int64
func (*ListPlatformsRequest) GetPageToken ¶
func (x *ListPlatformsRequest) GetPageToken() string
func (*ListPlatformsRequest) GetParentId ¶
func (x *ListPlatformsRequest) GetParentId() string
func (*ListPlatformsRequest) ProtoMessage ¶
func (*ListPlatformsRequest) ProtoMessage()
func (*ListPlatformsRequest) ProtoReflect ¶
func (x *ListPlatformsRequest) ProtoReflect() protoreflect.Message
func (*ListPlatformsRequest) Reset ¶
func (x *ListPlatformsRequest) Reset()
func (*ListPlatformsRequest) String ¶
func (x *ListPlatformsRequest) String() string
type ListPlatformsResponse ¶
type ListPlatformsResponse struct {
Items []*Platform `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListPlatformsResponse) Descriptor
deprecated
func (*ListPlatformsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPlatformsResponse.ProtoReflect.Descriptor instead.
func (*ListPlatformsResponse) GetItems ¶
func (x *ListPlatformsResponse) GetItems() []*Platform
func (*ListPlatformsResponse) GetNextPageToken ¶
func (x *ListPlatformsResponse) GetNextPageToken() string
func (*ListPlatformsResponse) ProtoMessage ¶
func (*ListPlatformsResponse) ProtoMessage()
func (*ListPlatformsResponse) ProtoReflect ¶
func (x *ListPlatformsResponse) ProtoReflect() protoreflect.Message
func (*ListPlatformsResponse) Reset ¶
func (x *ListPlatformsResponse) Reset()
func (*ListPlatformsResponse) String ¶
func (x *ListPlatformsResponse) String() string
type ListPublicRequest ¶
type ListPublicRequest struct {
// Region name (eu-north2, us-central1, eu-west1, etc.)
// For details, see https://docs.nebius.com/overview/regions
Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListPublicRequest) Descriptor
deprecated
func (*ListPublicRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicRequest.ProtoReflect.Descriptor instead.
func (*ListPublicRequest) GetPageSize ¶
func (x *ListPublicRequest) GetPageSize() int64
func (*ListPublicRequest) GetPageToken ¶
func (x *ListPublicRequest) GetPageToken() string
func (*ListPublicRequest) GetRegion ¶
func (x *ListPublicRequest) GetRegion() string
func (*ListPublicRequest) ProtoMessage ¶
func (*ListPublicRequest) ProtoMessage()
func (*ListPublicRequest) ProtoReflect ¶
func (x *ListPublicRequest) ProtoReflect() protoreflect.Message
func (*ListPublicRequest) Reset ¶
func (x *ListPublicRequest) Reset()
func (*ListPublicRequest) String ¶
func (x *ListPublicRequest) String() string
type LocalDisksSpec ¶ added in v0.2.8
type LocalDisksSpec struct {
// Types that are valid to be assigned to Request:
//
// *LocalDisksSpec_PassthroughGroup
Request isLocalDisksSpec_Request `protobuf_oneof:"request"`
// contains filtered or unexported fields
}
func (*LocalDisksSpec) Descriptor
deprecated
added in
v0.2.8
func (*LocalDisksSpec) Descriptor() ([]byte, []int)
Deprecated: Use LocalDisksSpec.ProtoReflect.Descriptor instead.
func (*LocalDisksSpec) GetPassthroughGroup ¶ added in v0.2.8
func (x *LocalDisksSpec) GetPassthroughGroup() *PassthroughGroupRequest
func (*LocalDisksSpec) GetRequest ¶ added in v0.2.8
func (x *LocalDisksSpec) GetRequest() isLocalDisksSpec_Request
func (*LocalDisksSpec) ProtoMessage ¶ added in v0.2.8
func (*LocalDisksSpec) ProtoMessage()
func (*LocalDisksSpec) ProtoReflect ¶ added in v0.2.8
func (x *LocalDisksSpec) ProtoReflect() protoreflect.Message
func (*LocalDisksSpec) Reset ¶ added in v0.2.8
func (x *LocalDisksSpec) Reset()
func (*LocalDisksSpec) String ¶ added in v0.2.8
func (x *LocalDisksSpec) String() string
type LocalDisksSpec_PassthroughGroup ¶ added in v0.2.8
type LocalDisksSpec_PassthroughGroup struct {
// Requests passthrough local disks from the host.
// Topology of the provided disks is preserved during stop and start
// for every instance of a specific platform and preset in the region.
PassthroughGroup *PassthroughGroupRequest `protobuf:"bytes,1,opt,name=passthrough_group,json=passthroughGroup,proto3,oneof"`
}
type MaintenanceEvent ¶
type MaintenanceEvent struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Spec *MaintenanceEventSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *MaintenanceEventStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*MaintenanceEvent) Descriptor
deprecated
func (*MaintenanceEvent) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceEvent.ProtoReflect.Descriptor instead.
func (*MaintenanceEvent) GetId ¶
func (x *MaintenanceEvent) GetId() string
func (*MaintenanceEvent) GetSpec ¶
func (x *MaintenanceEvent) GetSpec() *MaintenanceEventSpec
func (*MaintenanceEvent) GetStatus ¶
func (x *MaintenanceEvent) GetStatus() *MaintenanceEventStatus
func (*MaintenanceEvent) ProtoMessage ¶
func (*MaintenanceEvent) ProtoMessage()
func (*MaintenanceEvent) ProtoReflect ¶
func (x *MaintenanceEvent) ProtoReflect() protoreflect.Message
func (*MaintenanceEvent) Reset ¶
func (x *MaintenanceEvent) Reset()
func (*MaintenanceEvent) String ¶
func (x *MaintenanceEvent) String() string
type MaintenanceEventSpec ¶
type MaintenanceEventSpec struct {
IsPlanned bool `protobuf:"varint,5,opt,name=is_planned,json=isPlanned,proto3" json:"is_planned,omitempty"` // If the maintenance event is planned or not
// contains filtered or unexported fields
}
func (*MaintenanceEventSpec) Descriptor
deprecated
func (*MaintenanceEventSpec) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceEventSpec.ProtoReflect.Descriptor instead.
func (*MaintenanceEventSpec) GetIsPlanned ¶
func (x *MaintenanceEventSpec) GetIsPlanned() bool
func (*MaintenanceEventSpec) ProtoMessage ¶
func (*MaintenanceEventSpec) ProtoMessage()
func (*MaintenanceEventSpec) ProtoReflect ¶
func (x *MaintenanceEventSpec) ProtoReflect() protoreflect.Message
func (*MaintenanceEventSpec) Reset ¶
func (x *MaintenanceEventSpec) Reset()
func (*MaintenanceEventSpec) String ¶
func (x *MaintenanceEventSpec) String() string
type MaintenanceEventStatus ¶
type MaintenanceEventStatus struct {
MaintenanceId string `protobuf:"bytes,1,opt,name=maintenance_id,json=maintenanceId,proto3" json:"maintenance_id,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time when the maintenance event is created
FinishedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // Time when the maintenance event is finished
SlaDeadlineTs *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=sla_deadline_ts,json=slaDeadlineTs,proto3" json:"sla_deadline_ts,omitempty"` // Time when the instance will be force stopped
SupportCenterTicketId string `` // Ticket key, can be transformed into url where support is talking with the client
/* 128-byte string literal not displayed */
MaintenanceReason string `protobuf:"bytes,12,opt,name=maintenance_reason,json=maintenanceReason,proto3" json:"maintenance_reason,omitempty"` // Reason of the maintenance
// contains filtered or unexported fields
}
func (*MaintenanceEventStatus) Descriptor
deprecated
func (*MaintenanceEventStatus) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceEventStatus.ProtoReflect.Descriptor instead.
func (*MaintenanceEventStatus) GetCreatedAt ¶
func (x *MaintenanceEventStatus) GetCreatedAt() *timestamppb.Timestamp
func (*MaintenanceEventStatus) GetFinishedAt ¶
func (x *MaintenanceEventStatus) GetFinishedAt() *timestamppb.Timestamp
func (*MaintenanceEventStatus) GetMaintenanceId ¶
func (x *MaintenanceEventStatus) GetMaintenanceId() string
func (*MaintenanceEventStatus) GetMaintenanceReason ¶ added in v0.2.9
func (x *MaintenanceEventStatus) GetMaintenanceReason() string
func (*MaintenanceEventStatus) GetSlaDeadlineTs ¶
func (x *MaintenanceEventStatus) GetSlaDeadlineTs() *timestamppb.Timestamp
func (*MaintenanceEventStatus) GetSupportCenterTicketId ¶
func (x *MaintenanceEventStatus) GetSupportCenterTicketId() string
func (*MaintenanceEventStatus) ProtoMessage ¶
func (*MaintenanceEventStatus) ProtoMessage()
func (*MaintenanceEventStatus) ProtoReflect ¶
func (x *MaintenanceEventStatus) ProtoReflect() protoreflect.Message
func (*MaintenanceEventStatus) Reset ¶
func (x *MaintenanceEventStatus) Reset()
func (*MaintenanceEventStatus) String ¶
func (x *MaintenanceEventStatus) String() string
type MaintenanceServiceClient ¶
type MaintenanceServiceClient interface {
// Returns only active maintenance event for the instance
GetByInstance(ctx context.Context, in *GetMaintenanceEventByInstanceRequest, opts ...grpc.CallOption) (*MaintenanceEvent, error)
// Returns all unfinished maintenance events for the parent
ListActive(ctx context.Context, in *ListMaintenanceEventsRequest, opts ...grpc.CallOption) (*ListMaintenanceEventsResponse, error)
}
MaintenanceServiceClient is the client API for MaintenanceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMaintenanceServiceClient ¶
func NewMaintenanceServiceClient(cc grpc.ClientConnInterface) MaintenanceServiceClient
type MaintenanceServiceServer ¶
type MaintenanceServiceServer interface {
// Returns only active maintenance event for the instance
GetByInstance(context.Context, *GetMaintenanceEventByInstanceRequest) (*MaintenanceEvent, error)
// Returns all unfinished maintenance events for the parent
ListActive(context.Context, *ListMaintenanceEventsRequest) (*ListMaintenanceEventsResponse, error)
}
MaintenanceServiceServer is the server API for MaintenanceService service. All implementations should embed UnimplementedMaintenanceServiceServer for forward compatibility
type ManagedDisk ¶ added in v0.2.10
type ManagedDisk struct {
// Name of a dependent disk.
// Use it to convert an ExistingDisk to a dependent disk.
// Changing the name will replace the disk and cause data loss.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Labels associated with disk resource.
Labels map[string]string `` /* 139-byte string literal not displayed */
// Specification of a dependent disk to be created.
Spec *DiskSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedDisk) Descriptor
deprecated
added in
v0.2.10
func (*ManagedDisk) Descriptor() ([]byte, []int)
Deprecated: Use ManagedDisk.ProtoReflect.Descriptor instead.
func (*ManagedDisk) GetLabels ¶ added in v0.2.10
func (x *ManagedDisk) GetLabels() map[string]string
func (*ManagedDisk) GetName ¶ added in v0.2.10
func (x *ManagedDisk) GetName() string
func (*ManagedDisk) GetSpec ¶ added in v0.2.10
func (x *ManagedDisk) GetSpec() *DiskSpec
func (*ManagedDisk) ProtoMessage ¶ added in v0.2.10
func (*ManagedDisk) ProtoMessage()
func (*ManagedDisk) ProtoReflect ¶ added in v0.2.10
func (x *ManagedDisk) ProtoReflect() protoreflect.Message
func (*ManagedDisk) Reset ¶ added in v0.2.10
func (x *ManagedDisk) Reset()
func (*ManagedDisk) String ¶ added in v0.2.10
func (x *ManagedDisk) String() string
type NetworkInterfaceSpec ¶
type NetworkInterfaceSpec struct {
// Subnet ID
SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
// Interface name
// Value of this field configures the name of the network interface inside VM's OS.
// Longer values will persist in the specification but will be truncated to 15 symbols before being passed to VM configuration.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Private IPv4 address associated with the interface.
IpAddress *IPAddress `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// Public IPv4 address associated with the interface.
PublicIpAddress *PublicIPAddress `protobuf:"bytes,4,opt,name=public_ip_address,json=publicIpAddress,proto3" json:"public_ip_address,omitempty"`
// Assign ranges of IP addresses as aliases
Aliases []*IPAlias `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`
// Security groups associated with the network interface.
// If an empty list is provided, the default security group for the network will be used.
// Effective security groups can be seen in the status.
SecurityGroups []*SecurityGroup `protobuf:"bytes,7,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
// contains filtered or unexported fields
}
Describes the specification of a network interface.
func (*NetworkInterfaceSpec) Descriptor
deprecated
func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterfaceSpec.ProtoReflect.Descriptor instead.
func (*NetworkInterfaceSpec) GetAliases ¶
func (x *NetworkInterfaceSpec) GetAliases() []*IPAlias
func (*NetworkInterfaceSpec) GetIpAddress ¶
func (x *NetworkInterfaceSpec) GetIpAddress() *IPAddress
func (*NetworkInterfaceSpec) GetName ¶
func (x *NetworkInterfaceSpec) GetName() string
func (*NetworkInterfaceSpec) GetPublicIpAddress ¶
func (x *NetworkInterfaceSpec) GetPublicIpAddress() *PublicIPAddress
func (*NetworkInterfaceSpec) GetSecurityGroups ¶
func (x *NetworkInterfaceSpec) GetSecurityGroups() []*SecurityGroup
func (*NetworkInterfaceSpec) GetSubnetId ¶
func (x *NetworkInterfaceSpec) GetSubnetId() string
func (*NetworkInterfaceSpec) ProtoMessage ¶
func (*NetworkInterfaceSpec) ProtoMessage()
func (*NetworkInterfaceSpec) ProtoReflect ¶
func (x *NetworkInterfaceSpec) ProtoReflect() protoreflect.Message
func (*NetworkInterfaceSpec) Reset ¶
func (x *NetworkInterfaceSpec) Reset()
func (*NetworkInterfaceSpec) String ¶
func (x *NetworkInterfaceSpec) String() string
type NetworkInterfaceStatus ¶
type NetworkInterfaceStatus struct {
// The index of the network interface
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
// Name for interface.
// Unique within instance's network interfaces
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Effective Private IPv4 address
IpAddress *IPAddressStatus `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// Effective Public IPv4 address
PublicIpAddress *PublicIPAddressStatus `protobuf:"bytes,4,opt,name=public_ip_address,json=publicIpAddress,proto3" json:"public_ip_address,omitempty"`
// Effective IP Aliases
Aliases *IPAliasesStatus `protobuf:"bytes,6,opt,name=aliases,proto3" json:"aliases,omitempty"`
// MAC address
MacAddress string `protobuf:"bytes,7,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
// FQDN of the interface
Fqdn string `protobuf:"bytes,9,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
// contains filtered or unexported fields
}
Describes the status of a network interface.
func (*NetworkInterfaceStatus) Descriptor
deprecated
func (*NetworkInterfaceStatus) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterfaceStatus.ProtoReflect.Descriptor instead.
func (*NetworkInterfaceStatus) GetAliases ¶
func (x *NetworkInterfaceStatus) GetAliases() *IPAliasesStatus
func (*NetworkInterfaceStatus) GetFqdn ¶
func (x *NetworkInterfaceStatus) GetFqdn() string
func (*NetworkInterfaceStatus) GetIndex ¶
func (x *NetworkInterfaceStatus) GetIndex() int32
func (*NetworkInterfaceStatus) GetIpAddress ¶
func (x *NetworkInterfaceStatus) GetIpAddress() *IPAddressStatus
func (*NetworkInterfaceStatus) GetMacAddress ¶
func (x *NetworkInterfaceStatus) GetMacAddress() string
func (*NetworkInterfaceStatus) GetName ¶
func (x *NetworkInterfaceStatus) GetName() string
func (*NetworkInterfaceStatus) GetPublicIpAddress ¶
func (x *NetworkInterfaceStatus) GetPublicIpAddress() *PublicIPAddressStatus
func (*NetworkInterfaceStatus) ProtoMessage ¶
func (*NetworkInterfaceStatus) ProtoMessage()
func (*NetworkInterfaceStatus) ProtoReflect ¶
func (x *NetworkInterfaceStatus) ProtoReflect() protoreflect.Message
func (*NetworkInterfaceStatus) Reset ¶
func (x *NetworkInterfaceStatus) Reset()
func (*NetworkInterfaceStatus) String ¶
func (x *NetworkInterfaceStatus) String() string
type NodeServiceClient ¶
type NodeServiceClient interface {
// SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect:
//
// 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node,
// but in case of no capacity, the VM can be assigned to an unhealthy node.
// 2. The existing VMs continue to work on the node, but after stop/start via
// Compute API they most probably will be assigned to a different node.
//
// To use this rpc one needs to obtain `compute.node.setUnhealthy` permission
// for the VM's parent container. The permission is granted to the TSA inside the VM.
SetUnhealthy(ctx context.Context, in *NodeSetUnhealthyRequest, opts ...grpc.CallOption) (*NodeSetUnhealthyResponse, error)
}
NodeServiceClient is the client API for NodeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewNodeServiceClient ¶
func NewNodeServiceClient(cc grpc.ClientConnInterface) NodeServiceClient
type NodeServiceServer ¶
type NodeServiceServer interface {
// SetUnhealthy marks the node underlying the Compute VM as unhealthy, which has the following effect:
//
// 1. Scheduler makes the best effort not to assign new VMs to the unhealthy node,
// but in case of no capacity, the VM can be assigned to an unhealthy node.
// 2. The existing VMs continue to work on the node, but after stop/start via
// Compute API they most probably will be assigned to a different node.
//
// To use this rpc one needs to obtain `compute.node.setUnhealthy` permission
// for the VM's parent container. The permission is granted to the TSA inside the VM.
SetUnhealthy(context.Context, *NodeSetUnhealthyRequest) (*NodeSetUnhealthyResponse, error)
}
NodeServiceServer is the server API for NodeService service. All implementations should embed UnimplementedNodeServiceServer for forward compatibility
type NodeSetUnhealthyRequest ¶
type NodeSetUnhealthyRequest struct {
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
HealthCheckInfo *NodeSetUnhealthyRequest_HealthCheckInfo `protobuf:"bytes,2,opt,name=health_check_info,json=healthCheckInfo,proto3" json:"health_check_info,omitempty"`
// If set to true, the call performs the authorization and limit checks, but does not mark node unhealthy.
// False by default
DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// contains filtered or unexported fields
}
func (*NodeSetUnhealthyRequest) Descriptor
deprecated
func (*NodeSetUnhealthyRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeSetUnhealthyRequest.ProtoReflect.Descriptor instead.
func (*NodeSetUnhealthyRequest) GetDryRun ¶
func (x *NodeSetUnhealthyRequest) GetDryRun() bool
func (*NodeSetUnhealthyRequest) GetHealthCheckInfo ¶
func (x *NodeSetUnhealthyRequest) GetHealthCheckInfo() *NodeSetUnhealthyRequest_HealthCheckInfo
func (*NodeSetUnhealthyRequest) GetInstanceId ¶
func (x *NodeSetUnhealthyRequest) GetInstanceId() string
func (*NodeSetUnhealthyRequest) ProtoMessage ¶
func (*NodeSetUnhealthyRequest) ProtoMessage()
func (*NodeSetUnhealthyRequest) ProtoReflect ¶
func (x *NodeSetUnhealthyRequest) ProtoReflect() protoreflect.Message
func (*NodeSetUnhealthyRequest) Reset ¶
func (x *NodeSetUnhealthyRequest) Reset()
func (*NodeSetUnhealthyRequest) String ¶
func (x *NodeSetUnhealthyRequest) String() string
type NodeSetUnhealthyRequest_HealthCheckInfo ¶
type NodeSetUnhealthyRequest_HealthCheckInfo struct {
// Time when the unhealthy node was observed
ObservedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=observed_at,json=observedAt,proto3" json:"observed_at,omitempty"`
// Identifies specific GPU check that failed in soperator (key for observability)
CheckId string `protobuf:"bytes,2,opt,name=check_id,json=checkId,proto3" json:"check_id,omitempty"`
// Human-readable description of the error for further investigation
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*NodeSetUnhealthyRequest_HealthCheckInfo) Descriptor
deprecated
func (*NodeSetUnhealthyRequest_HealthCheckInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeSetUnhealthyRequest_HealthCheckInfo.ProtoReflect.Descriptor instead.
func (*NodeSetUnhealthyRequest_HealthCheckInfo) GetCheckId ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetCheckId() string
func (*NodeSetUnhealthyRequest_HealthCheckInfo) GetDescription ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetDescription() string
func (*NodeSetUnhealthyRequest_HealthCheckInfo) GetObservedAt ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) GetObservedAt() *timestamppb.Timestamp
func (*NodeSetUnhealthyRequest_HealthCheckInfo) ProtoMessage ¶
func (*NodeSetUnhealthyRequest_HealthCheckInfo) ProtoMessage()
func (*NodeSetUnhealthyRequest_HealthCheckInfo) ProtoReflect ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) ProtoReflect() protoreflect.Message
func (*NodeSetUnhealthyRequest_HealthCheckInfo) Reset ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) Reset()
func (*NodeSetUnhealthyRequest_HealthCheckInfo) String ¶
func (x *NodeSetUnhealthyRequest_HealthCheckInfo) String() string
type NodeSetUnhealthyResponse ¶
type NodeSetUnhealthyResponse struct {
// contains filtered or unexported fields
}
func (*NodeSetUnhealthyResponse) Descriptor
deprecated
func (*NodeSetUnhealthyResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeSetUnhealthyResponse.ProtoReflect.Descriptor instead.
func (*NodeSetUnhealthyResponse) ProtoMessage ¶
func (*NodeSetUnhealthyResponse) ProtoMessage()
func (*NodeSetUnhealthyResponse) ProtoReflect ¶
func (x *NodeSetUnhealthyResponse) ProtoReflect() protoreflect.Message
func (*NodeSetUnhealthyResponse) Reset ¶
func (x *NodeSetUnhealthyResponse) Reset()
func (*NodeSetUnhealthyResponse) String ¶
func (x *NodeSetUnhealthyResponse) String() string
type PassthroughGroupRequest ¶ added in v0.2.8
type PassthroughGroupRequest struct {
// Passthrough local disks from the underlying host.
//
// Devices are expected to appear in the guest as NVMe devices (nvme0, nvme1, ...),
// but the exact number depends on the preset.
// Enabled only when this field is explicitly set.
Requested bool `protobuf:"varint,1,opt,name=requested,proto3" json:"requested,omitempty"`
// contains filtered or unexported fields
}
func (*PassthroughGroupRequest) Descriptor
deprecated
added in
v0.2.8
func (*PassthroughGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use PassthroughGroupRequest.ProtoReflect.Descriptor instead.
func (*PassthroughGroupRequest) GetRequested ¶ added in v0.2.8
func (x *PassthroughGroupRequest) GetRequested() bool
func (*PassthroughGroupRequest) ProtoMessage ¶ added in v0.2.8
func (*PassthroughGroupRequest) ProtoMessage()
func (*PassthroughGroupRequest) ProtoReflect ¶ added in v0.2.8
func (x *PassthroughGroupRequest) ProtoReflect() protoreflect.Message
func (*PassthroughGroupRequest) Reset ¶ added in v0.2.8
func (x *PassthroughGroupRequest) Reset()
func (*PassthroughGroupRequest) String ¶ added in v0.2.8
func (x *PassthroughGroupRequest) String() string
type Platform ¶
type Platform struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *PlatformSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *PlatformStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Platform) Descriptor
deprecated
func (*Platform) GetMetadata ¶
func (x *Platform) GetMetadata() *v1.ResourceMetadata
func (*Platform) GetSpec ¶
func (x *Platform) GetSpec() *PlatformSpec
func (*Platform) GetStatus ¶
func (x *Platform) GetStatus() *PlatformStatus
func (*Platform) ProtoMessage ¶
func (*Platform) ProtoMessage()
func (*Platform) ProtoReflect ¶
func (x *Platform) ProtoReflect() protoreflect.Message
type PlatformServiceClient ¶
type PlatformServiceClient interface {
// Retrieves detailed information about a specific compute platform by its parent and name.
GetByName(ctx context.Context, in *v1.GetByNameRequest, opts ...grpc.CallOption) (*Platform, error)
// Lists all compute platforms within a specified parent.
List(ctx context.Context, in *ListPlatformsRequest, opts ...grpc.CallOption) (*ListPlatformsResponse, error)
}
PlatformServiceClient is the client API for PlatformService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPlatformServiceClient ¶
func NewPlatformServiceClient(cc grpc.ClientConnInterface) PlatformServiceClient
type PlatformServiceServer ¶
type PlatformServiceServer interface {
// Retrieves detailed information about a specific compute platform by its parent and name.
GetByName(context.Context, *v1.GetByNameRequest) (*Platform, error)
// Lists all compute platforms within a specified parent.
List(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
}
PlatformServiceServer is the server API for PlatformService service. All implementations should embed UnimplementedPlatformServiceServer for forward compatibility
type PlatformSpec ¶
type PlatformSpec struct {
Presets []*Preset `protobuf:"bytes,1,rep,name=presets,proto3" json:"presets,omitempty"`
GpuCountQuotaType string `protobuf:"bytes,3,opt,name=gpu_count_quota_type,json=gpuCountQuotaType,proto3" json:"gpu_count_quota_type,omitempty"`
HumanReadableName string `protobuf:"bytes,4,opt,name=human_readable_name,json=humanReadableName,proto3" json:"human_readable_name,omitempty"`
AllowPresetChange bool `protobuf:"varint,5,opt,name=allow_preset_change,json=allowPresetChange,proto3" json:"allow_preset_change,omitempty"`
ShortHumanReadableName string `` /* 132-byte string literal not displayed */
// Deprecated: Marked as deprecated in nebius/compute/v1/platform.proto.
GpuMemoryGibibytes int32 `protobuf:"varint,11,opt,name=gpu_memory_gibibytes,json=gpuMemoryGibibytes,proto3" json:"gpu_memory_gibibytes,omitempty"`
GpuMemoryGigabytes int32 `protobuf:"varint,12,opt,name=gpu_memory_gigabytes,json=gpuMemoryGigabytes,proto3" json:"gpu_memory_gigabytes,omitempty"`
// contains filtered or unexported fields
}
func (*PlatformSpec) Descriptor
deprecated
func (*PlatformSpec) Descriptor() ([]byte, []int)
Deprecated: Use PlatformSpec.ProtoReflect.Descriptor instead.
func (*PlatformSpec) GetAllowPresetChange ¶
func (x *PlatformSpec) GetAllowPresetChange() bool
func (*PlatformSpec) GetGpuCountQuotaType ¶
func (x *PlatformSpec) GetGpuCountQuotaType() string
func (*PlatformSpec) GetGpuMemoryGibibytes
deprecated
func (x *PlatformSpec) GetGpuMemoryGibibytes() int32
Deprecated: Marked as deprecated in nebius/compute/v1/platform.proto.
func (*PlatformSpec) GetGpuMemoryGigabytes ¶
func (x *PlatformSpec) GetGpuMemoryGigabytes() int32
func (*PlatformSpec) GetHumanReadableName ¶
func (x *PlatformSpec) GetHumanReadableName() string
func (*PlatformSpec) GetPresets ¶
func (x *PlatformSpec) GetPresets() []*Preset
func (*PlatformSpec) GetShortHumanReadableName ¶
func (x *PlatformSpec) GetShortHumanReadableName() string
func (*PlatformSpec) ProtoMessage ¶
func (*PlatformSpec) ProtoMessage()
func (*PlatformSpec) ProtoReflect ¶
func (x *PlatformSpec) ProtoReflect() protoreflect.Message
func (*PlatformSpec) Reset ¶
func (x *PlatformSpec) Reset()
func (*PlatformSpec) String ¶
func (x *PlatformSpec) String() string
type PlatformStatus ¶
type PlatformStatus struct {
AllowedForPreemptibles bool `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PlatformStatus) Descriptor
deprecated
func (*PlatformStatus) Descriptor() ([]byte, []int)
Deprecated: Use PlatformStatus.ProtoReflect.Descriptor instead.
func (*PlatformStatus) GetAllowedForPreemptibles ¶
func (x *PlatformStatus) GetAllowedForPreemptibles() bool
func (*PlatformStatus) ProtoMessage ¶
func (*PlatformStatus) ProtoMessage()
func (*PlatformStatus) ProtoReflect ¶
func (x *PlatformStatus) ProtoReflect() protoreflect.Message
func (*PlatformStatus) Reset ¶
func (x *PlatformStatus) Reset()
func (*PlatformStatus) String ¶
func (x *PlatformStatus) String() string
type PreemptibleSpec ¶
type PreemptibleSpec struct {
// Specifies what happens when the VM is preempted. The only supported value is STOP:
// Compute stops the VM without deleting or restarting it.
OnPreemption PreemptibleSpec_PreemptionPolicy `` /* 154-byte string literal not displayed */
// The value can range from 1 to 5, where 5 indicates the highest priority.
// Affects the order in which Compute tries to preempt VMs, but does not guarantee the exact order.
Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
func (*PreemptibleSpec) Descriptor
deprecated
func (*PreemptibleSpec) Descriptor() ([]byte, []int)
Deprecated: Use PreemptibleSpec.ProtoReflect.Descriptor instead.
func (*PreemptibleSpec) GetOnPreemption ¶
func (x *PreemptibleSpec) GetOnPreemption() PreemptibleSpec_PreemptionPolicy
func (*PreemptibleSpec) GetPriority ¶
func (x *PreemptibleSpec) GetPriority() int32
func (*PreemptibleSpec) ProtoMessage ¶
func (*PreemptibleSpec) ProtoMessage()
func (*PreemptibleSpec) ProtoReflect ¶
func (x *PreemptibleSpec) ProtoReflect() protoreflect.Message
func (*PreemptibleSpec) Reset ¶
func (x *PreemptibleSpec) Reset()
func (*PreemptibleSpec) String ¶
func (x *PreemptibleSpec) String() string
type PreemptibleSpec_PreemptionPolicy ¶
type PreemptibleSpec_PreemptionPolicy int32
const ( PreemptibleSpec_UNSPECIFIED PreemptibleSpec_PreemptionPolicy = 0 PreemptibleSpec_STOP PreemptibleSpec_PreemptionPolicy = 1 )
func (PreemptibleSpec_PreemptionPolicy) Descriptor ¶
func (PreemptibleSpec_PreemptionPolicy) Descriptor() protoreflect.EnumDescriptor
func (PreemptibleSpec_PreemptionPolicy) Enum ¶
func (x PreemptibleSpec_PreemptionPolicy) Enum() *PreemptibleSpec_PreemptionPolicy
func (PreemptibleSpec_PreemptionPolicy) EnumDescriptor
deprecated
func (PreemptibleSpec_PreemptionPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreemptibleSpec_PreemptionPolicy.Descriptor instead.
func (PreemptibleSpec_PreemptionPolicy) Number ¶
func (x PreemptibleSpec_PreemptionPolicy) Number() protoreflect.EnumNumber
func (PreemptibleSpec_PreemptionPolicy) String ¶
func (x PreemptibleSpec_PreemptionPolicy) String() string
func (PreemptibleSpec_PreemptionPolicy) Type ¶
func (PreemptibleSpec_PreemptionPolicy) Type() protoreflect.EnumType
type Preset ¶
type Preset struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Resources *PresetResources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
AllowGpuClustering bool `protobuf:"varint,3,opt,name=allow_gpu_clustering,json=allowGpuClustering,proto3" json:"allow_gpu_clustering,omitempty"`
// contains filtered or unexported fields
}
func (*Preset) Descriptor
deprecated
func (*Preset) GetAllowGpuClustering ¶
func (*Preset) GetResources ¶
func (x *Preset) GetResources() *PresetResources
func (*Preset) ProtoMessage ¶
func (*Preset) ProtoMessage()
func (*Preset) ProtoReflect ¶
func (x *Preset) ProtoReflect() protoreflect.Message
type PresetResources ¶
type PresetResources struct {
VcpuCount int32 `protobuf:"varint,1,opt,name=vcpu_count,json=vcpuCount,proto3" json:"vcpu_count,omitempty"`
MemoryGibibytes int32 `protobuf:"varint,3,opt,name=memory_gibibytes,json=memoryGibibytes,proto3" json:"memory_gibibytes,omitempty"`
GpuCount int32 `protobuf:"varint,4,opt,name=gpu_count,json=gpuCount,proto3" json:"gpu_count,omitempty"`
// Deprecated: Marked as deprecated in nebius/compute/v1/platform.proto.
GpuMemoryGibibytes int32 `protobuf:"varint,6,opt,name=gpu_memory_gibibytes,json=gpuMemoryGibibytes,proto3" json:"gpu_memory_gibibytes,omitempty"`
// contains filtered or unexported fields
}
func (*PresetResources) Descriptor
deprecated
func (*PresetResources) Descriptor() ([]byte, []int)
Deprecated: Use PresetResources.ProtoReflect.Descriptor instead.
func (*PresetResources) GetGpuCount ¶
func (x *PresetResources) GetGpuCount() int32
func (*PresetResources) GetGpuMemoryGibibytes
deprecated
func (x *PresetResources) GetGpuMemoryGibibytes() int32
Deprecated: Marked as deprecated in nebius/compute/v1/platform.proto.
func (*PresetResources) GetMemoryGibibytes ¶
func (x *PresetResources) GetMemoryGibibytes() int32
func (*PresetResources) GetVcpuCount ¶
func (x *PresetResources) GetVcpuCount() int32
func (*PresetResources) ProtoMessage ¶
func (*PresetResources) ProtoMessage()
func (*PresetResources) ProtoReflect ¶
func (x *PresetResources) ProtoReflect() protoreflect.Message
func (*PresetResources) Reset ¶
func (x *PresetResources) Reset()
func (*PresetResources) String ¶
func (x *PresetResources) String() string
type PublicIPAddress ¶
type PublicIPAddress struct {
// Describes different methods of public IP address allocation.
//
// Types that are valid to be assigned to Allocation:
//
// *PublicIPAddress_AllocationId
Allocation isPublicIPAddress_Allocation `protobuf_oneof:"allocation"`
// If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate
// If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.Delete
// False by default
Static bool `protobuf:"varint,3,opt,name=static,proto3" json:"static,omitempty"`
// contains filtered or unexported fields
}
Describes a public IP address.
func (*PublicIPAddress) Descriptor
deprecated
func (*PublicIPAddress) Descriptor() ([]byte, []int)
Deprecated: Use PublicIPAddress.ProtoReflect.Descriptor instead.
func (*PublicIPAddress) GetAllocation ¶
func (x *PublicIPAddress) GetAllocation() isPublicIPAddress_Allocation
func (*PublicIPAddress) GetAllocationId ¶
func (x *PublicIPAddress) GetAllocationId() string
func (*PublicIPAddress) GetStatic ¶
func (x *PublicIPAddress) GetStatic() bool
func (*PublicIPAddress) ProtoMessage ¶
func (*PublicIPAddress) ProtoMessage()
func (*PublicIPAddress) ProtoReflect ¶
func (x *PublicIPAddress) ProtoReflect() protoreflect.Message
func (*PublicIPAddress) Reset ¶
func (x *PublicIPAddress) Reset()
func (*PublicIPAddress) String ¶
func (x *PublicIPAddress) String() string
type PublicIPAddressStatus ¶
type PublicIPAddressStatus struct {
// Effective public IPv4 address assigned to the interface.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Allocation identifier.
AllocationId string `protobuf:"bytes,2,opt,name=allocation_id,json=allocationId,proto3" json:"allocation_id,omitempty"`
// If false - Allocation will be created/deleted during NetworkInterface.Allocate/NetworkInterface.Deallocate
// If true - Allocation will be created/deleted during NetworkInterface.Create/NetworkInterface.Delete
// False by default
Static bool `protobuf:"varint,3,opt,name=static,proto3" json:"static,omitempty"`
// contains filtered or unexported fields
}
func (*PublicIPAddressStatus) Descriptor
deprecated
func (*PublicIPAddressStatus) Descriptor() ([]byte, []int)
Deprecated: Use PublicIPAddressStatus.ProtoReflect.Descriptor instead.
func (*PublicIPAddressStatus) GetAddress ¶
func (x *PublicIPAddressStatus) GetAddress() string
func (*PublicIPAddressStatus) GetAllocationId ¶
func (x *PublicIPAddressStatus) GetAllocationId() string
func (*PublicIPAddressStatus) GetStatic ¶
func (x *PublicIPAddressStatus) GetStatic() bool
func (*PublicIPAddressStatus) ProtoMessage ¶
func (*PublicIPAddressStatus) ProtoMessage()
func (*PublicIPAddressStatus) ProtoReflect ¶
func (x *PublicIPAddressStatus) ProtoReflect() protoreflect.Message
func (*PublicIPAddressStatus) Reset ¶
func (x *PublicIPAddressStatus) Reset()
func (*PublicIPAddressStatus) String ¶
func (x *PublicIPAddressStatus) String() string
type PublicIPAddress_AllocationId ¶
type PublicIPAddress_AllocationId struct {
// Allocation identifier if it was created before.
AllocationId string `protobuf:"bytes,1,opt,name=allocation_id,json=allocationId,proto3,oneof"`
}
type ReservationPolicy ¶
type ReservationPolicy struct {
Policy ReservationPolicy_Policy `protobuf:"varint,1,opt,name=policy,proto3,enum=nebius.compute.v1.ReservationPolicy_Policy" json:"policy,omitempty"`
// Capacity block groups, order matters
ReservationIds []string `protobuf:"bytes,2,rep,name=reservation_ids,json=reservationIds,proto3" json:"reservation_ids,omitempty"`
// contains filtered or unexported fields
}
func (*ReservationPolicy) Descriptor
deprecated
func (*ReservationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ReservationPolicy.ProtoReflect.Descriptor instead.
func (*ReservationPolicy) GetPolicy ¶
func (x *ReservationPolicy) GetPolicy() ReservationPolicy_Policy
func (*ReservationPolicy) GetReservationIds ¶
func (x *ReservationPolicy) GetReservationIds() []string
func (*ReservationPolicy) ProtoMessage ¶
func (*ReservationPolicy) ProtoMessage()
func (*ReservationPolicy) ProtoReflect ¶
func (x *ReservationPolicy) ProtoReflect() protoreflect.Message
func (*ReservationPolicy) Reset ¶
func (x *ReservationPolicy) Reset()
func (*ReservationPolicy) String ¶
func (x *ReservationPolicy) String() string
type ReservationPolicy_Policy ¶
type ReservationPolicy_Policy int32
const ( // 1) Will try to launch instance in any reservation_ids if provided. // 2) Will try to launch instance in any of the available capacity block. // 3) Will try to launch instance in PAYG if 1 & 2 are not satisfied. ReservationPolicy_AUTO ReservationPolicy_Policy = 0 // The instance is launched only using on-demand (PAYG) capacity. // No attempt is made to find or use a Capacity Block. // It's an error to provide reservation_ids with policy = FORBID ReservationPolicy_FORBID ReservationPolicy_Policy = 1 // 1) Will try to launch the instance in Capacity Blocks from reservation_ids if provided. // 2) If reservation_ids are not provided will try to launch instance in suitable & available Capacity Block. // 3) Fail otherwise. ReservationPolicy_STRICT ReservationPolicy_Policy = 2 )
func (ReservationPolicy_Policy) Descriptor ¶
func (ReservationPolicy_Policy) Descriptor() protoreflect.EnumDescriptor
func (ReservationPolicy_Policy) Enum ¶
func (x ReservationPolicy_Policy) Enum() *ReservationPolicy_Policy
func (ReservationPolicy_Policy) EnumDescriptor
deprecated
func (ReservationPolicy_Policy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReservationPolicy_Policy.Descriptor instead.
func (ReservationPolicy_Policy) Number ¶
func (x ReservationPolicy_Policy) Number() protoreflect.EnumNumber
func (ReservationPolicy_Policy) String ¶
func (x ReservationPolicy_Policy) String() string
func (ReservationPolicy_Policy) Type ¶
func (ReservationPolicy_Policy) Type() protoreflect.EnumType
type ResourcesSpec ¶
type ResourcesSpec struct {
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
// Types that are valid to be assigned to Size:
//
// *ResourcesSpec_Preset
Size isResourcesSpec_Size `protobuf_oneof:"size"`
// contains filtered or unexported fields
}
func (*ResourcesSpec) Descriptor
deprecated
func (*ResourcesSpec) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesSpec.ProtoReflect.Descriptor instead.
func (*ResourcesSpec) GetPlatform ¶
func (x *ResourcesSpec) GetPlatform() string
func (*ResourcesSpec) GetPreset ¶
func (x *ResourcesSpec) GetPreset() string
func (*ResourcesSpec) GetSize ¶
func (x *ResourcesSpec) GetSize() isResourcesSpec_Size
func (*ResourcesSpec) ProtoMessage ¶
func (*ResourcesSpec) ProtoMessage()
func (*ResourcesSpec) ProtoReflect ¶
func (x *ResourcesSpec) ProtoReflect() protoreflect.Message
func (*ResourcesSpec) Reset ¶
func (x *ResourcesSpec) Reset()
func (*ResourcesSpec) String ¶
func (x *ResourcesSpec) String() string
type ResourcesSpec_Preset ¶
type ResourcesSpec_Preset struct {
Preset string `protobuf:"bytes,2,opt,name=preset,proto3,oneof"`
}
type SecurityGroup ¶
type SecurityGroup struct {
// Security group identifier
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*SecurityGroup) Descriptor
deprecated
func (*SecurityGroup) Descriptor() ([]byte, []int)
Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.
func (*SecurityGroup) GetId ¶
func (x *SecurityGroup) GetId() string
func (*SecurityGroup) ProtoMessage ¶
func (*SecurityGroup) ProtoMessage()
func (*SecurityGroup) ProtoReflect ¶
func (x *SecurityGroup) ProtoReflect() protoreflect.Message
func (*SecurityGroup) Reset ¶
func (x *SecurityGroup) Reset()
func (*SecurityGroup) String ¶
func (x *SecurityGroup) String() string
type SourceImageFamily ¶
type SourceImageFamily struct {
ImageFamily string `protobuf:"bytes,1,opt,name=image_family,json=imageFamily,proto3" json:"image_family,omitempty"`
ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// contains filtered or unexported fields
}
func (*SourceImageFamily) Descriptor
deprecated
func (*SourceImageFamily) Descriptor() ([]byte, []int)
Deprecated: Use SourceImageFamily.ProtoReflect.Descriptor instead.
func (*SourceImageFamily) GetImageFamily ¶
func (x *SourceImageFamily) GetImageFamily() string
func (*SourceImageFamily) GetParentId ¶
func (x *SourceImageFamily) GetParentId() string
func (*SourceImageFamily) ProtoMessage ¶
func (*SourceImageFamily) ProtoMessage()
func (*SourceImageFamily) ProtoReflect ¶
func (x *SourceImageFamily) ProtoReflect() protoreflect.Message
func (*SourceImageFamily) Reset ¶
func (x *SourceImageFamily) Reset()
func (*SourceImageFamily) String ¶
func (x *SourceImageFamily) String() string
type StartInstanceRequest ¶
type StartInstanceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*StartInstanceRequest) Descriptor
deprecated
func (*StartInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartInstanceRequest.ProtoReflect.Descriptor instead.
func (*StartInstanceRequest) GetId ¶
func (x *StartInstanceRequest) GetId() string
func (*StartInstanceRequest) ProtoMessage ¶
func (*StartInstanceRequest) ProtoMessage()
func (*StartInstanceRequest) ProtoReflect ¶
func (x *StartInstanceRequest) ProtoReflect() protoreflect.Message
func (*StartInstanceRequest) Reset ¶
func (x *StartInstanceRequest) Reset()
func (*StartInstanceRequest) String ¶
func (x *StartInstanceRequest) String() string
type StopInstanceRequest ¶
type StopInstanceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*StopInstanceRequest) Descriptor
deprecated
func (*StopInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopInstanceRequest.ProtoReflect.Descriptor instead.
func (*StopInstanceRequest) GetId ¶
func (x *StopInstanceRequest) GetId() string
func (*StopInstanceRequest) ProtoMessage ¶
func (*StopInstanceRequest) ProtoMessage()
func (*StopInstanceRequest) ProtoReflect ¶
func (x *StopInstanceRequest) ProtoReflect() protoreflect.Message
func (*StopInstanceRequest) Reset ¶
func (x *StopInstanceRequest) Reset()
func (*StopInstanceRequest) String ¶
func (x *StopInstanceRequest) String() string
type UnimplementedDiskServiceServer ¶
type UnimplementedDiskServiceServer struct {
}
UnimplementedDiskServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDiskServiceServer) Create ¶
func (UnimplementedDiskServiceServer) Create(context.Context, *CreateDiskRequest) (*v1.Operation, error)
func (UnimplementedDiskServiceServer) Delete ¶
func (UnimplementedDiskServiceServer) Delete(context.Context, *DeleteDiskRequest) (*v1.Operation, error)
func (UnimplementedDiskServiceServer) Get ¶
func (UnimplementedDiskServiceServer) Get(context.Context, *GetDiskRequest) (*Disk, error)
func (UnimplementedDiskServiceServer) GetByName ¶
func (UnimplementedDiskServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Disk, error)
func (UnimplementedDiskServiceServer) List ¶
func (UnimplementedDiskServiceServer) List(context.Context, *ListDisksRequest) (*ListDisksResponse, error)
func (UnimplementedDiskServiceServer) ListOperationsByParent ¶
func (UnimplementedDiskServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
func (UnimplementedDiskServiceServer) Update ¶
func (UnimplementedDiskServiceServer) Update(context.Context, *UpdateDiskRequest) (*v1.Operation, error)
type UnimplementedFilesystemServiceServer ¶
type UnimplementedFilesystemServiceServer struct {
}
UnimplementedFilesystemServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFilesystemServiceServer) Create ¶
func (UnimplementedFilesystemServiceServer) Create(context.Context, *CreateFilesystemRequest) (*v1.Operation, error)
func (UnimplementedFilesystemServiceServer) Delete ¶
func (UnimplementedFilesystemServiceServer) Delete(context.Context, *DeleteFilesystemRequest) (*v1.Operation, error)
func (UnimplementedFilesystemServiceServer) Get ¶
func (UnimplementedFilesystemServiceServer) Get(context.Context, *GetFilesystemRequest) (*Filesystem, error)
func (UnimplementedFilesystemServiceServer) GetByName ¶
func (UnimplementedFilesystemServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Filesystem, error)
func (UnimplementedFilesystemServiceServer) ListOperationsByParent ¶
func (UnimplementedFilesystemServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
func (UnimplementedFilesystemServiceServer) Update ¶
func (UnimplementedFilesystemServiceServer) Update(context.Context, *UpdateFilesystemRequest) (*v1.Operation, error)
type UnimplementedGpuClusterServiceServer ¶
type UnimplementedGpuClusterServiceServer struct {
}
UnimplementedGpuClusterServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedGpuClusterServiceServer) Create ¶
func (UnimplementedGpuClusterServiceServer) Create(context.Context, *CreateGpuClusterRequest) (*v1.Operation, error)
func (UnimplementedGpuClusterServiceServer) Delete ¶
func (UnimplementedGpuClusterServiceServer) Delete(context.Context, *DeleteGpuClusterRequest) (*v1.Operation, error)
func (UnimplementedGpuClusterServiceServer) Get ¶
func (UnimplementedGpuClusterServiceServer) Get(context.Context, *GetGpuClusterRequest) (*GpuCluster, error)
func (UnimplementedGpuClusterServiceServer) GetByName ¶
func (UnimplementedGpuClusterServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*GpuCluster, error)
func (UnimplementedGpuClusterServiceServer) ListOperationsByParent ¶
func (UnimplementedGpuClusterServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
func (UnimplementedGpuClusterServiceServer) Update ¶
func (UnimplementedGpuClusterServiceServer) Update(context.Context, *UpdateGpuClusterRequest) (*v1.Operation, error)
type UnimplementedImageServiceServer ¶
type UnimplementedImageServiceServer struct {
}
UnimplementedImageServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedImageServiceServer) Create ¶
func (UnimplementedImageServiceServer) Create(context.Context, *CreateImageRequest) (*v1.Operation, error)
func (UnimplementedImageServiceServer) Delete ¶
func (UnimplementedImageServiceServer) Delete(context.Context, *DeleteImageRequest) (*v1.Operation, error)
func (UnimplementedImageServiceServer) Get ¶
func (UnimplementedImageServiceServer) Get(context.Context, *GetImageRequest) (*Image, error)
func (UnimplementedImageServiceServer) GetByName ¶
func (UnimplementedImageServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Image, error)
func (UnimplementedImageServiceServer) GetLatestByFamily ¶
func (UnimplementedImageServiceServer) GetLatestByFamily(context.Context, *GetImageLatestByFamilyRequest) (*Image, error)
func (UnimplementedImageServiceServer) List ¶
func (UnimplementedImageServiceServer) List(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
func (UnimplementedImageServiceServer) ListOperationsByParent ¶
func (UnimplementedImageServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
func (UnimplementedImageServiceServer) ListPublic ¶
func (UnimplementedImageServiceServer) ListPublic(context.Context, *ListPublicRequest) (*ListImagesResponse, error)
func (UnimplementedImageServiceServer) Update ¶
func (UnimplementedImageServiceServer) Update(context.Context, *UpdateImageRequest) (*v1.Operation, error)
type UnimplementedInstanceServiceServer ¶
type UnimplementedInstanceServiceServer struct {
}
UnimplementedInstanceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInstanceServiceServer) BatchGet ¶ added in v0.2.9
func (UnimplementedInstanceServiceServer) BatchGet(context.Context, *BatchGetRequest) (*BatchGetResponse, error)
func (UnimplementedInstanceServiceServer) Create ¶
func (UnimplementedInstanceServiceServer) Create(context.Context, *CreateInstanceRequest) (*v1.Operation, error)
func (UnimplementedInstanceServiceServer) Delete ¶
func (UnimplementedInstanceServiceServer) Delete(context.Context, *DeleteInstanceRequest) (*v1.Operation, error)
func (UnimplementedInstanceServiceServer) Get ¶
func (UnimplementedInstanceServiceServer) Get(context.Context, *GetInstanceRequest) (*Instance, error)
func (UnimplementedInstanceServiceServer) GetByName ¶
func (UnimplementedInstanceServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Instance, error)
func (UnimplementedInstanceServiceServer) List ¶
func (UnimplementedInstanceServiceServer) List(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (UnimplementedInstanceServiceServer) ListOperationsByParent ¶
func (UnimplementedInstanceServiceServer) ListOperationsByParent(context.Context, *ListOperationsByParentRequest) (*v1.ListOperationsResponse, error)
func (UnimplementedInstanceServiceServer) Start ¶
func (UnimplementedInstanceServiceServer) Start(context.Context, *StartInstanceRequest) (*v1.Operation, error)
func (UnimplementedInstanceServiceServer) Stop ¶
func (UnimplementedInstanceServiceServer) Stop(context.Context, *StopInstanceRequest) (*v1.Operation, error)
func (UnimplementedInstanceServiceServer) Update ¶
func (UnimplementedInstanceServiceServer) Update(context.Context, *UpdateInstanceRequest) (*v1.Operation, error)
type UnimplementedMaintenanceServiceServer ¶
type UnimplementedMaintenanceServiceServer struct {
}
UnimplementedMaintenanceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedMaintenanceServiceServer) GetByInstance ¶
func (UnimplementedMaintenanceServiceServer) GetByInstance(context.Context, *GetMaintenanceEventByInstanceRequest) (*MaintenanceEvent, error)
func (UnimplementedMaintenanceServiceServer) ListActive ¶
func (UnimplementedMaintenanceServiceServer) ListActive(context.Context, *ListMaintenanceEventsRequest) (*ListMaintenanceEventsResponse, error)
type UnimplementedNodeServiceServer ¶
type UnimplementedNodeServiceServer struct {
}
UnimplementedNodeServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedNodeServiceServer) SetUnhealthy ¶
func (UnimplementedNodeServiceServer) SetUnhealthy(context.Context, *NodeSetUnhealthyRequest) (*NodeSetUnhealthyResponse, error)
type UnimplementedPlatformServiceServer ¶
type UnimplementedPlatformServiceServer struct {
}
UnimplementedPlatformServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedPlatformServiceServer) GetByName ¶
func (UnimplementedPlatformServiceServer) GetByName(context.Context, *v1.GetByNameRequest) (*Platform, error)
func (UnimplementedPlatformServiceServer) List ¶
func (UnimplementedPlatformServiceServer) List(context.Context, *ListPlatformsRequest) (*ListPlatformsResponse, error)
type UnsafeDiskServiceServer ¶
type UnsafeDiskServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDiskServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DiskServiceServer will result in compilation errors.
type UnsafeFilesystemServiceServer ¶
type UnsafeFilesystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFilesystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilesystemServiceServer will result in compilation errors.
type UnsafeGpuClusterServiceServer ¶
type UnsafeGpuClusterServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGpuClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GpuClusterServiceServer will result in compilation errors.
type UnsafeImageServiceServer ¶
type UnsafeImageServiceServer interface {
// contains filtered or unexported methods
}
UnsafeImageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageServiceServer will result in compilation errors.
type UnsafeInstanceServiceServer ¶
type UnsafeInstanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInstanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstanceServiceServer will result in compilation errors.
type UnsafeMaintenanceServiceServer ¶
type UnsafeMaintenanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMaintenanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MaintenanceServiceServer will result in compilation errors.
type UnsafeNodeServiceServer ¶
type UnsafeNodeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.
type UnsafePlatformServiceServer ¶
type UnsafePlatformServiceServer interface {
// contains filtered or unexported methods
}
UnsafePlatformServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlatformServiceServer will result in compilation errors.
type UpdateDiskRequest ¶
type UpdateDiskRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *DiskSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateDiskRequest) Descriptor
deprecated
func (*UpdateDiskRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiskRequest.ProtoReflect.Descriptor instead.
func (*UpdateDiskRequest) GetMetadata ¶
func (x *UpdateDiskRequest) GetMetadata() *v1.ResourceMetadata
func (*UpdateDiskRequest) GetSpec ¶
func (x *UpdateDiskRequest) GetSpec() *DiskSpec
func (*UpdateDiskRequest) ProtoMessage ¶
func (*UpdateDiskRequest) ProtoMessage()
func (*UpdateDiskRequest) ProtoReflect ¶
func (x *UpdateDiskRequest) ProtoReflect() protoreflect.Message
func (*UpdateDiskRequest) Reset ¶
func (x *UpdateDiskRequest) Reset()
func (*UpdateDiskRequest) String ¶
func (x *UpdateDiskRequest) String() string
type UpdateFilesystemRequest ¶
type UpdateFilesystemRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *FilesystemSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateFilesystemRequest) Descriptor
deprecated
func (*UpdateFilesystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFilesystemRequest.ProtoReflect.Descriptor instead.
func (*UpdateFilesystemRequest) GetMetadata ¶
func (x *UpdateFilesystemRequest) GetMetadata() *v1.ResourceMetadata
func (*UpdateFilesystemRequest) GetSpec ¶
func (x *UpdateFilesystemRequest) GetSpec() *FilesystemSpec
func (*UpdateFilesystemRequest) ProtoMessage ¶
func (*UpdateFilesystemRequest) ProtoMessage()
func (*UpdateFilesystemRequest) ProtoReflect ¶
func (x *UpdateFilesystemRequest) ProtoReflect() protoreflect.Message
func (*UpdateFilesystemRequest) Reset ¶
func (x *UpdateFilesystemRequest) Reset()
func (*UpdateFilesystemRequest) String ¶
func (x *UpdateFilesystemRequest) String() string
type UpdateGpuClusterRequest ¶
type UpdateGpuClusterRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *GpuClusterSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateGpuClusterRequest) Descriptor
deprecated
func (*UpdateGpuClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGpuClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateGpuClusterRequest) GetMetadata ¶
func (x *UpdateGpuClusterRequest) GetMetadata() *v1.ResourceMetadata
func (*UpdateGpuClusterRequest) GetSpec ¶
func (x *UpdateGpuClusterRequest) GetSpec() *GpuClusterSpec
func (*UpdateGpuClusterRequest) ProtoMessage ¶
func (*UpdateGpuClusterRequest) ProtoMessage()
func (*UpdateGpuClusterRequest) ProtoReflect ¶
func (x *UpdateGpuClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateGpuClusterRequest) Reset ¶
func (x *UpdateGpuClusterRequest) Reset()
func (*UpdateGpuClusterRequest) String ¶
func (x *UpdateGpuClusterRequest) String() string
type UpdateImageRequest ¶
type UpdateImageRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *ImageSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateImageRequest) Descriptor
deprecated
func (*UpdateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateImageRequest.ProtoReflect.Descriptor instead.
func (*UpdateImageRequest) GetMetadata ¶
func (x *UpdateImageRequest) GetMetadata() *v1.ResourceMetadata
func (*UpdateImageRequest) GetSpec ¶
func (x *UpdateImageRequest) GetSpec() *ImageSpec
func (*UpdateImageRequest) ProtoMessage ¶
func (*UpdateImageRequest) ProtoMessage()
func (*UpdateImageRequest) ProtoReflect ¶
func (x *UpdateImageRequest) ProtoReflect() protoreflect.Message
func (*UpdateImageRequest) Reset ¶
func (x *UpdateImageRequest) Reset()
func (*UpdateImageRequest) String ¶
func (x *UpdateImageRequest) String() string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct {
Metadata *v1.ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Spec *InstanceSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateInstanceRequest) Descriptor
deprecated
func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceRequest) GetMetadata ¶
func (x *UpdateInstanceRequest) GetMetadata() *v1.ResourceMetadata
func (*UpdateInstanceRequest) GetSpec ¶
func (x *UpdateInstanceRequest) GetSpec() *InstanceSpec
func (*UpdateInstanceRequest) LogValue ¶
func (x *UpdateInstanceRequest) LogValue() slog.Value
LogValue implements slog.LogValuer interface. It returns sanitized copy of UpdateInstanceRequest. Properly implemented slog.Handler must call LogValue, so sensitive values are not logged. Sensitive strings and bytes are masked with "**HIDDEN**", other sensitive fields are omitted.
Returning value has kind slog.KindAny. To extract proto.Message, use the following code:
var original *UpdateInstanceRequest sanitized := original.LogValue().Any().(proto.Message)
If you need to extract UpdateInstanceRequest, use the following code:
var original *UpdateInstanceRequest sanitized := original.LogValue().Any().(proto.Message).ProtoReflect().Interface().(*UpdateInstanceRequest)
func (*UpdateInstanceRequest) ProtoMessage ¶
func (*UpdateInstanceRequest) ProtoMessage()
func (*UpdateInstanceRequest) ProtoReflect ¶
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstanceRequest) Reset ¶
func (x *UpdateInstanceRequest) Reset()
func (*UpdateInstanceRequest) Sanitize ¶
func (x *UpdateInstanceRequest) Sanitize()
Sanitize mutates UpdateInstanceRequest to remove/mask all sensitive values. Sensitive fields are marked with [(nebius.sensitive) = true].
func (*UpdateInstanceRequest) String ¶
func (x *UpdateInstanceRequest) String() string
Source Files
¶
- disk.pb.go
- disk.sensitive.pb.go
- disk_service.pb.go
- disk_service.sensitive.pb.go
- disk_service_grpc.pb.go
- filesystem.pb.go
- filesystem.sensitive.pb.go
- filesystem_service.pb.go
- filesystem_service.sensitive.pb.go
- filesystem_service_grpc.pb.go
- gpu_cluster.pb.go
- gpu_cluster.sensitive.pb.go
- gpu_cluster_service.pb.go
- gpu_cluster_service.sensitive.pb.go
- gpu_cluster_service_grpc.pb.go
- image.pb.go
- image.sensitive.pb.go
- image_service.pb.go
- image_service.sensitive.pb.go
- image_service_grpc.pb.go
- instance.pb.go
- instance.sensitive.pb.go
- instance_service.pb.go
- instance_service.sensitive.pb.go
- instance_service_grpc.pb.go
- maintenance_event.pb.go
- maintenance_event.sensitive.pb.go
- maintenance_service.pb.go
- maintenance_service.sensitive.pb.go
- maintenance_service_grpc.pb.go
- network_interface.pb.go
- network_interface.sensitive.pb.go
- node_service.pb.go
- node_service.sensitive.pb.go
- node_service_grpc.pb.go
- operation_service.pb.go
- operation_service.sensitive.pb.go
- platform.pb.go
- platform.sensitive.pb.go
- platform_service.pb.go
- platform_service.sensitive.pb.go
- platform_service_grpc.pb.go